remove icons and move to new format for device/graphs menu

git-svn-id: http://www.observium.org/svn/observer/trunk@2044 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-09 14:45:29 +00:00
parent 78e507ccc4
commit dc148bde7f

View File

@@ -27,16 +27,14 @@ foreach ($config['graph_sections'] as $section)
echo($sep);
if ($_GET['opta'] == $type)
{
echo("<strong>");
echo('<img src="images/icons/'.$type.'.png" class="optionicon" />');
}
else
{
echo('<img src="images/icons/greyscale/'.$type.'.png" class="optionicon" />');
echo('<span class="pagemenu-selected">');
}
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/graphs/" . $type . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $type ."</a>\n");
if ($_GET['opta'] == $type) { echo("</strong>"); }
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/graphs/" . $type . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $type ."</a>");
if ($_GET['opta'] == $type)
{
echo("</span>");
}
$sep = " | ";
}
}
@@ -56,4 +54,4 @@ foreach ($config['graph_types']['device'] as $graph => $entry)
}
}
?>
?>