]> andersk Git - sql-web.git/blobdiff - tpl/login.php
new style: conform to new <scripts.mit.edu> textpattern template
[sql-web.git] / tpl / login.php
index b405789215921a032888e4afa9fec7c5c0a9cab8..a9ce2b5e269e4feb83cd8c87589dbe4e18f31303 100644 (file)
@@ -1,25 +1,24 @@
 <?php
 include 'head.php';
 
-$thisTxt = isSSL()?' with this Certificate':' via SQL';
-$otherTxt = isSSL()?' without a Certificate':' with a Certificate';
+$thisTxt = isSSL()?' using this Certificate':' using your MySQL Password';
 ?>
 
-<h2>Login</h2>
+<h3>Login</h3>
 
 <?php printErrors($err); ?>
 
 <?php if (!isSSL()): ?>
 
-<form method=post>
-<h3>Enter your SQL login:</h3>
+<form method=post action="<?=$URI?>">
+<p>Please enter your MySQL login information:</p>
 <p>username: <input type="text" name="u" value="<?=isset($i_u)?$i_u:''?>"></p>
 <p>password: <input type="password" name="p"></p>
 
 <?php elseif (isSSL() && !empty($SSLCred)): ?>
 
-<form method=post>
-<h3>You are identified as: <?=$SSLUsername?></h3>
+<form method=post action="<?=$URI?>">
+<p>You are identified as: <?=$SSLUsername?></p>
 <p><?=$SSLName?></p>
 <p><?=$SSLEmail?></p>
 
@@ -32,7 +31,7 @@ $otherTxt = isSSL()?' without a Certificate':' with a Certificate';
 
 <?php elseif (isSSL() && !is_null($SSLCred)): ?>
 
-<h3><a href="signup">Signup</a> to use this service.</h3>
+<p><a href="do/signup">Sign up</a> to use this service.</p>
 
 <?php endif; ?>
 
This page took 0.093737 seconds and 4 git commands to generate.