[29449] | 1 | <div class="titrePage"> |
---|
| 2 | <div class="browsePath"> |
---|
| 3 | <h2> |
---|
| 4 | <a href="{$U_HOME}">{'Home'|@translate}</a> |
---|
| 5 | {$LEVEL_SEPARATOR}{$title} |
---|
| 6 | </h2> |
---|
| 7 | </div> |
---|
| 8 | </div> |
---|
| 9 | <div id="content"> |
---|
[29453] | 10 | {if !$stripped_responsive.menuOnRight} |
---|
| 11 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
| 12 | {/if} |
---|
[29449] | 13 | <div id="content_cell"> |
---|
| 14 | <div class="content_block"> |
---|
| 15 | {include file='infos_errors.tpl'} |
---|
| 16 | {if $action ne 'none'} |
---|
| 17 | <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&key={$key}{/if}" method="post"> |
---|
| 18 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> |
---|
| 19 | {if $action eq 'lost'} |
---|
| 20 | <div class="message">{'Please enter your username or email address.'|@translate} {'You will receive a link to create a new password via email.'|@translate}</div> |
---|
| 21 | <p> |
---|
| 22 | <label> |
---|
| 23 | {'Username or email'|@translate} |
---|
| 24 | <br> |
---|
| 25 | <input type="text" id="username_or_email" name="username_or_email" size="40" maxlength="40"{if isset($username_or_email)} value="{$username_or_email}"{/if}> |
---|
| 26 | </label> |
---|
| 27 | </p> |
---|
| 28 | <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Change my password'|@translate}"></p> |
---|
| 29 | {elseif $action eq 'reset'} |
---|
| 30 | <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div> |
---|
| 31 | <p> |
---|
| 32 | <label> |
---|
| 33 | {'New password'|@translate} |
---|
| 34 | <br> |
---|
| 35 | <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> |
---|
| 36 | </label> |
---|
| 37 | </p> |
---|
| 38 | <p> |
---|
| 39 | <label> |
---|
| 40 | {'Confirm Password'|@translate} |
---|
| 41 | <br> |
---|
| 42 | <input type="password" name="passwordConf" id="passwordConf" value=""> |
---|
| 43 | </label> |
---|
| 44 | </p> |
---|
| 45 | <p class="bottomButtons"><input class="submit" type="submit" name="submit" value="{'Submit'|@translate}"></p> |
---|
| 46 | {/if} |
---|
| 47 | </form> |
---|
| 48 | {/if} {* $action ne 'none' *} |
---|
| 49 | |
---|
| 50 | <script type="text/javascript"> |
---|
| 51 | {if $action eq 'lost'} |
---|
| 52 | {literal}try{document.getElementById('username_or_email').focus();}catch(e){}{/literal} |
---|
| 53 | {elseif $action eq 'reset'} |
---|
| 54 | {literal}try{document.getElementById('use_new_pwd').focus();}catch(e){}{/literal} |
---|
| 55 | {/if} |
---|
| 56 | </script> |
---|
| 57 | </div> |
---|
| 58 | </div> |
---|
[29453] | 59 | {if $stripped_responsive.menuOnRight} |
---|
| 60 | {if isset($MENUBAR)}{$MENUBAR}{/if} |
---|
| 61 | {/if} |
---|
[29449] | 62 | </div> <!-- content --> |
---|