Changeset 12592 for extensions/gally/gally-default/template/password.tpl
- Timestamp:
- Nov 11, 2011, 12:10:02 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/template/password.tpl
r11024 r12592 1 1 <!-- **GBL** >PASSWORD> --> 2 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 3 3 4 <div id="content" class="content"> … … 13 14 14 15 15 <form action="{$F_ACTION}" method="post" class="properties"> 16 <fieldset> 17 <legend>{'Retrieve password'|@translate}</legend> 16 {if $action != 'none'} 17 <form id="lostPassword" action="{$form_action}?action={$action}{if isset($key)}&key={$key}{/if}" method="post"> 18 18 19 <ul> 20 <li> 21 <div class="property"> 22 <label for="mail_address">{'Email address'|@translate}</label> 23 </div> 24 <input class="login" type="text" name="mail_address" id="mail_address" size="35" maxlength="40" > 25 </li> 26 <li> 27 <div class="property"> 28 <label for="no_mail_address">{'No email address'|@translate}</label> 29 </div> 30 <input type="checkbox" id="no_mail_address" name="no_mail_address" value="1"> 31 </li> 32 </ul> 33 </fieldset> 19 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> 34 20 35 <p><input class="submit" type="submit" name="submit" value="{'Send new password'|@translate}"></p>36 </form>21 {if $action == 'lost'} 22 <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> 37 23 24 <p> 25 <label> 26 {'Username or email'|@translate} 27 <br> 28 <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}> 29 </label> 30 </p> 31 32 <p class="bottomButtons"> 33 <input type="submit" name="submit" value="{'Change my password'|@translate}"> 34 </p> 35 36 {elseif $action == 'reset'} 37 38 <div class="message">{'Hello'|@translate} <em>{$username}</em>. {'Enter your new password below.'|@translate}</div> 39 40 <p> 41 <label> 42 {'New password'|@translate} 43 <br> 44 <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> 45 </label> 46 </p> 47 48 <p> 49 <label> 50 {'Confirm Password'|@translate} 51 <br> 52 <input type="password" name="passwordConf" id="passwordConf" value=""> 53 </label> 54 </p> 55 56 <p class="bottomButtons"> 57 <input type="submit" name="submit" value="{'Submit'|@translate}"> 58 </p> 59 60 {/if} 61 62 </form> 63 {/if} 64 65 <script type="text/javascript"> 66 {if $action == 'lost'} 67 {literal} 68 try{ 69 document.getElementById('username_or_email').focus(); 70 } 71 catch(e){} 72 {/literal} 73 {elseif $action == 'reset'} 74 {literal} 75 try{ 76 document.getElementById('use_new_pwd').focus(); 77 } 78 catch(e){} 79 {/literal} 80 {/if} 81 82 </script> 38 83 </div> <!-- content --> 39 84
Note: See TracChangeset
for help on using the changeset viewer.