Project

General

Profile

« Previous | Next » 

Revision 451

Added by Matthias over 17 years ago

Added Changeset [417] again to the trunk because removing it from the branches also removed it from the trunk

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
</script>
16

  
17
<style>
18
.settings_table td {
19
	vertical-align: top;
20
	text-align: left;
21
}
22
.setting_name {
23
	width: 180px;
24
}
25
.setting_value input, .setting_value select, .setting_value textarea {
26
	width: 100%;
27
}
28
.setting_value textarea {
29
	height: 50px;
30
}
31
#file_mode input {
32
	width: 12px;
33
	height: 12px;
34
}
35
#dir_mode input {
36
	width: 12px;
37
	height: 12px;
38
}
39
.advanced {
40
	display: {DISPLAY_ADVANCED};
41
}
42
.save, .reset {
43
	width: 100px;
44
}
45
#hide2 {
46
	display: none;
47
}
48
</style>
49

  
50
<form name="settings" action="save.php" method="post">
51
<input type="hidden" name="advanced" value="{ADVANCED}" />
52

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

  
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
<tr class="advanced">
579
	<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
580
	<td class="setting_value" colspan="2">
581
		<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
582
	</td>
583
</tr>
584
<tr class="advanced">
585
	<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
586
	<td class="setting_value" colspan="2">
587
		<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
588
	</td>
589
</tr>
590
<tr class="advanced">
591
	<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
592
	<td class="setting_value" colspan="2">
593
		<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
594
	</td>
595
</tr>
596
<tr class="advanced">
597
	<td class="setting_name">{TEXT_SESSION_IDENTIFIER}:</td>
598
	<td class="setting_value" colspan="2">
599
		<input type="text" name="app_name" value="{APP_NAME}" />
600
	</td>
601
</tr>
602
<tr>
603
	<td colspan="3" style="padding-top: 10px;">
604
		<h2>{HEADING_WBMAILER_SETTINGS}</h2>
605
		<div style="border: 1px solid #CCC; background-color: #EEE; padding: 5px;">
606
			<strong> Please Note:</strong>
607
			<br \>
608
			{TEXT_WBMAILER_NOTICE}
609
		</div>
610
	</td>
611
</tr>
612
<tr>
613
	<td class="setting_name">{TEXT_WBMAILER_FUNCTION}:</td>
614
	<td class="setting_value" colspan="2">
615
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');" style="width: 14px; height: 14px;" value="phpmail"{PHPMAIL_SELECTED} />
616
		<label for="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');">{TEXT_WBMAILER_PHP}</label>
617
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');"" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
618
		<label for="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');">{TEXT_WBMAILER_SMTP}</label>
619
	</td>
620
</tr>
621
<tr id="wbmailer_smtp_host" style="visibility:{SMTP_VISIBILITY};">
622
	<td class="setting_name">{TEXT_WBMAILER_SMTP_HOST}:</td>
623
	<td class="setting_value" colspan="2">
624
		<input type="text" name="wbmailer_smtp_host" value="{WBMAILER_SMTP_HOST}" />
625
	</td>
626
</tr>
627
<tr id="wbmailer_smtp_auth_mode" style="visibility:{SMTP_VISIBILITY};">
628
	<td class="setting_name">{TEXT_WBMAILER_SMTP_AUTH}:</td>
629
	<td class="setting_value" colspan="3">
630
		<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} />
631
		<label for="wbmailer_smtp_auth" onclick="javascript: toggle_wbmailer_auth(this.value);">({TEXT_WBMAILER_SMTP_AUTH_NOTICE})</label>
632
	</td>
633
</tr>
634
<tr id="wbmailer_smtp_username" style="visibility:{SMTP_VISIBILITY_AUTH};">
635
	<td class="setting_name">{TEXT_WBMAILER_SMTP_USERNAME}:</td>
636
	<td class="setting_value" colspan="2">
637
		<input type="text" name="wbmailer_smtp_username" value="{WBMAILER_SMTP_USERNAME}" />
638
	</td>
639
</tr>
640
<tr id="wbmailer_smtp_password" style="visibility:{SMTP_VISIBILITY_AUTH};">
641
	<td class="setting_name">{TEXT_WBMAILER_SMTP_PASSWORD}:</td>
642
	<td class="setting_value" colspan="2">
643
		<input type="password" name="wbmailer_smtp_password" value="{WBMAILER_SMTP_PASSWORD}" />
644
	</td>
645
</tr>
646
<tr class="advanced">
647
	<td colspan="3" style="padding-top: 10px;">
648
		<a name="administration_tools"></a>
649
		<h2>{HEADING_ADMINISTRATION_TOOLS}</h2>
650
	</td>
651
</tr>
652
<tr class="advanced">
653
	<td colspan="3">
654
		<ul style="margin: 0; padding: 0; margin-left: 20px; margin-bottom: 10px;">
655
		<!-- BEGIN tool_list_block -->
656
		<li style="padding-bottom: 5px;">
657
		<a href="{ADMIN_URL}/settings/tool.php?tool={TOOL_DIR}">{TOOL_NAME}</a>
658
		<br />{TOOL_DESCRIPTION}
659
		</li>
660
		<!-- END tool_list_block -->
661
		</ul>
662
		{TOOL_LIST}
663
	</td>
664
	<td>
665
		&nbsp;
666
	</td>
667
	<td>&nbsp;</td>
668
</tr>
669
<tr>
670
	<td>&nbsp;</td>
671
	<td>
672
		<input type="submit" name="submit" value="{TEXT_SAVE}" class="save" />
673
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
674
	</td>
675
	<td style="text-align: right;">
676
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
677
	</td>
678
</tr>
679
</table>
680

  
681
</form>
682

  
683
<hr />
684

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

  
687
<font class="{DISPLAY_ADVANCED_BUTTON}">
688
&nbsp; {MODE_SWITCH_WARNING}
689
</font>
690

  
614 691
<!-- END main_block -->

Also available in: Unified diff