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

Last change on this file since 12594 was 12592, checked in by grum, 12 years ago

feature:2499 - compatibility with Piwigo 2.3

  • Property svn:executable set to *
File size: 3.9 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{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_page">{'Number of photos per page'|@translate}</label>
51        </div>
52        <input type="text" size="3" maxlength="2" name="nb_image_page" id="nb_image_page" value="{$NB_IMAGE_PAGE}">
53      </li>
54      <li>
55        <div class="property">
56          <label for="template">{'Interface theme'|@translate}</label>
57        </div>
58        {html_options name=theme options=$template_options selected=$template_selection}
59      </li>
60      <li>
61        <div class="property">
62          <label for="Language">{'Language'|@translate}</label>
63        </div>
64        {html_options name=language options=$language_options selected=$language_selection}
65      </li>
66      <li>
67        <div class="property">
68          <label for="Recent period">{'Recent period'|@translate}</label>
69        </div>
70        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
71      </li>
72      <li>
73        <div class="property">{'Expand all albums'|@translate}</div>
74        {html_radios name='expand' options=$radio_options selected=$EXPAND}
75      </li>
76      <li>
77        <div class="property">{'Show number of comments'|@translate}</div>
78        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
79      </li>
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      <li>
85        <div class="property">
86          <label for="maxwidth">{'Maximum photo width'|@translate}</label>
87        </div>
88        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
89      </li>
90      <li>
91        <div class="property">
92          <label for="maxheight">{'Maximum photo height'|@translate}</label>
93        </div>
94        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
95      </li>
96    </ul>
97  </fieldset>
98{/if}
99
100  <p class="bottomButtons">
101    <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}">
102    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
103    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
104    {if $ALLOW_USER_CUSTOMIZATION}
105      <input class="submit" type="submit" name="reset_to_default" value="{'Reset to default values'|@translate}">
106    {/if}
107  </p>
108
109</form>
110
111
112<!-- **GBL** <PROFILE_CONTENT< -->
Note: See TracBrowser for help on using the repository browser.