summaryrefslogtreecommitdiff
path: root/templates/remind_password.tpl
blob: 71ca7960bfb7d7ef6566be5581a327af73cebf9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{strip}

{if $gBitSystem->isFeatureActive('users_clear_passwords')}
	{assign var=passVerb value='Send me'}
{else}
	{assign var=passVerb value='Reset'}
{/if}
<div class="display login">
	<div class="header">
		<h1>{tr}Forgot Password{/tr}</h1>
	</div>

	<div class="body">
		{if $msg}
			{formfeedback hash=$msg}
			{tr}Please follow the instructions in the email.{/tr}
		{else}
			{form legend="`$passVerb` my password"}
				<div class="control-group">
					{formfeedback warning=$msg.error}
					{formlabel label="Username or email" for="username"}
					{forminput}
						<input type="text" name="username" id="username" value="{$smarty.request.username}"/>
					{/forminput}
				</div>

				<div class="control-group submit">
					<input type="submit" name="remind" id="remind" value="{tr}{$passVerb}{/tr} ({tr}password{/tr})" />
				</div>
			{/form}
		{/if}
	</div><!-- end .body -->
</div><!-- end .login -->
{/strip}