source: extensions/luciano/template/profile_content.tpl @ 5921

Last change on this file since 5921 was 5921, checked in by patdenice, 14 years ago

[Luciano Amodio Theme] First commit

File size: 3.5 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="template">{'Interface theme'|@translate}</label>
50        </span>
51        <div id="themeSelect">
52        {html_options name=theme options=$template_options selected=$template_selection}
53        </div>
54      </li>
55      <li>
56        <span class="property">
57          <label for="Language">{'Language'|@translate}</label>
58        </span>
59        <div id="languageSelect">
60        {html_options name=language options=$language_options selected=$language_selection}
61        </div>
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">
71          <label for="Expand all categories">{'Expand all categories'|@translate}</label>
72        </span>
73        {foreach from=$radio_options key=value item=option}
74          <input type="radio" name="expand" value="{$value}" {if $value==$EXPAND}checked="checked"{/if}>{$option}
75        {/foreach}
76
77      </li>
78    </ul>
79  </fieldset>
80{/if}
81
82  <p class="bottomButtons">
83    <input type="hidden" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
84    <input type="hidden" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
85    <input type="hidden" name="show_nb_comments" id="show_nb_comments" value="{$NB_COMMENTS}" >
86    <input type="hidden" name="show_nb_hits" id="show_nb_hits" value="{$NB_HITS}" >
87    <input type="hidden" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
88    <input type="hidden" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
89
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>
Note: See TracBrowser for help on using the repository browser.