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:
@@ -12,25 +12,32 @@
|
||||
* the source code distribution for details.
|
||||
*/
|
||||
|
||||
$no_refresh = TRUE;
|
||||
$no_refresh = true;
|
||||
|
||||
echo('<ul class="nav nav-tabs">');
|
||||
echo '<ul class="nav nav-tabs">';
|
||||
|
||||
$poll_tabs = array(array("name" => 'Pollers', 'icon' => 'clock_link'),
|
||||
array("name" => 'Groups', 'icon' => 'clock_add'));
|
||||
$poll_tabs = array(
|
||||
array(
|
||||
'name' => 'Pollers',
|
||||
'icon' => 'clock_link',
|
||||
),
|
||||
array(
|
||||
'name' => 'Groups',
|
||||
'icon' => 'clock_add',
|
||||
),
|
||||
);
|
||||
|
||||
foreach ($poll_tabs as $tab) {
|
||||
echo('
|
||||
echo '
|
||||
<li>
|
||||
<a href="/pollers/tab='. lcfirst($tab["name"]) .'">
|
||||
<img src="images/16/'. $tab["icon"] .'.png" align="absmiddle" border="0"> ' . $tab["name"] . '
|
||||
<a href="/pollers/tab='.lcfirst($tab['name']).'">
|
||||
<img src="images/16/'.$tab['icon'].'.png" align="absmiddle" border="0"> '.$tab['name'].'
|
||||
</a>
|
||||
</li>');
|
||||
|
||||
</li>';
|
||||
}
|
||||
|
||||
echo ('</ul>');
|
||||
echo '</ul>';
|
||||
|
||||
if (isset($vars['tab'])) {
|
||||
require_once "pages/pollers/".mres($vars['tab']).".inc.php";
|
||||
include_once 'pages/pollers/'.mres($vars['tab']).'.inc.php';
|
||||
}
|
||||
|
Reference in New Issue
Block a user