source: trunk/themes/smartpocket/template/profile_content.tpl @ 20014

Last change on this file since 20014 was 13234, checked in by patdenice, 12 years ago

feature:2577
Many improvements

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