- Put the nav bar in the password change page

This commit is contained in:
dave 2007-11-16 07:43:02 +00:00
parent 7d825a7cbf
commit 7e1f2bbfd1

View File

@ -40,23 +40,6 @@
$notice=$_GET['notice'];
switch($type) {
case 'volunteer':
$what = "Volunteer";
break;
case 'committee':
$what = "Committee Member";
break;
case 'judge':
$what = "Judge";
break;
case 'student':
$what = "Participant";
break;
default:
exit;
}
$back_link = "{$type}_main.php";
$password_expiry_days = $config["{$type}_password_expiry_days"];
@ -81,13 +64,16 @@
if($_SESSION['password_expired'])
{
unset($_SESSION['password_expired']);
header("location: $back_link?notice=password_changed");
exit;
}
header("location: $back_link?notice=password_changed");
exit;
}
}
send_header("$what - Change Password");
send_header("{$user_what[$type]} - Change Password",
array("{$user_what[$type]} Registration" => "{$type}_main.php")
);
if($_SESSION['password_expired'] == true)
{