]> projects.mako.cc - scuttle/blob - templates/login.tpl.php
updated scuttle to add archive.org wayback links
[scuttle] / templates / login.tpl.php
1 <?php $this->includeTemplate($GLOBALS['top_include']); ?>
2
3 <form action="<?php echo $formaction; ?>" method="post">
4     <div><input type="hidden" name="query" value="<?php echo $querystring; ?>" /></div>
5     <table>
6     <tr>
7         <th align="left"><label for="username"><?php echo T_('Username'); ?></label></th>
8         <td><input type="text" id="username" name="username" size="20" value="<?php echo htmlentities($_POST['username']); ?>" /></td>
9         <td></td>
10     </tr>
11     <tr>
12         <th align="left"><label for="password"><?php echo T_('Password'); ?></label></th>
13         <td><input type="password" id="password" name="password" size="20" /></td>
14         <td><label><input type="checkbox" name="keeppass" value="yes" /> <?php echo T_("Keep me logged in"); ?>.</label></td>
15     </tr>
16     <tr>
17         <td></td>
18         <td><input type="submit" name="submitted" value="<?php echo T_('Log In'); ?>" /></td>
19         <td></td>
20     </tr>
21     </table>
22     <p>&raquo; <a href="<?php echo $GLOBALS['root'] ?>password.php"><?php echo T_('Forgotten your password?') ?></p>
23 </form>
24 <script type="text/javascript">
25 $(function() {
26   $("#username").focus();
27 });
28 </script>
29
30 <?php $this->includeTemplate($GLOBALS['bottom_include']); ?>

Benjamin Mako Hill || Want to submit a patch?