Commit 6cdff825 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Reverse polarity of the "admin dot" (green means you not in

adminmode). Red means DANGER!
parent 54049ef6
......@@ -298,13 +298,13 @@ function WRITEBANNER($title) {
if ($login_uid && ISADMININSTRATOR()) {
if (ISADMIN($login_uid)) {
echo "<a href=adminmode.php3?target_uid=$login_uid&adminoff=1>
<img src='/autostatus-icons/greenball.gif'
alt='Admin On'></a>\n";
<img src='/autostatus-icons/redball.gif'
border=0 alt='Admin On'></a>\n";
}
else {
echo "<a href=adminmode.php3?target_uid=$login_uid&adminoff=0>
<img src='/autostatus-icons/redball.gif'
alt='Admin Off'></a>\n";
<img src='/autostatus-icons/greenball.gif'
border=0 alt='Admin Off'></a>\n";
}
}
else {
......
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