source: extensions/gally/profile_content.tpl @ 4446

Last change on this file since 4446 was 4446, checked in by grum, 14 years ago

[Template:Gally] Add template to subversion

  • Property svn:executable set to *
File size: 3.9 KB
Line 
1<!-- **GBL** >PROFILE_CONTENT> -->
2
3
4{* $Id: profile_content.tpl 2268 2008-03-08 12:38:09Z rvelices $ *}
5<form method="post" name="profile" action="{$F_ACTION}" id="profile" class="properties">
6
7  <fieldset>
8    <legend>{'Registration'|@translate}</legend>
9    <input type="hidden" name="redirect" value="{$REDIRECT}" />
10    <ul>
11      <li>
12        <div class="property">{'Username'|@translate}</div>
13        {$USERNAME}
14      </li>
15{if not $SPECIAL_USER} {* can modify password + email*}
16      <li>
17        <div class="property">
18          <label for="mail_address">{'Email address'|@translate}</label>
19        </div>
20        <input type="text" name="mail_address" id="mail_address" value="{$EMAIL}" size=35>
21      </li>
22{if not $IN_ADMIN} {* admins do not need old password*}
23      <li>
24        <div class="property">
25          <label for="password">{'Password'|@translate}</label>
26        </div>
27        <input type="password" name="password" id="password" value="">
28      </li>
29{/if}
30      <li>
31        <div class="property">
32          <label for="use_new_pwd">{'new_password'|@translate}</label>
33        </div>
34        <input type="password" name="use_new_pwd" id="use_new_pwd" value="">
35      </li>
36      <li>
37        <div class="property">
38          <label for="passwordConf">{'Confirm Password'|@translate}</label>
39        </div>
40        <input type="password" name="passwordConf" id="passwordConf" value="">
41      </li>
42    </ul>
43{/if}
44  </fieldset>
45
46  <fieldset>
47    <legend>{'preferences'|@translate}</legend>
48
49    <ul>
50      <li>
51        <div class="property">
52          <label for="nb_image_line">{'nb_image_per_row'|@translate}</label>
53        </div>
54        <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{$NB_IMAGE_LINE}">
55      </li>
56      <li>
57        <div class="property">
58          <label for="nb_line_page">{'nb_row_per_page'|@translate}</label>
59        </div>
60        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{$NB_ROW_PAGE}" >
61      </li>
62      <li>
63        <div class="property">
64          <label for="template">{'theme'|@translate}</label>
65        </div>
66        {html_options name=template options=$template_options selected=$template_selection}
67      </li>
68      <li>
69        <div class="property">
70          <label for="language">{'language'|@translate}</label>
71        </div>
72        {html_options name=language options=$language_options selected=$language_selection}
73      </li>
74      <li>
75        <div class="property">
76          <label for="recent_period">{'recent_period'|@translate}</label>
77        </div>
78        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{$RECENT_PERIOD}">
79      </li>
80      <li>
81        <div class="property">{'auto_expand'|@translate}</div>
82        {html_radios name='expand' options=$radio_options selected=$EXPAND}
83      </li>
84      <li>
85        <div class="property">{'show_nb_comments'|@translate}</div>
86        {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS}
87      </li>
88      <li>
89        <div class="property">{'show_nb_hits'|@translate}</div>
90        {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS}
91      </li>
92      <li>
93        <div class="property">
94          <label for="maxwidth">{'maxwidth'|@translate}</label>
95        </div>
96        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{$MAXWIDTH}">
97      </li>
98      <li>
99        <div class="property">
100          <label for="maxheight">{'maxheight'|@translate}</label>
101        </div>
102        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{$MAXHEIGHT}">
103      </li>
104    </ul>
105  </fieldset>
106
107  <p class="bottomButtons">
108    <input class="submit" type="submit" name="validate" value="{'Submit'|@translate}">
109    <input class="submit" type="reset" name="reset" value="{'Reset'|@translate}">
110  </p>
111
112</form>
113
114
115<!-- **GBL** <PROFILE_CONTENT< -->
Note: See TracBrowser for help on using the repository browser.