From e99b24b0607e3a9a11289cc6034eaedc5bcdce2b Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Thu, 12 May 2005 04:28:06 +0000 Subject: [PATCH] r112: Select the current script for us in the navigation menu --- includes/adminfunctions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/adminfunctions.php b/includes/adminfunctions.php index be19a48..d0b1e07 100755 --- a/includes/adminfunctions.php +++ b/includes/adminfunctions.php @@ -75,6 +75,9 @@ EOD; { global $globalnav; + $location = parse_url($_SERVER['SCRIPT_URL']); + $location['path'] = preg_quote(end(explode('/', $location['path']))); + echo "
\n"; echo "\n\t
"; echo "\n\t\tNavigation: