]> projects.mako.cc - scuttle/blobdiff - templates/register.tpl.php
updated gettext based on new strings
[scuttle] / templates / register.tpl.php
index 8629ec2bcb8edc1ddf99f471a447b0ca07bcd39b..f7a62ac1acc2562750802198f671b0842e4cf7a6 100644 (file)
@@ -5,24 +5,29 @@
 <form action="<?php echo $formaction; ?>" method="post">
 <table>
 <tr>
-    <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
-    <td><input type="text" id="username" name="username" size="20" class="required" /></td>
-    <td id="availability"></td>
+  <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
+  <td><input type="text" id="username" name="username" size="20" maxlength="25" class="required" /></td>
+  <td id="availability"></td>
 </tr>
 <tr>
-    <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
-    <td><input type="password" id="password" name="password" size="20" class="required" /></td>
-    <td></td>
+  <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
+  <td><input type="password" id="password" name="password" size="20" class="required" /></td>
+  <td></td>
 </tr>
 <tr>
-    <th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
-    <td><input type="text" id="email" name="email" size="40" class="required" /></td>
-    <td></td>
+  <th align="left"><label for="passconf"><?php echo T_('Confirm Password'); ?></label></th>
+  <td><input type="password" id="passconf" name="passconf" size="20" class="required" /></td>
+  <td></td>
 </tr>
 <tr>
-    <td></td>
-    <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td>
-    <td></td>
+  <th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
+  <td><input type="text" id="email" name="email" size="40" maxlength="50" class="required" /></td>
+  <td></td>
+</tr>
+<tr>
+  <td><input type="hidden" name="token" value="<?php echo $token; ?>" /></td>
+  <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td>
+  <td></td>
 </tr>
 </table>
 </form>

Benjamin Mako Hill || Want to submit a patch?