Lots of additions.

git-svn-id: http://www.observium.org/svn/observer/trunk@108 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2007-06-24 14:56:47 +00:00
parent 2cd924d0dd
commit 9ca765c285
28 changed files with 519 additions and 398 deletions
+6 -3
View File
@@ -1,9 +1,12 @@
<?php
if($_POST['id'] && $_SESSION['userlevel'] > '9') {
if($_SESSION['userlevel'] < 10) {
echo("<span class='alert'>You are not permitted to perform this function</span>");
exit;
}
if($_POST['id'] {
delHost($id);
} elseif ($_POST['id']) {
echo("<p class='errorbox'><b>Error:</b> You don't have the necessary privileges to remove hosts.</p>");
}
?>