This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
khosb/application/views/login.php

17 lines
934 B
PHP
Raw Normal View History

2010-11-29 22:41:08 +00:00
<br/>
<?php echo Form::open(); ?>
<table class="login">
<tr><td><b>User Name:</b></td></tr>
2012-07-05 03:06:17 +00:00
<tr><td><?php echo Form::input('username',NULL,array('id'=>'login-uid','size'=>40));?></td></tr>
2010-11-29 22:41:08 +00:00
<tr><td colspan="2">&nbsp;</td></tr>
<tr><td><b>Password:</b></td></tr>
2012-07-05 03:06:17 +00:00
<tr><td><?php echo Form::password('password',NULL,array('id'=>'login-pwd','size'=>40));?></td></tr>
2010-11-29 22:41:08 +00:00
<tr><td colspan="2">&nbsp;</td></tr>
2011-05-02 12:20:56 +00:00
<!-- @todo Password reset ability should be a config option (or auto detected) -->
2011-09-17 10:45:08 +00:00
<tr><td colspan="2"><?php echo HTML::anchor('login/reset',_('Forgot your password?')); ?></td></tr>
<tr><td colspan="2" style="text-align: center;"><?php echo Form::submit('submit',_('Authenticate'),array('class'=>'form_button'));?></td></tr>
2010-11-29 22:41:08 +00:00
</table>
<?php echo Form::close(); ?>
<!-- @todo The following focus() is not ajax/jscript friendly -->
<script type="text/javascript">document.getElementById('login-uid').focus();</script>