more code cleanup (last commit for now)

git-svn-id: http://www.observium.org/svn/observer/trunk@2520 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Tom Laermans
2011-09-20 14:37:54 +00:00
parent f87ed09e1b
commit 9a1bee1458
71 changed files with 296 additions and 293 deletions

View File

@@ -45,7 +45,7 @@ foreach($config['poller_modules'] as $module => $module_status)
echo('</td><td>');
if(isset($attribs['poll_'.$module]))
if (isset($attribs['poll_'.$module]))
{
if ($attribs['poll_'.$module]) {echo("<span class=green>enabled</span>");} else { echo('<span class=red>disabled</span>'); }
} else {
@@ -82,7 +82,7 @@ foreach($config['discovery_modules'] as $module => $module_status)
echo('</td><td>');
if(isset($attribs['discover_'.$module]))
if (isset($attribs['discover_'.$module]))
{
if ($attribs['discover_'.$module]) {echo("<span class=green>enabled</span>");} else { echo('<span class=red>disabled</span>'); }
} else {