]> andersk Git - sql-web.git/blobdiff - tpl/signup.php
minor portability fixes
[sql-web.git] / tpl / signup.php
index c65228b7a04e8bed6db57fe71068b276ea182ff3..b980a4a1328eb39d12add1a2a61537b786529d3c 100644 (file)
@@ -4,18 +4,18 @@ include 'head.php';
 $thisTxt = isSSL()?' with this Certificate':' via SQL';
 ?>
 
-<h2>Signup</h2>
+<h3>Signup</h3>
 
 <?php printErrors($err); ?>
 
 <?php if ($LoginSSL->canSignup()): ?>
-<h3>You are registering as: <?=$LoginSSL->getUsername()?></h3>
+<p>You are registering as: <?=$LoginSSL->getUsername()?></p>
 <p><?=$LoginSSL->getName()?></p>
 <p><?=$LoginSSL->getEmail()?></p>
 
 Your MySQL password should be different from your Athena account password.
 
-<form method=post>
+<form method=post action="<?=$URI?>">
 <p><span style="width: 150px;"><label for="p1">password:</label></span> <input type="password" name="p1"></p>
 <p><span style="width: 150px;"><label for="p2">repeat password:</label></span> <input type="password" name="p2"></p>
 <input type=submit value="Confirm Registration">
@@ -23,7 +23,7 @@ Your MySQL password should be different from your Athena account password.
 
 <?php elseif ($LoginSSL->canLogin()): ?>
 
-<h3>This account is already signed up.</h3>
+<p>Your account [<?=$LoginSSL->getUsername()?>] is already signed up.</p>
 
 <?php else: ?>
 
This page took 0.060615 seconds and 4 git commands to generate.