mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Lots of additions.
git-svn-id: http://www.observium.org/svn/observer/trunk@108 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<?php
|
||||
|
||||
if($_SESSION[userlevel] < '5') {
|
||||
print_error("Insufficient Privileges");
|
||||
if($_SESSION['userlevel'] < '10') {
|
||||
echo("<span class='alert'>Insufficient privileges to perform this function.</span>");
|
||||
} else {
|
||||
|
||||
if($_POST['addsrv']) {
|
||||
if($userlevel > "5") {
|
||||
if($userlevel == '10') {
|
||||
include("includes/add-srv.inc");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user