forked from science-ation/science-ation
Show the right type in the you are here cookie crumb instead of always showing Judge Registration
This commit is contained in:
parent
c3ebf1f6cd
commit
23e6df6f37
@ -171,6 +171,7 @@
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$type = $_SESSION['users_type'];
|
||||||
//send the header
|
//send the header
|
||||||
if($_SESSION['embed'] == true) {
|
if($_SESSION['embed'] == true) {
|
||||||
echo "<br/>";
|
echo "<br/>";
|
||||||
@ -178,7 +179,6 @@
|
|||||||
echo "<h3>".i18n("Personal Information")."</h3>";
|
echo "<h3>".i18n("Personal Information")."</h3>";
|
||||||
echo "<br/>";
|
echo "<br/>";
|
||||||
} else if($ext_editor == true) {
|
} else if($ext_editor == true) {
|
||||||
$type = $_SESSION['users_type'];
|
|
||||||
$m = ($type == 'committee') ? 'Committee' : $user_what[$type];
|
$m = ($type == 'committee') ? 'Committee' : $user_what[$type];
|
||||||
send_header("Personal Information",
|
send_header("Personal Information",
|
||||||
array("$m Main" => "{$type}_main.php")
|
array("$m Main" => "{$type}_main.php")
|
||||||
@ -194,7 +194,7 @@
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
send_header("Personal Information for {$u['firstname']} {$u['lastname']}",
|
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"
|
,"edit_profile"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user