]> projects.mako.cc - scuttle/blob - templates/register.tpl.php
* Fixed REG_BADRPT error in isValidEmail() that prevented registration
[scuttle] / templates / register.tpl.php
1 <?php
2 $this->includeTemplate($GLOBALS['top_include']);
3 ?>
4
5 <script type="text/javascript">
6 window.onload = function() {
7     document.getElementById("username").focus();
8 }
9 </script>
10
11 <p><?php echo sprintf(T_('Sign up here to create a free %s account. All the information requested below is required'), $GLOBALS['sitename']); ?>.</p>
12
13 <form action="<?php echo $formaction; ?>" method="post">
14 <table>
15 <tr>
16     <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
17     <td><input type="text" id="username" name="username" size="20" class="required" onkeyup="isAvailable(this, '')" /></td>
18     <td id="availability"></td>
19 </tr>
20 <tr>
21     <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
22     <td><input type="password" id="password" name="password" size="20" class="required" /></td>
23     <td></td>
24 </tr>
25 <tr>
26     <th align="left"><label for="email"><?php echo T_('E-mail'); ?></label></th>
27     <td><input type="text" id="email" name="email" size="40" class="required" /></td>
28     <td></td>
29 </tr>
30 <tr>
31     <td></td>
32     <td><input type="submit" name="submitted" value="<?php echo T_('Register'); ?>" /></td>
33     <td></td>
34 </tr>
35 </table>
36 </form>
37
38 <?php
39 $this->includeTemplate($GLOBALS['bottom_include']);
40 ?>

Benjamin Mako Hill || Want to submit a patch?