17 lines
934 B
PHP
17 lines
934 B
PHP
<br/>
|
|
<?php echo Form::open(); ?>
|
|
<table class="login">
|
|
<tr><td><b>User Name:</b></td></tr>
|
|
<tr><td><?php echo Form::input('username',null,array('id'=>'login-uid','size'=>40));?></td></tr>
|
|
<tr><td colspan="2"> </td></tr>
|
|
<tr><td><b>Password:</b></td></tr>
|
|
<tr><td><?php echo Form::password('password',null,array('id'=>'login-pwd','size'=>40));?></td></tr>
|
|
<tr><td colspan="2"> </td></tr>
|
|
<!-- @todo Password reset ability should be a config option (or auto detected) -->
|
|
<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>
|
|
</table>
|
|
<?php echo Form::close(); ?>
|
|
<!-- @todo The following focus() is not ajax/jscript friendly -->
|
|
<script type="text/javascript">document.getElementById('login-uid').focus();</script>
|