Commit a2707685 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

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) ...@@ -611,7 +611,7 @@ function SPITFORM($formfields, $errors)
echo "<p> echo "<p>
<h3>Handy Links:</h3> <h3>Handy Links:</h3>
<ul> <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 of OSIDs</a> that are available for you to use in your NS
file.</li> file.</li>
<li> Create your own <a href='newimageid_ez.php3'> <li> Create your own <a href='newimageid_ez.php3'>
......
...@@ -816,8 +816,10 @@ WRITESUBMENUBUTTON("Create a new OS Descriptor", ...@@ -816,8 +816,10 @@ WRITESUBMENUBUTTON("Create a new OS Descriptor",
"newosid.php3"); "newosid.php3");
WRITESUBMENUBUTTON("Image Descriptor list", WRITESUBMENUBUTTON("Image Descriptor list",
"showimageid_list.php3"); "showimageid_list.php3");
WRITESUBMENUBUTTON("OS Descriptor list", if ($isadmin) {
WRITESUBMENUBUTTON("OS Descriptor list",
"showosid_list.php3"); "showosid_list.php3");
}
SUBMENUEND(); SUBMENUEND();
# #
......
...@@ -1370,11 +1370,11 @@ WRITESUBMENUBUTTON("Create a new Image Descriptor", ...@@ -1370,11 +1370,11 @@ WRITESUBMENUBUTTON("Create a new Image Descriptor",
if ($isadmin) { if ($isadmin) {
WRITESUBMENUBUTTON("Create a new OS Descriptor", WRITESUBMENUBUTTON("Create a new OS Descriptor",
"newosid.php3"); "newosid.php3");
WRITESUBMENUBUTTON("OS Descriptor list",
"showosid_list.php3");
} }
WRITESUBMENUBUTTON("Image Descriptor list", WRITESUBMENUBUTTON("Image Descriptor list",
"showimageid_list.php3"); "showimageid_list.php3");
WRITESUBMENUBUTTON("OS Descriptor list",
"showosid_list.php3");
SUBMENUEND(); SUBMENUEND();
# #
......
Supports Markdown
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