Commit a2707685 authored by Leigh Stoller's avatar Leigh Stoller

Hide a few more links to the OSID list unless an admin; too confusing

for mere users.
parent 4407a0cb
......@@ -611,7 +611,7 @@ function SPITFORM($formfields, $errors)
echo "<p>
<h3>Handy Links:</h3>
<ul>
<li> View a <a href='showosid_list.php3' target='_blank'>list
<li> View a <a href='showimageid_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'>
......
......@@ -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();
#
......
......@@ -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();
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment