mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
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:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user