From a2e920e763d663594bd82ab0889df8cbf75a4981 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Wed, 12 Mar 2008 19:50:05 +0000 Subject: [PATCH] remove starting / git-svn-id: http://www.observium.org/svn/observer/trunk@152 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/hostbox-old.inc | 6 +++--- html/includes/print-event-short.inc | 2 +- html/includes/print-event.inc | 2 +- html/includes/print-interface.inc | 6 +++--- html/includes/print-syslog.inc | 2 +- html/network/includes/hostbox.inc | 6 +++--- html/network/includes/topnav.inc | 8 ++++---- html/pages/interfaces.php | 2 +- html/pages/locations.php | 2 +- html/pages/logon.inc | 2 +- 10 files changed, 19 insertions(+), 19 deletions(-) diff --git a/html/includes/hostbox-old.inc b/html/includes/hostbox-old.inc index 63dba2eba3..46e544271d 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 b7c020e7d4..77355e384c 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 97d2ce30a8..75c50f6c1a 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 7621780a97..2c26dd8be8 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,"Interface Errors",errors); + $error_img = generateiflink($interface,"Interface Errors",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 be283c7c0a..989dbc04d0 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 b6a037c5b1..14adee4804 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 9b4d7637b5..616c49690c 100644 --- a/html/network/includes/topnav.inc +++ b/html/network/includes/topnav.inc @@ -1,20 +1,20 @@
- Network + Network - Wiki + Wiki
- Support + Support - DNS Admin + DNS Admin
diff --git a/html/pages/interfaces.php b/html/pages/interfaces.php index 9c3f983eba..ff4f6813ef 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,"Interface Errors",errors); + $error_img = generateiflink($interface,"Interface Errors",errors); } else { $error_img = ""; } diff --git a/html/pages/locations.php b/html/pages/locations.php index 58578ba4cc..f82767981b 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 6124148a03..df880e6160 100644 --- a/html/pages/logon.inc +++ b/html/pages/logon.inc @@ -4,7 +4,7 @@

- +

Please log in: