Project

General

Profile

« Previous | Next » 

Revision 45

Added by stefan about 19 years ago

Implemented choice of WYSIWYG editor

View differences:

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

  
3
<script language="javascript" type="text/javascript">
4
function toggle_radio(group_name, set_value) {
5
	if(set_value == true) {
6
		document.getElementById(group_name + "_true").checked = true;
7
		document.getElementById(group_name + "_false").checked = false;
8
	} else {
9
		document.getElementById(group_name + "_true").checked = false;
10
		document.getElementById(group_name + "_false").checked = true;
11
	}
12
}
13
function change_os(type) {
14
	if(type == 'linux') {
15
		document.getElementById('operating_system_linux').checked = true;
16
		document.getElementById('operating_system_windows').checked = false;
17
		document.getElementById('file_perms_box1').style.display = 'block';
18
		document.getElementById('file_perms_box2').style.display = 'block';
19
		document.getElementById('file_perms_box3').style.display = 'block';
20
	} else if(type == 'windows') {
21
		document.getElementById('operating_system_linux').checked = false;
22
		document.getElementById('operating_system_windows').checked = true;
23
		document.getElementById('file_perms_box1').style.display = 'none';
24
		document.getElementById('file_perms_box2').style.display = 'none';
25
		document.getElementById('file_perms_box3').style.display = 'none';
26
	}
27
}
28
function change_page_trash(type) {
29
	if(type == 'inline') {
30
		document.getElementById("page_trash_disabled").checked = false;
31
		document.getElementById("page_trash_inline").checked = true;
32
		document.getElementById("page_trash_separate").checked = false;
33
	} else if(type == 'separate') {
34
		document.getElementById("page_trash_disabled").checked = false;
35
		document.getElementById("page_trash_inline").checked = false;
36
		document.getElementById("page_trash_separate").checked = true;
37
	} else {
38
		document.getElementById("page_trash_disabled").checked = true;
39
		document.getElementById("page_trash_inline").checked = false;
40
		document.getElementById("page_trash_separate").checked = false;
41
	}
1
</div><!-- BEGIN main_block -->
2

  
3
<script language="javascript" type="text/javascript">
4
function toggle_radio(group_name, set_value) {
5
	if(set_value == true) {
6
		document.getElementById(group_name + "_true").checked = true;
7
		document.getElementById(group_name + "_false").checked = false;
8
	} else {
9
		document.getElementById(group_name + "_true").checked = false;
10
		document.getElementById(group_name + "_false").checked = true;
11
	}
42 12
}
43
</script>
44

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

  
78
<form name="settings" action="save.php" method="post">
79
<input type="hidden" name="advanced" value="{ADVANCED}" />
80

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

  
553
</form>
554

  
555
<hr />
556

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

  
559
<font class="{DISPLAY_ADVANCED_BUTTON}">
560
&nbsp; {MODE_SWITCH_WARNING}
561
</font>
562

  
563
<!-- END main_block -->
13
function change_os(type) {
14
	if(type == 'linux') {
15
		document.getElementById('operating_system_linux').checked = true;
16
		document.getElementById('operating_system_windows').checked = false;
17
		document.getElementById('file_perms_box1').style.display = 'block';
18
		document.getElementById('file_perms_box2').style.display = 'block';
19
		document.getElementById('file_perms_box3').style.display = 'block';
20
	} else if(type == 'windows') {
21
		document.getElementById('operating_system_linux').checked = false;
22
		document.getElementById('operating_system_windows').checked = true;
23
		document.getElementById('file_perms_box1').style.display = 'none';
24
		document.getElementById('file_perms_box2').style.display = 'none';
25
		document.getElementById('file_perms_box3').style.display = 'none';
26
	}
27
}
28
function change_page_trash(type) {
29
	if(type == 'inline') {
30
		document.getElementById("page_trash_disabled").checked = false;
31
		document.getElementById("page_trash_inline").checked = true;
32
		document.getElementById("page_trash_separate").checked = false;
33
	} else if(type == 'separate') {
34
		document.getElementById("page_trash_disabled").checked = false;
35
		document.getElementById("page_trash_inline").checked = false;
36
		document.getElementById("page_trash_separate").checked = true;
37
	} else {
38
		document.getElementById("page_trash_disabled").checked = true;
39
		document.getElementById("page_trash_inline").checked = false;
40
		document.getElementById("page_trash_separate").checked = false;
41
	}
42
}
43
</script>
44

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

  
78
<form name="settings" action="save.php" method="post">
79
<input type="hidden" name="advanced" value="{ADVANCED}" />
80

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

  
563
</form>
564

  
565
<hr />
566

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

  
569
<font class="{DISPLAY_ADVANCED_BUTTON}">
570
&nbsp; {MODE_SWITCH_WARNING}
571
</font>
572

  
573
<!-- END main_block -->

Also available in: Unified diff