Better way for highliting tabs when including files (set $active_page for highliting).

This commit is contained in:
Michal Čihař
2003-05-14 15:52:34 +00:00
parent 0c367104da
commit f736050896
4 changed files with 9 additions and 1 deletions

View File

@@ -1680,7 +1680,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
if ((basename($PHP_SELF) == $link ||
$active ||
(isset($GLOBALS['goto']) && (basename($PHP_SELF) == 'tbl_dump.php3' || basename($PHP_SELF) == 'read_dump.php3') && $GLOBALS['goto'] == $link)
(isset($GLOBALS['active_page']) && $GLOBALS['active_page'] == $link)
) && ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) {
$bgcolor = 'silver';
} else {