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)
-