[13182] | 1 | |
---|
| 2 | <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> |
---|
| 3 | |
---|
| 4 | <div data-role="fieldcontain"> |
---|
| 5 | <label for="username">{'Username'|@translate}</label> |
---|
| 6 | <input type="text" name="username" id="username" value="{$USERNAME}" disabled="disabled"> |
---|
| 7 | </div> |
---|
| 8 | |
---|
| 9 | {if not $SPECIAL_USER} {* can modify password + email*} |
---|
| 10 | <div data-role="fieldcontain"> |
---|
| 11 | <label for="mail_address">{'Email address'|@translate}</label> |
---|
| 12 | <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> |
---|
| 13 | </div> |
---|
| 14 | |
---|
| 15 | <div data-role="fieldcontain"> |
---|
| 16 | <label for="password">{'Password'|@translate}</label> |
---|
| 17 | <input type="password" name="password" id="password" value=""> |
---|
| 18 | </div> |
---|
| 19 | |
---|
| 20 | <div data-role="fieldcontain"> |
---|
| 21 | <label for="use_new_pwd">{'New password'|@translate}</label> |
---|
| 22 | <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> |
---|
| 23 | </div> |
---|
| 24 | |
---|
| 25 | <div data-role="fieldcontain"> |
---|
| 26 | <label for="passwordConf">{'Confirm Password'|@translate}</label> |
---|
| 27 | <input type="password" name="passwordConf" id="passwordConf" value=""> |
---|
| 28 | </div> |
---|
| 29 | {/if} |
---|
| 30 | |
---|
| 31 | {if $ALLOW_USER_CUSTOMIZATION} |
---|
| 32 | <div data-role="fieldcontain"> |
---|
| 33 | <label for="language">{'Language'|@translate}</label> |
---|
| 34 | {html_options name=language options=$language_options selected=$language_selection} |
---|
| 35 | </div> |
---|
| 36 | {/if} |
---|
| 37 | |
---|
| 38 | |
---|
| 39 | <div data-role="fieldcontain"> |
---|
| 40 | {if $ALLOW_USER_CUSTOMIZATION} |
---|
| 41 | <input type="hidden" name="nb_image_page" value="{$NB_IMAGE_PAGE}"> |
---|
| 42 | <input type="hidden" name="theme" value="{$template_selection}"> |
---|
| 43 | <input type="hidden" name="recent_period" value="{$RECENT_PERIOD}"> |
---|
| 44 | <input type="hidden" name="expand" value="{$EXPAND}"> |
---|
| 45 | <input type="hidden" name="show_nb_comments" value="{$NB_COMMENTS}"> |
---|
| 46 | <input type="hidden" name="show_nb_hits" value="{$NB_HITS}"> |
---|
| 47 | {/if} |
---|
| 48 | <input type="hidden" name="redirect" value="{$REDIRECT}"> |
---|
| 49 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> |
---|
| 50 | <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> |
---|
| 51 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
| 52 | {if $ALLOW_USER_CUSTOMIZATION} |
---|
| 53 | <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> |
---|
| 54 | {/if} |
---|
| 55 | </div> |
---|
| 56 | |
---|
| 57 | </form> |
---|
| 58 | |
---|