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
979733cd
Commit
979733cd
authored
Dec 27, 2005
by
Leigh B. Stoller
Browse files
Addendum to last commit.
parent
a52f605b
Changes
1
Show whitespace changes
Inline
Side-by-side
www/menu.php3
View file @
979733cd
...
...
@@ -409,9 +409,12 @@ function WRITESIDEBAR() {
# it clear its disabled.
#
if
(
NOLOGINS
())
{
if
(
!
(
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
)))
{
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>"
,
...
...
@@ -420,8 +423,11 @@ function WRITESIDEBAR() {
if
(
!
$login_uid
||
!
ISADMIN
(
$login_uid
))
{
WRITESIDEBARNOTICE
(
"Please Try Again Later"
);
}
if
(
!
(
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
)))
{
echo
"</table>
\n
"
;
}
}
if
(
$login_status
&
(
CHECKLOGIN_LOGGEDIN
|
CHECKLOGIN_MAYBEVALID
))
{
if
(
$firstinitstate
!=
null
)
{
...
...
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