mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix device health tab links
git-svn-id: http://www.observium.org/svn/observer/trunk@2502 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -40,6 +40,10 @@ $type_text['frequency'] = "Frequency";
|
||||
$type_text['current'] = "Current";
|
||||
$type_text['power'] = "Power";
|
||||
|
||||
$link_array = array('page' => 'device',
|
||||
'device' => $device['device_id'],
|
||||
'tab' => 'health');
|
||||
|
||||
print_optionbar_start();
|
||||
|
||||
echo("<span style='font-weight: bold;'>Health</span> » ");
|
||||
@@ -53,7 +57,6 @@ foreach ($datas as $type)
|
||||
|
||||
if ($vars['metric'] == $type)
|
||||
{ echo('<span class="pagemenu-selected">'); }
|
||||
|
||||
echo(generate_link($type_text[$type],$link_array,array('metric'=>$type)));
|
||||
if ($vars['metric'] == $type) { echo("</span>"); }
|
||||
$sep = " | ";
|
||||
|
||||
Reference in New Issue
Block a user