source: trunk/themes/default/template/profile_content.tpl @ 12877

Last change on this file since 12877 was 12877, checked in by rvelices, 12 years ago

remove max photo width/height from user profile because not used anymore

  • Property svn:eol-style set to LF
File size: 3.4 KB
Line 
1<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
2
3  <fieldset>
4    <legend>{'Registration'|@translate}</legend>
5    <input type="hidden" name="redirect" value="{$REDIRECT}">
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">
28          <label for="use_new_pwd">{'New password'|@translate}</label>
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>
38    </ul>
39{/if}
40  </fieldset>
41
42{if $ALLOW_USER_CUSTOMIZATION}
43  <fieldset>
44    <legend>{'Preferences'|@translate}</legend>
45
46    <ul>
47      <li>
48        <span class="property">
49          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
50        </span>
51        <input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
52      </li>
53      <li>
54        <span class="property">
55          <label for="template">{'Interface theme'|@translate}</label>
56        </span>
57        {html_options name=theme options=$template_options selected=$template_selection}
58      </li>
59      <li>
60        <span class="property">
61          <label for="Language">{'Language'|@translate}</label>
62        </span>
63        {html_options name=language options=$language_options selected=$language_selection}
64      </li>
65      <li>
66        <span class="property">
67          <label for="Recent period">{'Recent period'|@translate}</label>
68        </span>
69        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
70      </li>
71      <li>
72        <span class="property">{'Expand all albums'|@translate}</span>
73        {html_radios name='expand' options=$radio_options selected=$EXPAND}
74      </li>
75      <li>
76        <span class="property">{'Show number of comments'|@translate}</span>
77        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
78      </li>
79      <li>
80        <span class="property">{'Show number of hits'|@translate}</span>
81        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
82      </li>
83    </ul>
84  </fieldset>
85{/if}
86
87  <p class="bottomButtons">
88    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
89    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
90    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
91    {if $ALLOW_USER_CUSTOMIZATION}
92    <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
93    {/if}
94  </p>
95
96</form>
Note: See TracBrowser for help on using the repository browser.