billing interface improvements

git-svn-id: http://www.observium.org/svn/observer/trunk@2721 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-11-12 15:19:05 +00:00
parent afced3cd6c
commit 2276b22e18
3 changed files with 64 additions and 55 deletions

View File

@@ -102,11 +102,6 @@ if (bill_permitted($bill_id))
if ($_SESSION['userlevel'] == "10")
{
# echo(" | ");
# if ($_GET['optb'] == "admin_history") { echo("<span class='pagemenu-selected'>"); }
# echo("<a href='bills/history/'>Previous Billing Period</a>");
# if ($_GET['optb'] == "admin_history") { echo("</span>"); }
echo(" | ");
if ($_GET['optb'] == "edit") { echo("<span class='pagemenu-selected'>"); }
echo("<a href='bill/".$bill_id."/edit/'>Edit</a>");
@@ -118,7 +113,7 @@ if (bill_permitted($bill_id))
if ($_GET['optb'] == "delete") { echo("</span>"); }
}
echo("<div style='font-weight: bold; float: right;'><a href='bills/'>Back to Bills</a></div>");
echo('<div style="font-weight: bold; float: right;"><a href="bills/"><img align=absmiddle src="/images/16/arrow_left.png"> Back to Bills</a></div>');
print_optionbar_end();
@@ -354,7 +349,7 @@ if (bill_permitted($bill_id))
else
{
echo("<h3>Billing View</h3>$bi");
echo("<h3>Previous Bill View</h3>$li");
# echo("<h3>Previous Bill View</h3>$li");
echo("<h3>24 Hour View</h3>$di");
echo("<h3>Monthly View</h3>$mi");
# echo("<br /><a href=\"rate.php?" . $_SERVER['QUERY_STRING'] . "&amp;all=yes\">Graph All Data (SLOW)</a>");