Commit 8fec9ba3 authored by Leigh Stoller's avatar Leigh Stoller

Add popups for login/email slots. This is almost certain to make

a certain person who shall remain nameless unhappy!
parent d564f690
<!--
EMULAB-COPYRIGHT
Copyright (c) 2000-2002 University of Utah and the Flux Group.
Copyright (c) 2000-2003 University of Utah and the Flux Group.
All rights reserved.
-->
<center>
......@@ -17,7 +17,7 @@ for their behavior.
<h3>Who can start a project?</h3>
<p>
In general, a faculty memeber or well-known senior staff member must
In general, a faculty member or well-known senior staff member must
start each project. Students cannot lead projects unless they
have had prior approval by the
<a href="mailto:testbed-approval@flux.cs.utah.edu">
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -33,6 +33,13 @@ else {
$returning = 0;
}
$ACCOUNTWARNING = "Your username should reflect your normal login name.<br>".
"Emulab accounts are not to be shared amongst users!<br>";
$EMAILWARNING = "We require all Emulab users to provide current, ".
"non-pseudonymic email addresses. Redirections and anonymous ".
"email addresses are not allowed.";
#
# Spit the form out using the array of data.
#
......@@ -40,6 +47,7 @@ function SPITFORM($formfields, $returning, $errors)
{
global $TBDB_UIDLEN, $TBDB_PIDLEN, $TBDB_GIDLEN;
global $usr_keyfile;
global $ACCOUNTWARNING, $EMAILWARNING;
PAGEHEADER("Apply for Project Membership");
......@@ -87,6 +95,7 @@ function SPITFORM($formfields, $returning, $errors)
name=\"formfields[joining_uid]\"
value=\"" . $formfields[joining_uid] . "\"
size=$TBDB_UIDLEN
onchange=\"alert('$ACCOUNTWARNING')\"
maxlength=$TBDB_UIDLEN>
</td>
</tr>\n";
......@@ -152,6 +161,7 @@ function SPITFORM($formfields, $returning, $errors)
<input type=text
name=\"formfields[usr_email]\"
value=\"" . $formfields[usr_email] . "\"
onchange=\"alert('$EMAILWARNING')\"
size=30>
</td>
</tr>\n";
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2002 University of Utah and the Flux Group.
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
......@@ -34,6 +34,13 @@ else {
$returning = 0;
}
$ACCOUNTWARNING = "Your username should reflect your normal login name.<br>".
"Emulab accounts are not to be shared amongst users!<br>";
$EMAILWARNING = "We require all Emulab users to provide current, ".
"non-pseudonymic email addresses. Redirections and anonymous ".
"email addresses are not allowed.";
#
# Spit the form out using the array of data.
#
......@@ -41,9 +48,10 @@ function SPITFORM($formfields, $returning, $errors)
{
global $TBDB_UIDLEN, $TBDB_PIDLEN, $TBDOCBASE, $WWWHOST;
global $usr_keyfile;
global $ACCOUNTWARNING, $EMAILWARNING;
PAGEHEADER("Start a New Testbed Project");
echo "<center><font size=+1>
If you are a <font color=red>student
(undergrad or graduate)</font>, please
......@@ -105,6 +113,7 @@ function SPITFORM($formfields, $returning, $errors)
name=\"formfields[proj_head_uid]\"
value=\"" . $formfields[proj_head_uid] . "\"
size=$TBDB_UIDLEN
onchange=\"alert('$ACCOUNTWARNING')\"
maxlength=$TBDB_UIDLEN>
</td>
</tr>\n";
......@@ -170,6 +179,7 @@ function SPITFORM($formfields, $returning, $errors)
<input type=text
name=\"formfields[usr_email]\"
value=\"" . $formfields[usr_email] . "\"
onchange=\"alert('$EMAILWARNING')\"
size=30>
</td>
</tr>\n";
......
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