source: trunk/template/yoga/profile.tpl @ 960

Last change on this file since 960 was 960, checked in by chrisaga, 18 years ago

improve template : split theme from template itself

rest of the job : template (yoga), themes (clear dark), and php to handle them

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 4.5 KB
Line 
1<div id="content">
2
3<!-- BEGIN errors -->
4<div class="errors">
5  <ul>
6    <!-- BEGIN error -->
7    <li>{errors.error.ERROR}</li>
8    <!-- END error -->
9  </ul>
10</div>
11<!-- END errors -->
12
13  <div class="titrePage">
14    <ul class="categoryActions">
15      <li><a href="{U_RETURN}" title="{lang:return to homepage}"><img src="{themeconf:icon_dir}/home.png" class="button" alt="{lang:home}"/></a></li>
16    </ul>
17    <h2>{lang:Profile}</h2>
18  </div>
19
20<form method="post" name="profile" action="{F_ACTION}" id="profile" class="properties">
21
22  <input type="hidden" name="userid" value="{USERID}" />
23
24  <fieldset>
25    <legend>{L_REGISTRATION_INFO}</legend>
26
27    <ul>
28      <li>
29        <label>{lang:Username}</label>
30        <strong>{USERNAME}</strong>
31      </li>
32
33      <li>
34        <label for="mail_address">{lang:Email address}</label>
35        <input type="text" name="mail_address" id="mail_address" value="{EMAIL}" onfocus="this.className='focus';" onblur="this.className='nofocus';">
36      </li>
37
38      <li>
39        <label for="password">{L_CURRENT_PASSWORD}</label>
40        <input type="password" name="password" id="password" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
41      </li>
42
43      <li>
44        <label for="use_new_pwd">{L_NEW_PASSWORD}</label>
45        <input type="password" name="use_new_pwd" id="use_new_pwd" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
46      </li>
47
48      <li>
49        <label for="passwordConf">{L_CONFIRM_PASSWORD}</label>
50        <input type="password" name="passwordConf" id="passwordConf" value="" onfocus="this.className='focus';" onblur="this.className='nofocus';">
51      </li>
52    </ul>
53  </fieldset>
54
55  <fieldset>
56    <legend>{L_PREFERENCES}</legend>
57
58    <ul>
59      <li>
60        <label for="nb_image_line">{L_NB_IMAGE_LINE}</label>
61        <input type="text" size="3" maxlength="2" name="nb_image_line" id="nb_image_line" value="{NB_IMAGE_LINE}"
62               onfocus="this.className='focus';" onblur="this.className='nofocus';">
63      </li>
64
65      <li>
66        <label for="nb_line_page">{L_NB_ROW_PAGE}</label>
67        <input type="text" size="3" maxlength="2" name="nb_line_page" id="nb_line_page" value="{NB_ROW_PAGE}"
68               onfocus="this.className='focus';" onblur="this.className='nofocus';">
69      </li>
70
71      <li>
72        <label for="template">{L_STYLE_SELECT}</label>
73        <select name="template" id="template"> <!-- FIXME: if onfocus is used, the behaviour becomes weird in Firefox -->
74          <!-- BEGIN template_option -->
75          <option value="{template_option.VALUE}" {template_option.SELECTED}>{template_option.CONTENT}</option>
76          <!-- END template_option -->
77        </select>
78      </li>
79
80      <li>
81        <label for="language">{L_LANG_SELECT}</label>
82        <select name="language" id="language"> <!-- same FIXME -->
83          <!-- BEGIN language_option -->
84          <option value="{language_option.VALUE}" {language_option.SELECTED}>{language_option.CONTENT}</option>
85          <!-- END language_option -->
86        </select>
87      </li>
88
89      <li>
90        <label for="recent_period">{L_RECENT_PERIOD}</label>
91        <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{RECENT_PERIOD}"
92               onfocus="this.className='focus';" onblur="this.className='nofocus';">
93      </li>
94
95      <li>
96        <label>{L_EXPAND_TREE}</label>
97        <input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES}> {L_YES}
98        <input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO}> {L_NO}
99      </li>
100
101      <li>
102        <label>{L_NB_COMMENTS}</label>
103        <input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES}> {L_YES}
104        <input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO}> {L_NO}
105      </li>
106 
107      <li>
108        <label for"maxwidth">{L_MAXWIDTH}</label>
109        <input type="text" size="4" maxlength="4" name="maxwidth" id="maxwidth" value="{MAXWIDTH}"
110               onfocus="this.className='focus';" onblur="this.className='nofocus';">
111      </li>
112
113      <li>
114        <label for="maxheight">{L_MAXHEIGHT}</label>
115        <input type="text" size="4" maxlength="4" name="maxheight" id="maxheight" value="{MAXHEIGHT}"
116               onfocus="this.className='focus';" onblur="this.className='nofocus';">
117      </li>
118    </ul>
119  </fieldset>
120
121  <p class="bottomButtons">
122    <input type="submit" name="validate" value="{L_SUBMIT}">
123    <input type="reset" name="reset" value="{L_RESET}">
124  </p>
125
126</form>
127
128</div> <!-- content -->
Note: See TracBrowser for help on using the repository browser.