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
@@ -69,21 +69,21 @@ if (bill_permitted($bill_id))
if (!$_GET['optb']) { $_GET['optb'] = "details"; }
if ($_GET['optb'] == "details") { echo("<strong>"); }
if ($_GET['optb'] == "details") { echo("<span class='pagemenu-selected'>"); }
echo("<a href='bill/".$bill_id."/details/'>Details</a>");
if ($_GET['optb'] == "details") { echo("</strong>"); }
if ($_GET['optb'] == "details") { echo("</span>"); }
if ($_SESSION['userlevel'] == "10")
{
echo(" | ");
if ($_GET['optb'] == "edit") { echo("<strong>"); }
if ($_GET['optb'] == "edit") { echo("<span class='pagemenu-selected'>"); }
echo("<a href='bill/".$bill_id."/edit/'>Edit</a>");
if ($_GET['optb'] == "edit") { echo("</strong>"); }
if ($_GET['optb'] == "edit") { echo("</span>"); }
echo(" | ");
if ($_GET['optb'] == "delete") { echo("<strong>"); }
if ($_GET['optb'] == "delete") { echo("<span class='pagemenu-selected'>"); }
echo("<a href='bill/".$bill_id."/delete/'>Delete</a>");
if ($_GET['optb'] == "delete") { echo("</strong>"); }
if ($_GET['optb'] == "delete") { echo("</span>"); }
}
print_optionbar_end();