source: extensions/Simple_Grey/profile.tpl @ 4762

Last change on this file since 4762 was 4762, checked in by boulde, 14 years ago

change titrepage id to a class

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