diff --git a/html/includes/hostbox-old.inc b/html/includes/hostbox-old.inc
index 63dba2eba..46e544271 100644
--- a/html/includes/hostbox-old.inc
+++ b/html/includes/hostbox-old.inc
@@ -1,7 +1,7 @@
"; }
+ if(file_exists("images/os/$type" . ".gif")){ $image = "
"; }
echo("
");
echo("
@@ -18,10 +18,10 @@
if($_GET['page'] == 'device') {
if($_GET['graphs'] == 'yes') {
echo("
-
Hide Graphs
");
+
Hide Graphs");
} else {
echo("
-
Show Graphs
");
+
Show Graphs");
}
}
diff --git a/html/includes/print-event-short.inc b/html/includes/print-event-short.inc
index b7c020e7d..77355e384 100644
--- a/html/includes/print-event-short.inc
+++ b/html/includes/print-event-short.inc
@@ -9,7 +9,7 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
unset($icon);
$icon = geteventicon($entry['message']);
- if($icon) {$icon = "
"; }
+ if($icon) {$icon = "
"; }
echo("
diff --git a/html/includes/print-event.inc b/html/includes/print-event.inc
index 97d2ce30a..75c50f6c1 100644
--- a/html/includes/print-event.inc
+++ b/html/includes/print-event.inc
@@ -9,7 +9,7 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
unset($icon);
$icon = geteventicon($entry['message']);
- if($icon) {$icon = "
"; }
+ if($icon) {$icon = "
"; }
echo("
diff --git a/html/includes/print-interface.inc b/html/includes/print-interface.inc
index 7621780a9..2c26dd8be 100644
--- a/html/includes/print-interface.inc
+++ b/html/includes/print-interface.inc
@@ -22,7 +22,7 @@
if($bg == "#ffffff") { $bg = "#e5e5e5"; } else { $bg="#ffffff"; }
if($interface['in_errors'] > 0 || $interface['out_errors'] > 0) {
- $error_img = generateiflink($interface,"
",errors);
+ $error_img = generateiflink($interface,"
",errors);
} else { $error_img = ""; }
$graph_url = "graph.php?if=$if_id&from=$twoday&to=$now&width=400&height=120&type=bits";
@@ -46,9 +46,9 @@
$in_perc = @round($interface['in_rate']/$interface['ifSpeed']*100);
$out_perc = @round($interface['in_rate']/$interface['ifSpeed']*100);
- echo("
" .
+ echo("
" .
formatRates($interface['in_rate']) . "
");
- echo("
" .
+ echo("
" .
formatRates($interface['out_rate']) . "");
}
diff --git a/html/includes/print-syslog.inc b/html/includes/print-syslog.inc
index be283c7c0..989dbc04d 100644
--- a/html/includes/print-syslog.inc
+++ b/html/includes/print-syslog.inc
@@ -13,7 +13,7 @@ if($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; }
unset($icon);
$icon = geteventicon($entry['message']);
- if($icon) {$icon = "
"; }
+ if($icon) {$icon = "
"; }
diff --git a/html/network/includes/hostbox.inc b/html/network/includes/hostbox.inc
index b6a037c5b..14adee480 100644
--- a/html/network/includes/hostbox.inc
+++ b/html/network/includes/hostbox.inc
@@ -4,7 +4,7 @@
if($device[location] != "") { $locationhtml = $device[location]; }
$type = strtolower($device['os']);
- if(file_exists("../images/os/$type" . ".gif")){ $image = "
"; }
+ if(file_exists("..images/os/$type" . ".gif")){ $image = "
"; }
if ($device['os'] == "IOS") {
echo ("
@@ -21,9 +21,9 @@
if($_GET['page'] == 'device') {
if($_GET['graphs'] == 'yes') {
- echo("
Hide Graphs
");
+ echo("
Hide Graphs
");
} else {
- echo("
Show Graphs
");
+ echo("
Show Graphs
");
}
}
diff --git a/html/network/includes/topnav.inc b/html/network/includes/topnav.inc
index 9b4d7637b..616c49690 100644
--- a/html/network/includes/topnav.inc
+++ b/html/network/includes/topnav.inc
@@ -1,20 +1,20 @@
diff --git a/html/pages/interfaces.php b/html/pages/interfaces.php
index 9c3f983eb..ff4f6813e 100644
--- a/html/pages/interfaces.php
+++ b/html/pages/interfaces.php
@@ -22,7 +22,7 @@ while($interface = mysql_fetch_array($query)) {
$type = humanmedia($interface['ifType']);
if($interface['in_errors'] > 0 || $interface['out_errors'] > 0) {
- $error_img = generateiflink($interface,"
",errors);
+ $error_img = generateiflink($interface,"
",errors);
} else { $error_img = ""; }
diff --git a/html/pages/locations.php b/html/pages/locations.php
index 58578ba4c..f82767981 100644
--- a/html/pages/locations.php
+++ b/html/pages/locations.php
@@ -27,7 +27,7 @@ while($device = mysql_fetch_array($device_query)) {
$hostalerts = mysql_result(mysql_query("SELECT COUNT(device_id) FROM devices AS D, devices_perms AS P WHERE location = '" . $device['location'] . "' AND status = '0'"),0);
}
- if($hostalerts) { $alert = "
"; }
+ if($hostalerts) { $alert = "
"; }
$loc = $device[location];
diff --git a/html/pages/logon.inc b/html/pages/logon.inc
index 6124148a0..df880e616 100644
--- a/html/pages/logon.inc
+++ b/html/pages/logon.inc
@@ -4,7 +4,7 @@