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
b20a89af
Commit
b20a89af
authored
Apr 14, 2003
by
Leigh B. Stoller
Browse files
Kill off more Create OSID menu options for non-admin types.
parent
38931535
Changes
3
Show whitespace changes
Inline
Side-by-side
www/newimageid_ez.php3
View file @
b20a89af
...
...
@@ -985,8 +985,10 @@ if (! isset($node)) {
}
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
www/showimageid.php3
View file @
b20a89af
...
...
@@ -17,6 +17,7 @@ PAGEHEADER("Image Descriptor");
#
$uid
=
GETLOGIN
();
LOGGEDINORDIE
(
$uid
);
$isadmin
=
ISADMIN
(
$uid
);
#
# Verify form arguments.
...
...
@@ -46,8 +47,10 @@ WRITESUBMENUBUTTON("Delete this Image Descriptor",
"deleteimageid.php3?imageid=
$fooid
"
);
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
www/showosinfo.php3
View file @
b20a89af
...
...
@@ -17,6 +17,7 @@ PAGEHEADER("OS Descriptor Information");
#
$uid
=
GETLOGIN
();
LOGGEDINORDIE
(
$uid
);
$isadmin
=
ISADMIN
(
$uid
);
#
# Verify form arguments.
...
...
@@ -41,8 +42,10 @@ SUBPAGESTART();
SUBMENUSTART
(
"More Options"
);
WRITESUBMENUBUTTON
(
"Delete this OS Descriptor"
,
"deleteosid.php3?osid=
$osid
"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
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