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
RevLine 
[859]1<!-- $Id: configuration.tpl 1920 2007-03-26 19:15:52Z rub $ -->
2<div class="titrePage">
3  <ul class="categoryActions">
[980]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>
[859]5  </ul>
[1881]6  <h2>{lang:title_configuration} {TABSHEET_TITLE}</h2>
7  {TABSHEET}
[859]8</div>
9
10<form method="post" action="{F_ACTION}" class="properties">
11
[1894]12<!-- BEGIN main -->
13<fieldset id="mainConf">
[859]14  <ul>
15    <li>
[1129]16      <span class="property">
17        <label for="gallery_title">{lang:Gallery title}</label>
18      </span>
[1894]19      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{main.CONF_GALLERY_TITLE}" />
[882]20    </li>
21
22    <li>
[1129]23      <span class="property">
24        <label for="page_banner">{lang:Page banner}</label>
25      </span>
[1894]26      <textarea class="description" name="page_banner" id="page_banner">{main.CONF_PAGE_BANNER}</textarea>
[882]27    </li>
28
29    <li>
[1129]30      <span class="property">
31        <label for="gallery_url">{lang:Gallery URL}</label>
32      </span>
[1894]33      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{main.CONF_GALLERY_URL}" />
[1044]34    </li>
35
36    <li>
[1129]37      <span class="property">{lang:Lock gallery}</span>
[1894]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>
[859]40    </li>
[1920]41  </ul>
42</fieldset>
[1565]43
[1920]44<fieldset id="mainConfCheck">
45  <ul>
46
[1044]47    <li>
[1129]48      <span class="property">{lang:Rating}</span>
[1920]49      <input type="checkbox" name="rate" {main.RATE} />
[1044]50    </li>
51
52    <li>
[1129]53      <span class="property">{lang:Rating by guests}</span>
[1920]54      <input type="checkbox" name="rate_anonymous" {main.RATE_ANONYMOUS} />
[1044]55    </li>
[1565]56
57    <li>
[1906]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} />
[1617]61      </label>
62    </li>
63
[1652]64    <li>
[1906]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} />
[1652]68      </label>
69    </li>
[1901]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>
[1884]77  </ul>
78</fieldset>
[1894]79<!-- END main -->
[1652]80
[1884]81<!-- BEGIN history -->
82<fieldset id="historyConf">
83  <ul>
84      <li>
[1887]85        <label><span class="property">{lang:conf_history_guest}</span><input type="checkbox" name="history_guest" {history.HISTORY_GUEST} /></label>
[1884]86      </li>
[1565]87
[1884]88      <li>
[1887]89        <label><span class="property">{lang:conf_history_user}</span><input type="checkbox" name="log" {history.LOG} /></label>
[1884]90      </li>
[1565]91
[1884]92      <li>
[1887]93        <label><span class="property">{lang:conf_history_admin}</span><input type="checkbox" name="history_admin" {history.HISTORY_ADMIN} /></label>
[1884]94      </li>
[1044]95  </ul>
[1448]96</fieldset>
[1884]97<!-- END history -->
[859]98
99<!-- BEGIN comments -->
[1448]100<fieldset id="commentsConf">
[859]101  <ul>
102    <li>
[1617]103      <label>
104        <span class="property">{lang:Comments for all}</span>
105        <input type="checkbox" name="comments_forall" {comments.COMMENTS_FORALL} />
106      </label>
[859]107    </li>
108
109    <li>
[1129]110      <span class="property">
111        <label for="nb_comment_page">{lang:Number of comments per page}</label>
112      </span>
[1491]113      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
[859]114    </li>
115
116    <li>
[1617]117      <label>
118        <span class="property">{lang:Validation}</span>
119        <input type="checkbox" name="comments_validation" {comments.COMMENTS_VALIDATION} />
120      </label>
[859]121    </li>
[1617]122
123
124    <li>
125      <label>
[1901]126        <span class="property">{lang:Email administrators when a valid comment is entered}</span>
[1617]127        <input type="checkbox" name="email_admin_on_comment" {comments.EMAIL_ADMIN_ON_COMMENT} />
128      </label>
129    </li>
130
131    <li>
132      <label>
[1901]133        <span class="property">{lang:Email administrators when a comment requires validation}</span>
[1617]134        <input type="checkbox" name="email_admin_on_comment_validation" {comments.EMAIL_ADMIN_ON_COMMENT_VALIDATION} />
135      </label>
136    </li>
137
[859]138  </ul>
[1448]139</fieldset>
[859]140<!-- END comments -->
[1920]141
[859]142<!-- BEGIN default -->
[1920]143<fieldset id="defaultConf">
[859]144  <ul>
145    <li>
[1129]146      <span class="property">
147        <label for="default_language">{lang:Language}</label>
148      </span>
[1491]149      <select name="default_language" id="default_language">
[859]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>
[1129]157      <span class="property">
158        <label for="nb_image_line">{lang:Number of images per row}</label>
159      </span>
[1491]160      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
[859]161    </li>
162
163    <li>
[1129]164      <span class="property">
165        <label for="nb_line_page">{lang:Number of rows per page}</label>
166      </span>
[1491]167      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
[859]168    </li>
169
170    <li>
[1129]171      <span class="property">
172        <label for="default_template">{lang:Interface theme}</label>
173      </span>
[1491]174      <select name="default_template" id="default_template">
[859]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>
[1129]182      <span class="property">
183        <label for="recent_period">{lang:Recent period}</label>
184      </span>
[1491]185      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
[859]186    </li>
187
188    <li>
[1129]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>
[859]192    </li>
193
194    <li>
[1129]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>
[859]198    </li>
199
200    <li>
[1763]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>
[1129]207      <span class="property">
208        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
209      </span>
[1491]210      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
[859]211    </li>
212
213    <li>
[1129]214      <span class="property">
215        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
216      </span>
[1491]217      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
[859]218    </li>
219  </ul>
[1448]220</fieldset>
[859]221<!-- END default -->
[1071]222
[859]223  <p>
[1780]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}">
[859]226  </p>
227</form>
Note: See TracBrowser for help on using the repository browser.