patch #458673 - Nicer navigation for MSIE

This commit is contained in:
Loïc Chapeaux
2001-12-04 23:09:09 +00:00
parent c267efad93
commit 025cc84a53
4 changed files with 26 additions and 12 deletions

View File

@@ -681,6 +681,12 @@
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfgLeftWidth </b>integer</dt>
<dd>
Left frame width in pixel.
<br /><br />
</dd>
<dt> <dt>
<b>$cfgLeftBgColor </b>string [HTML color]<br /> <b>$cfgLeftBgColor </b>string [HTML color]<br />
<b>$cfgRightBgColor </b>string [HTML color] <b>$cfgRightBgColor </b>string [HTML color]
@@ -690,6 +696,13 @@
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfgLeftPointerColor </b>string [HTML color]</dt>
<dd>
The color (HTML) used for the pointer in the left frame (does not work
with NS4).
<br /><br />
</dd>
<dt><b>$cfgBorder </b>integer</dt> <dt><b>$cfgBorder </b>integer</dt>
<dd> <dd>
The size of a table's border. The size of a table's border.
@@ -714,7 +727,7 @@
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfgPointerColor </b>string [HTML color]</dt> <dt><b>$cfgBrowsePointerColor </b>string [HTML color]</dt>
<dd> <dd>
The color (HTML) used for the pointer in browse mode (does not work The color (HTML) used for the pointer in browse mode (does not work
with NS4). with NS4).
@@ -749,12 +762,6 @@
<br /><br /> <br /><br />
</dd> </dd>
<dt><b>$cfgLeftWidth </b>integer</dt>
<dd>
Left frame width in pixel.
<br /><br />
</dd>
<dt><b>$cfgColumnTypes </b>array</dt> <dt><b>$cfgColumnTypes </b>array</dt>
<dd> <dd>
All possible types of a MySQL column. In most cases you don't need to All possible types of a MySQL column. In most cases you don't need to

View File

@@ -158,19 +158,22 @@ require('./libraries/select_lang.lib.php3');
/** /**
* Customization & design * Customization & design
*/ */
$cfgLeftWidth = 150; // left frame width
$cfgLeftBgColor = '#D0DCE0'; // background color for the left frame $cfgLeftBgColor = '#D0DCE0'; // background color for the left frame
$cfgLeftPointerColor = '#CCFFCC'; // color of the pointer in left frame
// (blank for no pointer)
$cfgRightBgColor = '#F5F5F5'; // background color for the right frame $cfgRightBgColor = '#F5F5F5'; // background color for the right frame
$cfgBorder = 0; // border width on tables $cfgBorder = 0; // border width on tables
$cfgThBgcolor = '#D3DCE3'; // table header row colour $cfgThBgcolor = '#D3DCE3'; // table header row colour
$cfgBgcolorOne = '#CCCCCC'; // table data row colour $cfgBgcolorOne = '#CCCCCC'; // table data row colour
$cfgBgcolorTwo = '#DDDDDD'; // table data row colour, alternate $cfgBgcolorTwo = '#DDDDDD'; // table data row colour, alternate
$cfgPointerColor = '#CCFFCC'; // color of the pointer in browse mode $cfgBrowsePointerColor = '#CCFFCC'; // color of the pointer in browse mode
// (blank for no pointer)
$cfgTextareaCols = 40; // textarea size (columns) in edit mode $cfgTextareaCols = 40; // textarea size (columns) in edit mode
$cfgTextareaRows = 7; // textarea size (rows) in edit mode $cfgTextareaRows = 7; // textarea size (rows) in edit mode
$cfgLimitChars = 50; // max field data length in browse mode $cfgLimitChars = 50; // max field data length in browse mode
$cfgModifyDeleteAtLeft = TRUE; // show edit/delete links on left side of browse $cfgModifyDeleteAtLeft = TRUE; // show edit/delete links on left side of browse
$cfgModifyDeleteAtRight = FALSE; // show edit/delete links on right side of browse $cfgModifyDeleteAtRight = FALSE; // show edit/delete links on right side of browse
$cfgLeftWidth = 150; // left frame width
/** /**

View File

@@ -210,8 +210,9 @@ if ($num_dbs > 1) {
} // end if } // end if
// Displays the database name // Displays the database name
$on_mouse = (($cfgLeftPointerColor == '') ? '' : 'onmouseover="this.style.backgroundColor=\'' . $cfgLeftPointerColor . '\'" onmouseout="this.style.backgroundColor=\'' . $cfgLeftBgColor . '\'"');
echo "\n"; echo "\n";
echo ' <div id="el' . $j . 'Parent" class="parent">'; echo ' <div id="el' . $j . 'Parent" class="parent"' . $on_mouse . '>';
if (!empty($num_tables)) { if (!empty($num_tables)) {
echo "\n"; echo "\n";

View File

@@ -142,11 +142,14 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')){
if (!isset($cfgLeftBgColor)) { if (!isset($cfgLeftBgColor)) {
$cfgLeftBgColor = '#D0DCE0'; $cfgLeftBgColor = '#D0DCE0';
} }
if (!isset($cfgLeftPointerColor)) {
$cfgLeftPointerColor = '';
}
if (!isset($cfgRightBgColor)) { if (!isset($cfgRightBgColor)) {
$cfgRightBgColor = '#F5F5F5'; $cfgRightBgColor = '#F5F5F5';
} }
if (!isset($cfgPointerColor)) { if (!isset($cfgBrowsePointerColor)) {
$cfgPointerColor = '#CCFFCC'; $cfgBrowsePointerColor = '';
} }
if (!isset($cfgTextareaCols)) { if (!isset($cfgTextareaCols)) {
$cfgTextareaCols = 40; $cfgTextareaCols = 40;