blob: 2b6604fa1392e8a15dd07080e77a0749023e935b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
<div data-role="fieldcontain">
<label for="username">{'Username'|@translate}</label>
<input type="text" name="username" id="username" value="{$USERNAME}" disabled="disabled">
</div>
{if not $SPECIAL_USER} {* can modify password + email*}
<div data-role="fieldcontain">
<label for="mail_address">{'Email address'|@translate}</label>
<input type="text" name="mail_address" id="mail_address" value="{$EMAIL}">
</div>
<div data-role="fieldcontain">
<label for="password">{'Password'|@translate}</label>
<input type="password" name="password" id="password" value="">
</div>
<div data-role="fieldcontain">
<label for="use_new_pwd">{'New password'|@translate}</label>
<input type="password" name="use_new_pwd" id="use_new_pwd" value="">
</div>
<div data-role="fieldcontain">
<label for="passwordConf">{'Confirm Password'|@translate}</label>
<input type="password" name="passwordConf" id="passwordConf" value="">
</div>
{/if}
{if $ALLOW_USER_CUSTOMIZATION}
<div data-role="fieldcontain">
<label for="nb_image_page">{'Number of photos per page'|@translate}</label>
<input type="range" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}" min="1" max="100" />
</div>
<div data-role="fieldcontain">
<label for="language">{'Language'|@translate}</label>
{html_options name=language options=$language_options selected=$language_selection}
</div>
{/if}
<div data-role="fieldcontain">
{if $ALLOW_USER_CUSTOMIZATION}
<input type="hidden" name="theme" value="{$template_selection}">
<input type="hidden" name="recent_period" value="{$RECENT_PERIOD}">
<input type="hidden" name="expand" value="{$EXPAND}">
<input type="hidden" name="show_nb_comments" value="{$NB_COMMENTS}">
<input type="hidden" name="show_nb_hits" value="{$NB_HITS}">
{/if}
<input type="hidden" name="redirect" value="{$REDIRECT}">
<input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
<input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
<input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
{if $ALLOW_USER_CUSTOMIZATION}
<input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
{/if}
</div>
</form>
|