Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
b20a89af
Commit
b20a89af
authored
Apr 14, 2003
by
Leigh B. Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill off more Create OSID menu options for non-admin types.
parent
38931535
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
www/newimageid_ez.php3
www/newimageid_ez.php3
+4
-2
www/showimageid.php3
www/showimageid.php3
+5
-2
www/showosinfo.php3
www/showosinfo.php3
+5
-2
No files found.
www/newimageid_ez.php3
View file @
b20a89af
...
@@ -985,8 +985,10 @@ if (! isset($node)) {
...
@@ -985,8 +985,10 @@ if (! isset($node)) {
}
}
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
"newosid_form.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
www/showimageid.php3
View file @
b20a89af
...
@@ -17,6 +17,7 @@ PAGEHEADER("Image Descriptor");
...
@@ -17,6 +17,7 @@ PAGEHEADER("Image Descriptor");
#
#
$uid
=
GETLOGIN
();
$uid
=
GETLOGIN
();
LOGGEDINORDIE
(
$uid
);
LOGGEDINORDIE
(
$uid
);
$isadmin
=
ISADMIN
(
$uid
);
#
#
# Verify form arguments.
# Verify form arguments.
...
@@ -46,8 +47,10 @@ WRITESUBMENUBUTTON("Delete this Image Descriptor",
...
@@ -46,8 +47,10 @@ WRITESUBMENUBUTTON("Delete this Image Descriptor",
"deleteimageid.php3?imageid=
$fooid
"
);
"deleteimageid.php3?imageid=
$fooid
"
);
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
"newosid_form.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
www/showosinfo.php3
View file @
b20a89af
...
@@ -17,6 +17,7 @@ PAGEHEADER("OS Descriptor Information");
...
@@ -17,6 +17,7 @@ PAGEHEADER("OS Descriptor Information");
#
#
$uid
=
GETLOGIN
();
$uid
=
GETLOGIN
();
LOGGEDINORDIE
(
$uid
);
LOGGEDINORDIE
(
$uid
);
$isadmin
=
ISADMIN
(
$uid
);
#
#
# Verify form arguments.
# Verify form arguments.
...
@@ -41,8 +42,10 @@ SUBPAGESTART();
...
@@ -41,8 +42,10 @@ SUBPAGESTART();
SUBMENUSTART
(
"More Options"
);
SUBMENUSTART
(
"More Options"
);
WRITESUBMENUBUTTON
(
"Delete this OS Descriptor"
,
WRITESUBMENUBUTTON
(
"Delete this OS Descriptor"
,
"deleteosid.php3?osid=
$osid
"
);
"deleteosid.php3?osid=
$osid
"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
if
(
$isadmin
)
{
"newosid_form.php3"
);
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid_form.php3"
);
}
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
WRITESUBMENUBUTTON
(
"Create a new Image Descriptor"
,
"newimageid_ez.php3"
);
"newimageid_ez.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
...
...
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