1
0
mirror of synced 2024-12-13 14:56:01 +03:00

updated the doc styling

This commit is contained in:
zYne 2006-12-03 23:41:38 +00:00
parent 4b9b61aad2
commit da3071008d
4 changed files with 22 additions and 7 deletions

View File

@ -67,10 +67,10 @@ function renderCode($c = null) {
$h->loadString($c);
print "<table width=500 border=1 class='dashed' cellpadding=0 cellspacing=0>";
print "<tr><td>";
print "<tr><td><b>";
$h->toHtml();
print "</td></tr>";
print "</b></td></tr>";
print "</table>";
}
}
@ -116,10 +116,12 @@ $menu = array("Getting started" =>
"Composite",
"Sequential")
),
/**
"Schema reference" =>
array(
"Data types" => array(
"Introduction",
"Type modifiers",
"Boolean",
"Integer",
"Float",
@ -129,13 +131,13 @@ $menu = array("Getting started" =>
"Blob",
"Clob",
"Timestamp",
"Time",
"Date",
"Enum",
"Gzip",
),
),
*/
"Basic Components" =>
array(
"Manager"
@ -248,6 +250,8 @@ $menu = array("Getting started" =>
"Introduction",
"Levels of configuration",
"Setting attributes" => array(
"Portability",
"Identifier quoting",
"Table creation",
"Fetching strategy",
"Batch size",

View File

@ -27,7 +27,7 @@ include("top.php");
<li \>Database connection pooling with connection-record -registry
<li \>Runtime configuration (no XML needed!)
<li \>Very modular structure (only uses the needed features)
<li \>The whole framework can be compiled into a single file
<li \>The runtime components can be compiled into a single file
<li \>Leveled configuration (attributes can be set at global, connection and table levels)
</ul>
<br \>
@ -54,7 +54,7 @@ include("top.php");
<li \>LIMIT / OFFSET emulation
</ul>
<br \>
<b class='title'>OBJECT RELATIONAL MAPPING</b>:
<b class='title'>OBJECT RELATIONAL MAPPING</b>
<ul>
<b class='title'>General features</b>
<li \>Validators

View File

@ -113,6 +113,7 @@ class PHP_Highlight
// Inline
if ($inline === false) {
// Default colours from php.ini
/**
$this->highlight = array(
'string' => ini_get('highlight.string'),
'comment' => ini_get('highlight.comment'),
@ -121,6 +122,15 @@ class PHP_Highlight
'default' => ini_get('highlight.default'),
'html' => ini_get('highlight.html')
);
*/
$this->highlight = array(
'string' => "#cb0864",
'comment' => "#888888",
'keyword' => "#118994",
'bg' => "#222222",
'default' => "#000000",
'html' => ini_get('highlight.html')
);
$this->span = '<span style="color: %s;">%s</span>';
} else {
// Basic styles

View File

@ -33,8 +33,9 @@ font-family: Verdana, Arial, Helvetica;
}
table.dashed {
border-style: solid;
border-style: dashed;
border-color: 116699;
border-shadow: none;
border-width: 1 px;
}
b.title {