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

View File

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

View File

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

View File

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