Commit dcede7d7 authored by Leigh Stoller's avatar Leigh Stoller

Front page changes; Move join/start to sub page and link to Request

Account to make it more clear.
parent 46ed20e6
......@@ -54,6 +54,13 @@ function SPITFORM($formfields, $returning, $errors)
PAGEHEADER("Apply for Project Membership");
if (! $returning) {
echo "<center><font size=+1>
If you already have an Emulab account, <a href=login.php3>
please log on first!</a>
</font></center><br>\n";
}
if ($errors) {
echo "<table class=nogrid
align=center border=0 cellpadding=6 cellspacing=0>
......
......@@ -226,15 +226,21 @@ function WRITESIDEBAR() {
WRITESIDEBARBUTTON("Update User Information",
$TBBASE, "moduserinfo.php3");
}
}
#
# Standard options for anyone.
#
if (! NOLOGINS()) {
#
# Standard options for logged in users!
#
WRITESIDEBARBUTTON("Start Project", $TBBASE, "newproject.php3");
WRITESIDEBARLASTBUTTON("Join Project", $TBBASE, "joinproject.php3");
}
else {
#
# Standard options for anyone else not logged in.
#
if (! NOLOGINS()) {
WRITESIDEBARLASTBUTTON("Request Account",
$TBBASE, "reqaccount.php3");
}
}
#
# Cons up a nice message.
......
......@@ -63,6 +63,13 @@ function SPITFORM($formfields, $returning, $errors)
Read this for more info.</a>
</font></center><br>\n";
if (! $returning) {
echo "<center><font size=+1>
If you already have an Emulab account, <a href=login.php3>
please log on first!</a>
</font></center><br>\n";
}
if ($errors) {
echo "<table class=nogrid
align=center border=0 cellpadding=6 cellspacing=0>
......
<?php
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2003 University of Utah and the Flux Group.
# All rights reserved.
#
include("defs.php3");
#
# Standard Testbed Header
#
PAGEHEADER("Request a New Emulab Account");
echo "<center><font size=+1>
If you already have an Emulab account, <a href=login.php3>
please log on first!</a>
<br><br>
<a href=joinproject.php3>Join an Existing Project</a>.
<br>
or
<br>
<a href=newproject.php3>Start a New Project</a>.
<br>
<font size=-1>
If you are a <font color=red>student (undergrad or graduate)</font>,
please do not try to start a project!<br> Your advisor must do it.
</font>
</font></center><br>\n";
#
# Standard Testbed Footer
#
PAGEFOOTER();
?>
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