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
e9dc17ac
Commit
e9dc17ac
authored
Apr 11, 2003
by
Mac Newbold
Browse files
s/admininstrator/administrator/gi
parent
9d13ddfa
Changes
5
Hide whitespace changes
Inline
Side-by-side
www/approvewauser.php3
View file @
e9dc17ac
...
...
@@ -17,7 +17,7 @@ PAGEHEADER("Widearea Accounts Approval Form");
$uid
=
GETLOGIN
();
LOGGEDINORDIE
(
$uid
);
if
(
!
ISADMIN
(
$uid
))
{
USERERROR
(
"Only testbed admini
n
strators people can access this page!"
,
1
);
USERERROR
(
"Only testbed administrators people can access this page!"
,
1
);
}
ignore_user_abort
(
1
);
...
...
www/approvewauser_form.php3
View file @
e9dc17ac
...
...
@@ -17,7 +17,7 @@ PAGEHEADER("Widearea Accounts Approval Form");
$auth_usr
=
GETLOGIN
();
LOGGEDINORDIE
(
$auth_usr
);
if
(
!
ISADMIN
(
$auth_usr
))
{
USERERROR
(
"Only testbed admini
n
strators people can access this page!"
,
1
);
USERERROR
(
"Only testbed administrators people can access this page!"
,
1
);
}
echo
"
...
...
www/freenode.php3
View file @
e9dc17ac
...
...
@@ -29,7 +29,7 @@ if (!isset($node_id) || !strcmp($node_id, "") || !TBValidNodeName($node_id)) {
# Only admin users can do this.
#
if
(
!
$isadmin
)
{
USERERROR
(
"Only admini
n
strators can free nodes from the web interface!"
,
USERERROR
(
"Only administrators can free nodes from the web interface!"
,
1
);
}
...
...
www/menu.php3
View file @
e9dc17ac
...
...
@@ -470,7 +470,7 @@ function PAGEHEADER($title) {
FINISHSIDEBAR
();
echo
"<h2 class=
\"
nomargin
\"
>
\n
"
;
if
(
$login_uid
&&
ISADMINI
N
STRATOR
())
{
if
(
$login_uid
&&
ISADMINISTRATOR
())
{
if
(
ISADMIN
(
$login_uid
))
{
echo
"<a href=adminmode.php3?target_uid=
$login_uid
&adminoff=1>
<img src='/redball.gif'
...
...
www/tbauth.php3
View file @
e9dc17ac
...
...
@@ -321,7 +321,7 @@ function ISADMIN($uid) {
}
# Is this user a real administrator (ignore onoff bit).
function
ISADMINI
N
STRATOR
()
{
function
ISADMINISTRATOR
()
{
global
$CHECKLOGIN_STATUS
;
if
(
$CHECKLOGIN_STATUS
==
CHECKLOGIN_NOSTATUS
)
...
...
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