mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-30 16:14:21 +02:00
lots of fixes for non-webroot installations
git-svn-id: http://www.observium.org/svn/observer/trunk@362 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -10,8 +10,8 @@ echo("
|
||||
<div style='padding: 5px; height: 20px; clear: both; display: block;'>
|
||||
<div style='float: left; font-size: 22px; font-weight: bold;'>Local AS : " . $device['bgpLocalAs'] . "</div>
|
||||
<div style='float: right; text-align: right;'>
|
||||
<a href='/device/" . $_GET['id'] . "/bgp/'>No Graphs</a> |
|
||||
<a href='/device/" . $_GET['id'] . "/bgp/graphs/'>Graphs</a>
|
||||
<a href='".$config['base_url']."/device/" . $_GET['id'] . "/bgp/'>No Graphs</a> |
|
||||
<a href='".$config['base_url']."/device/" . $_GET['id'] . "/bgp/graphs/'>Graphs</a>
|
||||
</div>
|
||||
</div>");
|
||||
|
||||
|
||||
@@ -178,7 +178,7 @@ while($device = mysql_fetch_array($device_query)) {
|
||||
|
||||
include("blocks/netstats.inc.php");
|
||||
include("blocks/uptime.inc.php");
|
||||
|
||||
break;
|
||||
case "Snom":
|
||||
echo("<div class=graphhead>Calls</div>");
|
||||
$graph_type = "calls"; include ("includes/print-device-graph.php");
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
echo("
|
||||
<div style='float: right; text-align: right;'>
|
||||
<a href='/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=bits'>Bits</a> |
|
||||
<a href='/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=pkts'>Packets</a> |
|
||||
<a href='/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=nupkts'>NU Packets</a> |
|
||||
<a href='/?page=device&id=" . $_GET['id'] . "§ion=dev-ifgraphs&type=errors'>Errors</a>
|
||||
<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>
|
||||
</div>");
|
||||
|
||||
$dographs = 1;
|
||||
|
||||
Reference in New Issue
Block a user