add a link to the user list, fixes #460
This commit is contained in:
parent
8c7257eb54
commit
7f22f99aaa
@ -348,7 +348,11 @@ class UserPage extends Extension {
|
||||
* @param UserBlockBuildingEvent $event
|
||||
*/
|
||||
public function onUserBlockBuilding(UserBlockBuildingEvent $event) {
|
||||
global $user;
|
||||
$event->add_link("My Profile", make_link("user"));
|
||||
if($user->can("edit_user_class")) {
|
||||
$event->add_link("User List", make_link("user_admin/list"), 98);
|
||||
}
|
||||
$event->add_link("Log Out", make_link("user_admin/logout"), 99);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user