Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
a52f605b
Commit
a52f605b
authored
Dec 27, 2005
by
Leigh B. Stoller
Browse files
Fix up menus when nologins is active.
parent
8ed67c52
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/menu.php3
View file @
a52f605b
...
...
@@ -409,6 +409,10 @@ function WRITESIDEBAR() {
# it clear its disabled.
#
if
(
NOLOGINS
())
{
echo
"<table class=menu width=210 cellpadding=0 cellspacing=0>"
.
"<tr><td class=menuheader>  "
.
"</td></tr>
\n
"
;
WRITESIDEBARBUTTON
(
"<font color=red> "
.
"Web Interface Temporarily Unavailable</font>"
,
$TBDOCBASE
,
"nologins.php3"
);
...
...
@@ -416,6 +420,7 @@ function WRITESIDEBAR() {
if
(
!
$login_uid
||
!
ISADMIN
(
$login_uid
))
{
WRITESIDEBARNOTICE
(
"Please Try Again Later"
);
}
echo
"</table>
\n
"
;
}
if
(
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment