path fixes and variable fixes

git-svn-id: http://www.observium.org/svn/observer/trunk@380 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2009-03-25 09:21:44 +00:00
parent 6c53094974
commit 6adb378b42
6 changed files with 20 additions and 23 deletions
+5 -5
View File
@@ -1,15 +1,15 @@
<?php
echo("
<div style='float: right; text-align: right;'>
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "&section=dev-ifgraphs&type=bits'>Bits</a> |
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "&section=dev-ifgraphs&type=pkts'>Packets</a> |
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "&section=dev-ifgraphs&type=nupkts'>NU Packets</a> |
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "&section=dev-ifgraphs&type=errors'>Errors</a>
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/ifgraphs/bits/'>Bits</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/ifgraphs/pkts/'>Packets</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/ifgraphs/nupkts/'>NU Packets</a> |
<a href='".$config['base_url']."/device/" . $device['device_id'] . "/ifgraphs/errors/'>Errors</a>
</div>");
$dographs = 1;
if(!$_GET['type']) { $_GET['type'] = "bits"; }
if($_GET['opta']) { $graph_type = $_GET['opta']; } else { $graph_type = "bits"; }
include("pages/device/ifs.inc.php");