[3334] | 1 | {* $Id: profile_content.tpl 2268 2008-03-08 12:38:09Z rvelices $ *} |
---|
| 2 | <form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties"> |
---|
| 3 | |
---|
| 4 | <fieldset> |
---|
| 5 | <legend>{'Registration'|@translate}</legend> |
---|
| 6 | <input type="hidden" name="redirect" value="{$REDIRECT}" /> |
---|
| 7 | <ul> |
---|
| 8 | <li> |
---|
| 9 | <span class="property">{'Username'|@translate}</span> |
---|
| 10 | {$USERNAME} |
---|
| 11 | </li> |
---|
| 12 | {if not $SPECIAL_USER} {* can modify password + email*} |
---|
| 13 | <li> |
---|
| 14 | <span class="property"> |
---|
| 15 | <label for="mail_address">{'Email address'|@translate}</label> |
---|
| 16 | </span> |
---|
| 17 | <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}"> |
---|
| 18 | </li> |
---|
| 19 | {if not $IN_ADMIN} {* admins do not need old password*} |
---|
| 20 | <li> |
---|
| 21 | <span class="property"> |
---|
| 22 | <label for="password">{'Password'|@translate}</label> |
---|
| 23 | </span> |
---|
| 24 | <input type="password" name="password" id="password" value=""> |
---|
| 25 | </li> |
---|
| 26 | {/if} |
---|
| 27 | <li> |
---|
| 28 | <span class="property"> |
---|
| 29 | <label for="use_new_pwd">{'new_password'|@translate}</label> |
---|
| 30 | </span> |
---|
| 31 | <input type="password" name="use_new_pwd" id="use_new_pwd" value=""> |
---|
| 32 | </li> |
---|
| 33 | <li> |
---|
| 34 | <span class="property"> |
---|
| 35 | <label for="passwordConf">{'Confirm Password'|@translate}</label> |
---|
| 36 | </span> |
---|
| 37 | <input type="password" name="passwordConf" id="passwordConf" value=""> |
---|
| 38 | </li> |
---|
| 39 | </ul> |
---|
| 40 | {/if} |
---|
| 41 | </fieldset> |
---|
| 42 | |
---|
| 43 | <fieldset> |
---|
| 44 | <legend>{'preferences'|@translate}</legend> |
---|
| 45 | |
---|
| 46 | <ul> |
---|
| 47 | <li> |
---|
| 48 | <span class="property"> |
---|
| 49 | <label for="nb_image_line">{'nb_image_per_row'|@translate}</label> |
---|
| 50 | </span> |
---|
| 51 | <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}"> |
---|
| 52 | </li> |
---|
| 53 | <li> |
---|
| 54 | <span class="property"> |
---|
| 55 | <label for="nb_line_page">{'nb_row_per_page'|@translate}</label> |
---|
| 56 | </span> |
---|
| 57 | <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" > |
---|
| 58 | </li> |
---|
| 59 | <li> |
---|
| 60 | <span class="property"> |
---|
| 61 | <label for="template">{'theme'|@translate}</label> |
---|
| 62 | </span> |
---|
| 63 | {html_options name=template options=$template_options selected=$template_selection} |
---|
| 64 | </li> |
---|
| 65 | <li> |
---|
| 66 | <span class="property"> |
---|
| 67 | <label for="language">{'language'|@translate}</label> |
---|
| 68 | </span> |
---|
| 69 | {html_options name=language options=$language_options selected=$language_selection} |
---|
| 70 | </li> |
---|
| 71 | <li> |
---|
| 72 | <span class="property"> |
---|
| 73 | <label for="recent_period">{'recent_period'|@translate}</label> |
---|
| 74 | </span> |
---|
| 75 | <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}"> |
---|
| 76 | </li> |
---|
| 77 | <li> |
---|
| 78 | <span class="property">{'auto_expand'|@translate}</span> |
---|
| 79 | {html_radios name='expand' options=$radio_options selected=$EXPAND} |
---|
| 80 | </li> |
---|
| 81 | <li> |
---|
| 82 | <span class="property">{'show_nb_comments'|@translate}</span> |
---|
| 83 | {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} |
---|
| 84 | </li> |
---|
| 85 | <li> |
---|
| 86 | <span class="property">{'show_nb_hits'|@translate}</span> |
---|
| 87 | {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} |
---|
| 88 | </li> |
---|
| 89 | <li> |
---|
| 90 | <span class="property"> |
---|
| 91 | <label for="maxwidth">{'maxwidth'|@translate}</label> |
---|
| 92 | </span> |
---|
| 93 | <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}"> |
---|
| 94 | </li> |
---|
| 95 | <li> |
---|
| 96 | <span class="property"> |
---|
| 97 | <label for="maxheight">{'maxheight'|@translate}</label> |
---|
| 98 | </span> |
---|
| 99 | <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}"> |
---|
| 100 | </li> |
---|
| 101 | </ul> |
---|
| 102 | </fieldset> |
---|
| 103 | |
---|
| 104 | <p class="bottomButtons"> |
---|
| 105 | <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}"> |
---|
| 106 | <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}"> |
---|
| 107 | </p> |
---|
| 108 | |
---|
| 109 | </form> |
---|