source: extensions/Versa/template/profile_content.tpl @ 31977

Last change on this file since 31977 was 31833, checked in by lexming, 7 years ago

Initial commit

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