Project

General

Profile

« Previous | Next » 

Revision 552

Added by thorn almost 17 years ago

added new module-based search-function and publish-by-date code

View differences:

template.html
1
</div><!-- BEGIN main_block -->
2

  
3
<script language="javascript" type="text/javascript">
4
function change_os(type) {
5
	if(type == 'linux') {
6
		document.getElementById('file_perms_box1').style.display = 'block';
7
		document.getElementById('file_perms_box2').style.display = 'block';
8
		document.getElementById('file_perms_box3').style.display = 'block';
9
	} else if(type == 'windows') {
10
		document.getElementById('file_perms_box1').style.display = 'none';
11
		document.getElementById('file_perms_box2').style.display = 'none';
12
		document.getElementById('file_perms_box3').style.display = 'none';
13
	}
14
}
15

  
16
function change_wbmailer(type) {
17
	if(type == 'smtp') {
18
		document.getElementById('wbmailer_smtp_host').style.visibility = 'visible';
19
		document.getElementById('wbmailer_smtp_auth_mode').style.visibility = 'visible';
20
		document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
21
		document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
22
		if( document.settings.wbmailer_smtp_auth.checked == true ) {
23
			document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
24
			document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
25
		} else {
26
			document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
27
			document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
28
		}
29
	} else if(type == 'phpmail') {
30
		document.getElementById('wbmailer_smtp_host').style.visibility = 'hidden';
31
		document.getElementById('wbmailer_smtp_auth_mode').style.visibility = 'hidden';
32
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
33
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
34
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
35
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
36
	}
37
}
38

  
39
function toggle_wbmailer_auth() {
40
	if( document.settings.wbmailer_smtp_auth.checked == true ) {
41
		document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
42
		document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
43
	} else {
44
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
45
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
46
	}
47
}
48
</script>
49

  
50
<style>
51
.settings_table td {
52
	vertical-align: top;
53
	text-align: left;
54
}
55
.setting_name {
56
	width: 180px;
57
}
58
.setting_value input, .setting_value select, .setting_value textarea {
59
	width: 100%;
60
}
61
.setting_value textarea {
62
	height: 50px;
63
}
64
#file_mode input {
65
	width: 12px;
66
	height: 12px;
67
}
68
#dir_mode input {
69
	width: 12px;
70
	height: 12px;
71
}
72
.advanced {
73
	display: {DISPLAY_ADVANCED};
74
}
75
.save, .reset {
76
	width: 100px;
77
}
78
#hide2 {
79
	display: none;
80
}
81
</style>
82

  
83
<form name="settings" action="save.php" method="post">
84
<input type="hidden" name="advanced" value="{ADVANCED}" />
85

  
86
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table">
87
<tr>
88
	<td colspan="3">
89
		<h2>{HEADING_GENERAL_SETTINGS}</h2>
90
	</td>
91
</tr>
92
<tr>
93
	<td class="setting_name">{TEXT_WEBSITE_TITLE}:</td>
94
	<td class="setting_value" colspan="2">
95
		<input type="text" name="website_title" value="{WEBSITE_TITLE}" />
96
	</td>
97
	<script language="javascript" type="text/javascript">
98
	document.settings.website_title.focus();
99
	</script>
100
</tr>
101
<tr>
102
	<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td>
103
	<td class="setting_value" colspan="2">
104
		<textarea name="website_description">{WEBSITE_DESCRIPTION}</textarea>
105
	</td>
106
</tr>
107
<tr>
108
	<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td>
109
	<td class="setting_value" colspan="2">
110
		<textarea name="website_keywords">{WEBSITE_KEYWORDS}</textarea>
111
	</td>
112
</tr>
113
<tr class="advanced">
114
	<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td>
115
	<td class="setting_value" colspan="2">
116
		<textarea name="website_header">{WEBSITE_HEADER}</textarea>
117
	</td>
118
</tr>
119
<tr>
120
	<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td>
121
	<td class="setting_value" colspan="2">
122
		<textarea name="website_footer">{WEBSITE_FOOTER}</textarea>
123
	</td>
124
</tr>
125
<tr class="advanced">
126
	<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td>
127
	<td class="setting_value" colspan="2">
128
		<select name="page_level_limit">
129
		<!-- BEGIN page_level_limit_list_block -->
130
			<option value="{NUMBER}"{SELECTED}>{NUMBER}</option>
131
		<!-- END page_level_limit_list_block -->
132
		</select>
133
	</td>
134
</tr>
135
<tr>
136
	<td class="setting_name">{TEXT_PAGE_TRASH}:</td>
137
	<td class="setting_value" colspan="2">
138
		<input type="radio" name="page_trash" id="page_trash_disabled" style="width: 14px; height: 14px;" value="disabled"{PAGE_TRASH_DISABLED} />
139
		<label for="page_trash_disabled">{TEXT_DISABLED}</label>
140
		<input type="radio" name="page_trash" id="page_trash_inline" style="width: 14px; height: 14px;" value="inline"{PAGE_TRASH_INLINE} />
141
		<label for="page_trash_inline">{TEXT_INLINE}</label>
142
		<div style="margin: 0; padding: 0;{DISPLAY_PAGE_TRASH_SEPARATE}">
143
			<input type="radio" name="page_trash" id="page_trash_separate" style="width: 14px; height: 14px;" value="separate"{PAGE_TRASH_SEPARATE} />
144
			<label for="page_trash_separate">{TEXT_SEPARATE}</label>
145
		</div>
146
	</td>
147
</tr>
148
<tr class="advanced">
149
        <td class="setting_name">{TEXT_PAGE_LANGUAGES}:</td>
150
        <td class="setting_value" colspan="2">
151
                <input type="radio" name="page_languages" id="page_languages_true" style="width: 14px; height: 14px;" value="true"{PAGE_LANGUAGES_ENABLED} />
152
                <label for="page_languages_true">{TEXT_ENABLED}</label>
153
                <input type="radio" name="page_languages" id="page_languages_false" style="width: 14px; height: 14px;" value="false"{PAGE_LANGUAGES_DISABLED} />
154
                <label for="page_languages_false">{TEXT_DISABLED}</label>
155
		</td>
156
</tr>
157
<tr class="advanced">
158
	<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td>
159
	<td class="setting_value" colspan="2">
160
		<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} />
161
		<label for="multiple_menus_true">{TEXT_ENABLED}</label>
162
		<input type="radio" name="multiple_menus" id="multiple_menus_false" style="width: 14px; height: 14px;" value="false"{MULTIPLE_MENUS_DISABLED} />
163
		<label for="multiple_menus_false">{TEXT_DISABLED}</label>
164
	</td>
165
</tr>
166
<tr>
167
	<td class="setting_name">{TEXT_HOME_FOLDERS}:</td>
168
	<td class="setting_value" colspan="2">
169
		<input type="radio" name="home_folders" id="home_folders_true" style="width: 14px; height: 14px;" value="true"{HOME_FOLDERS_ENABLED} />
170
		<label for="home_folders_true">{TEXT_ENABLED}</label>
171
		<input type="radio" name="home_folders" id="home_folders_false" style="width: 14px; height: 14px;" value="false"{HOME_FOLDERS_DISABLED} />
172
		<label for="home_folders_false">{TEXT_DISABLED}</label>
173
	</td>
174
</tr>
175
<tr class="advanced">
176
	<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td>
177
	<td class="setting_value" colspan="2">
178
		<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} />
179
		<label for="manage_sections_true">{TEXT_ENABLED}</label>
180
		<input type="radio" name="manage_sections" id="manage_sections_false" style="width: 14px; height: 14px;" value="false"{MANAGE_SECTIONS_DISABLED} />
181
		<label for="manage_sections_false">{TEXT_DISABLED}</label>
182
	</td>
183
</tr>
184
<tr class="advanced">
185
	<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td>
186
	<td class="setting_value" colspan="2">
187
		<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} />
188
		<label for="section_blocks_true">{TEXT_ENABLED}</label>
189
		<input type="radio" name="section_blocks" id="section_blocks_false" style="width: 14px; height: 14px;" value="false"{SECTION_BLOCKS_DISABLED} />
190
		<label for="section_blocks_false">{TEXT_DISABLED}</label>
191
	</td>
192
</tr>
193
<tr>
194
	<td class="setting_name">{TEXT_INTRO_PAGE}:</td>
195
	<td class="setting_value" colspan="2">
196
		<input type="radio" name="intro_page" id="intro_page_true" style="width: 14px; height: 14px;" value="true"{INTRO_PAGE_ENABLED} />
197
		<label for="intro_page_true">{TEXT_ENABLED}</label>
198
		<input type="radio" name="intro_page" id="intro_page_false" style="width: 14px; height: 14px;" value="false"{INTRO_PAGE_DISABLED} />
199
		<label for="intro_page_false">{TEXT_DISABLED}</label>
200
	</td>
201
</tr>
202
<tr class="advanced">
203
	<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td>
204
	<td class="setting_value" colspan="2">
205
		<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} />
206
		<label for="homepage_redirection_true">{TEXT_ENABLED}</label>
207
		<input type="radio" name="homepage_redirection" id="homepage_redirection_false" style="width: 14px; height: 14px;" value="false"{HOMEPAGE_REDIRECTION_DISABLED} />
208
		<label for="homepage_redirection_false">{TEXT_DISABLED}</label>
209
	</td>
210
</tr>
211
<tr class="advanced">
212
	<td class="setting_name">{TEXT_SMART_LOGIN}:</td>
213
	<td class="setting_value" colspan="2">
214
		<input type="radio" name="smart_login" id="smart_login_true" style="width: 14px; height: 14px;" value="true"{SMART_LOGIN_ENABLED} />
215
		<label for="smart_login_true">{TEXT_ENABLED}</label>
216
		<input type="radio" name="smart_login" id="smart_login_false" style="width: 14px; height: 14px;" value="false"{SMART_LOGIN_DISABLED} />
217
		<label for="smart_login_false">{TEXT_DISABLED}</label>
218
	</td>
219
</tr>
220
<tr class="advanced" style="display: {GD_EXTENSION_LOADED};">
221
	<td class="setting_name">{TEXT_CAPTCHA_VERIFICATION}:</td>
222
	<td class="setting_value" colspan="2">
223
		<input type="radio" name="captcha_verification" id="captcha_verification_true" style="width: 14px; height: 14px;" value="true"{CAPTCHA_VERIFICATION_ENABLED} />
224
		<label for="captcha_verification_true">{TEXT_ENABLED}</label>
225
		<input type="radio" name="captcha_verification" id="captcha_verification_false" style="width: 14px; height: 14px;" value="false"{CAPTCHA_VERIFICATION_DISABLED} />
226
		<label for="captcha_verification_false">{TEXT_DISABLED}</label>
227
	</td>
228
</tr>
229
<tr>
230
	<td class="setting_name">{TEXT_LOGIN}:</td>
231
	<td class="setting_value" colspan="2">
232
		<input type="radio" name="frontend_login" id="frontend_login_true" style="width: 14px; height: 14px;" value="true"{PRIVATE_ENABLED} />
233
		<label for="frontend_login_true">{TEXT_ENABLED}</label>
234
		<input type="radio" name="frontend_login" id="frontend_login_false" style="width: 14px; height: 14px;" value="false"{PRIVATE_DISABLED} />
235
		<label for="frontend_login_false">{TEXT_DISABLED}</label>
236
	</td>
237
</tr>
238
<tr>
239
	<td class="setting_name">{TEXT_SIGNUP}:</td>
240
	<td class="setting_value" colspan="2">
241
		<select name="frontend_signup">
242
			<option value="false">{TEXT_DISABLED}</option>
243
			<!-- BEGIN group_list_block -->
244
				<option value="{ID}" {SELECTED}>{NAME}</option>
245
			<!-- END group_list_block -->
246
		</select>
247
	</td>
248
</tr>
249
<tr class="advanced">
250
	<td class="setting_name">{TEXT_PHP_ERROR_LEVEL}:</td>
251
	<td class="setting_value" colspan="2">
252
		<select name="er_level">
253
			<option value="">{TEXT_PLEASE_SELECT}...</option>
254
			<!-- BEGIN error_reporting_list_block -->
255
				<option value="{VALUE}"{SELECTED}>{NAME}</option>
256
			<!-- END error_reporting_list_block -->
257
		</select>
258
	</td>
259
</tr>
260
<tr class="advanced">
261
	<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td>
262
	<td class="setting_value" colspan="2">
263
		<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" />
264
	</td>
265
</tr>
266
<tr class="advanced">
267
	<td class="setting_name">{TEXT_SERVER_EMAIL}:</td>
268
	<td class="setting_value" colspan="2">
269
		<input type="text" name="server_email" value="{SERVER_EMAIL}" />
270
	</td>
271
</tr>
272
<tr class="advanced">
273
	<td class="setting_name">{TEXT_WYSIWYG_EDITOR}:</td>
274
	<td class="setting_value" colspan="2">
275
		<select name="wysiwyg_editor">
276
		<!-- BEGIN editor_list_block -->
277
			<option value="{FILE}"{SELECTED}>{NAME}</option>
278
		<!-- END editor_list_block -->
279
		</select>
280
	</td>
281
</tr>
282
<tr>
283
	<td>&nbsp;</td>
284
	<td>
285
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
286
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
287
	</td>
288
	<td style="text-align: right;">
289
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
290
	</td>
291
</tr>
292
<tr>
293
	<td colspan="3" style="padding-top: 10px;">
294
		<h2>{HEADING_DEFAULT_SETTINGS}</h2>
295
	</td>
296
</tr>
297
<tr>
298
	<td class="setting_name">{TEXT_LANGUAGE}:</td>
299
	<td class="setting_value" colspan="2">
300
		<select name="default_language">
301
			<!-- BEGIN language_list_block -->
302
			<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
303
			<!-- END language_list_block -->
304
		</select>
305
	</td>
306
</tr>
307
<tr class="advanced">
308
	<td class="setting_name">{TEXT_CHARSET}:</td>
309
	<td class="setting_value" colspan="2">
310
		<select name="default_charset">
311
			<option value="">{TEXT_PLEASE_SELECT}...</option>
312
			<!-- BEGIN charset_list_block -->
313
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
314
			<!-- END charset_list_block -->
315
		</select>
316
	</td>
317
</tr>
318
<tr>
319
	<td class="setting_name">{TEXT_TIMEZONE}:</td>
320
	<td class="setting_value" colspan="2">
321
		<select name="default_timezone">
322
			<option value="0">{TEXT_PLEASE_SELECT}...</option>
323
			<!-- BEGIN timezone_list_block -->
324
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
325
			<!-- END timezone_list_block -->
326
		</select>
327
	</td>
328
</tr>
329
<tr>
330
	<td class="setting_name">{TEXT_DATE_FORMAT}:</td>
331
	<td class="setting_value" colspan="2">
332
		<select name="default_date_format">
333
			<option value="M d Y">{TEXT_PLEASE_SELECT}...</option>
334
			<!-- BEGIN date_format_list_block -->
335
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
336
			<!-- END date_format_list_block -->
337
		</select>
338
	</td>
339
</tr>
340
<tr>
341
	<td class="setting_name">{TEXT_TIME_FORMAT}:</td>
342
	<td class="setting_value" colspan="2">
343
		<select name="default_time_format">
344
			<option value="g:i A">{TEXT_PLEASE_SELECT}...</option>
345
			<!-- BEGIN time_format_list_block -->
346
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
347
			<!-- END time_format_list_block -->
348
		</select>
349
	</td>
350
</tr>
351
<tr>
352
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
353
	<td class="setting_value" colspan="2">
354
		<select name="default_template">
355
		<!-- BEGIN template_list_block -->
356
			<option value="{FILE}"{SELECTED}>{NAME}</option>
357
		<!-- END template_list_block -->
358
		</select>
359
	</td>
360
</tr>
361
<tr>
362
	<td>&nbsp;</td>
363
	<td>
364
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
365
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
366
	</td>
367
	<td style="text-align: right;">
368
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
369
	</td>
370
</tr>
371
<tr>
372
	<td colspan="3" style="padding-top: 10px;">
373
		<h2>{HEADING_SEARCH_SETTINGS}</h2>
374
	</td>
375
</tr>
376
<tr>
377
	<td class="setting_name">{TEXT_VISIBILITY}:</td>
378
	<td class="setting_value" colspan="2">
379
		<select name="search">
380
			<option value="public">{TEXT_PUBLIC}</option>
381
			<option value="private" {PRIVATE_SEARCH}>{TEXT_PRIVATE}</option>
382
			<option value="registered" {REGISTERED_SEARCH}>{TEXT_REGISTERED}</option>
383
			<option value="none" {NONE_SEARCH}>{TEXT_NONE}</option>
384
		</select>
385
	</td>
386
</tr>
387
<tr>
388
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
389
	<td class="setting_value" colspan="2">
390
		<select name="search_template">
391
		<!-- BEGIN search_template_list_block -->
392
			<option value="{FILE}"{SELECTED}>{NAME}</option>
393
		<!-- END search_template_list_block -->
394
		</select>
395
	</td>
396
</tr>
397
<tr class="advanced">
398
	<td class="setting_name">{TEXT_HEADER}:</td>
399
	<td class="setting_value" colspan="2">
400
		<textarea name="search_header" style="height: 100px;">{SEARCH_HEADER}</textarea>
401
	</td>
402
</tr>
403
<tr class="advanced">
404
	<td class="setting_name">{TEXT_RESULTS_HEADER}:</td>
405
	<td class="setting_value" colspan="2">
406
		<textarea name="search_results_header">{SEARCH_RESULTS_HEADER}</textarea>
407
	</td>
408
</tr>
409
<tr class="advanced">
410
	<td class="setting_name">{TEXT_RESULTS_LOOP}:</td>
411
	<td class="setting_value" colspan="2">
412
		<textarea name="search_results_loop">{SEARCH_RESULTS_LOOP}</textarea>
413
	</td>
414
</tr>
415
<tr class="advanced">
416
	<td class="setting_name">{TEXT_RESULTS_FOOTER}:</td>
417
	<td class="setting_value" colspan="2">
418
		<textarea name="search_results_footer">{SEARCH_RESULTS_FOOTER}</textarea>
419
	</td>
420
</tr>
421
<tr class="advanced">
422
	<td class="setting_name">{TEXT_NO_RESULTS}:</td>
423
	<td class="setting_value" colspan="2">
424
		<input type="text" name="search_no_results" value="{SEARCH_NO_RESULTS}" />
425
	</td>
426
</tr>
427
<tr class="advanced">
428
	<td class="setting_name">{TEXT_FOOTER}:</td>
429
	<td class="setting_value" colspan="2">
430
		<textarea name="search_footer">{SEARCH_FOOTER}</textarea>
431
	</td>
432
</tr>
433
<tr>
434
	<td>&nbsp;</td>
435
	<td>
436
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
437
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
438
	</td>
439
	<td style="text-align: right;">
440
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
441
	</td>
442
</tr>
443
<tr>
444
	<td colspan="3" style="padding-top: 10px;">
445
		<h2>{HEADING_SERVER_SETTINGS}</h2>
446
	</td>
447
</tr>
448
<tr>
449
	<td class="setting_name">{TEXT_SERVER_OPERATING_SYSTEM}:</td>
450
	<td class="setting_value" colspan="2">
451
		<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} />
452
		<label for="operating_system_linux" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</label>
453
		<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
454
		<label for="operating_system_windows" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</label>
455
	</td>
456
</tr>
457
<tr>
458
	<td class="setting_name"><div id="{BASIC_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">&nbsp;</div></td>
459
	<td class="setting_value" colspan="3">
460
		<div id="{BASIC_FILE_PERMS_ID}2" style="margin: 0; padding: 0;">
461
			<input type="checkbox" name="world_writeable" id="world_writeable" style="width: 14px; height: 14px;" value="true"{WORLD_WRITEABLE_SELECTED} />
462
			<label for="world_writeable">
463
				{TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS} (777)
464
			</label>
465
			<br />
466
			<font class="note">({WORLD_WRITEABLE_WARNING})</font>
467
		</div>
468
		<div id="{BASIC_FILE_PERMS_ID}3" style="margin: 0; padding: 0;"></div>
469
	</td>
470
</tr>
471
<tr class="advanced">
472
	<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
473
	<td class="setting_value" id="file_mode" align="left">
474
		<table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-right: 1px solid #DDDDDD;" id="{ADVANCED_FILE_PERMS_ID}2">
475
		<tr>
476
			<td colspan="3" style="text-align: center; font-weight: bold;">
477
				{TEXT_FILES}:
478
			</td>
479
		</tr>
480
		<tr>
481
			<td>{TEXT_USER}:</td>
482
			<td>{TEXT_GROUP}:</td>
483
			<td>{TEXT_OTHERS}:</td>
484
		</tr>
485
		<tr>
486
			<td>
487
				<input type="checkbox" name="file_u_r" id="file_u_r" value="true"{FILE_U_R_CHECKED} />
488
				<label for="file_u_r">{TEXT_READ}</label>
489
				<br />
490
				<input type="checkbox" name="file_u_w" id="file_u_w" value="true"{FILE_U_W_CHECKED} />
491
				<label for="file_u_w">{TEXT_WRITE}</label>
492
				<br />
493
				<input type="checkbox" name="file_u_e" id="file_u_e" value="true"{FILE_U_E_CHECKED} />
494
				<label for="file_u_e">{TEXT_EXECUTE}</label>
495
			</td>
496
			<td>
497
				<input type="checkbox" name="file_g_r" id="file_g_r" value="true"{FILE_G_R_CHECKED} />
498
				<label for="file_g_r">{TEXT_READ}</label>
499
				<br />
500
				<input type="checkbox" name="file_g_w" id="file_g_w" value="true"{FILE_G_W_CHECKED} />
501
				<label for="file_g_w">{TEXT_WRITE}</label>
502
				<br />
503
				<input type="checkbox" name="file_g_e" id="file_g_e" value="true"{FILE_G_E_CHECKED} />
504
				<label for="file_g_e">{TEXT_EXECUTE}</label>
505
			</td>
506
			<td>
507
				<input type="checkbox" name="file_o_r" id="file_o_r" value="true"{FILE_O_R_CHECKED} />
508
				<label for="file_o_r">{TEXT_READ}</label>
509
				<br />
510
				<input type="checkbox" name="file_o_w" id="file_o_w" value="true"{FILE_O_W_CHECKED} />
511
				<label for="file_o_w">{TEXT_WRITE}</label>
512
				<br />
513
				<input type="checkbox" name="file_o_e" id="file_o_e" value="true"{FILE_O_E_CHECKED} />
514
				<label for="file_o_e">{TEXT_EXECUTE}</label>
515
			</td>
516
		</tr>
517
		</table>
518
	</td>
519
	<td class="setting_value" id="dir_mode" style="text-align: right;">
520
		<table cellpadding="2" cellspacing="0" border="0" width="100%" id="{ADVANCED_FILE_PERMS_ID}3">
521
		<tr>
522
			<td colspan="3" style="text-align: center; font-weight: bold;">
523
				{TEXT_DIRECTORIES}:
524
			</td>
525
		</tr>
526
		<tr>
527
			<td>{TEXT_USER}:</td>
528
			<td>{TEXT_GROUP}:</td>
529
			<td>{TEXT_OTHERS}:</td>
530
		</tr>
531
		<tr>
532
			<td>
533
				<input type="checkbox" name="dir_u_r" id="dir_u_r" value="true"{DIR_U_R_CHECKED} />
534
				<label for="dir_u_r">{TEXT_READ}</label>
535
				<br />
536
				<input type="checkbox" name="dir_u_w" id="dir_u_w" value="true"{DIR_U_W_CHECKED} />
537
				<label for="dir_u_w">{TEXT_WRITE}</label>
538
				<br />
539
				<input type="checkbox" name="dir_u_e" id="dir_u_e" value="true"{DIR_U_E_CHECKED} />
540
				<label for="dir_u_e">{TEXT_EXECUTE}</label>
541
			</td>
542
			<td>
543
				<input type="checkbox" name="dir_g_r" id="dir_g_r" value="true"{DIR_G_R_CHECKED} />
544
				<label for="dir_g_r">{TEXT_READ}</label>
545
				<br />
546
				<input type="checkbox" name="dir_g_w" id="dir_g_w" value="true"{DIR_G_W_CHECKED} />
547
				<label for="dir_g_w">{TEXT_WRITE}</label>
548
				<br />
549
				<input type="checkbox" name="dir_g_e" id="dir_g_e" value="true"{DIR_G_E_CHECKED} />
550
				<label for="dir_g_e">{TEXT_EXECUTE}</label>
551
			</td>
552
			<td>
553
				<input type="checkbox" name="dir_o_r" id="dir_o_r" value="true"{DIR_O_R_CHECKED} />
554
				<label for="dir_o_r">{TEXT_READ}</label>
555
				<br />
556
				<input type="checkbox" name="dir_o_w" id="dir_o_w" value="true"{DIR_O_W_CHECKED} />
557
				<label for="dir_o_w">{TEXT_WRITE}</label>
558
				<br />
559
				<input type="checkbox" name="dir_o_e" id="dir_o_e" value="true"{DIR_O_E_CHECKED} />
560
				<label for="dir_o_e">{TEXT_EXECUTE}</label>
561
			</td>
562
		</tr>
563
		</table>
564
	</td>
565
</tr>
566
<tr class="advanced">
567
	<td class="setting_name">{TEXT_PAGES_DIRECTORY}:</td>
568
	<td class="setting_value" colspan="2">
569
		<input type="text" name="pages_directory" value="{PAGES_DIRECTORY}" />
570
	</td>
571
</tr>
572
<tr class="advanced">
573
	<td class="setting_name">{TEXT_MEDIA_DIRECTORY}:</td>
574
	<td class="setting_value" colspan="2">
575
		<input type="text" name="media_directory" value="{MEDIA_DIRECTORY}" />
576
	</td>
577
</tr>
578
<!-- The following lines are deactivated as the Page Extension Feature doesn't work on every server
579
<tr class="advanced">
580
	<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
581
	<td class="setting_value" colspan="2">
582
		<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
583
	</td>
584
</tr>
585
-->
586
<tr class="advanced">
587
	<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
588
	<td class="setting_value" colspan="2">
589
		<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
590
	</td>
591
</tr>
592
<tr class="advanced">
593
	<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
594
	<td class="setting_value" colspan="2">
595
		<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
596
	</td>
597
</tr>
598
<tr class="advanced">
599
	<td class="setting_name">{TEXT_SESSION_IDENTIFIER}:</td>
600
	<td class="setting_value" colspan="2">
601
		<input type="text" name="app_name" value="{APP_NAME}" />
602
	</td>
603
</tr>
604
<tr>
605
	<td colspan="3" style="padding-top: 10px;">
606
		<h2>{HEADING_WBMAILER_SETTINGS}</h2>
607
		<div style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;">
608
			<strong> Please Note:</strong>
609
			<br \>
610
			{TEXT_WBMAILER_NOTICE}
611
		</div>
612
	</td>
613
</tr>
614
<tr>
615
	<td class="setting_name">{TEXT_WBMAILER_FUNCTION}:</td>
616
	<td class="setting_value" colspan="2">
617
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');" style="width: 14px; height: 14px;" value="phpmail"{PHPMAIL_SELECTED} />
618
		<label for="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');">{TEXT_WBMAILER_PHP}</label>
619
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');"" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
620
		<label for="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');">{TEXT_WBMAILER_SMTP}</label>
621
	</td>
622
</tr>
623
<tr id="wbmailer_smtp_host" style="visibility:{SMTP_VISIBILITY};">
624
	<td class="setting_name">{TEXT_WBMAILER_SMTP_HOST}:</td>
625
	<td class="setting_value" colspan="2">
626
		<input type="text" name="wbmailer_smtp_host" value="{WBMAILER_SMTP_HOST}" />
627
	</td>
628
</tr>
629
<tr id="wbmailer_smtp_auth_mode" style="visibility:{SMTP_VISIBILITY};">
630
	<td class="setting_name">{TEXT_WBMAILER_SMTP_AUTH}:</td>
631
	<td class="setting_value" colspan="3">
632
		<input type="checkbox" name="wbmailer_smtp_auth" id="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth();" style="width: 14px; height: 14px;" value="true"{SMTP_AUTH_SELECTED} />
633
		<label for="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth(this.value);">({TEXT_WBMAILER_SMTP_AUTH_NOTICE})</label>
634
	</td>
635
</tr>
636
<tr id="wbmailer_smtp_username" style="visibility:{SMTP_VISIBILITY_AUTH};">
637
	<td class="setting_name">{TEXT_WBMAILER_SMTP_USERNAME}:</td>
638
	<td class="setting_value" colspan="2">
639
		<input type="text" name="wbmailer_smtp_username" value="{WBMAILER_SMTP_USERNAME}" />
640
	</td>
641
</tr>
642
<tr id="wbmailer_smtp_password" style="visibility:{SMTP_VISIBILITY_AUTH};">
643
	<td class="setting_name">{TEXT_WBMAILER_SMTP_PASSWORD}:</td>
644
	<td class="setting_value" colspan="2">
645
		<input type="password" name="wbmailer_smtp_password" value="{WBMAILER_SMTP_PASSWORD}" />
646
	</td>
647
</tr>
648
<tr>
649
	<td>&nbsp;</td>
650
	<td>
651
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
652
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
653
	</td>
654
	<td style="text-align: right;">
655
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
656
	</td>
657
</tr>
658
</table>
659

  
660
</form>
661

  
662
<hr />
663

  
664
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
665

  
666
<font class="{DISPLAY_ADVANCED_BUTTON}">
667
&nbsp; {MODE_SWITCH_WARNING}
668
</font>
669

  
670
<!-- END main_block -->
1
</div><!-- BEGIN main_block -->
2

  
3
<script language="javascript" type="text/javascript">
4
function change_os(type) {
5
	if(type == 'linux') {
6
		document.getElementById('file_perms_box1').style.display = 'block';
7
		document.getElementById('file_perms_box2').style.display = 'block';
8
		document.getElementById('file_perms_box3').style.display = 'block';
9
	} else if(type == 'windows') {
10
		document.getElementById('file_perms_box1').style.display = 'none';
11
		document.getElementById('file_perms_box2').style.display = 'none';
12
		document.getElementById('file_perms_box3').style.display = 'none';
13
	}
14
}
15

  
16
function change_wbmailer(type) {
17
	if(type == 'smtp') {
18
		document.getElementById('wbmailer_smtp_host').style.visibility = 'visible';
19
		document.getElementById('wbmailer_smtp_auth_mode').style.visibility = 'visible';
20
		document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
21
		document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
22
		if( document.settings.wbmailer_smtp_auth.checked == true ) {
23
			document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
24
			document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
25
		} else {
26
			document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
27
			document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
28
		}
29
	} else if(type == 'phpmail') {
30
		document.getElementById('wbmailer_smtp_host').style.visibility = 'hidden';
31
		document.getElementById('wbmailer_smtp_auth_mode').style.visibility = 'hidden';
32
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
33
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
34
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
35
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
36
	}
37
}
38

  
39
function toggle_wbmailer_auth() {
40
	if( document.settings.wbmailer_smtp_auth.checked == true ) {
41
		document.getElementById('wbmailer_smtp_username').style.visibility = 'visible';
42
		document.getElementById('wbmailer_smtp_password').style.visibility = 'visible';
43
	} else {
44
		document.getElementById('wbmailer_smtp_username').style.visibility = 'hidden';
45
		document.getElementById('wbmailer_smtp_password').style.visibility = 'hidden';
46
	}
47
}
48
</script>
49

  
50
<style>
51
.settings_table td {
52
	vertical-align: top;
53
	text-align: left;
54
}
55
.setting_name {
56
	width: 180px;
57
}
58
.setting_value input, .setting_value select, .setting_value textarea {
59
	width: 100%;
60
}
61
.setting_value textarea {
62
	height: 50px;
63
}
64
#file_mode input {
65
	width: 12px;
66
	height: 12px;
67
}
68
#dir_mode input {
69
	width: 12px;
70
	height: 12px;
71
}
72
.advanced {
73
	display: {DISPLAY_ADVANCED};
74
}
75
.save, .reset {
76
	width: 100px;
77
}
78
#hide2 {
79
	display: none;
80
}
81
</style>
82

  
83
<form name="settings" action="save.php" method="post">
84
<input type="hidden" name="advanced" value="{ADVANCED}" />
85

  
86
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table">
87
<tr>
88
	<td colspan="3">
89
		<h2>{HEADING_GENERAL_SETTINGS}</h2>
90
	</td>
91
</tr>
92
<tr>
93
	<td class="setting_name">{TEXT_WEBSITE_TITLE}:</td>
94
	<td class="setting_value" colspan="2">
95
		<input type="text" name="website_title" value="{WEBSITE_TITLE}" />
96
	</td>
97
	<script language="javascript" type="text/javascript">
98
	document.settings.website_title.focus();
99
	</script>
100
</tr>
101
<tr>
102
	<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td>
103
	<td class="setting_value" colspan="2">
104
		<textarea name="website_description">{WEBSITE_DESCRIPTION}</textarea>
105
	</td>
106
</tr>
107
<tr>
108
	<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td>
109
	<td class="setting_value" colspan="2">
110
		<textarea name="website_keywords">{WEBSITE_KEYWORDS}</textarea>
111
	</td>
112
</tr>
113
<tr class="advanced">
114
	<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td>
115
	<td class="setting_value" colspan="2">
116
		<textarea name="website_header">{WEBSITE_HEADER}</textarea>
117
	</td>
118
</tr>
119
<tr>
120
	<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td>
121
	<td class="setting_value" colspan="2">
122
		<textarea name="website_footer">{WEBSITE_FOOTER}</textarea>
123
	</td>
124
</tr>
125
<tr class="advanced">
126
	<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td>
127
	<td class="setting_value" colspan="2">
128
		<select name="page_level_limit">
129
		<!-- BEGIN page_level_limit_list_block -->
130
			<option value="{NUMBER}"{SELECTED}>{NUMBER}</option>
131
		<!-- END page_level_limit_list_block -->
132
		</select>
133
	</td>
134
</tr>
135
<tr>
136
	<td class="setting_name">{TEXT_PAGE_TRASH}:</td>
137
	<td class="setting_value" colspan="2">
138
		<input type="radio" name="page_trash" id="page_trash_disabled" style="width: 14px; height: 14px;" value="disabled"{PAGE_TRASH_DISABLED} />
139
		<label for="page_trash_disabled">{TEXT_DISABLED}</label>
140
		<input type="radio" name="page_trash" id="page_trash_inline" style="width: 14px; height: 14px;" value="inline"{PAGE_TRASH_INLINE} />
141
		<label for="page_trash_inline">{TEXT_INLINE}</label>
142
		<div style="margin: 0; padding: 0;{DISPLAY_PAGE_TRASH_SEPARATE}">
143
			<input type="radio" name="page_trash" id="page_trash_separate" style="width: 14px; height: 14px;" value="separate"{PAGE_TRASH_SEPARATE} />
144
			<label for="page_trash_separate">{TEXT_SEPARATE}</label>
145
		</div>
146
	</td>
147
</tr>
148
<tr class="advanced">
149
        <td class="setting_name">{TEXT_PAGE_LANGUAGES}:</td>
150
        <td class="setting_value" colspan="2">
151
                <input type="radio" name="page_languages" id="page_languages_true" style="width: 14px; height: 14px;" value="true"{PAGE_LANGUAGES_ENABLED} />
152
                <label for="page_languages_true">{TEXT_ENABLED}</label>
153
                <input type="radio" name="page_languages" id="page_languages_false" style="width: 14px; height: 14px;" value="false"{PAGE_LANGUAGES_DISABLED} />
154
                <label for="page_languages_false">{TEXT_DISABLED}</label>
155
		</td>
156
</tr>
157
<tr class="advanced">
158
	<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td>
159
	<td class="setting_value" colspan="2">
160
		<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} />
161
		<label for="multiple_menus_true">{TEXT_ENABLED}</label>
162
		<input type="radio" name="multiple_menus" id="multiple_menus_false" style="width: 14px; height: 14px;" value="false"{MULTIPLE_MENUS_DISABLED} />
163
		<label for="multiple_menus_false">{TEXT_DISABLED}</label>
164
	</td>
165
</tr>
166
<tr>
167
	<td class="setting_name">{TEXT_HOME_FOLDERS}:</td>
168
	<td class="setting_value" colspan="2">
169
		<input type="radio" name="home_folders" id="home_folders_true" style="width: 14px; height: 14px;" value="true"{HOME_FOLDERS_ENABLED} />
170
		<label for="home_folders_true">{TEXT_ENABLED}</label>
171
		<input type="radio" name="home_folders" id="home_folders_false" style="width: 14px; height: 14px;" value="false"{HOME_FOLDERS_DISABLED} />
172
		<label for="home_folders_false">{TEXT_DISABLED}</label>
173
	</td>
174
</tr>
175
<tr class="advanced">
176
	<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td>
177
	<td class="setting_value" colspan="2">
178
		<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} />
179
		<label for="manage_sections_true">{TEXT_ENABLED}</label>
180
		<input type="radio" name="manage_sections" id="manage_sections_false" style="width: 14px; height: 14px;" value="false"{MANAGE_SECTIONS_DISABLED} />
181
		<label for="manage_sections_false">{TEXT_DISABLED}</label>
182
	</td>
183
</tr>
184
<tr class="advanced">
185
	<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td>
186
	<td class="setting_value" colspan="2">
187
		<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} />
188
		<label for="section_blocks_true">{TEXT_ENABLED}</label>
189
		<input type="radio" name="section_blocks" id="section_blocks_false" style="width: 14px; height: 14px;" value="false"{SECTION_BLOCKS_DISABLED} />
190
		<label for="section_blocks_false">{TEXT_DISABLED}</label>
191
	</td>
192
</tr>
193
<tr>
194
	<td class="setting_name">{TEXT_INTRO_PAGE}:</td>
195
	<td class="setting_value" colspan="2">
196
		<input type="radio" name="intro_page" id="intro_page_true" style="width: 14px; height: 14px;" value="true"{INTRO_PAGE_ENABLED} />
197
		<label for="intro_page_true">{TEXT_ENABLED}</label>
198
		<input type="radio" name="intro_page" id="intro_page_false" style="width: 14px; height: 14px;" value="false"{INTRO_PAGE_DISABLED} />
199
		<label for="intro_page_false">{TEXT_DISABLED}</label>
200
	</td>
201
</tr>
202
<tr class="advanced">
203
	<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td>
204
	<td class="setting_value" colspan="2">
205
		<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} />
206
		<label for="homepage_redirection_true">{TEXT_ENABLED}</label>
207
		<input type="radio" name="homepage_redirection" id="homepage_redirection_false" style="width: 14px; height: 14px;" value="false"{HOMEPAGE_REDIRECTION_DISABLED} />
208
		<label for="homepage_redirection_false">{TEXT_DISABLED}</label>
209
	</td>
210
</tr>
211
<tr class="advanced">
212
	<td class="setting_name">{TEXT_SMART_LOGIN}:</td>
213
	<td class="setting_value" colspan="2">
214
		<input type="radio" name="smart_login" id="smart_login_true" style="width: 14px; height: 14px;" value="true"{SMART_LOGIN_ENABLED} />
215
		<label for="smart_login_true">{TEXT_ENABLED}</label>
216
		<input type="radio" name="smart_login" id="smart_login_false" style="width: 14px; height: 14px;" value="false"{SMART_LOGIN_DISABLED} />
217
		<label for="smart_login_false">{TEXT_DISABLED}</label>
218
	</td>
219
</tr>
220
<tr class="advanced" style="display: {GD_EXTENSION_LOADED};">
221
	<td class="setting_name">{TEXT_CAPTCHA_VERIFICATION}:</td>
222
	<td class="setting_value" colspan="2">
223
		<input type="radio" name="captcha_verification" id="captcha_verification_true" style="width: 14px; height: 14px;" value="true"{CAPTCHA_VERIFICATION_ENABLED} />
224
		<label for="captcha_verification_true">{TEXT_ENABLED}</label>
225
		<input type="radio" name="captcha_verification" id="captcha_verification_false" style="width: 14px; height: 14px;" value="false"{CAPTCHA_VERIFICATION_DISABLED} />
226
		<label for="captcha_verification_false">{TEXT_DISABLED}</label>
227
	</td>
228
</tr>
229
<tr>
230
	<td class="setting_name">{TEXT_LOGIN}:</td>
231
	<td class="setting_value" colspan="2">
232
		<input type="radio" name="frontend_login" id="frontend_login_true" style="width: 14px; height: 14px;" value="true"{PRIVATE_ENABLED} />
233
		<label for="frontend_login_true">{TEXT_ENABLED}</label>
234
		<input type="radio" name="frontend_login" id="frontend_login_false" style="width: 14px; height: 14px;" value="false"{PRIVATE_DISABLED} />
235
		<label for="frontend_login_false">{TEXT_DISABLED}</label>
236
	</td>
237
</tr>
238
<tr>
239
	<td class="setting_name">{TEXT_SIGNUP}:</td>
240
	<td class="setting_value" colspan="2">
241
		<select name="frontend_signup">
242
			<option value="false">{TEXT_DISABLED}</option>
243
			<!-- BEGIN group_list_block -->
244
				<option value="{ID}" {SELECTED}>{NAME}</option>
245
			<!-- END group_list_block -->
246
		</select>
247
	</td>
248
</tr>
249
<tr class="advanced">
250
	<td class="setting_name">{TEXT_PHP_ERROR_LEVEL}:</td>
251
	<td class="setting_value" colspan="2">
252
		<select name="er_level">
253
			<option value="">{TEXT_PLEASE_SELECT}...</option>
254
			<!-- BEGIN error_reporting_list_block -->
255
				<option value="{VALUE}"{SELECTED}>{NAME}</option>
256
			<!-- END error_reporting_list_block -->
257
		</select>
258
	</td>
259
</tr>
260
<tr class="advanced">
261
	<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td>
262
	<td class="setting_value" colspan="2">
263
		<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" />
264
	</td>
265
</tr>
266
<tr class="advanced">
267
	<td class="setting_name">{TEXT_SERVER_EMAIL}:</td>
268
	<td class="setting_value" colspan="2">
269
		<input type="text" name="server_email" value="{SERVER_EMAIL}" />
270
	</td>
271
</tr>
272
<tr class="advanced">
273
	<td class="setting_name">{TEXT_WYSIWYG_EDITOR}:</td>
274
	<td class="setting_value" colspan="2">
275
		<select name="wysiwyg_editor">
276
		<!-- BEGIN editor_list_block -->
277
			<option value="{FILE}"{SELECTED}>{NAME}</option>
278
		<!-- END editor_list_block -->
279
		</select>
280
	</td>
281
</tr>
282
<tr>
283
	<td>&nbsp;</td>
284
	<td>
285
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
286
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
287
	</td>
288
	<td style="text-align: right;">
289
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
290
	</td>
291
</tr>
292
<tr>
293
	<td colspan="3" style="padding-top: 10px;">
294
		<h2>{HEADING_DEFAULT_SETTINGS}</h2>
295
	</td>
296
</tr>
297
<tr>
298
	<td class="setting_name">{TEXT_LANGUAGE}:</td>
299
	<td class="setting_value" colspan="2">
300
		<select name="default_language">
301
			<!-- BEGIN language_list_block -->
302
			<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
303
			<!-- END language_list_block -->
304
		</select>
305
	</td>
306
</tr>
307
<tr class="advanced">
308
	<td class="setting_name">{TEXT_CHARSET}:</td>
309
	<td class="setting_value" colspan="2">
310
		<select name="default_charset">
311
			<option value="">{TEXT_PLEASE_SELECT}...</option>
312
			<!-- BEGIN charset_list_block -->
313
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
314
			<!-- END charset_list_block -->
315
		</select>
316
	</td>
317
</tr>
318
<tr>
319
	<td class="setting_name">{TEXT_TIMEZONE}:</td>
320
	<td class="setting_value" colspan="2">
321
		<select name="default_timezone">
322
			<option value="0">{TEXT_PLEASE_SELECT}...</option>
323
			<!-- BEGIN timezone_list_block -->
324
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
325
			<!-- END timezone_list_block -->
326
		</select>
327
	</td>
328
</tr>
329
<tr>
330
	<td class="setting_name">{TEXT_DATE_FORMAT}:</td>
331
	<td class="setting_value" colspan="2">
332
		<select name="default_date_format">
333
			<option value="M d Y">{TEXT_PLEASE_SELECT}...</option>
334
			<!-- BEGIN date_format_list_block -->
335
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
336
			<!-- END date_format_list_block -->
337
		</select>
338
	</td>
339
</tr>
340
<tr>
341
	<td class="setting_name">{TEXT_TIME_FORMAT}:</td>
342
	<td class="setting_value" colspan="2">
343
		<select name="default_time_format">
344
			<option value="g:i A">{TEXT_PLEASE_SELECT}...</option>
345
			<!-- BEGIN time_format_list_block -->
346
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
347
			<!-- END time_format_list_block -->
348
		</select>
349
	</td>
350
</tr>
351
<tr>
352
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
353
	<td class="setting_value" colspan="2">
354
		<select name="default_template">
355
		<!-- BEGIN template_list_block -->
356
			<option value="{FILE}"{SELECTED}>{NAME}</option>
357
		<!-- END template_list_block -->
358
		</select>
359
	</td>
360
</tr>
361
<tr>
362
	<td>&nbsp;</td>
363
	<td>
364
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
365
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
366
	</td>
367
	<td style="text-align: right;">
368
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
369
	</td>
370
</tr>
371
<tr>
372
	<td colspan="3" style="padding-top: 10px;">
373
		<h2>{HEADING_SEARCH_SETTINGS}</h2>
374
	</td>
375
</tr>
376
<tr>
377
	<td class="setting_name">{TEXT_VISIBILITY}:</td>
378
	<td class="setting_value" colspan="2">
379
		<select name="search">
380
			<option value="public">{TEXT_PUBLIC}</option>
381
			<option value="private" {PRIVATE_SEARCH}>{TEXT_PRIVATE}</option>
382
			<option value="registered" {REGISTERED_SEARCH}>{TEXT_REGISTERED}</option>
383
			<option value="none" {NONE_SEARCH}>{TEXT_NONE}</option>
384
		</select>
385
	</td>
386
</tr>
387
<tr>
388
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
389
	<td class="setting_value" colspan="2">
390
		<select name="search_template">
391
		<!-- BEGIN search_template_list_block -->
392
			<option value="{FILE}"{SELECTED}>{NAME}</option>
393
		<!-- END search_template_list_block -->
394
		</select>
395
	</td>
396
</tr>
397
<tr class="advanced">
398
	<td class="setting_name">{TEXT_HEADER}:</td>
399
	<td class="setting_value" colspan="2">
400
		<textarea name="search_header" style="height: 100px;">{SEARCH_HEADER}</textarea>
401
	</td>
402
</tr>
403
<tr class="advanced">
404
	<td class="setting_name">{TEXT_RESULTS_HEADER}:</td>
405
	<td class="setting_value" colspan="2">
406
		<textarea name="search_results_header">{SEARCH_RESULTS_HEADER}</textarea>
407
	</td>
408
</tr>
409
<tr class="advanced">
410
	<td class="setting_name">{TEXT_RESULTS_LOOP}:</td>
411
	<td class="setting_value" colspan="2">
412
		<textarea name="search_results_loop">{SEARCH_RESULTS_LOOP}</textarea>
413
	</td>
414
</tr>
415
<tr class="advanced">
416
	<td class="setting_name">{TEXT_RESULTS_FOOTER}:</td>
417
	<td class="setting_value" colspan="2">
418
		<textarea name="search_results_footer">{SEARCH_RESULTS_FOOTER}</textarea>
419
	</td>
420
</tr>
421
<tr class="advanced">
422
	<td class="setting_name">{TEXT_NO_RESULTS}:</td>
423
	<td class="setting_value" colspan="2">
424
		<input type="text" name="search_no_results" value="{SEARCH_NO_RESULTS}" />
425
	</td>
426
</tr>
427
<tr class="advanced">
428
	<td class="setting_name">{TEXT_FOOTER}:</td>
429
	<td class="setting_value" colspan="2">
430
		<textarea name="search_footer">{SEARCH_FOOTER}</textarea>
431
	</td>
432
</tr>
433
<tr class="advanced">
434
	<td class="setting_name">{TEXT_MODULE_ORDER}:</td>
435
	<td class="setting_value" colspan="2">
436
		<input type="text" name="search_module_order" value="{SEARCH_MODULE_ORDER}" />
437
	</td>
438
</tr>
439
<tr class="advanced">
440
	<td class="setting_name">{TEXT_MAX_EXCERPT}:</td>
441
	<td class="setting_value" colspan="2">
442
		<input type="text" name="search_max_excerpt" value="{SEARCH_MAX_EXCERPT}" />
443
	</td>
444
</tr>
445
<tr>
446
	<td>&nbsp;</td>
447
	<td>
448
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
449
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
450
	</td>
451
	<td style="text-align: right;">
452
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
453
	</td>
454
</tr>
455
<tr>
456
	<td colspan="3" style="padding-top: 10px;">
457
		<h2>{HEADING_SERVER_SETTINGS}</h2>
458
	</td>
459
</tr>
460
<tr>
461
	<td class="setting_name">{TEXT_SERVER_OPERATING_SYSTEM}:</td>
462
	<td class="setting_value" colspan="2">
463
		<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} />
464
		<label for="operating_system_linux" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</label>
465
		<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
466
		<label for="operating_system_windows" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</label>
467
	</td>
468
</tr>
469
<tr>
470
	<td class="setting_name"><div id="{BASIC_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">&nbsp;</div></td>
471
	<td class="setting_value" colspan="3">
472
		<div id="{BASIC_FILE_PERMS_ID}2" style="margin: 0; padding: 0;">
473
			<input type="checkbox" name="world_writeable" id="world_writeable" style="width: 14px; height: 14px;" value="true"{WORLD_WRITEABLE_SELECTED} />
474
			<label for="world_writeable">
475
				{TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS} (777)
476
			</label>
477
			<br />
478
			<font class="note">({WORLD_WRITEABLE_WARNING})</font>
479
		</div>
480
		<div id="{BASIC_FILE_PERMS_ID}3" style="margin: 0; padding: 0;"></div>
481
	</td>
482
</tr>
483
<tr class="advanced">
484
	<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
485
	<td class="setting_value" id="file_mode" align="left">
486
		<table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-right: 1px solid #DDDDDD;" id="{ADVANCED_FILE_PERMS_ID}2">
487
		<tr>
488
			<td colspan="3" style="text-align: center; font-weight: bold;">
489
				{TEXT_FILES}:
490
			</td>
491
		</tr>
492
		<tr>
493
			<td>{TEXT_USER}:</td>
494
			<td>{TEXT_GROUP}:</td>
495
			<td>{TEXT_OTHERS}:</td>
496
		</tr>
497
		<tr>
498
			<td>
499
				<input type="checkbox" name="file_u_r" id="file_u_r" value="true"{FILE_U_R_CHECKED} />
500
				<label for="file_u_r">{TEXT_READ}</label>
501
				<br />
502
				<input type="checkbox" name="file_u_w" id="file_u_w" value="true"{FILE_U_W_CHECKED} />
503
				<label for="file_u_w">{TEXT_WRITE}</label>
504
				<br />
505
				<input type="checkbox" name="file_u_e" id="file_u_e" value="true"{FILE_U_E_CHECKED} />
506
				<label for="file_u_e">{TEXT_EXECUTE}</label>
507
			</td>
508
			<td>
509
				<input type="checkbox" name="file_g_r" id="file_g_r" value="true"{FILE_G_R_CHECKED} />
510
				<label for="file_g_r">{TEXT_READ}</label>
511
				<br />
512
				<input type="checkbox" name="file_g_w" id="file_g_w" value="true"{FILE_G_W_CHECKED} />
513
				<label for="file_g_w">{TEXT_WRITE}</label>
514
				<br />
515
				<input type="checkbox" name="file_g_e" id="file_g_e" value="true"{FILE_G_E_CHECKED} />
516
				<label for="file_g_e">{TEXT_EXECUTE}</label>
517
			</td>
518
			<td>
519
				<input type="checkbox" name="file_o_r" id="file_o_r" value="true"{FILE_O_R_CHECKED} />
520
				<label for="file_o_r">{TEXT_READ}</label>
521
				<br />
522
				<input type="checkbox" name="file_o_w" id="file_o_w" value="true"{FILE_O_W_CHECKED} />
523
				<label for="file_o_w">{TEXT_WRITE}</label>
524
				<br />
525
				<input type="checkbox" name="file_o_e" id="file_o_e" value="true"{FILE_O_E_CHECKED} />
526
				<label for="file_o_e">{TEXT_EXECUTE}</label>
527
			</td>
528
		</tr>
529
		</table>
530
	</td>
531
	<td class="setting_value" id="dir_mode" style="text-align: right;">
532
		<table cellpadding="2" cellspacing="0" border="0" width="100%" id="{ADVANCED_FILE_PERMS_ID}3">
533
		<tr>
534
			<td colspan="3" style="text-align: center; font-weight: bold;">
535
				{TEXT_DIRECTORIES}:
536
			</td>
537
		</tr>
538
		<tr>
539
			<td>{TEXT_USER}:</td>
540
			<td>{TEXT_GROUP}:</td>
541
			<td>{TEXT_OTHERS}:</td>
542
		</tr>
543
		<tr>
544
			<td>
545
				<input type="checkbox" name="dir_u_r" id="dir_u_r" value="true"{DIR_U_R_CHECKED} />
546
				<label for="dir_u_r">{TEXT_READ}</label>
547
				<br />
548
				<input type="checkbox" name="dir_u_w" id="dir_u_w" value="true"{DIR_U_W_CHECKED} />
549
				<label for="dir_u_w">{TEXT_WRITE}</label>
550
				<br />
551
				<input type="checkbox" name="dir_u_e" id="dir_u_e" value="true"{DIR_U_E_CHECKED} />
552
				<label for="dir_u_e">{TEXT_EXECUTE}</label>
553
			</td>
554
			<td>
555
				<input type="checkbox" name="dir_g_r" id="dir_g_r" value="true"{DIR_G_R_CHECKED} />
556
				<label for="dir_g_r">{TEXT_READ}</label>
557
				<br />
558
				<input type="checkbox" name="dir_g_w" id="dir_g_w" value="true"{DIR_G_W_CHECKED} />
559
				<label for="dir_g_w">{TEXT_WRITE}</label>
560
				<br />
561
				<input type="checkbox" name="dir_g_e" id="dir_g_e" value="true"{DIR_G_E_CHECKED} />
562
				<label for="dir_g_e">{TEXT_EXECUTE}</label>
563
			</td>
564
			<td>
565
				<input type="checkbox" name="dir_o_r" id="dir_o_r" value="true"{DIR_O_R_CHECKED} />
566
				<label for="dir_o_r">{TEXT_READ}</label>
567
				<br />
568
				<input type="checkbox" name="dir_o_w" id="dir_o_w" value="true"{DIR_O_W_CHECKED} />
569
				<label for="dir_o_w">{TEXT_WRITE}</label>
570
				<br />
571
				<input type="checkbox" name="dir_o_e" id="dir_o_e" value="true"{DIR_O_E_CHECKED} />
572
				<label for="dir_o_e">{TEXT_EXECUTE}</label>
573
			</td>
574
		</tr>
575
		</table>
576
	</td>
577
</tr>
578
<tr class="advanced">
579
	<td class="setting_name">{TEXT_PAGES_DIRECTORY}:</td>
580
	<td class="setting_value" colspan="2">
581
		<input type="text" name="pages_directory" value="{PAGES_DIRECTORY}" />
582
	</td>
583
</tr>
584
<tr class="advanced">
585
	<td class="setting_name">{TEXT_MEDIA_DIRECTORY}:</td>
586
	<td class="setting_value" colspan="2">
587
		<input type="text" name="media_directory" value="{MEDIA_DIRECTORY}" />
588
	</td>
589
</tr>
590
<!-- The following lines are deactivated as the Page Extension Feature doesn't work on every server
591
<tr class="advanced">
592
	<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
593
	<td class="setting_value" colspan="2">
594
		<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
595
	</td>
596
</tr>
597
-->
598
<tr class="advanced">
599
	<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
600
	<td class="setting_value" colspan="2">
601
		<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
602
	</td>
603
</tr>
604
<tr class="advanced">
605
	<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
606
	<td class="setting_value" colspan="2">
607
		<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
608
	</td>
609
</tr>
610
<tr class="advanced">
611
	<td class="setting_name">{TEXT_SESSION_IDENTIFIER}:</td>
612
	<td class="setting_value" colspan="2">
613
		<input type="text" name="app_name" value="{APP_NAME}" />
614
	</td>
615
</tr>
616
<tr>
617
	<td colspan="3" style="padding-top: 10px;">
618
		<h2>{HEADING_WBMAILER_SETTINGS}</h2>
619
		<div style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;">
620
			<strong> Please Note:</strong>
621
			<br \>
622
			{TEXT_WBMAILER_NOTICE}
623
		</div>
624
	</td>
625
</tr>
626
<tr>
627
	<td class="setting_name">{TEXT_WBMAILER_FUNCTION}:</td>
628
	<td class="setting_value" colspan="2">
629
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');" style="width: 14px; height: 14px;" value="phpmail"{PHPMAIL_SELECTED} />
630
		<label for="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');">{TEXT_WBMAILER_PHP}</label>
631
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');"" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
632
		<label for="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');">{TEXT_WBMAILER_SMTP}</label>
633
	</td>
634
</tr>
635
<tr id="wbmailer_smtp_host" style="visibility:{SMTP_VISIBILITY};">
636
	<td class="setting_name">{TEXT_WBMAILER_SMTP_HOST}:</td>
637
	<td class="setting_value" colspan="2">
638
		<input type="text" name="wbmailer_smtp_host" value="{WBMAILER_SMTP_HOST}" />
639
	</td>
640
</tr>
641
<tr id="wbmailer_smtp_auth_mode" style="visibility:{SMTP_VISIBILITY};">
642
	<td class="setting_name">{TEXT_WBMAILER_SMTP_AUTH}:</td>
643
	<td class="setting_value" colspan="3">
644
		<input type="checkbox" name="wbmailer_smtp_auth" id="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth();" style="width: 14px; height: 14px;" value="true"{SMTP_AUTH_SELECTED} />
645
		<label for="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth(this.value);">({TEXT_WBMAILER_SMTP_AUTH_NOTICE})</label>
646
	</td>
647
</tr>
648
<tr id="wbmailer_smtp_username" style="visibility:{SMTP_VISIBILITY_AUTH};">
649
	<td class="setting_name">{TEXT_WBMAILER_SMTP_USERNAME}:</td>
650
	<td class="setting_value" colspan="2">
651
		<input type="text" name="wbmailer_smtp_username" value="{WBMAILER_SMTP_USERNAME}" />
652
	</td>
653
</tr>
654
<tr id="wbmailer_smtp_password" style="visibility:{SMTP_VISIBILITY_AUTH};">
655
	<td class="setting_name">{TEXT_WBMAILER_SMTP_PASSWORD}:</td>
656
	<td class="setting_value" colspan="2">
657
		<input type="password" name="wbmailer_smtp_password" value="{WBMAILER_SMTP_PASSWORD}" />
658
	</td>
659
</tr>
660
<tr>
661
	<td>&nbsp;</td>
662
	<td>
663
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
664
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
665
	</td>
666
	<td style="text-align: right;">
667
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
668
	</td>
669
</tr>
670
</table>
671

  
672
</form>
673

  
674
<hr />
675

  
676
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
677

  
678
<font class="{DISPLAY_ADVANCED_BUTTON}">
679
&nbsp; {MODE_SWITCH_WARNING}
680
</font>
681

  
682
<!-- END main_block -->

Also available in: Unified diff