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