Commit 8739896d authored by Robert Ricci's avatar Robert Ricci
Browse files

If the user is not currently allowed to use pcplab nodes, print a

message telling them how to ask for permission.
parent efa0dad1
......@@ -55,6 +55,20 @@ function SPITFORM($advanced,$formfields, $errors = array()) {
PAGEHEADER("Create a Slice on PlanetLab");
# If the user is not allowed to use planetlab nodes, print out a messages
# telling them so
if (!NODETYPE_ALLOWED("pcplab")) {
echo "<p><b><font color=\"red\">NOTE:</font> You do not currently " .
"have permission to use PlanetLab nodes through Emulab. Please " .
"have your project leader contact $TBMAILADDR to request ".
"permission for your project to create PlanetLab slices. " .
# Display any errors
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