BrowsePointerEnable
This commit is contained in:
@@ -119,9 +119,11 @@ while ($row = PMA_DBI_fetch_assoc($fields_rs)) {
|
||||
$bgcolor = ($i % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo'];
|
||||
$aryFields[] = $row['Field'];
|
||||
|
||||
if ($GLOBALS['cfg']['BrowsePointerColor'] != '') {
|
||||
if ($GLOBALS['cfg']['BrowsePointerEnable'] == TRUE) {
|
||||
$on_mouse = ' onmouseover="setPointer(this, ' . $i . ', \'over\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\');"'
|
||||
. ' onmouseout="setPointer(this, ' . $i . ', \'out\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\');"';
|
||||
} else {
|
||||
$on_mouse = '';
|
||||
}
|
||||
if ($GLOBALS['cfg']['BrowseMarkerColor'] != '') {
|
||||
$on_mouse .= ' onmousedown="setPointer(this, ' . $i . ', \'click\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\');"';
|
||||
|
Reference in New Issue
Block a user