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

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

Add notification when a picture is loaded.
Change little translations.
Improve mail sent.

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Author Date Id Revision
File size: 8.1 KB
Line 
1<!-- $Id: configuration.tpl 1901 2007-03-12 23:10:35Z 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
42    <li>
43      <span class="property">{lang:Rating}</span>
44      <label><input type="radio" class="radio" name="rate" value="true" {main.RATE_YES} />{lang:Yes}</label>
45      <label><input type="radio" class="radio" name="rate" value="false" {main.RATE_NO} />{lang:No}</label>
46    </li>
47
48    <li>
49      <span class="property">{lang:Rating by guests}</span>
50      <label><input type="radio" class="radio" name="rate_anonymous" value="true" {main.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
51      <label><input type="radio" class="radio" name="rate_anonymous" value="false" {main.RATE_ANONYMOUS_NO} />{lang:No}</label>
52    </li>
53
54    <li>
55      <label>
56        <span class="property">{lang:Email administrators when a new user registers}</span>
57        <input type="checkbox" name="email_admin_on_new_user" {main.EMAIL_ADMIN_ON_NEW_USER} />
58      </label>
59    </li>
60
61    <li>
62      <label for="allow_user_registration">
63        <span class="property">{lang:Allow user registration}</span>
64        <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {main.ALLOW_USER_REGISTRATION} />
65      </label>
66    </li>
67
68    <li>
69      <label>
70        <span class="property">{lang:Email administrators when a picture is uploaded}</span>
71        <input type="checkbox" name="email_admin_on_picture_uploaded" {main.EMAIL_ADMIN_ON_PICTURE_UPLOADED} />
72      </label>
73    </li>
74
75  </ul>
76</fieldset>
77<!-- END main -->
78
79<!-- BEGIN history -->
80<fieldset id="historyConf">
81  <ul>
82      <li>
83        <label><span class="property">{lang:conf_history_guest}</span><input type="checkbox" name="history_guest" {history.HISTORY_GUEST} /></label>
84      </li>
85
86      <li>
87        <label><span class="property">{lang:conf_history_user}</span><input type="checkbox" name="log" {history.LOG} /></label>
88      </li>
89
90      <li>
91        <label><span class="property">{lang:conf_history_admin}</span><input type="checkbox" name="history_admin" {history.HISTORY_ADMIN} /></label>
92      </li>
93  </ul>
94</fieldset>
95<!-- END history -->
96
97<!-- BEGIN comments -->
98<fieldset id="commentsConf">
99  <ul>
100    <li>
101      <label>
102        <span class="property">{lang:Comments for all}</span>
103        <input type="checkbox" name="comments_forall" {comments.COMMENTS_FORALL} />
104      </label>
105    </li>
106
107    <li>
108      <span class="property">
109        <label for="nb_comment_page">{lang:Number of comments per page}</label>
110      </span>
111      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
112    </li>
113
114    <li>
115      <label>
116        <span class="property">{lang:Validation}</span>
117        <input type="checkbox" name="comments_validation" {comments.COMMENTS_VALIDATION} />
118      </label>
119    </li>
120
121
122    <li>
123      <label>
124        <span class="property">{lang:Email administrators when a valid comment is entered}</span>
125        <input type="checkbox" name="email_admin_on_comment" {comments.EMAIL_ADMIN_ON_COMMENT} />
126      </label>
127    </li>
128
129    <li>
130      <label>
131        <span class="property">{lang:Email administrators when a comment requires validation}</span>
132        <input type="checkbox" name="email_admin_on_comment_validation" {comments.EMAIL_ADMIN_ON_COMMENT_VALIDATION} />
133      </label>
134    </li>
135
136  </ul>
137</fieldset>
138<!-- END comments -->
139<!-- BEGIN default -->
140<fieldset id="commentsConf">
141  <ul>
142    <li>
143      <span class="property">
144        <label for="default_language">{lang:Language}</label>
145      </span>
146      <select name="default_language" id="default_language">
147        <!-- BEGIN language_option -->
148        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
149        <!-- END language_option -->
150      </select>
151    </li>
152
153    <li>
154      <span class="property">
155        <label for="nb_image_line">{lang:Number of images per row}</label>
156      </span>
157      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
158    </li>
159
160    <li>
161      <span class="property">
162        <label for="nb_line_page">{lang:Number of rows per page}</label>
163      </span>
164      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
165    </li>
166
167    <li>
168      <span class="property">
169        <label for="default_template">{lang:Interface theme}</label>
170      </span>
171      <select name="default_template" id="default_template">
172        <!-- BEGIN template_option -->
173        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
174        <!-- END template_option -->
175      </select>
176    </li>
177
178    <li>
179      <span class="property">
180        <label for="recent_period">{lang:Recent period}</label>
181      </span>
182      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
183    </li>
184
185    <li>
186      <span class="property">{lang:Expand all categories}</span>
187      <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
188      <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
189    </li>
190
191    <li>
192      <span class="property">{lang:Show number of comments}</span>
193      <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
194      <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
195    </li>
196
197    <li>
198      <span class="property">{lang:show_nb_hits}</span>
199      <label><input type="radio" class="radio" name="show_nb_hits" value="true" {default.SHOW_HITS_YES} />{lang:Yes}</label>
200      <label><input type="radio" class="radio" name="show_nb_hits" value="false" {default.SHOW_HITS_NO} />{lang:No}</label>
201    </li>
202
203    <li>
204      <span class="property">
205        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
206      </span>
207      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
208    </li>
209
210    <li>
211      <span class="property">
212        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
213      </span>
214      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
215    </li>
216  </ul>
217</fieldset>
218<!-- END default -->
219
220  <p>
221    <input class="submit" type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
222    <input class="submit" type="reset" name="reset" value="{lang:Reset}">
223  </p>
224</form>
Note: See TracBrowser for help on using the repository browser.