[2526] | 1 | <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> |
---|
| 2 | |
---|
| 3 | <fieldset> |
---|
| 4 | <legend>{'Registration'|@translate}</legend> |
---|
[3185] | 5 | <input type="hidden" name="redirect" value="{$REDIRECT}"> |
---|
[2526] | 6 | <ul> |
---|
| 7 | <li> |
---|
[12882] | 8 | <span class="property"> |
---|
| 9 | <label for="username">{'Username'|@translate}</label> |
---|
| 10 | </span> |
---|
| 11 | {if not $SPECIAL_USER} |
---|
| 12 | <input type="text" name="username" id="username" value="{$USERNAME}"> |
---|
| 13 | {else} |
---|
[2526] | 14 | {$USERNAME} |
---|
[12882] | 15 | {/if} |
---|
[2526] | 16 | </li> |
---|
[12882] | 17 | {if not $SPECIAL_USER} {* can modify password + email*} |
---|
[2526] | 18 | <li> |
---|
| 19 | <span class="property"> |
---|
| 20 | <label for="mail_address">{'Email address'|@translate}</label> |
---|
| 21 | </span> |
---|
| 22 | <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> |
---|
| 23 | </li> |
---|
| 24 | <li> |
---|
| 25 | <span class="property"> |
---|
[5021] | 26 | <label for="use_new_pwd">{'New password'|@translate}</label> |
---|
[2526] | 27 | </span> |
---|
| 28 | <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> |
---|
| 29 | </li> |
---|
| 30 | <li> |
---|
| 31 | <span class="property"> |
---|
| 32 | <label for="passwordConf">{'Confirm Password'|@translate}</label> |
---|
| 33 | </span> |
---|
| 34 | <input type="password" name="passwordConf" id="passwordConf" value=""> |
---|
| 35 | </li> |
---|
[12882] | 36 | {/if} |
---|
[2526] | 37 | </ul> |
---|
| 38 | </fieldset> |
---|
| 39 | |
---|
| 40 | <fieldset> |
---|
[5021] | 41 | <legend>{'Preferences'|@translate}</legend> |
---|
[2526] | 42 | |
---|
| 43 | <ul> |
---|
| 44 | <li> |
---|
| 45 | <span class="property"> |
---|
[10198] | 46 | <label for="nb_image_page">{'Number of photos per page'|@translate}</label> |
---|
[2526] | 47 | </span> |
---|
[12470] | 48 | <input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}"> |
---|
[2526] | 49 | </li> |
---|
[12887] | 50 | {if not $SPECIAL_USER} |
---|
[2526] | 51 | <li> |
---|
| 52 | <span class="property"> |
---|
[5021] | 53 | <label for="template">{'Interface theme'|@translate}</label> |
---|
[2526] | 54 | </span> |
---|
[5306] | 55 | {html_options id=template name=theme options=$template_options selected=$template_selection} |
---|
[2526] | 56 | </li> |
---|
| 57 | <li> |
---|
| 58 | <span class="property"> |
---|
[5931] | 59 | <label for="language">{'Language'|@translate}</label> |
---|
[2526] | 60 | </span> |
---|
[3008] | 61 | {html_options id=language name=language options=$language_options selected=$language_selection} |
---|
[2526] | 62 | </li> |
---|
[12887] | 63 | {/if} |
---|
[2526] | 64 | <li> |
---|
| 65 | <span class="property"> |
---|
[5931] | 66 | <label for="recent_period">{'Recent period'|@translate}</label> |
---|
[2526] | 67 | </span> |
---|
| 68 | <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> |
---|
| 69 | </li> |
---|
| 70 | <li> |
---|
[6951] | 71 | <span class="property">{'Expand all albums'|@translate}</span> |
---|
[2526] | 72 | {html_radios name='expand' options=$radio_options selected=$EXPAND} |
---|
| 73 | </li> |
---|
[12887] | 74 | {if $ACTIVATE_COMMENTS} |
---|
[2526] | 75 | <li> |
---|
[5021] | 76 | <span class="property">{'Show number of comments'|@translate}</span> |
---|
[2526] | 77 | {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} |
---|
| 78 | </li> |
---|
[12887] | 79 | {/if} |
---|
[2526] | 80 | <li> |
---|
[5021] | 81 | <span class="property">{'Show number of hits'|@translate}</span> |
---|
[2526] | 82 | {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} |
---|
| 83 | </li> |
---|
| 84 | </ul> |
---|
| 85 | </fieldset> |
---|
| 86 | |
---|
| 87 | <p class="bottomButtons"> |
---|
[6897] | 88 | <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}"> |
---|
[2526] | 89 | <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> |
---|
| 90 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
| 91 | </p> |
---|
| 92 | |
---|
| 93 | </form> |
---|