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