Project

General

Profile

1 552 thorn
</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 568 doc
		document.getElementById('row_wbmailer_smtp_settings').style.display = '';
19
		document.getElementById('row_wbmailer_smtp_host').style.display = '';
20
		document.getElementById('row_wbmailer_smtp_auth_mode').style.display = '';
21
		document.getElementById('row_wbmailer_smtp_username').style.display = '';
22
		document.getElementById('row_wbmailer_smtp_password').style.display = '';
23 552 thorn
		if( document.settings.wbmailer_smtp_auth.checked == true ) {
24 568 doc
			document.getElementById('row_wbmailer_smtp_username').style.display = '';
25
			document.getElementById('row_wbmailer_smtp_password').style.display = '';
26 552 thorn
		} else {
27 568 doc
			document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
28
			document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
29 552 thorn
		}
30
	} else if(type == 'phpmail') {
31 568 doc
		document.getElementById('row_wbmailer_smtp_settings').style.display = 'none';
32
		document.getElementById('row_wbmailer_smtp_host').style.display = 'none';
33
		document.getElementById('row_wbmailer_smtp_auth_mode').style.display = 'none';
34
		document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
35
		document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
36 552 thorn
	}
37
}
38
39
function toggle_wbmailer_auth() {
40
	if( document.settings.wbmailer_smtp_auth.checked == true ) {
41 568 doc
		document.getElementById('row_wbmailer_smtp_username').style.display = '';
42
		document.getElementById('row_wbmailer_smtp_password').style.display = '';
43 552 thorn
	} else {
44 568 doc
		document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
45
		document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
46 552 thorn
	}
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 691 doc
<tr>
114 552 thorn
	<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>
221
	<td class="setting_name">{TEXT_LOGIN}:</td>
222
	<td class="setting_value" colspan="2">
223
		<input type="radio" name="frontend_login" id="frontend_login_true" style="width: 14px; height: 14px;" value="true"{PRIVATE_ENABLED} />
224
		<label for="frontend_login_true">{TEXT_ENABLED}</label>
225
		<input type="radio" name="frontend_login" id="frontend_login_false" style="width: 14px; height: 14px;" value="false"{PRIVATE_DISABLED} />
226
		<label for="frontend_login_false">{TEXT_DISABLED}</label>
227
	</td>
228
</tr>
229
<tr>
230
	<td class="setting_name">{TEXT_SIGNUP}:</td>
231
	<td class="setting_value" colspan="2">
232
		<select name="frontend_signup">
233
			<option value="false">{TEXT_DISABLED}</option>
234
			<!-- BEGIN group_list_block -->
235
				<option value="{ID}" {SELECTED}>{NAME}</option>
236
			<!-- END group_list_block -->
237
		</select>
238
	</td>
239
</tr>
240
<tr class="advanced">
241
	<td class="setting_name">{TEXT_PHP_ERROR_LEVEL}:</td>
242
	<td class="setting_value" colspan="2">
243
		<select name="er_level">
244
			<option value="">{TEXT_PLEASE_SELECT}...</option>
245
			<!-- BEGIN error_reporting_list_block -->
246
				<option value="{VALUE}"{SELECTED}>{NAME}</option>
247
			<!-- END error_reporting_list_block -->
248
		</select>
249
	</td>
250
</tr>
251
<tr class="advanced">
252
	<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td>
253
	<td class="setting_value" colspan="2">
254
		<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" />
255
	</td>
256
</tr>
257
<tr class="advanced">
258
	<td class="setting_name">{TEXT_WYSIWYG_EDITOR}:</td>
259
	<td class="setting_value" colspan="2">
260
		<select name="wysiwyg_editor">
261
		<!-- BEGIN editor_list_block -->
262
			<option value="{FILE}"{SELECTED}>{NAME}</option>
263
		<!-- END editor_list_block -->
264
		</select>
265
	</td>
266
</tr>
267
<tr>
268
	<td>&nbsp;</td>
269
	<td>
270
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
271
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
272
	</td>
273
	<td style="text-align: right;">
274
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
275
	</td>
276
</tr>
277
<tr>
278
	<td colspan="3" style="padding-top: 10px;">
279
		<h2>{HEADING_DEFAULT_SETTINGS}</h2>
280
	</td>
281
</tr>
282
<tr>
283
	<td class="setting_name">{TEXT_LANGUAGE}:</td>
284
	<td class="setting_value" colspan="2">
285
		<select name="default_language">
286
			<!-- BEGIN language_list_block -->
287
			<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
288
			<!-- END language_list_block -->
289
		</select>
290
	</td>
291
</tr>
292
<tr class="advanced">
293
	<td class="setting_name">{TEXT_CHARSET}:</td>
294
	<td class="setting_value" colspan="2">
295
		<select name="default_charset">
296
			<option value="">{TEXT_PLEASE_SELECT}...</option>
297
			<!-- BEGIN charset_list_block -->
298
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
299
			<!-- END charset_list_block -->
300
		</select>
301
	</td>
302
</tr>
303
<tr>
304
	<td class="setting_name">{TEXT_TIMEZONE}:</td>
305
	<td class="setting_value" colspan="2">
306
		<select name="default_timezone">
307
			<option value="0">{TEXT_PLEASE_SELECT}...</option>
308
			<!-- BEGIN timezone_list_block -->
309
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
310
			<!-- END timezone_list_block -->
311
		</select>
312
	</td>
313
</tr>
314
<tr>
315
	<td class="setting_name">{TEXT_DATE_FORMAT}:</td>
316
	<td class="setting_value" colspan="2">
317
		<select name="default_date_format">
318
			<option value="M d Y">{TEXT_PLEASE_SELECT}...</option>
319
			<!-- BEGIN date_format_list_block -->
320
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
321
			<!-- END date_format_list_block -->
322
		</select>
323
	</td>
324
</tr>
325
<tr>
326
	<td class="setting_name">{TEXT_TIME_FORMAT}:</td>
327
	<td class="setting_value" colspan="2">
328
		<select name="default_time_format">
329
			<option value="g:i A">{TEXT_PLEASE_SELECT}...</option>
330
			<!-- BEGIN time_format_list_block -->
331
				<option value="{VALUE}" {SELECTED}>{NAME}</option>
332
			<!-- END time_format_list_block -->
333
		</select>
334
	</td>
335
</tr>
336
<tr>
337
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
338
	<td class="setting_value" colspan="2">
339
		<select name="default_template">
340
		<!-- BEGIN template_list_block -->
341
			<option value="{FILE}"{SELECTED}>{NAME}</option>
342
		<!-- END template_list_block -->
343
		</select>
344
	</td>
345
</tr>
346
<tr>
347
	<td>&nbsp;</td>
348
	<td>
349
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
350
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
351
	</td>
352
	<td style="text-align: right;">
353
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
354
	</td>
355
</tr>
356
<tr>
357
	<td colspan="3" style="padding-top: 10px;">
358
		<h2>{HEADING_SEARCH_SETTINGS}</h2>
359
	</td>
360
</tr>
361
<tr>
362
	<td class="setting_name">{TEXT_VISIBILITY}:</td>
363
	<td class="setting_value" colspan="2">
364
		<select name="search">
365
			<option value="public">{TEXT_PUBLIC}</option>
366
			<option value="private" {PRIVATE_SEARCH}>{TEXT_PRIVATE}</option>
367
			<option value="registered" {REGISTERED_SEARCH}>{TEXT_REGISTERED}</option>
368
			<option value="none" {NONE_SEARCH}>{TEXT_NONE}</option>
369
		</select>
370
	</td>
371
</tr>
372
<tr>
373
	<td class="setting_name">{TEXT_TEMPLATE}:</td>
374
	<td class="setting_value" colspan="2">
375
		<select name="search_template">
376
		<!-- BEGIN search_template_list_block -->
377
			<option value="{FILE}"{SELECTED}>{NAME}</option>
378
		<!-- END search_template_list_block -->
379
		</select>
380
	</td>
381
</tr>
382
<tr class="advanced">
383
	<td class="setting_name">{TEXT_HEADER}:</td>
384
	<td class="setting_value" colspan="2">
385
		<textarea name="search_header" style="height: 100px;">{SEARCH_HEADER}</textarea>
386
	</td>
387
</tr>
388
<tr class="advanced">
389
	<td class="setting_name">{TEXT_RESULTS_HEADER}:</td>
390
	<td class="setting_value" colspan="2">
391
		<textarea name="search_results_header">{SEARCH_RESULTS_HEADER}</textarea>
392
	</td>
393
</tr>
394
<tr class="advanced">
395
	<td class="setting_name">{TEXT_RESULTS_LOOP}:</td>
396
	<td class="setting_value" colspan="2">
397
		<textarea name="search_results_loop">{SEARCH_RESULTS_LOOP}</textarea>
398
	</td>
399
</tr>
400
<tr class="advanced">
401
	<td class="setting_name">{TEXT_RESULTS_FOOTER}:</td>
402
	<td class="setting_value" colspan="2">
403
		<textarea name="search_results_footer">{SEARCH_RESULTS_FOOTER}</textarea>
404
	</td>
405
</tr>
406
<tr class="advanced">
407
	<td class="setting_name">{TEXT_NO_RESULTS}:</td>
408
	<td class="setting_value" colspan="2">
409
		<input type="text" name="search_no_results" value="{SEARCH_NO_RESULTS}" />
410
	</td>
411
</tr>
412
<tr class="advanced">
413
	<td class="setting_name">{TEXT_FOOTER}:</td>
414
	<td class="setting_value" colspan="2">
415
		<textarea name="search_footer">{SEARCH_FOOTER}</textarea>
416
	</td>
417
</tr>
418
<tr class="advanced">
419
	<td class="setting_name">{TEXT_MODULE_ORDER}:</td>
420
	<td class="setting_value" colspan="2">
421
		<input type="text" name="search_module_order" value="{SEARCH_MODULE_ORDER}" />
422
	</td>
423
</tr>
424
<tr class="advanced">
425
	<td class="setting_name">{TEXT_MAX_EXCERPT}:</td>
426
	<td class="setting_value" colspan="2">
427
		<input type="text" name="search_max_excerpt" value="{SEARCH_MAX_EXCERPT}" />
428
	</td>
429
</tr>
430 769 thorn
<tr class="advanced">
431
	<td class="setting_name">{TEXT_TIME_LIMIT}:</td>
432
	<td class="setting_value" colspan="2">
433
		<input type="text" name="search_time_limit" value="{SEARCH_TIME_LIMIT}" />
434
	</td>
435
</tr>
436 552 thorn
<tr>
437
	<td>&nbsp;</td>
438
	<td>
439
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
440
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
441
	</td>
442
	<td style="text-align: right;">
443
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
444
	</td>
445
</tr>
446
<tr>
447
	<td colspan="3" style="padding-top: 10px;">
448
		<h2>{HEADING_SERVER_SETTINGS}</h2>
449
	</td>
450
</tr>
451
<tr>
452
	<td class="setting_name">{TEXT_SERVER_OPERATING_SYSTEM}:</td>
453
	<td class="setting_value" colspan="2">
454
		<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} />
455
		<label for="operating_system_linux" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</label>
456
		<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
457
		<label for="operating_system_windows" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</label>
458
	</td>
459
</tr>
460
<tr>
461
	<td class="setting_name"><div id="{BASIC_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">&nbsp;</div></td>
462
	<td class="setting_value" colspan="3">
463
		<div id="{BASIC_FILE_PERMS_ID}2" style="margin: 0; padding: 0;">
464
			<input type="checkbox" name="world_writeable" id="world_writeable" style="width: 14px; height: 14px;" value="true"{WORLD_WRITEABLE_SELECTED} />
465
			<label for="world_writeable">
466
				{TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS} (777)
467
			</label>
468
			<br />
469
			<font class="note">({WORLD_WRITEABLE_WARNING})</font>
470
		</div>
471
		<div id="{BASIC_FILE_PERMS_ID}3" style="margin: 0; padding: 0;"></div>
472
	</td>
473
</tr>
474
<tr class="advanced">
475
	<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
476
	<td class="setting_value" id="file_mode" align="left">
477
		<table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-right: 1px solid #DDDDDD;" id="{ADVANCED_FILE_PERMS_ID}2">
478
		<tr>
479
			<td colspan="3" style="text-align: center; font-weight: bold;">
480
				{TEXT_FILES}:
481
			</td>
482
		</tr>
483
		<tr>
484
			<td>{TEXT_USER}:</td>
485
			<td>{TEXT_GROUP}:</td>
486
			<td>{TEXT_OTHERS}:</td>
487
		</tr>
488
		<tr>
489
			<td>
490
				<input type="checkbox" name="file_u_r" id="file_u_r" value="true"{FILE_U_R_CHECKED} />
491
				<label for="file_u_r">{TEXT_READ}</label>
492
				<br />
493
				<input type="checkbox" name="file_u_w" id="file_u_w" value="true"{FILE_U_W_CHECKED} />
494
				<label for="file_u_w">{TEXT_WRITE}</label>
495
				<br />
496
				<input type="checkbox" name="file_u_e" id="file_u_e" value="true"{FILE_U_E_CHECKED} />
497
				<label for="file_u_e">{TEXT_EXECUTE}</label>
498
			</td>
499
			<td>
500
				<input type="checkbox" name="file_g_r" id="file_g_r" value="true"{FILE_G_R_CHECKED} />
501
				<label for="file_g_r">{TEXT_READ}</label>
502
				<br />
503
				<input type="checkbox" name="file_g_w" id="file_g_w" value="true"{FILE_G_W_CHECKED} />
504
				<label for="file_g_w">{TEXT_WRITE}</label>
505
				<br />
506
				<input type="checkbox" name="file_g_e" id="file_g_e" value="true"{FILE_G_E_CHECKED} />
507
				<label for="file_g_e">{TEXT_EXECUTE}</label>
508
			</td>
509
			<td>
510
				<input type="checkbox" name="file_o_r" id="file_o_r" value="true"{FILE_O_R_CHECKED} />
511
				<label for="file_o_r">{TEXT_READ}</label>
512
				<br />
513
				<input type="checkbox" name="file_o_w" id="file_o_w" value="true"{FILE_O_W_CHECKED} />
514
				<label for="file_o_w">{TEXT_WRITE}</label>
515
				<br />
516
				<input type="checkbox" name="file_o_e" id="file_o_e" value="true"{FILE_O_E_CHECKED} />
517
				<label for="file_o_e">{TEXT_EXECUTE}</label>
518
			</td>
519
		</tr>
520
		</table>
521
	</td>
522
	<td class="setting_value" id="dir_mode" style="text-align: right;">
523
		<table cellpadding="2" cellspacing="0" border="0" width="100%" id="{ADVANCED_FILE_PERMS_ID}3">
524
		<tr>
525
			<td colspan="3" style="text-align: center; font-weight: bold;">
526
				{TEXT_DIRECTORIES}:
527
			</td>
528
		</tr>
529
		<tr>
530
			<td>{TEXT_USER}:</td>
531
			<td>{TEXT_GROUP}:</td>
532
			<td>{TEXT_OTHERS}:</td>
533
		</tr>
534
		<tr>
535
			<td>
536
				<input type="checkbox" name="dir_u_r" id="dir_u_r" value="true"{DIR_U_R_CHECKED} />
537
				<label for="dir_u_r">{TEXT_READ}</label>
538
				<br />
539
				<input type="checkbox" name="dir_u_w" id="dir_u_w" value="true"{DIR_U_W_CHECKED} />
540
				<label for="dir_u_w">{TEXT_WRITE}</label>
541
				<br />
542
				<input type="checkbox" name="dir_u_e" id="dir_u_e" value="true"{DIR_U_E_CHECKED} />
543
				<label for="dir_u_e">{TEXT_EXECUTE}</label>
544
			</td>
545
			<td>
546
				<input type="checkbox" name="dir_g_r" id="dir_g_r" value="true"{DIR_G_R_CHECKED} />
547
				<label for="dir_g_r">{TEXT_READ}</label>
548
				<br />
549
				<input type="checkbox" name="dir_g_w" id="dir_g_w" value="true"{DIR_G_W_CHECKED} />
550
				<label for="dir_g_w">{TEXT_WRITE}</label>
551
				<br />
552
				<input type="checkbox" name="dir_g_e" id="dir_g_e" value="true"{DIR_G_E_CHECKED} />
553
				<label for="dir_g_e">{TEXT_EXECUTE}</label>
554
			</td>
555
			<td>
556
				<input type="checkbox" name="dir_o_r" id="dir_o_r" value="true"{DIR_O_R_CHECKED} />
557
				<label for="dir_o_r">{TEXT_READ}</label>
558
				<br />
559
				<input type="checkbox" name="dir_o_w" id="dir_o_w" value="true"{DIR_O_W_CHECKED} />
560
				<label for="dir_o_w">{TEXT_WRITE}</label>
561
				<br />
562
				<input type="checkbox" name="dir_o_e" id="dir_o_e" value="true"{DIR_O_E_CHECKED} />
563
				<label for="dir_o_e">{TEXT_EXECUTE}</label>
564
			</td>
565
		</tr>
566
		</table>
567
	</td>
568
</tr>
569
<tr class="advanced">
570
	<td class="setting_name">{TEXT_PAGES_DIRECTORY}:</td>
571
	<td class="setting_value" colspan="2">
572
		<input type="text" name="pages_directory" value="{PAGES_DIRECTORY}" />
573
	</td>
574
</tr>
575
<tr class="advanced">
576
	<td class="setting_name">{TEXT_MEDIA_DIRECTORY}:</td>
577
	<td class="setting_value" colspan="2">
578
		<input type="text" name="media_directory" value="{MEDIA_DIRECTORY}" />
579
	</td>
580
</tr>
581
<tr class="advanced">
582
	<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
583
	<td class="setting_value" colspan="2">
584
		<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
585
	</td>
586
</tr>
587
<tr class="advanced">
588
	<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
589
	<td class="setting_value" colspan="2">
590
		<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
591
	</td>
592
</tr>
593
<tr class="advanced">
594
	<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
595
	<td class="setting_value" colspan="2">
596
		<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
597
	</td>
598
</tr>
599
<tr class="advanced">
600
	<td class="setting_name">{TEXT_SESSION_IDENTIFIER}:</td>
601
	<td class="setting_value" colspan="2">
602
		<input type="text" name="app_name" value="{APP_NAME}" />
603
	</td>
604
</tr>
605 568 doc
<!-- BASIC MAILER SETTINGS -->
606 552 thorn
<tr>
607
	<td colspan="3" style="padding-top: 10px;">
608
		<h2>{HEADING_WBMAILER_SETTINGS}</h2>
609 568 doc
		<p style="line-height: 1.4em; margin-top: 0;">{TEXT_WBMAILER_DEFAULT_SETTINGS_NOTICE}</p>
610 552 thorn
	</td>
611
</tr>
612
<tr>
613 568 doc
	<td class="setting_name">{TEXT_WBMAILER_DEFAULT_SENDER_MAIL}:</td>
614
	<td class="setting_value" colspan="2">
615
		<input type="text" style="width: 250px" name="server_email" value="{SERVER_EMAIL}" />
616
	</td>
617
</tr>
618
<tr>
619
	<td class="setting_name">{TEXT_WBMAILER_DEFAULT_SENDER_NAME}:</td>
620
	<td class="setting_value" colspan="2">
621
		<input type="text" style="width: 250px" name="wbmailer_default_sendername" value="{WBMAILER_DEFAULT_SENDERNAME}" />
622
	</td>
623
</tr>
624
<tr>
625 552 thorn
	<td class="setting_name">{TEXT_WBMAILER_FUNCTION}:</td>
626
	<td class="setting_value" colspan="2">
627
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');" style="width: 14px; height: 14px;" value="phpmail"{PHPMAIL_SELECTED} />
628
		<label for="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');">{TEXT_WBMAILER_PHP}</label>
629
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');"" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
630
		<label for="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');">{TEXT_WBMAILER_SMTP}</label>
631
	</td>
632
</tr>
633 568 doc
<!-- MORE ADVANCED SMTP MAILER SETTINGS -->
634
<tr id="row_wbmailer_smtp_settings" style="display:{SMTP_VISIBILITY};">
635
	<td colspan="3" style="padding-top: 10px;">
636
			<p style="line-height: 1.4em; margin-top: 0;">{TEXT_WBMAILER_NOTICE}</p>
637
	</td>
638
</tr>
639
<tr id="row_wbmailer_smtp_host" style="display:{SMTP_VISIBILITY};">
640 552 thorn
	<td class="setting_name">{TEXT_WBMAILER_SMTP_HOST}:</td>
641
	<td class="setting_value" colspan="2">
642 568 doc
		<input type="text" style="width: 250px" name="wbmailer_smtp_host" value="{WBMAILER_SMTP_HOST}" />
643 552 thorn
	</td>
644
</tr>
645 568 doc
<tr id="row_wbmailer_smtp_auth_mode" style="display:{SMTP_VISIBILITY};">
646 552 thorn
	<td class="setting_name">{TEXT_WBMAILER_SMTP_AUTH}:</td>
647
	<td class="setting_value" colspan="3">
648
		<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} />
649
		<label for="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth(this.value);">({TEXT_WBMAILER_SMTP_AUTH_NOTICE})</label>
650
	</td>
651
</tr>
652 568 doc
<tr id="row_wbmailer_smtp_username" style="display:{SMTP_VISIBILITY_AUTH};">
653 552 thorn
	<td class="setting_name">{TEXT_WBMAILER_SMTP_USERNAME}:</td>
654
	<td class="setting_value" colspan="2">
655 568 doc
		<input type="text" style="width: 250px" name="wbmailer_smtp_username" value="{WBMAILER_SMTP_USERNAME}" />
656 552 thorn
	</td>
657
</tr>
658 568 doc
<tr id="row_wbmailer_smtp_password" style="display:{SMTP_VISIBILITY_AUTH};">
659 552 thorn
	<td class="setting_name">{TEXT_WBMAILER_SMTP_PASSWORD}:</td>
660
	<td class="setting_value" colspan="2">
661 568 doc
		<input type="password" style="width: 250px" name="wbmailer_smtp_password" value="{WBMAILER_SMTP_PASSWORD}" />
662 552 thorn
	</td>
663
</tr>
664
<tr>
665
	<td>&nbsp;</td>
666
	<td>
667
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
668
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
669
	</td>
670
	<td style="text-align: right;">
671
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
672
	</td>
673
</tr>
674
</table>
675
676
</form>
677
678
<hr />
679
680
<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
681
682
<font class="{DISPLAY_ADVANCED_BUTTON}">
683
&nbsp; {MODE_SWITCH_WARNING}
684
</font>
685
686
<!-- END main_block -->