From 23e6df6f37f1a86c525a284ae95e06b5932d8699 Mon Sep 17 00:00:00 2001 From: james Date: Thu, 22 Jan 2009 18:03:26 +0000 Subject: [PATCH] Show the right type in the you are here cookie crumb instead of always showing Judge Registration --- user_personal.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/user_personal.php b/user_personal.php index 0bff0362..32fc39bd 100644 --- a/user_personal.php +++ b/user_personal.php @@ -171,6 +171,7 @@ } + $type = $_SESSION['users_type']; //send the header if($_SESSION['embed'] == true) { echo "
"; @@ -178,7 +179,6 @@ echo "

".i18n("Personal Information")."

"; echo "
"; } else if($ext_editor == true) { - $type = $_SESSION['users_type']; $m = ($type == 'committee') ? 'Committee' : $user_what[$type]; send_header("Personal Information", array("$m Main" => "{$type}_main.php") @@ -194,7 +194,7 @@ ); } else { send_header("Personal Information for {$u['firstname']} {$u['lastname']}", - array("Judge Registration" => "judge_main.php") + array($user_what[$type]." Registration" => "{$type}_main.php") ,"edit_profile" ); }