File size: 2.28Kb
<?php echo $this->validation()->messages(); ?>
<br />
<br />
<br />
<br />
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top" width="50%">
<form action="<?php echo get_url('login/login/'); ?>" method="post" class="form_large">
<table width="90%" border="0" align="center" cellpadding="3" cellspacing="3">
<tr>
<td width="40%" align="right"><label for="login-username"><?php echo __('Email'); ?>:</label></td>
<td align="left"><input id="login-username" type="text" name="login[username]" value="<?php echo $this->escape($username) ?>" size="30" /></td>
</tr>
<tr>
<td align="right"><label for="login-password"><?php echo __('Password'); ?>:</label></td>
<td align="left"><input id="login-password" type="password" name="login[password]" value="" size="30" /></td>
</tr>
<?php
/*
?><tr>
<td align="right"></td>
<td align="left"><input id="login-remember-me" type="checkbox" name="login[remember]" value="checked" />
<label class="checkbox" for="login-remember-me"><?php echo __('Remember my username on this computer'); ?></label>
</td>
</tr>
<?php
*/
?>
<tr>
<td align="right"></td>
<td align="left">
<input type="submit" name="submit" accesskey="s" value="<?php echo __('Login'); ?>" />
<input type="hidden" name="rd" value="<?php echo View::escape($_REQUEST['rd']);?>" />
</td>
</tr>
<tr>
<td align="right"></td>
<td align="left">
<?php /* <a href="<?php echo get_url('login/register/'); ?>"><?php echo __('Sign up'); ?></a> | */ ?>
<a href="<?php echo get_url('login/forgot/'); ?>"><?php echo __('Forgot password'); ?></a>
</td>
</tr>
</table>
</form>
</td>
</tr>
</table>
<br />
<br />
<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[
// focus to input field
var loginUsername = document.getElementById('login-username');
if (loginUsername.value == '') {
loginUsername.focus();
} else {
document.getElementById('login-password').focus();
}
// ]]>
</script>