]> andersk Git - sql-web.git/blame - tpl/signup.php
revise signup form and group locker notice
[sql-web.git] / tpl / signup.php
CommitLineData
dc478ec8
JP
1<?php
2include 'head.php';
3
4$thisTxt = isSSL()?' with this Certificate':' via SQL';
5?>
6
aaf1710a 7<h3>Signup</h3>
dc478ec8
JP
8
9<?php printErrors($err); ?>
10
1389493c 11<?php if ($LoginSSL->canSignup()): ?>
4815478c
JP
12You are registering as: <?=$LoginSSL->getUsername()?><br /><br />
13<?=$LoginSSL->getName()?><br />
14<?=$LoginSSL->getEmail()?><br />
15<br />
16Please choose a MySQL password different<br />from your Athena account password.<br />
17<br />
18
19<table>
53f8750e 20<form method=post action="<?=$URI?>">
4815478c
JP
21<tr><td><label for="p1">password:</label></td><td><input type="password" name="p1"></td></tr>
22<tr><td><label for="p2">repeat password:</label></td><td><input type="password" name="p2"></td></tr>
23<tr><td colspan=2><input type=submit value="Confirm Registration"></td></tr>
dc478ec8 24</form>
4815478c 25</table>
dc478ec8 26
1389493c 27<?php elseif ($LoginSSL->canLogin()): ?>
dc478ec8 28
4815478c
JP
29<p>Hi <?=$LoginSSL->getUsername()?>,</p>
30<p>Your account is already signed up!</p>
dc478ec8
JP
31
32<?php else: ?>
33
dc478ec8
JP
34<?php endif; ?>
35
4815478c
JP
36<br />
37<div style="width: 50%">
38<hr />
39This website provides signups for individual user locker
40MySQL accounts. Groups locker administrators can
41<a href="http://scripts.mit.edu/faq/66">signup for group locker MySQL accounts</a>
42from any Athena prompt.
43</div>
44
dc478ec8
JP
45<?php
46include 'foot.php';
47?>
This page took 0.046121 seconds and 5 git commands to generate.