mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
revert the unknowing's reversion, please clean up your database if you see weird entries in your health menu
git-svn-id: http://www.observium.org/svn/observer/trunk@2179 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@ -252,17 +252,17 @@ foreach (array('current','frequency','power','voltage') as $item)
|
||||
}
|
||||
|
||||
# Show remaining/custom sensor types if there are any in the database
|
||||
#if ($menu_sensors && $sep)
|
||||
#{
|
||||
# echo('<li><hr width="140" /></li>');
|
||||
# $sep = 0;
|
||||
#}
|
||||
if ($menu_sensors && $sep)
|
||||
{
|
||||
echo('<li><hr width="140" /></li>');
|
||||
$sep = 0;
|
||||
}
|
||||
|
||||
#foreach (array_keys($menu_sensors) as $item)
|
||||
#{
|
||||
# echo ('<li><a href="health/'.$item.'/"><img src="images/icons/'.$item.'.png" border="0" align="absmiddle" /> '.ucfirst($item).'</a></li>');
|
||||
# unset($menu_sensors[$item]);$sep++;
|
||||
#}
|
||||
foreach (array_keys($menu_sensors) as $item)
|
||||
{
|
||||
echo ('<li><a href="health/'.$item.'/"><img src="images/icons/'.$item.'.png" border="0" align="absmiddle" /> '.ucfirst($item).'</a></li>');
|
||||
unset($menu_sensors[$item]);$sep++;
|
||||
}
|
||||
|
||||
?>
|
||||
</ul>
|
||||
|
Reference in New Issue
Block a user