2011-08-08 19:57:45 +04:00
|
|
|
<form action="index.php" method="post">
|
|
|
|
<fieldset>
|
2011-09-30 20:22:12 +04:00
|
|
|
<?php /*if($_['error']): ?>
|
2011-08-29 23:01:05 +04:00
|
|
|
<a href="index.php?lostpassword"><?php echo $l->t('Lost your password?'); ?></a>
|
2011-09-30 20:22:12 +04:00
|
|
|
<?php endif;*/ ?>
|
|
|
|
<?php if(empty($_['username'])): ?>
|
2011-08-29 23:01:05 +04:00
|
|
|
<input type="text" name="user" id="user" placeholder="Username" value="" autocomplete="off" required autofocus />
|
|
|
|
<input type="password" name="password" id="password" placeholder="Password" value="" required />
|
2011-09-30 20:22:12 +04:00
|
|
|
<input type="checkbox" name="remember_login" value="1" id="remember_login" /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
|
2011-08-29 23:01:05 +04:00
|
|
|
<?php else: ?>
|
|
|
|
<input type="text" name="user" id="user" placeholder="Username" value="<?php echo $_['username']; ?>" autocomplete="off" required >
|
|
|
|
<input type="password" name="password" id="password" placeholder="Password" value="" required autofocus />
|
2011-09-30 20:22:12 +04:00
|
|
|
<input type="checkbox" name="remember_login" value="1" id="remember_login" checked /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
|
2011-08-08 19:57:45 +04:00
|
|
|
<?php endif; ?>
|
2011-09-30 20:22:12 +04:00
|
|
|
<input type="submit" id="submit" class="login" value="Log in" />
|
2011-08-08 19:57:45 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|