source: extensions/gally/gally-default/template/profile_content.tpl

Last change on this file was 16016, checked in by grum, 12 years ago

feature:2664- compatibility with Piwigo 2.4

  • Property svn:executable set to *
File size: 3.4 KB
Line 
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      <li>
20        <div class="property">
21          <label for="password">{'Password'|@translate}</label>
22        </div>
23        <input type="password" name="password" id="password" value="">
24      </li>
25      <li>
26        <div class="property">
27          <label for="use_new_pwd">{'New password'|@translate}</label>
28        </div>
29        <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
30      </li>
31      <li>
32        <div class="property">
33          <label for="passwordConf">{'Confirm Password'|@translate}</label>
34        </div>
35        <input type="password" name="passwordConf" id="passwordConf" value="">
36      </li>
37{/if}
38    </ul>
39  </fieldset>
40
41{if $ALLOW_USER_CUSTOMIZATION}
42  <fieldset>
43    <legend>{'Preferences'|@translate}</legend>
44
45    <ul>
46      <li>
47        <div class="property">
48          <label for="nb_image_page">{'Number of photos per page'|@translate}</label>
49        </div>
50        <input type="text" size="4" maxlength="3" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
51      </li>
52      <li>
53        <div class="property">
54          <label for="template">{'Interface theme'|@translate}</label>
55        </div>
56        {html_options name=theme options=$template_options selected=$template_selection}
57      </li>
58      <li>
59        <div class="property">
60          <label for="Language">{'Language'|@translate}</label>
61        </div>
62        {html_options name=language options=$language_options selected=$language_selection}
63      </li>
64      <li>
65        <div class="property">
66          <label for="Recent period">{'Recent period'|@translate}</label>
67        </div>
68        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
69      </li>
70      <li>
71        <div class="property">{'Expand all albums'|@translate}</div>
72        {html_radios name='expand' options=$radio_options selected=$EXPAND}
73      </li>
74    {if $ACTIVATE_COMMENTS}
75      <li>
76        <div class="property">{'Show number of comments'|@translate}</div>
77        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
78      </li>
79    {/if}
80      <li>
81        <div class="property">{'Show number of hits'|@translate}</div>
82        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
83      </li>
84    </ul>
85  </fieldset>
86{/if}
87
88  <p class="bottomButtons">
89    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
90    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
91    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
92    {if $ALLOW_USER_CUSTOMIZATION}
93      <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
94    {/if}
95  </p>
96
97</form>
98<!-- **GBL** <PROFILE_CONTENT< -->
Note: See TracBrowser for help on using the repository browser.