mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
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:
@@ -1,15 +1,15 @@
|
||||
<?php
|
||||
echo("
|
||||
<div style='float: right; text-align: right;'>
|
||||
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=bits'>Bits</a> |
|
||||
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=pkts'>Packets</a> |
|
||||
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=nupkts'>NU Packets</a> |
|
||||
<a href='".$config['base_url']."/?page=device&id=" . $_GET['id'] . "§ion=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");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user