Better way for highliting tabs when including files (set $active_page for highliting).
This commit is contained in:
@@ -11,6 +11,10 @@ $Source$
|
|||||||
some people seem to want this (based on patch #73516).
|
some people seem to want this (based on patch #73516).
|
||||||
* tbl_dump.php3, lang/*: Use other messages (thanks to Marc), replace
|
* tbl_dump.php3, lang/*: Use other messages (thanks to Marc), replace
|
||||||
slashes in filename with underscore to avoid possible problems.
|
slashes in filename with underscore to avoid possible problems.
|
||||||
|
* db_details_export.php3: Remember selected tables after exporting to a
|
||||||
|
file.
|
||||||
|
* libraries/common.lib.php3, tbl_dump.php3, sql.php3: Better way for
|
||||||
|
highliting tabs when including files (set $active_page for highliting).
|
||||||
|
|
||||||
2003-05-14 Marc Delisle <lem9@users.sourceforge.net>
|
2003-05-14 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/defines_php.lib.php3: bug 736111: better GD2 detection
|
* libraries/defines_php.lib.php3: bug 736111: better GD2 detection
|
||||||
|
@@ -1680,7 +1680,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
|
|||||||
|
|
||||||
if ((basename($PHP_SELF) == $link ||
|
if ((basename($PHP_SELF) == $link ||
|
||||||
$active ||
|
$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'])) {
|
) && ($text != $GLOBALS['strEmpty'] && $text != $GLOBALS['strDrop'])) {
|
||||||
$bgcolor = 'silver';
|
$bgcolor = 'silver';
|
||||||
} else {
|
} else {
|
||||||
|
1
sql.php3
1
sql.php3
@@ -642,6 +642,7 @@ else {
|
|||||||
if ($goto != 'main.php3') {
|
if ($goto != 'main.php3') {
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
}
|
}
|
||||||
|
$active_page = $goto;
|
||||||
include('./' . $goto);
|
include('./' . $goto);
|
||||||
} // end if file_exist
|
} // end if file_exist
|
||||||
else {
|
else {
|
||||||
|
@@ -456,10 +456,13 @@ if (!empty($asfile)) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$js_to_run = 'functions.js';
|
||||||
include('./header.inc.php3');
|
include('./header.inc.php3');
|
||||||
if (!isset($single)) {
|
if (!isset($single)) {
|
||||||
|
$active_page = 'db_details_export.php3';
|
||||||
include('./db_details_export.php3');
|
include('./db_details_export.php3');
|
||||||
} else {
|
} else {
|
||||||
|
$active_page = 'tbl_properties_export.php3';
|
||||||
include('./tbl_properties_export.php3');
|
include('./tbl_properties_export.php3');
|
||||||
}
|
}
|
||||||
/* Send dump over HTTP */
|
/* Send dump over HTTP */
|
||||||
|
Reference in New Issue
Block a user