diff options
| author | Christian Fowler <spider@viovio.com> | 2006-11-10 17:06:47 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2006-11-10 17:06:47 +0000 |
| commit | 5af077a6614e3a24c39ac59a810b1d64e1b826d2 (patch) | |
| tree | bdfd77159640bff9baabbd707fe98acce0ffb572 | |
| parent | 588ae3ccee4bf4937c0ce4d7166ddce8fe0054d6 (diff) | |
| download | users-5af077a6614e3a24c39ac59a810b1d64e1b826d2.tar.gz users-5af077a6614e3a24c39ac59a810b1d64e1b826d2.tar.bz2 users-5af077a6614e3a24c39ac59a810b1d64e1b826d2.zip | |
clean up remind password wording and logic for non-clear storage
| -rw-r--r-- | templates/remind_password.tpl | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/templates/remind_password.tpl b/templates/remind_password.tpl index 0ba76bc..5a620ec 100644 --- a/templates/remind_password.tpl +++ b/templates/remind_password.tpl @@ -1,7 +1,13 @@ {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}Retrieve Password{/tr}</h1> + <h1>{tr}Forgot Password{/tr}</h1> </div> <div class="body"> @@ -9,7 +15,7 @@ {formfeedback hash=$msg} {tr}Please follow the instructions in the email.{/tr} {else} - {form legend="Please send me my password"} + {form legend="`$passVerb` my password"} <div class="row"> {formfeedback warning=$msg.error} {formlabel label="Username or email" for="username"} @@ -19,7 +25,7 @@ </div> <div class="row submit"> - <input type="submit" name="remind" id="remind" value="{tr}Send me my password{/tr}" /> + <input type="submit" name="remind" id="remind" value="{tr}{$passVerb}{/tr} {tr}my password{/tr}" /> </div> {/form} {/if} |
