Fix coding style part 2

This commit is contained in:
Job Snijders
2015-07-13 20:10:26 +02:00
parent ad9590df9b
commit d8693f05ae
733 changed files with 37359 additions and 33947 deletions

View File

@@ -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';
}