Skip to content
GitLab
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
a2707685
Commit
a2707685
authored
Nov 26, 2012
by
Leigh B Stoller
Browse files
Hide a few more links to the OSID list unless an admin; too confusing
for mere users.
parent
4407a0cb
Changes
3
Hide whitespace changes
Inline
Side-by-side
www/beginexp_form.php3
View file @
a2707685
...
...
@@ -611,7 +611,7 @@ function SPITFORM($formfields, $errors)
echo
"<p>
<h3>Handy Links:</h3>
<ul>
<li> View a <a href='show
os
id_list.php3' target='_blank'>list
<li> View a <a href='show
image
id_list.php3' target='_blank'>list
of OSIDs</a> that are available for you to use in your NS
file.</li>
<li> Create your own <a href='newimageid_ez.php3'>
...
...
www/newimageid.php3
View file @
a2707685
...
...
@@ -816,8 +816,10 @@ WRITESUBMENUBUTTON("Create a new OS Descriptor",
"newosid.php3"
);
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
"showosid_list.php3"
);
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
"showosid_list.php3"
);
}
SUBMENUEND
();
#
...
...
www/newimageid_ez.php3
View file @
a2707685
...
...
@@ -1370,11 +1370,11 @@ WRITESUBMENUBUTTON("Create a new Image Descriptor",
if
(
$isadmin
)
{
WRITESUBMENUBUTTON
(
"Create a new OS Descriptor"
,
"newosid.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
"showosid_list.php3"
);
}
WRITESUBMENUBUTTON
(
"Image Descriptor list"
,
"showimageid_list.php3"
);
WRITESUBMENUBUTTON
(
"OS Descriptor list"
,
"showosid_list.php3"
);
SUBMENUEND
();
#
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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