mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-28 08:02:41 +02:00
fix some warnings and a mistake from a previous commit on the processors health page
git-svn-id: http://www.observium.org/svn/observer/trunk@1122 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
+3
-2
@@ -136,7 +136,8 @@ function popUp(URL) {
|
||||
<div style="margin: 7px;"></div>
|
||||
<?php
|
||||
if($_SESSION['authenticated']) {
|
||||
include("includes/warn-deleted-ports.inc.php");
|
||||
# FIXME: file below is MISSING!
|
||||
# include("includes/warn-deleted-ports.inc.php");
|
||||
## Authenticated. Print a page.
|
||||
if(isset($_GET['page']) && !strstr("..", $_GET['page']) && is_file("pages/" . $_GET['page'] . ".php")) {
|
||||
include("pages/" . $_GET['page'] . ".php");
|
||||
@@ -162,7 +163,7 @@ function popUp(URL) {
|
||||
$end = utime(); $run = $end - $start;
|
||||
$gentime = substr($run, 0, 5);
|
||||
|
||||
echo '<br /> <div id="footer">' . $config['footer'];
|
||||
echo '<br /> <div id="footer">' . (isset($config['footer']) ? $config['footer'] : '');
|
||||
echo '<br />Powered by <a href="http://www.observernms.org" target="_blank">ObserverNMS ' . $config['version'];
|
||||
|
||||
if (file_exists('.svn/entries'))
|
||||
|
||||
@@ -56,11 +56,11 @@
|
||||
$yearly_url = "graph.php?id=" . $proc['processor_id'] . "&type=processor&from=$year&to=$now&width=400&height=150";
|
||||
|
||||
echo(" <a onmouseover=\"return overlib('<img src=\'$daily_url\'>', LEFT);\" onmouseout=\"return nd();\">
|
||||
<img src="$daily_graph" border=\"0\"></a> ");
|
||||
<img src=\"$daily_graph\" border=\"0\"></a> ");
|
||||
echo(" <a onmouseover=\"return overlib('<img src=\'$weekly_url\'>', LEFT);\" onmouseout=\"return nd();\">
|
||||
<img src="$weekly_graph" border=\"0\"></a> ");
|
||||
<img src=\"$weekly_graph\" border=\"0\"></a> ");
|
||||
echo(" <a onmouseover=\"return overlib('<img src=\'$monthly_url\'>', LEFT);\" onmouseout=\"return nd();\">
|
||||
<img src="$monthly_graph" border=\"0\"></a> ");
|
||||
<img src=\"$monthly_graph\" border=\"0\"></a> ");
|
||||
echo(" <a onmouseover=\"return overlib('<img src=\'$yearly_url\'>', LEFT);\" onmouseout=\"return nd();\">
|
||||
<img src=\"$yearly_graph\" border=\"0\"></a>");
|
||||
echo(" </td>
|
||||
|
||||
Reference in New Issue
Block a user