aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/styles
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2019-08-10 17:18:39 +0200
committerMarc Alexander <admin@m-a-styles.de>2019-08-10 17:18:39 +0200
commitcefdf8bf19d764b7fef3d04383a41ed856af5503 (patch)
tree6a5233f23e3fecd7bfbfa220304317f9f561a709 /phpBB/styles
parenteee18f3747592eb17ea1a16184c19e5cda1f500e (diff)
downloadforums-cefdf8bf19d764b7fef3d04383a41ed856af5503.tar
forums-cefdf8bf19d764b7fef3d04383a41ed856af5503.tar.gz
forums-cefdf8bf19d764b7fef3d04383a41ed856af5503.tar.bz2
forums-cefdf8bf19d764b7fef3d04383a41ed856af5503.tar.xz
forums-cefdf8bf19d764b7fef3d04383a41ed856af5503.zip
[ticket/11327] Finish up initial version of password reset system
PHPBB3-11327
Diffstat (limited to 'phpBB/styles')
-rw-r--r--phpBB/styles/prosilver/template/ucp_reset_password.html38
1 files changed, 25 insertions, 13 deletions
diff --git a/phpBB/styles/prosilver/template/ucp_reset_password.html b/phpBB/styles/prosilver/template/ucp_reset_password.html
index 8b700de430..3f9ffce519 100644
--- a/phpBB/styles/prosilver/template/ucp_reset_password.html
+++ b/phpBB/styles/prosilver/template/ucp_reset_password.html
@@ -1,32 +1,44 @@
<!-- INCLUDE overall_header.html -->
-<form action="{S_PROFILE_ACTION}" method="post" id="remind">
+<form action="{{ S_PROFILE_ACTION }}" method="post" id="remind">
<div class="panel">
<div class="inner">
<div class="content">
- <h2>{L_SEND_PASSWORD}</h2>
+ <h2>{{ lang('RESET_PASSWORD') }}</h2>
<fieldset>
+ {% if S_IS_PASSWORD_RESET %}
+ {% if ERROR %}<p class="error">{{ ERROR }}</p>{% endif %}
+ <dl>
+ <dt><label for="new_password">{{ lang('NEW_PASSWORD') ~ lang('COLON') }}</label></dt>
+ <dd><input type="password" name="new_password" id="new_password" size="25" maxlength="255" title="{{ lang('CHANGE_PASSWORD') }}" autocomplete="off" /></dd>
+ </dl>
+ <dl>
+ <dt><label for="new_password_confirm">{{ lang('CONFIRM_PASSWORD') ~ lang('COLON') }}</label></dt>
+ <dd><input type="password" name="new_password_confirm" id="new_password_confirm" size="25" maxlength="255" title="{{ lang('CONFIRM_PASSWORD') }}" autocomplete="off" /></dd>
+ </dl>
+ {% else %}
{% if USERNAME_REQUIRED %}
<p class="error">{{ lang('EMAIL_NOT_UNIQUE') }}</p>
{% endif %}
- <dl>
- <dt><label for="email">{L_EMAIL_ADDRESS}{L_COLON}</label><br /><span>{L_EMAIL_REMIND}</span></dt>
- <dd><input class="inputbox narrow" type="email" name="email" id="email" size="25" maxlength="100" value="{{ EMAIL }}" autofocus /></dd>
- </dl>
- {% if USERNAME_REQUIRED %}
- <dl>
- <dt><label for="username">{L_USERNAME}{L_COLON}</label></dt>
- <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd>
- </dl>
+ <dl>
+ <dt><label for="email">{{ lang('EMAIL_ADDRESS') ~ lang('COLON') }}</label><br /><span>{{ lang('EMAIL_REMIND') }}</span></dt>
+ <dd><input class="inputbox narrow" type="email" name="email" id="email" size="25" maxlength="100" value="{{ EMAIL }}" autofocus /></dd>
+ </dl>
+ {% if USERNAME_REQUIRED %}
+ <dl>
+ <dt><label for="username">{{ lang('USERNAME') ~ lang('COLON') }}</label></dt>
+ <dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd>
+ </dl>
+ {% endif %}
{% endif %}
<dl>
<dt>&nbsp;</dt>
- <dd>{S_HIDDEN_FIELDS}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" />&nbsp; <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd>
+ <dd>{{ S_HIDDEN_FIELDS }}<input type="submit" name="submit" id="submit" class="button1" value="{{ lang('SUBMIT') }}" tabindex="2" />&nbsp; <input type="reset" value="{{ lang('RESET') }}" name="reset" class="button2" /></dd>
</dl>
- {S_FORM_TOKEN}
+ {{ S_FORM_TOKEN }}
</fieldset>
</div>