2012-03-29 20:16:41 +04:00
|
|
|
<!--[if IE 8]><style>input[type="checkbox"]{padding:0;}</style><![endif]-->
|
2011-08-08 19:57:45 +04:00
|
|
|
<form action="index.php" method="post">
|
|
|
|
<fieldset>
|
2011-10-04 21:27:57 +04:00
|
|
|
<?php if(!empty($_['redirect'])) { echo '<input type="hidden" name="redirect_url" value="'.$_['redirect'].'" />'; } ?>
|
2011-08-08 19:57:45 +04:00
|
|
|
<?php if($_['error']): ?>
|
2011-10-03 22:41:52 +04:00
|
|
|
<a href="./core/lostpassword/"><?php echo $l->t('Lost your password?'); ?></a>
|
2011-08-08 19:57:45 +04:00
|
|
|
<?php endif; ?>
|
2011-10-03 16:41:55 +04:00
|
|
|
<p class="infield">
|
|
|
|
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
2012-04-01 02:55:12 +04:00
|
|
|
<input type="text" name="user" id="user" value="<?php echo !empty($_POST['user'])?htmlentities($_POST['user']).'"':'" autofocus'; ?> autocomplete="off" required />
|
2011-10-03 16:41:55 +04:00
|
|
|
</p>
|
|
|
|
<p class="infield">
|
|
|
|
<label for="password" class="infield"><?php echo $l->t( 'Password' ); ?></label>
|
|
|
|
<input type="password" name="password" id="password" value="" required <?php echo !empty($_POST['user'])?'autofocus':''; ?> />
|
|
|
|
</p>
|
2011-10-01 13:08:49 +04:00
|
|
|
<input type="checkbox" name="remember_login" value="1" id="remember_login" /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
|
2011-09-30 22:23:59 +04:00
|
|
|
<input type="submit" id="submit" class="login" value="<?php echo $l->t( 'Log in' ); ?>" />
|
2011-08-08 19:57:45 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|