source: trunk/template/yoga/admin/configuration.tpl @ 1920

Last change on this file since 1920 was 1920, checked in by rub, 17 years ago

"Put checkbox on the left!"

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 7.8 KB
Line 
1<!-- $Id: configuration.tpl 1920 2007-03-26 19:15:52Z rub $ -->
2<div class="titrePage">
3  <ul class="categoryActions">
4    <li><a href="{U_HELP}" onclick="popuphelp(this.href); return false;" title="{lang:Help}"><img src="{themeconf:icon_dir}/help.png" class="button" alt="(?)"></a></li>
5  </ul>
6  <h2>{lang:title_configuration} {TABSHEET_TITLE}</h2>
7  {TABSHEET}
8</div>
9
10<form method="post" action="{F_ACTION}" class="properties">
11
12<!-- BEGIN main -->
13<fieldset id="mainConf">
14  <ul>
15    <li>
16      <span class="property">
17        <label for="gallery_title">{lang:Gallery title}</label>
18      </span>
19      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{main.CONF_GALLERY_TITLE}" />
20    </li>
21
22    <li>
23      <span class="property">
24        <label for="page_banner">{lang:Page banner}</label>
25      </span>
26      <textarea class="description" name="page_banner" id="page_banner">{main.CONF_PAGE_BANNER}</textarea>
27    </li>
28
29    <li>
30      <span class="property">
31        <label for="gallery_url">{lang:Gallery URL}</label>
32      </span>
33      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{main.CONF_GALLERY_URL}" />
34    </li>
35
36    <li>
37      <span class="property">{lang:Lock gallery}</span>
38      <label><input type="radio" class="radio" name="gallery_locked" value="true" {main.GALLERY_LOCKED_YES} />{lang:Yes}</label>
39      <label><input type="radio" class="radio" name="gallery_locked" value="false" {main.GALLERY_LOCKED_NO} />{lang:No}</label>
40    </li>
41  </ul>
42</fieldset>
43
44<fieldset id="mainConfCheck">
45  <ul>
46
47    <li>
48      <span class="property">{lang:Rating}</span>
49      <input type="checkbox" name="rate" {main.RATE} />
50    </li>
51
52    <li>
53      <span class="property">{lang:Rating by guests}</span>
54      <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} />
55    </li>
56
57    <li>
58      <label for="allow_user_registration">
59        <span class="property">{lang:Allow user registration}</span>
60        <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />
61      </label>
62    </li>
63
64    <li>
65      <label>
66        <span class="property">{lang:Email administrators when a new user registers}</span>
67        <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
68      </label>
69    </li>
70
71    <li>
72      <label>
73        <span class="property">{lang:Email administrators when a picture is uploaded}</span>
74        <input type="checkbox" name="email_admin_on_picture_uploaded" {main.EMAIL_ADMIN_ON_PICTURE_UPLOADED} />
75      </label>
76    </li>
77  </ul>
78</fieldset>
79<!-- END main -->
80
81<!-- BEGIN history -->
82<fieldset id="historyConf">
83  <ul>
84      <li>
85        <label><span class="property">{lang:conf_history_guest}</span><input type="checkbox" name="history_guest" {history.HISTORY_GUEST} /></label>
86      </li>
87
88      <li>
89        <label><span class="property">{lang:conf_history_user}</span><input type="checkbox" name="log" {history.LOG} /></label>
90      </li>
91
92      <li>
93        <label><span class="property">{lang:conf_history_admin}</span><input type="checkbox" name="history_admin" {history.HISTORY_ADMIN} /></label>
94      </li>
95  </ul>
96</fieldset>
97<!-- END history -->
98
99<!-- BEGIN comments -->
100<fieldset id="commentsConf">
101  <ul>
102    <li>
103      <label>
104        <span class="property">{lang:Comments for all}</span>
105        <input type="checkbox" name="comments_forall" {comments.COMMENTS_FORALL} />
106      </label>
107    </li>
108
109    <li>
110      <span class="property">
111        <label for="nb_comment_page">{lang:Number of comments per page}</label>
112      </span>
113      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
114    </li>
115
116    <li>
117      <label>
118        <span class="property">{lang:Validation}</span>
119        <input type="checkbox" name="comments_validation" {comments.COMMENTS_VALIDATION} />
120      </label>
121    </li>
122
123
124    <li>
125      <label>
126        <span class="property">{lang:Email administrators when a valid comment is entered}</span>
127        <input type="checkbox" name="email_admin_on_comment" {comments.EMAIL_ADMIN_ON_COMMENT} />
128      </label>
129    </li>
130
131    <li>
132      <label>
133        <span class="property">{lang:Email administrators when a comment requires validation}</span>
134        <input type="checkbox" name="email_admin_on_comment_validation" {comments.EMAIL_ADMIN_ON_COMMENT_VALIDATION} />
135      </label>
136    </li>
137
138  </ul>
139</fieldset>
140<!-- END comments -->
141
142<!-- BEGIN default -->
143<fieldset id="defaultConf">
144  <ul>
145    <li>
146      <span class="property">
147        <label for="default_language">{lang:Language}</label>
148      </span>
149      <select name="default_language" id="default_language">
150        <!-- BEGIN language_option -->
151        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
152        <!-- END language_option -->
153      </select>
154    </li>
155
156    <li>
157      <span class="property">
158        <label for="nb_image_line">{lang:Number of images per row}</label>
159      </span>
160      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
161    </li>
162
163    <li>
164      <span class="property">
165        <label for="nb_line_page">{lang:Number of rows per page}</label>
166      </span>
167      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
168    </li>
169
170    <li>
171      <span class="property">
172        <label for="default_template">{lang:Interface theme}</label>
173      </span>
174      <select name="default_template" id="default_template">
175        <!-- BEGIN template_option -->
176        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
177        <!-- END template_option -->
178      </select>
179    </li>
180
181    <li>
182      <span class="property">
183        <label for="recent_period">{lang:Recent period}</label>
184      </span>
185      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
186    </li>
187
188    <li>
189      <span class="property">{lang:Expand all categories}</span>
190      <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
191      <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
192    </li>
193
194    <li>
195      <span class="property">{lang:Show number of comments}</span>
196      <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
197      <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
198    </li>
199
200    <li>
201      <span class="property">{lang:show_nb_hits}</span>
202      <label><input type="radio" class="radio" name="show_nb_hits" value="true" {default.SHOW_HITS_YES} />{lang:Yes}</label>
203      <label><input type="radio" class="radio" name="show_nb_hits" value="false" {default.SHOW_HITS_NO} />{lang:No}</label>
204    </li>
205
206    <li>
207      <span class="property">
208        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
209      </span>
210      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
211    </li>
212
213    <li>
214      <span class="property">
215        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
216      </span>
217      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
218    </li>
219  </ul>
220</fieldset>
221<!-- END default -->
222
223  <p>
224    <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
225    <input class="submit" type="reset" name="reset" value="{lang:Reset}">
226  </p>
227</form>
Note: See TracBrowser for help on using the repository browser.