mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-01 00:24:21 +02:00
can't stop uniformicationing
git-svn-id: http://www.observium.org/svn/observer/trunk@1915 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -6,7 +6,7 @@ echo('<table cellspacing="0" cellpadding="2" width="100%">');
|
||||
|
||||
while ($entry = mysql_fetch_array($data))
|
||||
{
|
||||
include("includes/print-event.inc");
|
||||
include("includes/print-event.inc.php");
|
||||
}
|
||||
|
||||
echo('</table>');
|
||||
|
||||
@@ -52,7 +52,7 @@ foreach ($config['graph_types']['device'] as $graph => $entry)
|
||||
{
|
||||
$graph_title = $config['graph_types']['device'][$graph]['descr'];
|
||||
$graph_type = "device_" . $graph;
|
||||
include ("includes/print-device-graph.php");
|
||||
include("includes/print-device-graph.php");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ if (is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/hrSystem.rrd"))
|
||||
{
|
||||
$graph_title = "Running Processes";
|
||||
$graph_type = "device_hrprocesses";
|
||||
include ("includes/print-device-graph.php");
|
||||
include("includes/print-device-graph.php");
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,4 +1,8 @@
|
||||
<?php
|
||||
$graph_title = "Device Uptime";
|
||||
$graph_type = "device_uptime"; include ("includes/print-device-graph.php");
|
||||
?>
|
||||
|
||||
$graph_title = "Device Uptime";
|
||||
$graph_type = "device_uptime";
|
||||
|
||||
include("includes/print-device-graph.php");
|
||||
|
||||
?>
|
||||
@@ -69,7 +69,7 @@ if (is_file("pages/device/health/".mres($_GET['opta']).".inc.php"))
|
||||
{
|
||||
$graph_title = $type_text[$type];
|
||||
$graph_type = "device_".$type;
|
||||
include ("includes/print-device-graph.php");
|
||||
include("includes/print-device-graph.php");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -68,7 +68,7 @@ if (mysql_affected_rows() > "0")
|
||||
echo("<div style='background-color: #eeeeee; margin: 5px; padding: 5px;'>");
|
||||
echo("<p style='padding: 0px 5px 5px;' class=sectionhead><img align='absmiddle' src='".$config['base_url']."/images/16/printer.png'> Recent Syslog</p>");
|
||||
echo("<table cellspacing=0 cellpadding=2 width=100%>");
|
||||
while ($entry = mysql_fetch_array($query)) { include("includes/print-syslog.inc"); }
|
||||
while ($entry = mysql_fetch_array($query)) { include("includes/print-syslog.inc.php"); }
|
||||
echo("</table>");
|
||||
echo("</div>");
|
||||
}
|
||||
@@ -101,7 +101,7 @@ echo("<table cellspacing=0 cellpadding=2 width=100%>");
|
||||
|
||||
while ($entry = mysql_fetch_array($data))
|
||||
{
|
||||
include("includes/print-event-short.inc");
|
||||
include("includes/print-event-short.inc.php");
|
||||
}
|
||||
|
||||
echo("</table>");
|
||||
|
||||
@@ -7,7 +7,7 @@ if (mysql_result(mysql_query("select count(service_id) from services WHERE devic
|
||||
$service_query = mysql_query("select * from services WHERE device_id = '".$device['device_id']."' ORDER BY service_type");
|
||||
while ($service = mysql_fetch_array($service_query))
|
||||
{
|
||||
include("includes/print-service.inc");
|
||||
include("includes/print-service.inc.php");
|
||||
}
|
||||
|
||||
echo("</table></div>");
|
||||
|
||||
@@ -43,7 +43,7 @@ $sql = "SELECT *, DATE_FORMAT(timestamp, '%D %b %T') AS date from syslog WHERE
|
||||
$sql .= " ORDER BY timestamp DESC LIMIT 1000";
|
||||
$query = mysql_query($sql);
|
||||
echo("<table cellspacing=0 cellpadding=2 width=100%>");
|
||||
while ($entry = mysql_fetch_array($query)) { include("includes/print-syslog.inc"); }
|
||||
while ($entry = mysql_fetch_array($query)) { include("includes/print-syslog.inc.php"); }
|
||||
echo("</table>");
|
||||
|
||||
?>
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
$graph_title = "Toner";
|
||||
$graph_type = "device_toner";
|
||||
include ("includes/print-device-graph.php");
|
||||
include("includes/print-device-graph.php");
|
||||
|
||||
?>
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ $i = "0";
|
||||
$vrf_query = mysql_query("select * from vrfs WHERE device_id = '".$_GET['id']."' ORDER BY 'vrf_name'");
|
||||
while ($vrf = mysql_fetch_array($vrf_query))
|
||||
{
|
||||
include("includes/print-vrf.inc");
|
||||
include("includes/print-vrf.inc.php");
|
||||
$i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user