[2246] | 1 | <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> |
---|
[1753] | 2 | |
---|
| 3 | <fieldset> |
---|
[2268] | 4 | <legend>{'Registration'|@translate}</legend> |
---|
[3185] | 5 | <input type="hidden" name="redirect" value="{$REDIRECT}"> |
---|
[1753] | 6 | <ul> |
---|
| 7 | <li> |
---|
[2246] | 8 | <span class="property">{'Username'|@translate}</span> |
---|
| 9 | {$USERNAME} |
---|
[1753] | 10 | </li> |
---|
[2268] | 11 | {if not $SPECIAL_USER} {* can modify password + email*} |
---|
[1753] | 12 | <li> |
---|
| 13 | <span class="property"> |
---|
[2246] | 14 | <label for="mail_address">{'Email address'|@translate}</label> |
---|
[1753] | 15 | </span> |
---|
[2246] | 16 | <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> |
---|
[1753] | 17 | </li> |
---|
[2268] | 18 | {if not $IN_ADMIN} {* admins do not need old password*} |
---|
[1753] | 19 | <li> |
---|
| 20 | <span class="property"> |
---|
[2246] | 21 | <label for="password">{'Password'|@translate}</label> |
---|
[1753] | 22 | </span> |
---|
| 23 | <input type="password" name="password" id="password" value=""> |
---|
| 24 | </li> |
---|
[2246] | 25 | {/if} |
---|
[1753] | 26 | <li> |
---|
| 27 | <span class="property"> |
---|
[5021] | 28 | <label for="use_new_pwd">{'New password'|@translate}</label> |
---|
[1753] | 29 | </span> |
---|
| 30 | <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> |
---|
| 31 | </li> |
---|
| 32 | <li> |
---|
| 33 | <span class="property"> |
---|
[2246] | 34 | <label for="passwordConf">{'Confirm Password'|@translate}</label> |
---|
[1753] | 35 | </span> |
---|
| 36 | <input type="password" name="passwordConf" id="passwordConf" value=""> |
---|
| 37 | </li> |
---|
| 38 | </ul> |
---|
[2246] | 39 | {/if} |
---|
[1753] | 40 | </fieldset> |
---|
| 41 | |
---|
[5328] | 42 | {if $ALLOW_USER_CUSTOMIZATION} |
---|
[1753] | 43 | <fieldset> |
---|
[5021] | 44 | <legend>{'Preferences'|@translate}</legend> |
---|
[1753] | 45 | |
---|
| 46 | <ul> |
---|
| 47 | <li> |
---|
| 48 | <span class="property"> |
---|
[5021] | 49 | <label for="nb_image_line">{'Number of images per row'|@translate}</label> |
---|
[1753] | 50 | </span> |
---|
[2246] | 51 | <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> |
---|
[1753] | 52 | </li> |
---|
| 53 | <li> |
---|
| 54 | <span class="property"> |
---|
[5021] | 55 | <label for="nb_line_page">{'Number of rows per page'|@translate}</label> |
---|
[1753] | 56 | </span> |
---|
[2246] | 57 | <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > |
---|
[1753] | 58 | </li> |
---|
| 59 | <li> |
---|
| 60 | <span class="property"> |
---|
[5021] | 61 | <label for="template">{'Interface theme'|@translate}</label> |
---|
[1753] | 62 | </span> |
---|
[5123] | 63 | {html_options name=theme options=$template_options selected=$template_selection} |
---|
[1753] | 64 | </li> |
---|
| 65 | <li> |
---|
| 66 | <span class="property"> |
---|
[5021] | 67 | <label for="Language">{'Language'|@translate}</label> |
---|
[1753] | 68 | </span> |
---|
[2246] | 69 | {html_options name=language options=$language_options selected=$language_selection} |
---|
[1753] | 70 | </li> |
---|
| 71 | <li> |
---|
| 72 | <span class="property"> |
---|
[5021] | 73 | <label for="Recent period">{'Recent period'|@translate}</label> |
---|
[1753] | 74 | </span> |
---|
[2246] | 75 | <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> |
---|
[1753] | 76 | </li> |
---|
| 77 | <li> |
---|
[5021] | 78 | <span class="property">{'Expand all categories'|@translate}</span> |
---|
[2246] | 79 | {html_radios name='expand' options=$radio_options selected=$EXPAND} |
---|
[1753] | 80 | </li> |
---|
| 81 | <li> |
---|
[5021] | 82 | <span class="property">{'Show number of comments'|@translate}</span> |
---|
[2246] | 83 | {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} |
---|
[1753] | 84 | </li> |
---|
| 85 | <li> |
---|
[5021] | 86 | <span class="property">{'Show number of hits'|@translate}</span> |
---|
[2246] | 87 | {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} |
---|
[1763] | 88 | </li> |
---|
| 89 | <li> |
---|
[1753] | 90 | <span class="property"> |
---|
[5021] | 91 | <label for="Maximum width of the pictures">{'Maximum width of the pictures'|@translate}</label> |
---|
[1753] | 92 | </span> |
---|
[2246] | 93 | <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> |
---|
[1753] | 94 | </li> |
---|
| 95 | <li> |
---|
| 96 | <span class="property"> |
---|
[5021] | 97 | <label for="Maximum height of the pictures">{'Maximum height of the pictures'|@translate}</label> |
---|
[1753] | 98 | </span> |
---|
[2246] | 99 | <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> |
---|
[1753] | 100 | </li> |
---|
| 101 | </ul> |
---|
| 102 | </fieldset> |
---|
[5328] | 103 | {/if} |
---|
[1753] | 104 | |
---|
| 105 | <p class="bottomButtons"> |
---|
[2268] | 106 | <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> |
---|
| 107 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
[5330] | 108 | {if $ALLOW_USER_CUSTOMIZATION} |
---|
[5021] | 109 | <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}"> |
---|
[5330] | 110 | {/if} |
---|
[1753] | 111 | </p> |
---|
| 112 | |
---|
| 113 | </form> |
---|