Highlight tab also when current page is read_dump.php3 and $goto is link of current tab.
This commit is contained in:
@@ -23,6 +23,8 @@ $Source$
|
||||
* libraries/relation.lib.php3: Fixed warning in PMA_purgeHistory.
|
||||
* ldi_check.php3, lang/*: Behave correctly if no file is given for loading.
|
||||
* read_dump.php3: Correctly checks whether table exists.
|
||||
* libraries/common.lib.php3: Highlight tab also when current page is
|
||||
read_dump.php3 and $goto is link of current tab.
|
||||
|
||||
2003-05-12 Garvin Hicking <me@supergarv.de>
|
||||
* queryframe.php3: Remove left/bottom margin to better fit the link title
|
||||
|
@@ -1678,8 +1678,10 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
||||
global $PHP_SELF, $cfg;
|
||||
global $db_details_links_count_tabs;
|
||||
|
||||
if ((basename($PHP_SELF) == $link || $active)
|
||||
&& ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) {
|
||||
if ((basename($PHP_SELF) == $link ||
|
||||
$active ||
|
||||
(isset($GLOBALS['goto']) && basename($PHP_SELF) == 'read_dump.php3' && $GLOBALS['goto'] == $link)
|
||||
) && ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) {
|
||||
$bgcolor = 'silver';
|
||||
} else {
|
||||
$bgcolor = '#DFDFDF';
|
||||
|
Reference in New Issue
Block a user