parametrized the pointer color in browse mode

This commit is contained in:
Loïc Chapeaux
2001-10-25 21:22:26 +00:00
parent 966e661dff
commit 4e92fb24fc
4 changed files with 12 additions and 3 deletions

View File

@@ -9,8 +9,9 @@ $Source$
2001-10-25 Lo<4C>c Chapeaux <lolo@phpheaven.net>
* user_details.php3, line 1172: fixed bug #474685 (table not found editing
user) thanks to Alister Bulman <alister at users.sourceforge.net>.
* libraries/display_tbl.lib.php3: merged patch #472575 (indicator in table
rows) thanks to Darklord <darklord at chello.at>.
* config.inc.php3, line 159; Documentation.html, lines 646-652;
libraries/display_tbl.lib.php3, line 607: merged patch #472575 (indicator
in table rows) thanks to Darklord <darklord at chello.at>.
* libraries/defines.inc.php3, line 20: starting 2.2.2-dev. version.
2001-10-24 Robin Johnson <robbat2@users.sourceforge.net>

View File

@@ -643,6 +643,13 @@
<br /><br />
</dd>
<dt><b>$cfgPointerColor </b>string [HTML color]</dt>
<dd>
The color (HTML) used for the pointer in browse mode (does not work
with NS4).
<br /><br />
</dd>
<dt>
<b>$cfgTextareaCols </b>integer<br />
<b>$cfgTextareaRows </b>integer

View File

@@ -155,6 +155,7 @@ $cfgBorder = 0; // border width on tables
$cfgThBgcolor = '#D3DCE3'; // table header row colour
$cfgBgcolorOne = '#CCCCCC'; // table data row colour
$cfgBgcolorTwo = '#DDDDDD'; // table data row colour, alternate
$cfgPointerColor = '#CCFFCC'; // color of the pointer in browse mode
$cfgTextareaCols = 40; // textarea size (columns) in edit mode
$cfgTextareaRows = 7; // textarea size (rows) in edit mode
$cfgLimitChars = 50; // max field data length in browse mode

View File

@@ -604,7 +604,7 @@ if (!defined('__LIB_DISPLAY_TBL__')){
$bgcolor = ($foo % 2) ? $GLOBALS['cfgBgcolorOne'] : $GLOBALS['cfgBgcolorTwo'];
?>
<tr bgcolor="<?php echo $bgcolor; ?>" onmouseover="if (typeof(this.style) != 'undefined') this.style.backgroundColor = '#CCFFCC'" onmouseout="if (typeof(this.style) != 'undefined') this.style.backgroundColor = ''">
<tr bgcolor="<?php echo $bgcolor; ?>" onmouseover="if (typeof(this.style) != 'undefined') this.style.backgroundColor = '<?php echo $GLOBALS['cfgPointerColor']; ?>'" onmouseout="if (typeof(this.style) != 'undefined') this.style.backgroundColor = ''">
<?php
echo "\n";