2011-03-02 13:56:48 +03:00
|
|
|
<div id="login">
|
2011-04-19 02:54:36 +04:00
|
|
|
<img src="<?php echo image_path('', 'owncloud-logo-medium-white.png'); ?>" alt="ownCloud" />
|
2011-05-18 00:34:31 +04:00
|
|
|
<form action="index.php" method="post" id="login_form">
|
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-07-06 21:43:24 +04:00
|
|
|
<input type="text" name="user" id="user" value="" autofocus />
|
2011-05-18 00:34:31 +04:00
|
|
|
<input type="password" name="password" id="password" value="" />
|
2011-07-20 18:11:39 +04:00
|
|
|
<input type="checkbox" name="remember_login"/> <?php echo $l->t('Remember login'); ?>
|
2011-07-20 17:04:14 +04:00
|
|
|
<?php }else{ ?>
|
|
|
|
<input type="text" name="user" id="user" value="<?php echo $_['username']; ?>">
|
|
|
|
<input type="password" name="password" id="password" value="" autofocus />
|
2011-07-20 18:11:39 +04:00
|
|
|
<input type="checkbox" name="remember_login" checked /> <?php echo $l->t('Remember login'); ?>
|
2011-07-20 17:04:14 +04:00
|
|
|
<?php } ?>
|
2011-04-17 17:49:54 +04:00
|
|
|
<input type="submit" value="Log in" />
|
2011-03-02 13:56:48 +03:00
|
|
|
</fieldset>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|