1
|
</div><!-- BEGIN main_block -->
|
2
|
|
3
|
<script language="javascript" type="text/javascript">
|
4
|
function toggle_radio(group_name, set_value) {
|
5
|
if(set_value == true) {
|
6
|
document.getElementById(group_name + "_true").checked = true;
|
7
|
document.getElementById(group_name + "_false").checked = false;
|
8
|
} else {
|
9
|
document.getElementById(group_name + "_true").checked = false;
|
10
|
document.getElementById(group_name + "_false").checked = true;
|
11
|
}
|
12
|
}
|
13
|
function change_os(type) {
|
14
|
if(type == 'linux') {
|
15
|
document.getElementById('operating_system_linux').checked = true;
|
16
|
document.getElementById('operating_system_windows').checked = false;
|
17
|
document.getElementById('file_perms_box1').style.display = 'block';
|
18
|
document.getElementById('file_perms_box2').style.display = 'block';
|
19
|
document.getElementById('file_perms_box3').style.display = 'block';
|
20
|
} else if(type == 'windows') {
|
21
|
document.getElementById('operating_system_linux').checked = false;
|
22
|
document.getElementById('operating_system_windows').checked = true;
|
23
|
document.getElementById('file_perms_box1').style.display = 'none';
|
24
|
document.getElementById('file_perms_box2').style.display = 'none';
|
25
|
document.getElementById('file_perms_box3').style.display = 'none';
|
26
|
}
|
27
|
}
|
28
|
function change_page_trash(type) {
|
29
|
if(type == 'inline') {
|
30
|
document.getElementById("page_trash_disabled").checked = false;
|
31
|
document.getElementById("page_trash_inline").checked = true;
|
32
|
document.getElementById("page_trash_separate").checked = false;
|
33
|
} else if(type == 'separate') {
|
34
|
document.getElementById("page_trash_disabled").checked = false;
|
35
|
document.getElementById("page_trash_inline").checked = false;
|
36
|
document.getElementById("page_trash_separate").checked = true;
|
37
|
} else {
|
38
|
document.getElementById("page_trash_disabled").checked = true;
|
39
|
document.getElementById("page_trash_inline").checked = false;
|
40
|
document.getElementById("page_trash_separate").checked = false;
|
41
|
}
|
42
|
}
|
43
|
</script>
|
44
|
|
45
|
<style>
|
46
|
.settings_table td {
|
47
|
vertical-align: top;
|
48
|
text-align: left;
|
49
|
}
|
50
|
.setting_name {
|
51
|
width: 180px;
|
52
|
}
|
53
|
.setting_value input, .setting_value select, .setting_value textarea {
|
54
|
width: 100%;
|
55
|
}
|
56
|
.setting_value textarea {
|
57
|
height: 65px;
|
58
|
}
|
59
|
#file_mode input {
|
60
|
width: 12px;
|
61
|
height: 12px;
|
62
|
}
|
63
|
#dir_mode input {
|
64
|
width: 12px;
|
65
|
height: 12px;
|
66
|
}
|
67
|
.advanced {
|
68
|
display: {DISPLAY_ADVANCED};
|
69
|
}
|
70
|
.save, .reset {
|
71
|
width: 100px;
|
72
|
}
|
73
|
#hide2 {
|
74
|
display: none;
|
75
|
}
|
76
|
</style>
|
77
|
|
78
|
<form name="settings" action="save.php" method="post">
|
79
|
<input type="hidden" name="advanced" value="{ADVANCED}" />
|
80
|
|
81
|
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table">
|
82
|
<tr>
|
83
|
<td colspan="3">
|
84
|
<h2>{HEADING_GENERAL_SETTINGS}</h2>
|
85
|
</td>
|
86
|
</tr>
|
87
|
<tr>
|
88
|
<td class="setting_name">{TEXT_WEBSITE_TITLE}:</td>
|
89
|
<td class="setting_value" colspan="2">
|
90
|
<input type="text" name="website_title" value="{WEBSITE_TITLE}" />
|
91
|
</td>
|
92
|
<script language="javascript" type="text/javascript">
|
93
|
document.settings.title.focus();
|
94
|
</script>
|
95
|
</tr>
|
96
|
<tr>
|
97
|
<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td>
|
98
|
<td class="setting_value" colspan="2">
|
99
|
<textarea name="website_description">{WEBSITE_DESCRIPTION}</textarea>
|
100
|
</td>
|
101
|
</tr>
|
102
|
<tr>
|
103
|
<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td>
|
104
|
<td class="setting_value" colspan="2">
|
105
|
<textarea name="website_keywords">{WEBSITE_KEYWORDS}</textarea>
|
106
|
</td>
|
107
|
</tr>
|
108
|
<tr class="advanced">
|
109
|
<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td>
|
110
|
<td class="setting_value" colspan="2">
|
111
|
<textarea name="website_header">{WEBSITE_HEADER}</textarea>
|
112
|
</td>
|
113
|
</tr>
|
114
|
<tr>
|
115
|
<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td>
|
116
|
<td class="setting_value" colspan="2">
|
117
|
<textarea name="website_footer">{WEBSITE_FOOTER}</textarea>
|
118
|
</td>
|
119
|
</tr>
|
120
|
<tr>
|
121
|
<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td>
|
122
|
<td class="setting_value" colspan="2">
|
123
|
<select name="page_level_limit">
|
124
|
<!-- BEGIN page_level_limit_list_block -->
|
125
|
<option value="{NUMBER}"{SELECTED}>{NUMBER}</option>
|
126
|
<!-- END page_level_limit_list_block -->
|
127
|
</select>
|
128
|
</td>
|
129
|
</tr>
|
130
|
<tr>
|
131
|
<td class="setting_name">{TEXT_PAGE_TRASH}:</td>
|
132
|
<td class="setting_value" colspan="2">
|
133
|
<input type="radio" name="page_trash" id="page_trash_disabled" style="width: 14px; height: 14px;" value="disabled"{PAGE_TRASH_DISABLED} />
|
134
|
<font style="cursor: pointer;" onclick="javascript: change_page_trash('disabled');">{TEXT_DISABLED}</font>
|
135
|
<input type="radio" name="page_trash" id="page_trash_inline" style="width: 14px; height: 14px;" value="inline"{PAGE_TRASH_INLINE} />
|
136
|
<font style="cursor: pointer;" onclick="javascript: change_page_trash('inline');">{TEXT_INLINE}</font>
|
137
|
<input type="radio" name="page_trash" id="page_trash_separate" style="width: 14px; height: 14px;" value="separate"{PAGE_TRASH_SEPARATE} />
|
138
|
<font style="cursor: pointer;" onclick="javascript: change_page_trash('separate');">{TEXT_SEPARATE}</font>
|
139
|
</td>
|
140
|
</tr>
|
141
|
<tr class="advanced">
|
142
|
<td class="setting_name">{TEXT_PAGE_LANGUAGES}:</td>
|
143
|
<td class="setting_value" colspan="2">
|
144
|
<input type="radio" name="page_languages" id="page_languages_true" style="width: 14px; height: 14px;" value="true"{PAGE_LANGUAGES_ENABLED} />
|
145
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('page_languages', true);">{TEXT_ENABLED}</font>
|
146
|
<input type="radio" name="page_languages" id="page_languages_false" style="width: 14px; height: 14px;" value="false"{PAGE_LANGUAGES_DISABLED} />
|
147
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('page_languages', false);">{TEXT_DISABLED}</font>
|
148
|
</td>
|
149
|
</tr>
|
150
|
<tr class="advanced">
|
151
|
<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td>
|
152
|
<td class="setting_value" colspan="2">
|
153
|
<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} />
|
154
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('multiple_menus', true);">{TEXT_ENABLED}</font>
|
155
|
<input type="radio" name="multiple_menus" id="multiple_menus_false" style="width: 14px; height: 14px;" value="false"{MULTIPLE_MENUS_DISABLED} />
|
156
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('multiple_menus', false);">{TEXT_DISABLED}</font>
|
157
|
</td>
|
158
|
</tr>
|
159
|
<tr>
|
160
|
<td class="setting_name">{TEXT_HOME_FOLDERS}:</td>
|
161
|
<td class="setting_value" colspan="2">
|
162
|
<input type="radio" name="home_folders" id="home_folders_true" style="width: 14px; height: 14px;" value="true"{HOME_FOLDERS_ENABLED} />
|
163
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('home_folders', true);">{TEXT_ENABLED}</font>
|
164
|
<input type="radio" name="home_folders" id="home_folders_false" style="width: 14px; height: 14px;" value="false"{HOME_FOLDERS_DISABLED} />
|
165
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('home_folders', false);">{TEXT_DISABLED}</font>
|
166
|
</td>
|
167
|
</tr>
|
168
|
<tr class="advanced">
|
169
|
<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td>
|
170
|
<td class="setting_value" colspan="2">
|
171
|
<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} />
|
172
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('manage_sections', true);">{TEXT_ENABLED}</font>
|
173
|
<input type="radio" name="manage_sections" id="manage_sections_false" style="width: 14px; height: 14px;" value="false"{MANAGE_SECTIONS_DISABLED} />
|
174
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('manage_sections', false);">{TEXT_DISABLED}</font>
|
175
|
</td>
|
176
|
</tr>
|
177
|
<tr class="advanced">
|
178
|
<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td>
|
179
|
<td class="setting_value" colspan="2">
|
180
|
<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} />
|
181
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('section_blocks', true);">{TEXT_ENABLED}</font>
|
182
|
<input type="radio" name="section_blocks" id="section_blocks_false" style="width: 14px; height: 14px;" value="false"{SECTION_BLOCKS_DISABLED} />
|
183
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('section_blocks', false);">{TEXT_DISABLED}</font>
|
184
|
</td>
|
185
|
</tr>
|
186
|
<tr>
|
187
|
<td class="setting_name">{TEXT_INTRO_PAGE}:</td>
|
188
|
<td class="setting_value" colspan="2">
|
189
|
<input type="radio" name="intro_page" id="intro_page_true" style="width: 14px; height: 14px;" value="true"{INTRO_PAGE_ENABLED} />
|
190
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('intro_page', true);">{TEXT_ENABLED}</font>
|
191
|
<input type="radio" name="intro_page" id="intro_page_false" style="width: 14px; height: 14px;" value="false"{INTRO_PAGE_DISABLED} />
|
192
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('intro_page', false);">{TEXT_DISABLED}</font>
|
193
|
</td>
|
194
|
</tr>
|
195
|
<tr class="advanced">
|
196
|
<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td>
|
197
|
<td class="setting_value" colspan="2">
|
198
|
<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} />
|
199
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('homepage_redirection', true);">{TEXT_ENABLED}</font>
|
200
|
<input type="radio" name="homepage_redirection" id="homepage_redirection_false" style="width: 14px; height: 14px;" value="false"{HOMEPAGE_REDIRECTION_DISABLED} />
|
201
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('homepage_redirection', false);">{TEXT_DISABLED}</font>
|
202
|
</td>
|
203
|
</tr>
|
204
|
<tr class="advanced">
|
205
|
<td class="setting_name">{TEXT_SMART_LOGIN}:</td>
|
206
|
<td class="setting_value" colspan="2">
|
207
|
<input type="radio" name="smart_login" id="smart_login_true" style="width: 14px; height: 14px;" value="true"{SMART_LOGIN_ENABLED} />
|
208
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('smart_login', true);">{TEXT_ENABLED}</font>
|
209
|
<input type="radio" name="smart_login" id="smart_login_false" style="width: 14px; height: 14px;" value="false"{SMART_LOGIN_DISABLED} />
|
210
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('smart_login', false);">{TEXT_DISABLED}</font>
|
211
|
</td>
|
212
|
</tr>
|
213
|
<tr>
|
214
|
<td class="setting_name">{TEXT_LOGIN}:</td>
|
215
|
<td class="setting_value" colspan="2">
|
216
|
<input type="radio" name="frontend_login" id="frontend_login_true" style="width: 14px; height: 14px;" value="true"{PRIVATE_ENABLED} />
|
217
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('frontend_login', true);">{TEXT_ENABLED}</font>
|
218
|
<input type="radio" name="frontend_login" id="frontend_login_false" style="width: 14px; height: 14px;" value="false"{PRIVATE_DISABLED} />
|
219
|
<font style="cursor: pointer;" onclick="javascript: toggle_radio('frontend_login', false);">{TEXT_DISABLED}</font>
|
220
|
</td>
|
221
|
</tr>
|
222
|
<tr>
|
223
|
<td class="setting_name">{TEXT_SIGNUP}:</td>
|
224
|
<td class="setting_value" colspan="2">
|
225
|
<select name="frontend_signup">
|
226
|
<option value="false">{TEXT_DISABLED}</option>
|
227
|
<!-- BEGIN group_list_block -->
|
228
|
<option value="{ID}" {SELECTED}>{NAME}</option>
|
229
|
<!-- END group_list_block -->
|
230
|
</select>
|
231
|
</td>
|
232
|
</tr>
|
233
|
<tr class="advanced">
|
234
|
<td class="setting_name">{TEXT_PHP_ERROR_LEVEL}:</td>
|
235
|
<td class="setting_value" colspan="2">
|
236
|
<select name="er_level">
|
237
|
<option value="">{TEXT_PLEASE_SELECT}...</option>
|
238
|
<!-- BEGIN error_reporting_list_block -->
|
239
|
<option value="{VALUE}"{SELECTED}>{NAME}</option>
|
240
|
<!-- END error_reporting_list_block -->
|
241
|
</select>
|
242
|
</td>
|
243
|
</tr>
|
244
|
<tr class="advanced">
|
245
|
<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td>
|
246
|
<td class="setting_value" colspan="2">
|
247
|
<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" />
|
248
|
</td>
|
249
|
</tr>
|
250
|
<tr class="advanced">
|
251
|
<td class="setting_name">{TEXT_SERVER_EMAIL}:</td>
|
252
|
<td class="setting_value" colspan="2">
|
253
|
<input type="text" name="server_email" value="{SERVER_EMAIL}" />
|
254
|
</td>
|
255
|
</tr>
|
256
|
<tr>
|
257
|
<td class="setting_name">{TEXT_EDITOR}:</td>
|
258
|
<td class="setting_value" colspan="2">
|
259
|
<select name="wysiwyg_editor">
|
260
|
<!-- BEGIN editor_list_block -->
|
261
|
<option value="{FILE}"{SELECTED}>{NAME}</option>
|
262
|
<!-- END editor_list_block -->
|
263
|
</select>
|
264
|
</td>
|
265
|
</tr>
|
266
|
<tr>
|
267
|
<td> </td>
|
268
|
<td>
|
269
|
<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
|
270
|
<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
|
271
|
</td>
|
272
|
<td style="text-align: right;">
|
273
|
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
|
274
|
</td>
|
275
|
</tr>
|
276
|
<tr>
|
277
|
<td colspan="3" style="padding-top: 10px;">
|
278
|
<h2>{HEADING_DEFAULT_SETTINGS}</h2>
|
279
|
</td>
|
280
|
</tr>
|
281
|
<tr>
|
282
|
<td class="setting_name">{TEXT_LANGUAGE}:</td>
|
283
|
<td class="setting_value" colspan="2">
|
284
|
<select name="default_language">
|
285
|
<!-- BEGIN language_list_block -->
|
286
|
<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
|
287
|
<!-- END language_list_block -->
|
288
|
</select>
|
289
|
</td>
|
290
|
</tr>
|
291
|
<tr>
|
292
|
<td class="setting_name">{TEXT_TIMEZONE}:</td>
|
293
|
<td class="setting_value" colspan="2">
|
294
|
<select name="default_timezone">
|
295
|
<option value="0">{TEXT_PLEASE_SELECT}...</option>
|
296
|
<!-- BEGIN timezone_list_block -->
|
297
|
<option value="{VALUE}" {SELECTED}>{NAME}</option>
|
298
|
<!-- END timezone_list_block -->
|
299
|
</select>
|
300
|
</td>
|
301
|
</tr>
|
302
|
<tr>
|
303
|
<td class="setting_name">{TEXT_DATE_FORMAT}:</td>
|
304
|
<td class="setting_value" colspan="2">
|
305
|
<select name="default_date_format">
|
306
|
<option value="M d Y">{TEXT_PLEASE_SELECT}...</option>
|
307
|
<!-- BEGIN date_format_list_block -->
|
308
|
<option value="{VALUE}" {SELECTED}>{NAME}</option>
|
309
|
<!-- END date_format_list_block -->
|
310
|
</select>
|
311
|
</td>
|
312
|
</tr>
|
313
|
<tr>
|
314
|
<td class="setting_name">{TEXT_TIME_FORMAT}:</td>
|
315
|
<td class="setting_value" colspan="2">
|
316
|
<select name="default_time_format">
|
317
|
<option value="g:i A">{TEXT_PLEASE_SELECT}...</option>
|
318
|
<!-- BEGIN time_format_list_block -->
|
319
|
<option value="{VALUE}" {SELECTED}>{NAME}</option>
|
320
|
<!-- END time_format_list_block -->
|
321
|
</select>
|
322
|
</td>
|
323
|
</tr>
|
324
|
<tr>
|
325
|
<td class="setting_name">{TEXT_TEMPLATE}:</td>
|
326
|
<td class="setting_value" colspan="2">
|
327
|
<select name="default_template">
|
328
|
<!-- BEGIN template_list_block -->
|
329
|
<option value="{FILE}"{SELECTED}>{NAME}</option>
|
330
|
<!-- END template_list_block -->
|
331
|
</select>
|
332
|
</td>
|
333
|
</tr>
|
334
|
<tr>
|
335
|
<td> </td>
|
336
|
<td>
|
337
|
<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
|
338
|
<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
|
339
|
</td>
|
340
|
<td style="text-align: right;">
|
341
|
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
|
342
|
</td>
|
343
|
</tr>
|
344
|
<tr>
|
345
|
<td colspan="3" style="padding-top: 10px;">
|
346
|
<h2>{HEADING_SEARCH_SETTINGS}</h2>
|
347
|
</td>
|
348
|
</tr>
|
349
|
<tr>
|
350
|
<td class="setting_name">{TEXT_VISIBILITY}:</td>
|
351
|
<td class="setting_value" colspan="2">
|
352
|
<select name="search">
|
353
|
<option value="public">{TEXT_PUBLIC}</option>
|
354
|
<option value="private" {PRIVATE_SEARCH}>{TEXT_PRIVATE}</option>
|
355
|
<option value="registered" {REGISTERED_SEARCH}>{TEXT_REGISTERED}</option>
|
356
|
<option value="none" {NONE_SEARCH}>{TEXT_NONE}</option>
|
357
|
</select>
|
358
|
</td>
|
359
|
</tr>
|
360
|
<tr>
|
361
|
<td class="setting_name">{TEXT_TEMPLATE}:</td>
|
362
|
<td class="setting_value" colspan="2">
|
363
|
<select name="search_template">
|
364
|
<!-- BEGIN search_template_list_block -->
|
365
|
<option value="{FILE}"{SELECTED}>{NAME}</option>
|
366
|
<!-- END search_template_list_block -->
|
367
|
</select>
|
368
|
</td>
|
369
|
</tr>
|
370
|
<tr class="advanced">
|
371
|
<td class="setting_name">{TEXT_HEADER}:</td>
|
372
|
<td class="setting_value" colspan="2">
|
373
|
<textarea name="search_header" style="height: 100px;">{SEARCH_HEADER}</textarea>
|
374
|
</td>
|
375
|
</tr>
|
376
|
<tr class="advanced">
|
377
|
<td class="setting_name">{TEXT_RESULTS_HEADER}:</td>
|
378
|
<td class="setting_value" colspan="2">
|
379
|
<textarea name="search_results_header">{SEARCH_RESULTS_HEADER}</textarea>
|
380
|
</td>
|
381
|
</tr>
|
382
|
<tr class="advanced">
|
383
|
<td class="setting_name">{TEXT_RESULTS_LOOP}:</td>
|
384
|
<td class="setting_value" colspan="2">
|
385
|
<textarea name="search_results_loop">{SEARCH_RESULTS_LOOP}</textarea>
|
386
|
</td>
|
387
|
</tr>
|
388
|
<tr class="advanced">
|
389
|
<td class="setting_name">{TEXT_RESULTS_FOOTER}:</td>
|
390
|
<td class="setting_value" colspan="2">
|
391
|
<textarea name="search_results_footer">{SEARCH_RESULTS_FOOTER}</textarea>
|
392
|
</td>
|
393
|
</tr>
|
394
|
<tr class="advanced">
|
395
|
<td class="setting_name">{TEXT_NO_RESULTS}:</td>
|
396
|
<td class="setting_value" colspan="2">
|
397
|
<input type="text" name="search_no_results" value="{SEARCH_NO_RESULTS}" />
|
398
|
</td>
|
399
|
</tr>
|
400
|
<tr class="advanced">
|
401
|
<td class="setting_name">{TEXT_FOOTER}:</td>
|
402
|
<td class="setting_value" colspan="2">
|
403
|
<textarea name="search_footer">{SEARCH_FOOTER}</textarea>
|
404
|
</td>
|
405
|
</tr>
|
406
|
<tr>
|
407
|
<td> </td>
|
408
|
<td>
|
409
|
<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
|
410
|
<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
|
411
|
</td>
|
412
|
<td style="text-align: right;">
|
413
|
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
|
414
|
</td>
|
415
|
</tr>
|
416
|
<tr>
|
417
|
<td colspan="3" style="padding-top: 10px;">
|
418
|
<h2>{HEADING_SERVER_SETTINGS}</h2>
|
419
|
</td>
|
420
|
</tr>
|
421
|
<tr>
|
422
|
<td class="setting_name">{TEXT_SERVER_OPERATING_SYSTEM}:</td>
|
423
|
<td class="setting_value" colspan="2">
|
424
|
<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} />
|
425
|
<font style="cursor: pointer;" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</font>
|
426
|
<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
|
427
|
<font style="cursor: pointer;" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</font>
|
428
|
</td>
|
429
|
</tr>
|
430
|
<tr>
|
431
|
<td class="setting_name"><div id="{BASIC_FILE_PERMS_ID}1" style="margin: 0; padding: 0;"> </div></td>
|
432
|
<td class="setting_value" colspan="3">
|
433
|
<div id="{BASIC_FILE_PERMS_ID}2" style="margin: 0; padding: 0;">
|
434
|
<input type="checkbox" name="world_writeable" id="world_writeable" style="width: 14px; height: 14px;" value="true"{WORLD_WRITEABLE_SELECTED} />
|
435
|
<font style="cursor: pointer;" onclick="javascript: toggle_checkbox('world_writeable');">
|
436
|
{TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS} (777)
|
437
|
</font>
|
438
|
<br />
|
439
|
<font class="note">({WORLD_WRITEABLE_WARNING})</font>
|
440
|
</div>
|
441
|
<div id="{BASIC_FILE_PERMS_ID}3" style="margin: 0; padding: 0;"></div>
|
442
|
</td>
|
443
|
</tr>
|
444
|
<tr class="advanced">
|
445
|
<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
|
446
|
<td class="setting_value" id="file_mode" align="left">
|
447
|
<table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-right: 1px solid #DDDDDD;" id="{ADVANCED_FILE_PERMS_ID}2">
|
448
|
<tr>
|
449
|
<td colspan="3" style="text-align: center; font-weight: bold;">
|
450
|
{TEXT_FILES}:
|
451
|
</td>
|
452
|
</tr>
|
453
|
<tr>
|
454
|
<td>{TEXT_USER}:</td>
|
455
|
<td>{TEXT_GROUP}:</td>
|
456
|
<td>{TEXT_OTHERS}:</td>
|
457
|
</tr>
|
458
|
<tr>
|
459
|
<td>
|
460
|
<input type="checkbox" name="file_u_r" id="file_u_r" value="true"{FILE_U_R_CHECKED} />
|
461
|
<font onclick="javascript: toggle_checkbox('file_u_r');" style="cursor: default;">{TEXT_READ}</font>
|
462
|
<br />
|
463
|
<input type="checkbox" name="file_u_w" id="file_u_w" value="true"{FILE_U_W_CHECKED} />
|
464
|
<font onclick="javascript: toggle_checkbox('file_u_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
465
|
<br />
|
466
|
<input type="checkbox" name="file_u_e" id="file_u_e" value="true"{FILE_U_E_CHECKED} />
|
467
|
<font onclick="javascript: toggle_checkbox('file_u_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
468
|
</td>
|
469
|
<td>
|
470
|
<input type="checkbox" name="file_g_r" id="file_g_r" value="true"{FILE_G_R_CHECKED} />
|
471
|
<font onclick="javascript: toggle_checkbox('file_g_r');" style="cursor: default;">{TEXT_READ}</font>
|
472
|
<br />
|
473
|
<input type="checkbox" name="file_g_w" id="file_g_w" value="true"{FILE_G_W_CHECKED} />
|
474
|
<font onclick="javascript: toggle_checkbox('file_g_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
475
|
<br />
|
476
|
<input type="checkbox" name="file_g_e" id="file_g_e" value="true"{FILE_G_E_CHECKED} />
|
477
|
<font onclick="javascript: toggle_checkbox('file_g_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
478
|
</td>
|
479
|
<td>
|
480
|
<input type="checkbox" name="file_o_r" id="file_o_r" value="true"{FILE_O_R_CHECKED} />
|
481
|
<font onclick="javascript: toggle_checkbox('file_o_r');" style="cursor: default;">{TEXT_READ}</font>
|
482
|
<br />
|
483
|
<input type="checkbox" name="file_o_w" id="file_o_w" value="true"{FILE_O_W_CHECKED} />
|
484
|
<font onclick="javascript: toggle_checkbox('file_o_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
485
|
<br />
|
486
|
<input type="checkbox" name="file_o_e" id="file_o_e" value="true"{FILE_O_E_CHECKED} />
|
487
|
<font onclick="javascript: toggle_checkbox('file_o_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
488
|
</td>
|
489
|
</tr>
|
490
|
</table>
|
491
|
</td>
|
492
|
<td class="setting_value" id="dir_mode" style="text-align: right;">
|
493
|
<table cellpadding="2" cellspacing="0" border="0" width="100%" id="{ADVANCED_FILE_PERMS_ID}3">
|
494
|
<tr>
|
495
|
<td colspan="3" style="text-align: center; font-weight: bold;">
|
496
|
{TEXT_DIRECTORIES}:
|
497
|
</td>
|
498
|
</tr>
|
499
|
<tr>
|
500
|
<td>{TEXT_USER}:</td>
|
501
|
<td>{TEXT_GROUP}:</td>
|
502
|
<td>{TEXT_OTHERS}:</td>
|
503
|
</tr>
|
504
|
<tr>
|
505
|
<td>
|
506
|
<input type="checkbox" name="dir_u_r" id="dir_u_r" value="true"{DIR_U_R_CHECKED} />
|
507
|
<font onclick="javascript: toggle_checkbox('dir_u_r');" style="cursor: default;">{TEXT_READ}</font>
|
508
|
<br />
|
509
|
<input type="checkbox" name="dir_u_w" id="dir_u_w" value="true"{DIR_U_W_CHECKED} />
|
510
|
<font onclick="javascript: toggle_checkbox('dir_u_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
511
|
<br />
|
512
|
<input type="checkbox" name="dir_u_e" id="dir_u_e" value="true"{DIR_U_E_CHECKED} />
|
513
|
<font onclick="javascript: toggle_checkbox('dir_u_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
514
|
</td>
|
515
|
<td>
|
516
|
<input type="checkbox" name="dir_g_r" id="dir_g_r" value="true"{DIR_G_R_CHECKED} />
|
517
|
<font onclick="javascript: toggle_checkbox('dir_g_r');" style="cursor: default;">{TEXT_READ}</font>
|
518
|
<br />
|
519
|
<input type="checkbox" name="dir_g_w" id="dir_g_w" value="true"{DIR_G_W_CHECKED} />
|
520
|
<font onclick="javascript: toggle_checkbox('dir_g_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
521
|
<br />
|
522
|
<input type="checkbox" name="dir_g_e" id="dir_g_e" value="true"{DIR_G_E_CHECKED} />
|
523
|
<font onclick="javascript: toggle_checkbox('dir_g_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
524
|
</td>
|
525
|
<td>
|
526
|
<input type="checkbox" name="dir_o_r" id="dir_o_r" value="true"{DIR_O_R_CHECKED} />
|
527
|
<font onclick="javascript: toggle_checkbox('dir_o_r');" style="cursor: default;">{TEXT_READ}</font>
|
528
|
<br />
|
529
|
<input type="checkbox" name="dir_o_w" id="dir_o_w" value="true"{DIR_O_W_CHECKED} />
|
530
|
<font onclick="javascript: toggle_checkbox('dir_o_w');" style="cursor: default;">{TEXT_WRITE}</font>
|
531
|
<br />
|
532
|
<input type="checkbox" name="dir_o_e" id="dir_o_e" value="true"{DIR_O_E_CHECKED} />
|
533
|
<font onclick="javascript: toggle_checkbox('dir_o_e');" style="cursor: default;">{TEXT_EXECUTE}</font>
|
534
|
</td>
|
535
|
</tr>
|
536
|
</table>
|
537
|
</td>
|
538
|
</tr>
|
539
|
<tr class="advanced">
|
540
|
<td class="setting_name">{TEXT_PAGES_DIRECTORY}:</td>
|
541
|
<td class="setting_value" colspan="2">
|
542
|
<input type="text" name="pages_directory" value="{PAGES_DIRECTORY}" />
|
543
|
</td>
|
544
|
</tr>
|
545
|
<tr class="advanced">
|
546
|
<td class="setting_name">{TEXT_MEDIA_DIRECTORY}:</td>
|
547
|
<td class="setting_value" colspan="2">
|
548
|
<input type="text" name="media_directory" value="{MEDIA_DIRECTORY}" />
|
549
|
</td>
|
550
|
</tr>
|
551
|
<tr class="advanced">
|
552
|
<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
|
553
|
<td class="setting_value" colspan="2">
|
554
|
<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
|
555
|
</td>
|
556
|
</tr>
|
557
|
<tr class="advanced">
|
558
|
<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
|
559
|
<td class="setting_value" colspan="2">
|
560
|
<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
|
561
|
</td>
|
562
|
</tr>
|
563
|
<tr class="advanced">
|
564
|
<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
|
565
|
<td class="setting_value" colspan="2">
|
566
|
<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
|
567
|
</td>
|
568
|
</tr>
|
569
|
<tr class="advanced">
|
570
|
<td class="setting_name">{TEXT_APP_NAME}:</td>
|
571
|
<td class="setting_value" colspan="2">
|
572
|
<input type="text" name="app_name" value="{APP_NAME}" />
|
573
|
</td>
|
574
|
</tr>
|
575
|
<tr class="advanced">
|
576
|
<td colspan="3" style="padding-top: 10px;">
|
577
|
<h2>{HEADING_ADMINISTRATION_TOOLS}</h2>
|
578
|
</td>
|
579
|
</tr>
|
580
|
<tr class="advanced">
|
581
|
<td>
|
582
|
<!-- BEGIN tool_list_block -->
|
583
|
<a href="{ADMIN_URL}/settings/tool.php?tool={TOOL_DIR}">{TOOL_NAME}</a>
|
584
|
<!-- END tool_list_block -->
|
585
|
{TOOL_LIST}
|
586
|
</td>
|
587
|
<td>
|
588
|
|
589
|
</td>
|
590
|
<td> </td>
|
591
|
</tr>
|
592
|
<tr>
|
593
|
<td> </td>
|
594
|
<td>
|
595
|
<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
|
596
|
<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
|
597
|
</td>
|
598
|
<td style="text-align: right;">
|
599
|
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
|
600
|
</td>
|
601
|
</tr>
|
602
|
</table>
|
603
|
|
604
|
</form>
|
605
|
|
606
|
<hr />
|
607
|
|
608
|
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
|
609
|
|
610
|
<font class="{DISPLAY_ADVANCED_BUTTON}">
|
611
|
{MODE_SWITCH_WARNING}
|
612
|
</font>
|
613
|
|
614
|
<!-- END main_block -->
|