From 282c4e705a756b1bf838ba59996067b801177e9e Mon Sep 17 00:00:00 2001 From: bohdan-s Date: Sun, 22 Jun 2014 19:51:35 -0400 Subject: [PATCH] Fix footer, remove ignored/disabled devices form status page, cleanup white space at top of page --- html/index.php | 10 +++++++--- html/pages/public.inc.php | 17 +---------------- 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/html/index.php b/html/index.php index c552e4ced..04a47905d 100755 --- a/html/index.php +++ b/html/index.php @@ -163,19 +163,24 @@ if (!$vars['bare'] == "yes") { if ($_SESSION['authenticated']) { include("includes/print-menubar.php"); - } else { - echo('
'); } } ?>
+
 

+
diff --git a/html/pages/public.inc.php b/html/pages/public.inc.php index 0dae8bd47..751147419 100644 --- a/html/pages/public.inc.php +++ b/html/pages/public.inc.php @@ -21,8 +21,7 @@ $(document).ready(function() { $sql_param = array(); $pagetitle[] = "Public Devices"; - -$query = "SELECT * FROM `devices` ORDER BY hostname"; +$query = "SELECT * FROM `devices` WHERE 1 AND disabled='0' AND `ignore`='0' ORDER BY hostname"; ?>

System Status

@@ -46,17 +45,3 @@ foreach (dbFetchRows($query, $sql_param) as $device)
-