]> git.sur5r.net Git - contagged/blobdiff - templates/login.tpl
better enforcement of the userlogreq option
[contagged] / templates / login.tpl
index 2a950dafc2cbf652ff13cf831f76529f478f7b9a..80741c98911cb9778d9458245457fada6b5a8931 100644 (file)
@@ -1,31 +1,30 @@
 {include file="header.tpl"}
 
 
-  <br /><br /><br />
-  <form action="login.php" method="post" accept-charset="utf-8">
-  <table class="tableborder" align="center">
-    <tr>
-      <td colspan="2" align="center">{$msg}<br /><br /></td>
-    </tr>
-    <tr>
-      <td align="right">{$lang.username}:</td>
-      <td><input name="username" class="input" type="text" /></td>
-    </tr>
-    <tr>
-      <td align="right">{$lang.password}:</td>
-      <td><input name="password" type="password" class="input" /></td>
-    </tr>
-    <tr>
-      <td colspan="2" align="left">
-        <input type="checkbox" name="remember" value="1" id="remember" />
-        <label for="remember">{$lang.remember}</label>
-      </td>
-    </tr>
-    <tr>
-      <td colspan="2" align="center"><input type="submit" class="input" value="login" /></td>
-    </tr>
-  </table>
-  </form>
-  <br /><br /><br />
+    <form action="login.php" method="post" accept-charset="utf-8" id="login">
+        <fieldset>
+            <legend>{$lang.login}</legend>
+
+            <div class="msg">{$msg|h}</div>
+
+            <div class="row">
+                <input name="username" type="text" class="input" id="username" />
+                <label for="username">{$lang.username}</label>
+            </div>
+
+            <div class="row">
+                <input name="password" type="password" class="input" id="password" />
+                <label for="password">{$lang.password}</label>
+            </div>
+
+            <div class="row">
+                <input type="checkbox" name="remember" value="1" id="remember" />
+                <label for="remember">{$lang.remember}</label>
+            </div>
+
+            <input type="submit" value="{$lang.login}" class="button" />
+
+        </fieldset>
+    </form>
 
 {include file="footer.tpl"}