mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Alerts gui commit
This commit is contained in:
@ -709,4 +709,12 @@ function generate_pagination($count,$limit,$page,$links = 2) {
|
||||
return($return);
|
||||
}
|
||||
|
||||
function is_admin() {
|
||||
if ($_SESSION['userlevel'] == '10') {
|
||||
$allowed = true;
|
||||
} else {
|
||||
$allowed = false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
|
Reference in New Issue
Block a user