security fixes and some juniper graphing stuff.

git-svn-id: http://www.observium.org/svn/observer/trunk@245 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-07-22 08:24:34 +00:00
parent 0ee570b762
commit 96cc0308fd
20 changed files with 85 additions and 24 deletions

View File

@@ -1,5 +1,7 @@
<?
if($_GET['id']) {$_GET['id'] = mres($_GET['id']); }
if(devicepermitted($_GET['id'])) {
$selected['iface'] = "selected";
@@ -7,7 +9,8 @@ $selected['iface'] = "selected";
if(!$_GET['section']) {
$_GET['section'] = "dev-overview";
}
$section = $_GET['section'];
$section = mres($_GET['section']);
$section = str_replace(".", "", $section);
$select[$section] = "selected";