Commit 979733cd authored by Leigh B. Stoller's avatar Leigh B. Stoller

Addendum to last commit.

parent a52f605b
......@@ -409,9 +409,12 @@ function WRITESIDEBAR() {
# it clear its disabled.
#
if (NOLOGINS()) {
echo "<table class=menu width=210 cellpadding=0 cellspacing=0>".
"<tr><td class=menuheader> &nbsp".
"</td></tr>\n";
if (! ($login_status &
(CHECKLOGIN_LOGGEDIN|CHECKLOGIN_MAYBEVALID))) {
echo "<table class=menu width=210 cellpadding=0 cellspacing=0>".
"<tr><td class=menuheader> &nbsp".
"</td></tr>\n";
}
WRITESIDEBARBUTTON("<font color=red> ".
"Web Interface Temporarily Unavailable</font>",
......@@ -420,7 +423,10 @@ function WRITESIDEBAR() {
if (!$login_uid || !ISADMIN($login_uid)) {
WRITESIDEBARNOTICE("Please Try Again Later");
}
echo "</table>\n";
if (! ($login_status &
(CHECKLOGIN_LOGGEDIN|CHECKLOGIN_MAYBEVALID))) {
echo "</table>\n";
}
}
if ($login_status & (CHECKLOGIN_LOGGEDIN|CHECKLOGIN_MAYBEVALID)) {
......
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