diff --git a/ChangeLog b/ChangeLog index 8e4a7444f..fd7248ddf 100755 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,9 @@ $Source$ #946861). 2004-05-04 Garvin Hicking + * db_details_structure.php: RFE #947467 - Made coloured Mousecursor + available in tables overview, clicking on a cell in the table + selects the checkbox next to it. * Documentation.html, config.inc.php, left.php: Use NaturalOrder for Non-Light left frame. Introduce new option 'nested' for $cfg['ShowTooltipAliasTB']. With this set Aliases are used for diff --git a/db_details_structure.php b/db_details_structure.php index 934855ded..89188d052 100644 --- a/db_details_structure.php +++ b/db_details_structure.php @@ -315,6 +315,16 @@ else { $bgcolor = ($i++ % 2) ? $cfg['BgcolorOne'] : $cfg['BgcolorTwo']; echo "\n"; + if ($GLOBALS['cfg']['BrowsePointerColor'] != '') { + $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'] . '\');"'; + } + if ($GLOBALS['cfg']['BrowseMarkerColor'] != '') { + $on_mouse .= ' onmousedown="setPointer(this, ' . $i . ', \'click\', \'' . $bgcolor . '\', \'' . $GLOBALS['cfg']['BrowsePointerColor'] . '\', \'' . $GLOBALS['cfg']['BrowseMarkerColor'] . '\');"'; + } + + $click_mouse = ' onmousedown="document.getElementById(\'checkbox_tbl_' . $i . '\').checked = (document.getElementById(\'checkbox_tbl_' . $i . '\').checked ? false : true);" '; + $row_count++; if($num_columns > 0 && $num_tables > $num_columns && (($row_count % ($num_columns)) == 0)) { $bgcolor = $cfg['BgcolorTwo']; @@ -329,11 +339,11 @@ else { pma_TableHeader(); } ?> - + > /> - + >     @@ -462,18 +472,18 @@ else { $display_rows = 'unknown'; } ?> - + > 1)) { - echo ' ' . "\n" + echo ' ' . "\n" . '  ' . (isset($sts_data['Type']) ? $sts_data['Type'] : ' ') . ' ' . "\n" . ' ' . "\n"; if (PMA_MYSQL_INT_VERSION >= 40100) { - echo ' ' . "\n" + echo ' ' . "\n" . '  ' . (isset($sts_data['Collation']) ? '' . $sts_data['Collation'] . '' : '---') . ' ' . "\n" . ' ' . "\n"; } @@ -482,11 +492,11 @@ else { if ($cfg['ShowStats']) { echo "\n"; ?> - + >    - + >    - + >