summaryrefslogtreecommitdiffstats
path: root/core/lostpassword/templates
diff options
context:
space:
mode:
authorJulian Müller <julian.mueller.ffb@kabelmail.de>2013-10-29 01:29:38 +0100
committerJulian Müller <julian.mueller.ffb@kabelmail.de>2013-10-29 01:29:38 +0100
commite9caaa933c5719d33f1cc51e56072f52e5d338ab (patch)
treeb84f87ad8c5b6fb3f6deef086277cb56c089775b /core/lostpassword/templates
parent6716c9f00aab3f6b041c3c65dc81b547b137caa3 (diff)
downloadnextcloud-server-e9caaa933c5719d33f1cc51e56072f52e5d338ab.tar.gz
nextcloud-server-e9caaa933c5719d33f1cc51e56072f52e5d338ab.zip
Fixing the Lost Password Screen
Diffstat (limited to 'core/lostpassword/templates')
-rw-r--r--core/lostpassword/templates/lostpassword.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/core/lostpassword/templates/lostpassword.php b/core/lostpassword/templates/lostpassword.php
index f5fdb1fb2b3..5363b93e32b 100644
--- a/core/lostpassword/templates/lostpassword.php
+++ b/core/lostpassword/templates/lostpassword.php
@@ -1,5 +1,8 @@
-<?php if ($_['requested']): ?>
- <div class="success"><p>
+<?php
+//load the file we need
+OCP\Util::addStyle('lostpassword', 'lostpassword');
+ if ($_['requested']): ?>
+ <div class="success"><p>
<?php
print_unescaped($l->t('The link to reset your password has been sent to your email.<br>If you do not receive it within a reasonable amount of time, check your spam/junk folders.<br>If it is not there ask your local administrator .'));
?>
@@ -8,11 +11,11 @@
<form action="<?php print_unescaped(OC_Helper::linkToRoute('core_lostpassword_send_email')) ?>" method="post">
<fieldset>
<?php if ($_['error']): ?>
- <div class="errors"><p>
+ <div class="errors"><p align="center">
<?php print_unescaped($l->t('Request failed!<br>Did you make sure your email/username was right?')); ?>
</p></div>
<?php endif; ?>
- <?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?>
+ <div class="white"><?php print_unescaped($l->t('You will receive a link to reset your password via Email.')); ?></div>
<p class="infield">
<input type="text" name="user" id="user" placeholder="" value="" autocomplete="off" required autofocus />
<label for="user" class="infield"><?php print_unescaped($l->t( 'Username' )); ?></label>
@@ -24,7 +27,7 @@
<?php print_unescaped($l->t('Yes, I really want to reset my password now')); ?><br/><br/>
<?php endif; ?>
</p>
- <input type="submit" id="submit" value="<?php print_unescaped($l->t('Request reset')); ?>" />
+ <input type="submit" id="submit" value="<?php print_unescaped($l->t('Zurücksetzen')); ?>" />
</fieldset>
</form>
<?php endif; ?>