2011-03-02 13:56:48 +03:00
|
|
|
<div id="login">
|
2011-07-29 18:48:09 +04:00
|
|
|
<header>
|
2011-08-08 11:47:58 +04:00
|
|
|
<img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" />
|
2011-07-29 18:48:09 +04:00
|
|
|
</header>
|
2011-08-08 11:47:58 +04:00
|
|
|
<form action="index.php" method="post">
|
2011-03-02 13:56:48 +03:00
|
|
|
<fieldset>
|
2011-04-19 02:54:36 +04:00
|
|
|
<?php if($_['error']): ?>
|
2011-06-20 01:33:34 +04:00
|
|
|
<?php echo $l->t( 'Login failed!' ); ?>
|
2011-03-09 23:57:00 +03:00
|
|
|
<?php endif; ?>
|
2011-07-20 17:04:14 +04:00
|
|
|
<?php if(empty($_["username"])){?>
|
2011-08-08 11:47:58 +04:00
|
|
|
<input type="text" name="user" id="user" placeholder="Username" value="" autocomplete="off" required autofocus />
|
2011-08-08 11:05:16 +04:00
|
|
|
<input type="password" name="password" id="password" placeholder="Password" value="" required />
|
2011-08-08 13:45:01 +04:00
|
|
|
<input type="checkbox" name="remember_login" id="remember_login" /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
|
2011-07-20 17:04:14 +04:00
|
|
|
<?php }else{ ?>
|
2011-08-08 11:47:58 +04:00
|
|
|
<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-08-08 13:45:01 +04:00
|
|
|
<input type="checkbox" name="remember_login" id="remember_login" checked /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
|
2011-07-20 17:04:14 +04:00
|
|
|
<?php } ?>
|
2011-08-08 11:47:58 +04:00
|
|
|
<input type="submit" id="submit" value="Log in" />
|
2011-03-02 13:56:48 +03:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|