mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix coding style part 2
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of LibreNMS
|
||||
*
|
||||
@@ -10,6 +11,7 @@
|
||||
* option) any later version. Please see LICENSE.txt at the top level of
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
?>
|
||||
|
||||
<script class="code" type="text/javascript">
|
||||
@@ -28,14 +30,11 @@ $(document).ready(function() {
|
||||
</script>
|
||||
|
||||
<?php
|
||||
|
||||
// Set Defaults here
|
||||
|
||||
$sql_param = array();
|
||||
$pagetitle[] = "Public Devices";
|
||||
$sql_param = array();
|
||||
$pagetitle[] = 'Public Devices';
|
||||
|
||||
$query = "SELECT * FROM `devices` WHERE 1 AND disabled='0' AND `ignore`='0' ORDER BY hostname";
|
||||
|
||||
?>
|
||||
<div class="well"><h3>System Status<button class="btn btn-default" type="submit" style="float:right;" id="ToggleLogon">Logon</button></h3></div>
|
||||
<div class="panel panel-default panel-condensed">
|
||||
@@ -50,9 +49,8 @@ $query = "SELECT * FROM `devices` WHERE 1 AND disabled='0' AND `ignore`='0' ORDE
|
||||
<th>Uptime/Location</th>
|
||||
</tr>
|
||||
<?php
|
||||
foreach (dbFetchRows($query, $sql_param) as $device)
|
||||
{
|
||||
include("includes/hostbox-public.inc.php");
|
||||
foreach (dbFetchRows($query, $sql_param) as $device) {
|
||||
include 'includes/hostbox-public.inc.php';
|
||||
}
|
||||
?>
|
||||
</table>
|
||||
|
Reference in New Issue
Block a user