2012-03-29 20:16:41 +04:00
|
|
|
<!--[if IE 8]><style>input[type="checkbox"]{padding:0;}</style><![endif]-->
|
2012-09-30 05:47:37 +04:00
|
|
|
<form method="post">
|
2011-08-08 19:57:45 +04:00
|
|
|
<fieldset>
|
2012-11-01 01:03:55 +04:00
|
|
|
<?php if(!empty($_['redirect_url'])) { echo '<input type="hidden" name="redirect_url" value="'.$_['redirect_url'].'" />'; } ?>
|
2012-10-12 18:12:43 +04:00
|
|
|
<ul>
|
2012-10-15 22:37:52 +04:00
|
|
|
<?php if(isset($_['invalidcookie']) && ($_['invalidcookie'])): ?>
|
2012-10-12 18:12:43 +04:00
|
|
|
<li class="errors">
|
|
|
|
<?php echo $l->t('Automatic logon rejected!'); ?><br>
|
|
|
|
<small><?php echo $l->t('If you did not change your password recently, your account may be compromised!'); ?></small><br>
|
|
|
|
<small><?php echo $l->t('Please change your password to secure your account again.'); ?></small>
|
|
|
|
</li>
|
2011-08-08 19:57:45 +04:00
|
|
|
<?php endif; ?>
|
2012-10-15 22:37:52 +04:00
|
|
|
<?php if(isset($_['invalidpassword']) && ($_['invalidpassword'])): ?>
|
2012-11-17 01:01:24 +04:00
|
|
|
<a href="<?php echo OC_Helper::linkToRoute('core_lostpassword_index') ?>"><li class="errors">
|
2012-10-12 18:12:43 +04:00
|
|
|
<?php echo $l->t('Lost your password?'); ?>
|
|
|
|
</li></a>
|
|
|
|
<?php endif; ?>
|
|
|
|
</ul>
|
2012-12-04 19:58:42 +04:00
|
|
|
<p class="infield grouptop">
|
2012-08-09 20:27:59 +04:00
|
|
|
<input type="text" name="user" id="user" value="<?php echo $_['username']; ?>"<?php echo $_['user_autofocus']?' autofocus':''; ?> autocomplete="on" required />
|
2012-12-11 21:54:43 +04:00
|
|
|
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
|
2012-12-13 01:40:08 +04:00
|
|
|
<img class="svg" src="<?php echo image_path('', 'actions/user.svg'); ?>" alt="" />
|
2011-10-03 16:41:55 +04:00
|
|
|
</p>
|
2012-12-04 19:58:42 +04:00
|
|
|
<p class="infield groupbottom">
|
2012-08-09 20:27:59 +04:00
|
|
|
<input type="password" name="password" id="password" value="" required<?php echo $_['user_autofocus']?'':' autofocus'; ?> />
|
2012-12-11 21:54:43 +04:00
|
|
|
<label for="password" class="infield"><?php echo $l->t( 'Password' ); ?></label>
|
2012-12-13 01:40:08 +04:00
|
|
|
<img class="svg" src="<?php echo image_path('', 'actions/password.svg'); ?>" alt="" />
|
2011-10-03 16:41:55 +04:00
|
|
|
</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>
|
2012-12-05 03:37:00 +04:00
|
|
|
<input type="submit" id="submit" class="login primary" value="<?php echo $l->t( 'Log in' ); ?>" />
|
2011-08-08 19:57:45 +04:00
|
|
|
</fieldset>
|
|
|
|
</form>
|