aboutsummaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 15:32:59 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-09-18 15:32:59 +0200
commit94915f1c0a477c240e6072b6ccc2f71152181510 (patch)
tree058171e03e8b6742abe61c0bd21a44f824c0ea1a /app/views/index
parentd2799d168e0d885cb6de24cf012e2a909215fcd8 (diff)
Reset auth system: i18n and style
See https://github.com/marienfressinaud/FreshRSS/issues/521
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/resetAuth.phtml12
1 files changed, 6 insertions, 6 deletions
diff --git a/app/views/index/resetAuth.phtml b/app/views/index/resetAuth.phtml
index 78cc527b3..6d4282c14 100644
--- a/app/views/index/resetAuth.phtml
+++ b/app/views/index/resetAuth.phtml
@@ -1,9 +1,9 @@
-<div class="post content">
- <h1><?php echo _t('reset_auth'); ?></h1>
+<div class="prompt">
+ <h1><?php echo _t('auth_reset'); ?></h1>
<?php if (!empty($this->message)) { ?>
<p class="alert <?php echo $this->message['status'] === 'bad' ? 'alert-error' : 'alert-warn'; ?>">
- <span class="alert-head"><?php echo $this->message['title']; ?></span>
+ <span class="alert-head"><?php echo $this->message['title']; ?></span><br />
<?php echo $this->message['body']; ?>
</p>
<?php } ?>
@@ -11,12 +11,12 @@
<?php if (!$this->no_form) { ?>
<form id="crypto-form" method="post" action="<?php echo _url('index', 'resetAuth'); ?>">
<p class="alert alert-warn">
- <span class="alert-head"><?php echo _t('attention'); ?></span>
+ <span class="alert-head"><?php echo _t('attention'); ?></span><br />
<?php echo _t('auth_will_reset'); ?>
</p>
<div>
- <label for="username"><?php echo _t('username'); ?></label>
+ <label for="username"><?php echo _t('username_admin'); ?></label>
<input type="text" id="username" name="username" size="16" required="required" maxlength="16" pattern="[0-9a-zA-Z]{1,16}" autofocus="autofocus" />
</div>
<div>
@@ -26,7 +26,7 @@
<noscript><strong><?php echo _t('javascript_should_be_activated'); ?></strong></noscript>
</div>
<div>
- <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('reset'); ?></button>
+ <button id="loginButton" type="submit" class="btn btn-important"><?php echo _t('submit'); ?></button>
</div>
</form>
<?php } ?>