Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
a45ec90b
Commit
a45ec90b
authored
Sep 08, 2004
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor bug fix to toggle button.
parent
bb56a192
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
www/menu.php3
www/menu.php3
+2
-2
No files found.
www/menu.php3
View file @
a45ec90b
...
...
@@ -726,12 +726,12 @@ function PAGEHEADER($title, $view = NULL) {
if
(
$login_uid
&&
ISADMINISTRATOR
())
{
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'
border=0 alt='Admin On'></a>
\n
"
;
}
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'
border=0 alt='Admin Off'></a>
\n
"
;
}
...
...
Write
Preview
Markdown
is supported
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