source: branches/branch-1_6/template/yoga/admin/configuration.tpl @ 1492

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

merge from trunk r1490:1491 into branch 1.6 (fix bugs 484 and 244 display issues with IE : focus, checkboxe radio)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 6.6 KB
Line 
1<!-- $Id: configuration.tpl 1492 2006-07-22 09:31:30Z chrisaga $ -->
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}</h2>
7</div>
8
9<form method="post" action="{F_ACTION}" class="properties">
10
11<!-- BEGIN general -->
12<fieldset id="generalConf">
13  <legend>{lang:conf_general_title}</legend>
14
15  <ul>
16    <li>
17      <span class="property">
18        <label for="gallery_title">{lang:Gallery title}</label>
19      </span>
20      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
21    </li>
22
23    <li>
24      <span class="property">
25        <label for="page_banner">{lang:Page banner}</label>
26      </span>
27      <textarea class="description" name="page_banner" id="page_banner">{general.CONF_PAGE_BANNER}</textarea>
28    </li>
29
30    <li>
31      <span class="property">
32        <label for="gallery_url">{lang:Gallery URL}</label>
33      </span>
34      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" />
35    </li>
36
37    <li>
38      <span class="property">{lang:History}</span>
39      <label><input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes}</label>
40      <label><input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No}</label>
41    </li>
42
43    <li>
44      <span class="property">{lang:Lock gallery}</span>
45      <label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
46      <label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
47    </li>
48   
49    <li>
50      <span class="property">{lang:Rating}</span>
51      <label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
52      <label><input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}</label>
53    </li>
54
55    <li>
56      <span class="property">{lang:Rating by guests}</span>
57      <label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
58      <label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
59    </li>
60  </ul>
61</fieldset>
62<!-- END general -->
63
64<!-- BEGIN comments -->
65<fieldset id="commentsConf">
66  <legend>{lang:conf_comments_title}</legend>
67
68  <ul>
69    <li>
70      <span class="property">{lang:Comments for all}</span>
71      <label><input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes}</label>
72      <label><input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No}</label>
73    </li>
74
75    <li>
76      <span class="property">
77        <label for="nb_comment_page">{lang:Number of comments per page}</label>
78      </span>
79      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
80    </li>
81
82    <li>
83      <span class="property">{lang:Validation}</span>
84      <label><input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes}</label>
85      <label><input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}</label>
86    </li>
87  </ul>
88</fieldset>
89<!-- END comments -->
90<!-- BEGIN default -->
91<fieldset id="commentsConf">
92  <legend>{lang:conf_default_title}</legend>
93
94  <ul>
95    <li>
96      <span class="property">
97        <label for="default_language">{lang:Language}</label>
98      </span>
99      <select name="default_language" id="default_language">
100        <!-- BEGIN language_option -->
101        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
102        <!-- END language_option -->
103      </select>
104    </li>
105
106    <li>
107      <span class="property">
108        <label for="nb_image_line">{lang:Number of images per row}</label>
109      </span>
110      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
111    </li>
112
113    <li>
114      <span class="property">
115        <label for="nb_line_page">{lang:Number of rows per page}</label>
116      </span>
117      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
118    </li>
119
120    <li>
121      <span class="property">
122        <label for="default_template">{lang:Interface theme}</label>
123      </span>
124      <select name="default_template" id="default_template">
125        <!-- BEGIN template_option -->
126        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
127        <!-- END template_option -->
128      </select>
129    </li>
130
131    <li>
132      <span class="property">
133        <label for="recent_period">{lang:Recent period}</label>
134      </span>
135      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
136    </li>
137
138    <li>
139      <span class="property">{lang:Expand all categories}</span>
140      <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
141      <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
142    </li>
143
144    <li>
145      <span class="property">{lang:Show number of comments}</span>
146      <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
147      <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
148    </li>
149
150    <li>
151      <span class="property">
152        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
153      </span>
154      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
155    </li>
156
157    <li>
158      <span class="property">
159        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
160      </span>
161      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
162    </li>
163  </ul>
164</fieldset>
165<!-- END default -->
166
167  <p>
168    <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
169    <input type="reset" name="reset" value="{lang:Reset}">
170  </p>
171</form>
Note: See TracBrowser for help on using the repository browser.