BrowsePointerEnable

This commit is contained in:
Marc Delisle
2004-06-24 13:47:01 +00:00
parent 084b73acb8
commit f5db2f7cfe
10 changed files with 33 additions and 10 deletions

View File

@@ -83,9 +83,11 @@ echo '&nbsp;</th>' . "\n";
$useBgcolorOne = TRUE;
$on_mouse='';
foreach ($serverVars as $name => $value) {
if ($GLOBALS['cfg']['BrowsePointerColor'] != '') {
if ($GLOBALS['cfg']['BrowsePointerEnable'] == TRUE) {
$on_mouse = ' onmouseover="this.style.backgroundColor=\'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\';"'
. ' onmouseout="this.style.backgroundColor=\'' . ($useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']) . '\';"';
} else {
$on_mouse = '';
}
?>
<tr bgcolor="<?php echo $useBgcolorOne ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; ?>"<?php echo $on_mouse; ?>>