Commit a45ec90b authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix to toggle button.

parent bb56a192
...@@ -726,12 +726,12 @@ function PAGEHEADER($title, $view = NULL) { ...@@ -726,12 +726,12 @@ function PAGEHEADER($title, $view = NULL) {
if ($login_uid && ISADMINISTRATOR()) { if ($login_uid && ISADMINISTRATOR()) {
if (ISADMIN($login_uid)) { if (ISADMIN($login_uid)) {
echo "<a href=toggle.php?target_uid=$login_uid&type=adminoff&value=1> echo "<a href=$TBBASE/toggle.php?target_uid=$login_uid&type=adminoff&value=1>
<img src='/redball.gif' <img src='/redball.gif'
border=0 alt='Admin On'></a>\n"; border=0 alt='Admin On'></a>\n";
} }
else { else {
echo "<a href=toggle.php?target_uid=$login_uid&type=adminoff&value=0> echo "<a href=$TBBASE/toggle.php?target_uid=$login_uid&type=adminoff&value=0>
<img src='/greenball.gif' <img src='/greenball.gif'
border=0 alt='Admin Off'></a>\n"; border=0 alt='Admin Off'></a>\n";
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment