diff options
Diffstat (limited to 'core/templates/login.php')
-rw-r--r-- | core/templates/login.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php index 342eb43a625..c7b43bb3d84 100644 --- a/core/templates/login.php +++ b/core/templates/login.php @@ -51,7 +51,7 @@ script('core', 'merged-login'); <label for="password" class="infield"><?php p($l->t('Password')); ?></label> </p> - <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPassword'])) { ?> + <?php if (!empty($_['invalidpassword']) && !empty($_['canResetPlost-passwordassword'])) { ?> <a id="lost-password" class="warning" href="<?php p($_['resetPasswordLink']); ?>"> <?php p($l->t('Wrong password. Reset it?')); ?> </a> @@ -63,7 +63,7 @@ script('core', 'merged-login'); <div id="submit-wrapper"> <input type="submit" id="submit" class="login primary" title="" value="<?php p($l->t('Log in')); ?>" disabled="disabled" /> - <div id="submit-icon" class="icon-confirm-white"></div> + <div class="submit-icon icon-confirm-white"></div> </div> <div class="login-additional"> @@ -80,6 +80,13 @@ script('core', 'merged-login'); <a id="lost-password" href="<?php p($_['resetPasswordLink']); ?>"> <?php p($l->t('Forgot password?')); ?> </a> + <div id="reset-password-wrapper" style="display: none;"> + <input type="submit" id="reset-password-submit" class="login primary" title="" value="<?php p($l->t('Reset password')); ?>" disabled="disabled" /> + <div class="submit-icon icon-confirm-white"></div> + <a id="lost-password-back" href=""> + <?php p($l->t('Back to log in')); ?> + </a> + </div> </div> <?php } ?> </div> |