forked from science-ation/science-ation
Add icons to the profile and password pages
This commit is contained in:
parent
4473f6be5c
commit
d09a5ee76f
@ -76,6 +76,7 @@
|
|||||||
|
|
||||||
send_header("{$user_what[$type]} - Change Password",
|
send_header("{$user_what[$type]} - Change Password",
|
||||||
array("{$user_what[$type]} Registration" => "{$type}_main.php")
|
array("{$user_what[$type]} Registration" => "{$type}_main.php")
|
||||||
|
,"change_password"
|
||||||
);
|
);
|
||||||
|
|
||||||
if($_SESSION['password_expired'] == true)
|
if($_SESSION['password_expired'] == true)
|
||||||
|
@ -170,6 +170,7 @@
|
|||||||
$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")
|
||||||
|
,"edit_profile"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
if($_SESSION['last_page'] == 'committee_management') {
|
if($_SESSION['last_page'] == 'committee_management') {
|
||||||
@ -177,10 +178,12 @@
|
|||||||
array('Committee Main' => 'committee_main.php',
|
array('Committee Main' => 'committee_main.php',
|
||||||
'Administration' => 'admin/index.php',
|
'Administration' => 'admin/index.php',
|
||||||
'Committee Management' => 'admin/committees.php')
|
'Committee Management' => 'admin/committees.php')
|
||||||
|
,"edit_profile"
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
send_header("Personal Information for {$u['firstname']} {$u['lastname']}",
|
send_header("Personal Information for {$u['firstname']} {$u['lastname']}",
|
||||||
array("Committee Main" => "committee_main.php")
|
array("Committee Main" => "committee_main.php")
|
||||||
|
,"edit_profile"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user