extend simpler menubar to more pages. fix graphname to device_temperature for os definitions.

git-svn-id: http://www.observium.org/svn/observer/trunk@2051 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-11 09:16:50 +00:00
parent f4754c6fd5
commit b76ad33b3b
4 changed files with 26 additions and 26 deletions
+6 -6
View File
@@ -27,14 +27,14 @@ if ($_SESSION['userlevel'] < '7')
echo($sep);
if ($_GET['opta'] == $type)
{
echo("<strong>");
echo('<img src="images/icons/'.$type.'.png" class="optionicon" />');
echo("<span class='pagemenu-selected'>");
#echo('<img src="images/icons/'.$type.'.png" class="optionicon" />');
} else {
echo('<img src="images/icons/greyscale/'.$type.'.png" class="optionicon" />');
#echo('<img src="images/icons/greyscale/'.$type.'.png" class="optionicon" />');
}
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/edit/" . $type . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $text ."</a>\n");
if ($_GET['opta'] == $type) { echo("</strong>"); }
echo("<a href='".$config['base_url']."/device/".$device['device_id']."/edit/" . $type . ($_GET['optb'] ? "/" . $_GET['optb'] : ''). "/'> " . $text ."</a>");
if ($_GET['opta'] == $type) { echo("</span>"); }
$sep = " | ";
}
@@ -46,4 +46,4 @@ if ($_SESSION['userlevel'] < '7')
}
}
?>
?>