source: branches/branch-1_5/template/yoga/admin/configuration.tpl @ 939

Last change on this file since 939 was 939, checked in by chrisaga, 19 years ago

bug 206 fixed: PNG thumbnails clipped with IE

  • added class="icon" to recent.png (functions_html.inc.php)
  • added class="button" to al png button images (*.tpl)
  • changed pngfix.js to only fix icon or button images

template improvement: category prettier and simpler (a little bit)

  • got rid of one SPAN level
  • content.css more readable
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 5.0 KB
Line 
1<!-- $Id: configuration.tpl 939 2005-11-17 20:13:36Z 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="template/yoga/theme/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<fieldset>
12<!-- BEGIN general -->
13  <legend>{lang:conf_general_title}</legend>
14
15  <ul>
16    <li>
17      <label for="gallery_title"><strong>{lang:Gallery title}</strong></label>
18      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
19    </li>
20
21    <li>
22      <label for="gallery_description"><strong>{lang:Gallery description}</strong></label>
23      <textarea cols="50" rows="5" name="gallery_description" id="gallery_description">{general.CONF_GALLERY_DESCRIPTION}</textarea>
24    </li>
25
26    <li>
27      <label><strong>{lang:History}</strong></label>
28      <input type="radio" class="radio" name="log" value="true" {general.HISTORY_YES} />{lang:Yes}
29      <input type="radio" class="radio" name="log" value="false" {general.HISTORY_NO} />{lang:No}
30    </li>
31
32    <li>
33      <label><strong>{lang:Lock gallery}</strong></label>
34      <input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}
35      <input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}
36    </li>
37  </ul>
38<!-- END general -->
39
40<!-- BEGIN comments -->
41  <legend>{lang:conf_comments_title}</legend>
42
43  <ul>
44    <li>
45      <label><strong>{lang:Comments for all}</strong></label>
46      <input type="radio" class="radio" name="comments_forall" value="true" {comments.COMMENTS_ALL_YES} />{lang:Yes}
47      <input type="radio" class="radio" name="comments_forall" value="false" {comments.COMMENTS_ALL_NO} />{lang:No}
48    </li>
49
50    <li>
51      <label for="nb_comment_page"><strong>{lang:Number of comments per page}</strong></label>
52      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
53    </li>
54
55    <li>
56      <label><strong>{lang:Validation}</strong></label>
57      <input type="radio" class="radio" name="comments_validation" value="true" {comments.VALIDATE_YES} />{lang:Yes}
58      <input type="radio" class="radio" name="comments_validation" value="false" {comments.VALIDATE_NO} />{lang:No}
59    </li>
60  </ul>
61<!-- END comments -->
62<!-- BEGIN default -->
63  <legend>{lang:conf_default_title}</legend>
64
65  <ul>
66    <li>
67      <label for="language"><strong>{lang:Language}</strong></label>
68      <select name="default_language" id="default_language">
69        <!-- BEGIN language_option -->
70        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
71        <!-- END language_option -->
72      </select>
73    </li>
74
75    <li>
76      <label for="nb_image_line"><strong>{lang:Number of images per row}</strong></label>
77      <input type="text" size="3" maxlength="2" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
78    </li>
79
80    <li>
81      <label><strong>{lang:Number of rows per page}</strong></label>
82      <input type="text" size="3" maxlength="2" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
83    </li>
84
85    <li>
86      <label><strong>{lang:Interface theme}</strong></label>
87      <select name="default_template" id="default_template">
88        <!-- BEGIN template_option -->
89        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
90        <!-- END template_option -->
91      </select>
92    </li>
93
94    <li>
95      <label for="recent_period"><strong>{lang:Recent period}</strong></label>
96      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
97    </li>
98
99    <li>
100      <label><strong>{lang:Expand all categories}</strong></label>
101      <input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}
102      <input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}
103    </li>
104
105    <li>
106      <label><strong>{lang:Show number of comments}</strong></label>
107      <input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}
108      <input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}
109    </li>
110
111    <li>
112      <label><strong>{lang:Maximum width of the pictures}</strong></label>
113      <input type="text" size="4" maxlength="4" name="default_maxwidth" value="{default.MAXWIDTH}" />
114    </li>
115
116    <li>
117      <label><strong>{lang:Maximum height of the pictures}</strong></label>
118      <input type="text" size="4" maxlength="4" name="default_maxheight" value="{default.MAXHEIGHT}" />
119    </li>
120  </ul>
121<!-- END default -->
122  </fieldset>
123 
124  <p>
125    <input type="submit" name="submit" value="{lang:Submit}">
126    <input type="reset" name="reset" value="{lang:Reset}">
127  </p>
128</form>
Note: See TracBrowser for help on using the repository browser.