aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga/admin/configuration.tpl
blob: 387bb5b47eedc0221d65736bec714f59b29f1eac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!-- $Id$ -->
<div class="titrePage">
  <ul class="categoryActions">
    <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>
  </ul>
  <h2>{lang:title_configuration}</h2>
</div>

<form method="post" action="{F_ACTION}" class="properties">

<!-- BEGIN general -->
<fieldset id="generalConf">
  <legend>{lang:conf_general_title}</legend>

  <ul>
    <li>
      <span class="property">
        <label for="gallery_title">{lang:Gallery title}</label>
      </span>
      <input type="text" maxlength="255" size="50" name="gallery_title" id="gallery_title" value="{general.CONF_GALLERY_TITLE}" />
    </li>

    <li>
      <span class="property">
        <label for="page_banner">{lang:Page banner}</label>
      </span>
      <textarea class="description" name="page_banner" id="page_banner">{general.CONF_PAGE_BANNER}</textarea>
    </li>

    <li>
      <span class="property">
        <label for="gallery_url">{lang:Gallery URL}</label>
      </span>
      <input type="text" maxlength="255" size="50" name="gallery_url" id="gallery_url" value="{general.CONF_GALLERY_URL}" />
    </li>

    <li>
      <span class="property">{lang:Lock gallery}</span>
      <label><input type="radio" class="radio" name="gallery_locked" value="true" {general.GALLERY_LOCKED_YES} />{lang:Yes}</label>
      <label><input type="radio" class="radio" name="gallery_locked" value="false" {general.GALLERY_LOCKED_NO} />{lang:No}</label>
    </li>

    <li>
      <span class="property">{lang:Rating}</span>
      <label><input type="radio" class="radio" name="rate" value="true" {general.RATE_YES} />{lang:Yes}</label>
      <label><input type="radio" class="radio" name="rate" value="false" {general.RATE_NO} />{lang:No}</label>
    </li>

    <li>
      <span class="property">{lang:Rating by guests}</span>
      <label><input type="radio" class="radio" name="rate_anonymous" value="true" {general.RATE_ANONYMOUS_YES} />{lang:Yes}</label>
      <label><input type="radio" class="radio" name="rate_anonymous" value="false" {general.RATE_ANONYMOUS_NO} />{lang:No}</label>
    </li>

    <li>
      <label>
        <span class="property">{lang:Email admin when a new user registers}</span>
        <input type="checkbox" name="email_admin_on_new_user" {general.EMAIL_ADMIN_ON_NEW_USER} />
      </label>
    </li>

    <li>
      <label for="allow_user_registration">
        <span class="property">{lang:Allow user registration}</span>
        <input type="checkbox" name="allow_user_registration" id="allow_user_registration" {general.ALLOW_USER_REGISTRATION} />
      </label>
    </li>

    <br/>
    <li>
      <fieldset>
        <legend>{lang:History}</legend>
        <ul>
          <li>
            <label><span class="property">{lang:Users}</span><input type="checkbox" name="log" {general.LOG} /></label>
          </li>

          <li>
            <label><span class="property">{lang:user_status_admin}</span><input type="checkbox" name="history_admin" {general.HISTORY_ADMIN} /></label>
          </li>

          <li>
            <label><span class="property">{lang:Guests}</span><input type="checkbox" name="history_guest" {general.HISTORY_GUEST} /></label>
          </li>

          <li>
            <label><span class="property">{lang:Login history}</span><input type="checkbox" name="login_history" {general.LOGIN_HISTORY} /></label>
          </li>
        </ul>
      </fieldset>
    </li>
  </ul>
</fieldset>
<!-- END general -->

<!-- BEGIN comments -->
<fieldset id="commentsConf">
  <legend>{lang:conf_comments_title}</legend>

  <ul>
    <li>
      <label>
        <span class="property">{lang:Comments for all}</span>
        <input type="checkbox" name="comments_forall" {comments.COMMENTS_FORALL} />
      </label>
    </li>

    <li>
      <span class="property">
        <label for="nb_comment_page">{lang:Number of comments per page}</label>
      </span>
      <input type="text" size="3" maxlength="4" name="nb_comment_page" id="nb_comment_page" value="{comments.NB_COMMENTS_PAGE}" />
    </li>

    <li>
      <label>
        <span class="property">{lang:Validation}</span>
        <input type="checkbox" name="comments_validation" {comments.COMMENTS_VALIDATION} />
      </label>
    </li>


    <li>
      <label>
        <span class="property">{lang:Email admin when a valid comment is entered}</span>
        <input type="checkbox" name="email_admin_on_comment" {comments.EMAIL_ADMIN_ON_COMMENT} />
      </label>
    </li>

    <li>
      <label>
        <span class="property">{lang:Email admin when a comment requires validation}</span>
        <input type="checkbox" name="email_admin_on_comment_validation" {comments.EMAIL_ADMIN_ON_COMMENT_VALIDATION} />
      </label>
    </li>

  </ul>
</fieldset>
<!-- END comments -->
<!-- BEGIN default -->
<fieldset id="commentsConf">
  <legend>{lang:conf_default_title}</legend>

  <ul>
    <li>
      <span class="property">
        <label for="default_language">{lang:Language}</label>
      </span>
      <select name="default_language" id="default_language">
        <!-- BEGIN language_option -->
        <option value="{default.language_option.VALUE}" {default.language_option.SELECTED}>{default.language_option.CONTENT}</option>
        <!-- END language_option -->
      </select>
    </li>

    <li>
      <span class="property">
        <label for="nb_image_line">{lang:Number of images per row}</label>
      </span>
      <input type="text" size="3" maxlength="2" id="nb_image_line" name="nb_image_line" value="{default.NB_IMAGE_LINE}" />
    </li>

    <li>
      <span class="property">
        <label for="nb_line_page">{lang:Number of rows per page}</label>
      </span>
      <input type="text" size="3" maxlength="2" id="nb_line_page" name="nb_line_page" value="{default.NB_ROW_PAGE}" />
    </li>

    <li>
      <span class="property">
        <label for="default_template">{lang:Interface theme}</label>
      </span>
      <select name="default_template" id="default_template">
        <!-- BEGIN template_option -->
        <option value="{default.template_option.VALUE}" {default.template_option.SELECTED}>{default.template_option.CONTENT}</option>
        <!-- END template_option -->
      </select>
    </li>

    <li>
      <span class="property">
        <label for="recent_period">{lang:Recent period}</label>
      </span>
      <input type="text" size="3" maxlength="2" name="recent_period" id="recent_period" value="{default.CONF_RECENT}" />
    </li>

    <li>
      <span class="property">{lang:Expand all categories}</span>
      <label><input type="radio" class="radio" name="auto_expand" value="true" {default.EXPAND_YES} />{lang:Yes}</label>
      <label><input type="radio" class="radio" name="auto_expand" value="false" {default.EXPAND_NO} />{lang:No}</label>
    </li>

    <li>
      <span class="property">{lang:Show number of comments}</span>
      <label><input type="radio" class="radio" name="show_nb_comments" value="true" {default.SHOW_COMMENTS_YES} />{lang:Yes}</label>
      <label><input type="radio" class="radio" name="show_nb_comments" value="false" {default.SHOW_COMMENTS_NO} />{lang:No}</label>
    </li>

    <li>
      <span class="property">
        <label for="default_maxwidth">{lang:Maximum width of the pictures}</label>
      </span>
      <input type="text" size="4" maxlength="4" id="default_maxwidth" name="default_maxwidth" value="{default.MAXWIDTH}" />
    </li>

    <li>
      <span class="property">
        <label for="default_maxheight">{lang:Maximum height of the pictures}</label>
      </span>
      <input type="text" size="4" maxlength="4" id="default_maxheight" name="default_maxheight" value="{default.MAXHEIGHT}" />
    </li>
  </ul>
</fieldset>
<!-- END default -->

  <p>
    <input type="submit" name="submit" value="{lang:Submit}" {TAG_INPUT_ENABLED}>
    <input type="reset" name="reset" value="{lang:Reset}">
  </p>
</form>