Project

General

Profile

« Previous | Next » 

Revision 1012

Added by Matthias over 15 years ago

Major fixes on backend to get XHTML valid output (Thanks to Luisehahne)

View differences:

trunk/CHANGELOG
12 12

  
13 13
------------------------------------- 2.8.0 -------------------------------------
14 14
25-June-2009 Matthias Gallas
15
#	Major fixes on backend to get XHTML valid output (Thanks to Luisehahne)
15 16
+	Added option to use also MYSQL_ASSOC and MYSQL_NUM with mysql_fetch_array
16 17
	(Thanks to Luisehahne)
17 18
#	Bugfix for Error-Level settings (Thanks to Luisehahne)
trunk/wb/admin/groups/groups.php
66 66
		$template->set_var('DISPLAY_ADVANCED', '');
67 67
		$template->set_var('DISPLAY_BASIC', 'none');
68 68
		$template->set_var('ADVANCED', 'yes');
69
		$template->set_var('ADVANCED_BUTTON', '<< '.$TEXT['HIDE_ADVANCED']);
69
		$template->set_var('ADVANCED_BUTTON', '&lt;&lt; '.$TEXT['HIDE_ADVANCED']);
70 70
	} else {
71 71
		$template->set_var('DISPLAY_ADVANCED', 'none');
72 72
		$template->set_var('DISPLAY_BASIC', '');
73 73
		$template->set_var('ADVANCED', 'no');
74
		$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].' >>');
74
		$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].'  &gt;&gt;');
75 75
	}
76
	
76

  
77 77
	// Explode system permissions
78 78
	$system_permissions = explode(',', $group['system_permissions']);
79 79
	// Check system permissions boxes
80 80
	foreach($system_permissions AS $name) {
81
			$template->set_var($name.'_checked', 'checked');
81
			$template->set_var($name.'_checked', ' checked="checked"');
82 82
	}
83 83
	// Explode module permissions
84 84
	$module_permissions = explode(',', $group['module_permissions']);
......
93 93
			$template->set_var('VALUE', $addon['directory']);
94 94
			$template->set_var('NAME', $addon['name']);
95 95
			if(!is_numeric(array_search($addon['directory'], $module_permissions))) {
96
				$template->set_var('CHECKED', 'checked');
96
				$template->set_var('CHECKED', ' checked="checked"');
97 97
			} else {
98 98
				$template->set_var('CHECKED', '');
99 99
			}
......
109 109
			$template->set_var('VALUE', $addon['directory']);
110 110
			$template->set_var('NAME', $addon['name']);
111 111
			if(!is_numeric(array_search($addon['directory'], $template_permissions))) {
112
				$template->set_var('CHECKED', 'checked');
112
				$template->set_var('CHECKED', ' checked="checked"');
113 113
			} else {
114 114
				$template->set_var('CHECKED', '');
115 115
			}
trunk/wb/admin/groups/index.php
179 179
								'TEXT_BASIC' => $TEXT['BASIC'],
180 180
								'TEXT_ADVANCED' => $TEXT['ADVANCED'],
181 181
								'CHANGING_PASSWORD' => $MESSAGE['USERS']['CHANGING_PASSWORD'],
182
								'CHECKED' => 'checked'
182
								'CHECKED' => ' checked="checked"',
183 183
								)
184 184
						);
185 185

  
trunk/wb/admin/pages/settings.php
314 314
$template->set_block('main_block', 'page_list_block2', 'page_list2');
315 315
if($admin->get_permission('pages_add_l0') == true OR $results_array['level'] == 0) {
316 316
	if($results_array['parent'] == 0) {
317
		$selected = ' selected';
317
		$selected = ' selected="selected"';
318 318
	} else { 
319 319
		$selected = '';
320 320
	}
trunk/wb/admin/settings/index.php
106 106
if(isset($_GET['advanced']) AND $_GET['advanced'] == 'yes') {
107 107
	$template->set_var('DISPLAY_ADVANCED', '');
108 108
	$template->set_var('ADVANCED', 'yes');
109
	$template->set_var('ADVANCED_BUTTON', '<< '.$TEXT['HIDE_ADVANCED']);
109
	$template->set_var('ADVANCED_BUTTON', '&lt;&lt; '.$TEXT['HIDE_ADVANCED']);
110 110
	$template->set_var('ADVANCED_LINK', 'index.php?advanced=no');
111 111
	$template->set_var('BASIC_FILE_PERMS_ID', 'hide');
112 112
	$template->set_var('ADVANCED_FILE_PERMS_ID', 'file_perms_box');
113 113
} else {
114
	$template->set_var('DISPLAY_ADVANCED', 'none');
114
	$template->set_var('DISPLAY_ADVANCED', ' style="display: none;"');
115 115
	$template->set_var('ADVANCED', 'no');
116
	$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].' >>');
116
	$template->set_var('ADVANCED_BUTTON', $TEXT['SHOW_ADVANCED'].' &gt;&gt;');
117 117
	$template->set_var('ADVANCED_LINK', 'index.php?advanced=yes');
118 118
	$template->set_var('BASIC_FILE_PERMS_ID', 'file_perms_box');
119 119
	$template->set_var('ADVANCED_FILE_PERMS_ID', 'hide');
......
150 150
		// Insert code and name
151 151
		$template->set_var(array(
152 152
								'CODE' => $l_codes[$l_name],
153
								'NAME' => $l_name
153
								'NAME' => $l_name,
154
								'FLAG' => THEME_URL.'/images/flags/'.strtolower($l_codes[$l_name]),
154 155
								));
155 156
		// Check if it is selected
156 157
		if(DEFAULT_LANGUAGE == $l_codes[$l_name]) {
157
			$template->set_var('SELECTED', ' selected');
158
			$template->set_var('SELECTED', ' selected="selected"');
158 159
		} else {
159 160
			$template->set_var('SELECTED', '');
160 161
		}
......
171 172
		$template->set_var('VALUE', $hour_offset);
172 173
		$template->set_var('NAME', $title);
173 174
		if(DEFAULT_TIMEZONE == $hour_offset*60*60) {
174
			$template->set_var('SELECTED', 'selected');
175
			$template->set_var('SELECTED', ' selected="selected"');
175 176
		} else {
176 177
			$template->set_var('SELECTED', '');
177 178
		}
......
186 187
	$template->set_var('VALUE', $code);
187 188
	$template->set_var('NAME', $title);
188 189
	if(DEFAULT_CHARSET == $code) {
189
		$template->set_var('SELECTED', 'selected');
190
		$template->set_var('SELECTED', ' selected="selected"');
190 191
	} else {
191 192
		$template->set_var('SELECTED', '');
192 193
	}
......
205 206
	}
206 207
	$template->set_var('NAME', $title);
207 208
	if(DEFAULT_DATE_FORMAT == $format) {
208
		$template->set_var('SELECTED', 'selected');
209
		$template->set_var('SELECTED', ' selected="selected"');
209 210
	} else {
210 211
		$template->set_var('SELECTED', '');
211 212
	}
......
224 225
	}
225 226
	$template->set_var('NAME', $title);
226 227
	if(DEFAULT_TIME_FORMAT == $format) {
227
		$template->set_var('SELECTED', 'selected');
228
		$template->set_var('SELECTED', ' selected="selected"');
228 229
	} else {
229 230
		$template->set_var('SELECTED', '');
230 231
	}
......
238 239
	while($addon = $result->fetchRow()) {
239 240
		$template->set_var('FILE', $addon['directory']);
240 241
		$template->set_var('NAME', $addon['name']);
241
		if(($addon['directory'] == DEFAULT_TEMPLATE) ? $selected = ' selected' : $selected = '');
242
		if(($addon['directory'] == DEFAULT_TEMPLATE) ? $selected = ' selected="selected"' : $selected = '');
242 243
		$template->set_var('SELECTED', $selected);
243 244
		$template->parse('template_list', 'template_list_block', true);
244 245
	}
......
251 252
	while($addon = $result->fetchRow()) {
252 253
		$template->set_var('FILE', $addon['directory']);
253 254
		$template->set_var('NAME', $addon['name']);
254
		if(($addon['directory'] == DEFAULT_THEME) ? $selected = ' selected' : $selected = '');
255
		if(($addon['directory'] == DEFAULT_THEME) ? $selected = ' selected="selected"' : $selected = '');
255 256
		$template->set_var('SELECTED', $selected);
256 257
		$template->parse('theme_list', 'theme_list_block', true);
257 258
	}
......
263 264
$module_name=$TEXT['NONE'];  
264 265
$template->set_var('FILE', $file);  
265 266
$template->set_var('NAME', $module_name);  
266
if((!defined('WYSIWYG_EDITOR') OR $file == WYSIWYG_EDITOR) ? $selected = ' selected' : $selected = '');  
267
$template->set_var('SELECTED', $selected);  
267
if((!defined('WYSIWYG_EDITOR') OR $file == WYSIWYG_EDITOR) ? $selected = ' selected="selected"' : $selected = '');
268
$template->set_var('SELECTED', $selected);
268 269
$template->parse('editor_list', 'editor_list_block', true);  
269 270
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function = 'wysiwyg'");
270 271
if($result->numRows() > 0) {
271 272
	while($addon = $result->fetchRow()) {
272 273
		$template->set_var('FILE', $addon['directory']);
273 274
		$template->set_var('NAME', $addon['name']);
274
		if((defined('WYSIWYG_EDITOR') AND $addon['directory'] == WYSIWYG_EDITOR) ? $selected = ' selected' : $selected = '');
275
		if((defined('WYSIWYG_EDITOR') AND $addon['directory'] == WYSIWYG_EDITOR) ? $selected = ' selected="selected"' : $selected = '');
275 276
		$template->set_var('SELECTED', $selected);
276 277
		$template->parse('editor_list', 'editor_list_block', true);
277 278
	}
......
279 280

  
280 281
// Insert templates for search settings
281 282
$template->set_block('main_block', 'search_template_list_block', 'search_template_list');
282
if($search_template == '') { $selected = ' selected'; } else { $selected = ''; }
283
if($search_template == '') { $selected = ' selected="selected"'; } else { $selected = ''; }
283 284
$template->set_var(array('FILE' => '', 'NAME' => $TEXT['SYSTEM_DEFAULT'], 'SELECTED' => $selected));
284 285
$template->parse('search_template_list', 'search_template_list_block', true);
285 286
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'template' order by name");
......
287 288
	while($addon = $result->fetchRow()) {
288 289
		$template->set_var('FILE', $addon['directory']);
289 290
		$template->set_var('NAME', $addon['name']);
290
		if($addon['directory'] == $search_template ? $selected = ' selected' : $selected = '');
291
		if($addon['directory'] == $search_template ? $selected = ' selected="selected"' : $selected = '');
291 292
		$template->set_var('SELECTED', $selected);
292 293
		$template->parse('search_template_list', 'search_template_list_block', true);
293 294
	}
......
300 301
	$template->set_var('VALUE', $value);
301 302
	$template->set_var('NAME', $title);
302 303
	if(ER_LEVEL == $value) {
303
		$template->set_var('SELECTED', 'selected');
304
		$template->set_var('SELECTED', ' selected="selected"');
304 305
	} else {
305 306
		$template->set_var('SELECTED', '');
306 307
	}
......
317 318
for($i = 1; $i <= 10; $i++) {
318 319
	$template->set_var('NUMBER', $i);
319 320
	if(PAGE_LEVEL_LIMIT == $i) {
320
		$template->set_var('SELECTED', 'selected');
321
		$template->set_var('SELECTED', ' selected="selected"');
321 322
	} else {
322 323
		$template->set_var('SELECTED', '');
323 324
	}
......
326 327

  
327 328
// Work-out if multiple menus feature is enabled
328 329
if(defined('MULTIPLE_MENUS') AND MULTIPLE_MENUS == true) {
329
	$template->set_var('MULTIPLE_MENUS_ENABLED', ' checked');
330
	$template->set_var('MULTIPLE_MENUS_ENABLED', ' checked="checked"');
330 331
} else {
331
	$template->set_var('MULTIPLE_MENUS_DISABLED', ' checked');
332
	$template->set_var('MULTIPLE_MENUS_DISABLED', ' checked="checked"');
332 333
}
333 334

  
334 335
// Work-out if page languages feature is enabled
335 336
if(defined('PAGE_LANGUAGES') AND PAGE_LANGUAGES == true) {
336
        $template->set_var('PAGE_LANGUAGES_ENABLED', ' checked');
337
        $template->set_var('PAGE_LANGUAGES_ENABLED', ' checked="checked"');
337 338
} else {
338
        $template->set_var('PAGE_LANGUAGES_DISABLED', ' checked');
339
        $template->set_var('PAGE_LANGUAGES_DISABLED', ' checked="checked"');
339 340
}
340 341

  
341 342
// Work-out if smart login feature is enabled
342 343
if(defined('SMART_LOGIN') AND SMART_LOGIN == true) {
343
	$template->set_var('SMART_LOGIN_ENABLED', ' checked');
344
	$template->set_var('SMART_LOGIN_ENABLED', ' checked="checked"');
344 345
} else {
345
	$template->set_var('SMART_LOGIN_DISABLED', ' checked');
346
	$template->set_var('SMART_LOGIN_DISABLED', ' checked="checked"');
346 347
}
347 348

  
348 349
if(extension_loaded('gd') AND function_exists('imageCreateFromJpeg')) { /* Make's sure GD library is installed */
......
353 354

  
354 355
// Work-out if section blocks feature is enabled
355 356
if(defined('SECTION_BLOCKS') AND SECTION_BLOCKS == true) {
356
	$template->set_var('SECTION_BLOCKS_ENABLED', ' checked');
357
	$template->set_var('SECTION_BLOCKS_ENABLED', ' checked="checked"');
357 358
} else {
358
	$template->set_var('SECTION_BLOCKS_DISABLED', ' checked');
359
	$template->set_var('SECTION_BLOCKS_DISABLED', ' checked="checked"');
359 360
}
360 361

  
361 362
// Work-out if homepage redirection feature is enabled
362 363
if(defined('HOMEPAGE_REDIRECTION') AND HOMEPAGE_REDIRECTION == true) {
363
	$template->set_var('HOMEPAGE_REDIRECTION_ENABLED', ' checked');
364
	$template->set_var('HOMEPAGE_REDIRECTION_ENABLED', ' checked="checked"');
364 365
} else {
365
	$template->set_var('HOMEPAGE_REDIRECTION_DISABLED', ' checked');
366
	$template->set_var('HOMEPAGE_REDIRECTION_DISABLED', ' checked="checked"');
366 367
}
367 368

  
368 369
// Work-out which server os should be checked
369 370
if(OPERATING_SYSTEM == 'linux') {
370
	$template->set_var('LINUX_SELECTED', ' checked');
371
	$template->set_var('LINUX_SELECTED', ' checked="checked"');
371 372
} elseif(OPERATING_SYSTEM == 'windows') {
372
	$template->set_var('WINDOWS_SELECTED', ' checked');
373
	$template->set_var('WINDOWS_SELECTED', ' checked="checked"');
373 374
}
374 375

  
375 376
// Work-out if manage sections feature is enabled
376 377
if(MANAGE_SECTIONS) {
377
	$template->set_var('MANAGE_SECTIONS_ENABLED', ' checked');
378
	$template->set_var('MANAGE_SECTIONS_ENABLED', ' checked="checked"');
378 379
} else {
379
	$template->set_var('MANAGE_SECTIONS_DISABLED', ' checked');
380
	$template->set_var('MANAGE_SECTIONS_DISABLED', ' checked="checked"');
380 381
}
381 382

  
382 383
// Work-out which wbmailer routine should be checked
383 384
if(WBMAILER_ROUTINE == 'phpmail') {
384
	$template->set_var('PHPMAIL_SELECTED', ' checked');
385
	$template->set_var('PHPMAIL_SELECTED', ' checked="checked"');
385 386
	$template->set_var('SMTP_VISIBILITY', 'none');
386 387
	$template->set_var('SMTP_VISIBILITY_AUTH', 'none');
387 388
} elseif(WBMAILER_ROUTINE == 'smtp') {
388
	$template->set_var('SMTPMAIL_SELECTED', ' checked');
389
	$template->set_var('SMTPMAIL_SELECTED', ' checked="checked"');
389 390
	$template->set_var('SMTP_VISIBILITY', '');
390 391
}
391 392

  
392 393
// Work-out if SMTP authentification should be checked
393 394
if(WBMAILER_SMTP_AUTH) {
394
	$template->set_var('SMTP_AUTH_SELECTED', ' checked');
395
	$template->set_var('SMTP_AUTH_SELECTED', ' checked="checked"');
395 396
	if(WBMAILER_ROUTINE == 'smtp') {
396 397
		$template->set_var('SMTP_VISIBILITY_AUTH', '');
397 398
	} else {
......
403 404

  
404 405
// Work-out if intro feature is enabled
405 406
if(INTRO_PAGE) {
406
	$template->set_var('INTRO_PAGE_ENABLED', ' checked');
407
	$template->set_var('INTRO_PAGE_ENABLED', ' checked="checked"');
407 408
} else {
408
	$template->set_var('INTRO_PAGE_DISABLED', ' checked');
409
	$template->set_var('INTRO_PAGE_DISABLED', ' checked="checked"');
409 410
}
410 411

  
411 412
// Work-out if frontend login feature is enabled
412 413
if(FRONTEND_LOGIN) {
413
	$template->set_var('PRIVATE_ENABLED', ' checked');
414
	$template->set_var('PRIVATE_ENABLED', ' checked="checked"');
414 415
} else {
415
	$template->set_var('PRIVATE_DISABLED', ' checked');
416
	$template->set_var('PRIVATE_DISABLED', ' checked="checked"');
416 417
}
417 418

  
418 419
// Work-out if page trash feature is disabled, in-line, or separate
419 420
if(PAGE_TRASH == 'disabled') {
420
	$template->set_var('PAGE_TRASH_DISABLED', ' checked');
421
	$template->set_var('PAGE_TRASH_DISABLED', ' checked="checked"');
421 422
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: none;');
422 423
} elseif(PAGE_TRASH == 'inline') {
423
	$template->set_var('PAGE_TRASH_INLINE', ' checked');
424
	$template->set_var('PAGE_TRASH_INLINE', ' checked="checked"');
424 425
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: none;');
425 426
} elseif(PAGE_TRASH == 'separate') {
426
	$template->set_var('PAGE_TRASH_SEPARATE', ' checked');
427
	$template->set_var('PAGE_TRASH_SEPARATE', ' checked="checked"');
427 428
	$template->set_var('DISPLAY_PAGE_TRASH_SEPARATE', ' display: inline;');
428 429
}
429 430

  
430 431
// Work-out if media home folde feature is enabled
431 432
if(HOME_FOLDERS) {
432
	$template->set_var('HOME_FOLDERS_ENABLED', ' checked');
433
	$template->set_var('HOME_FOLDERS_ENABLED', ' checked="checked"');
433 434
} else {
434
	$template->set_var('HOME_FOLDERS_DISABLED', ' checked');
435
	$template->set_var('HOME_FOLDERS_DISABLED', ' checked="checked"');
435 436
}
436 437

  
437 438
// Insert search select
438 439
if(SEARCH == 'private') {
439
	$template->set_var('PRIVATE_SEARCH', 'selected');
440
	$template->set_var('PRIVATE_SEARCH', ' selected="selected"');
440 441
} elseif(SEARCH == 'registered') {
441
	$template->set_var('REGISTERED_SEARCH', 'selected');
442
	$template->set_var('REGISTERED_SEARCH', ' selected="selected"');
442 443
} elseif(SEARCH == 'none') {
443
	$template->set_var('NONE_SEARCH', 'selected');
444
	$template->set_var('NONE_SEARCH', ' selected="selected"');
444 445
}
445 446

  
446 447
// Work-out if 777 permissions are set
447 448
if(STRING_FILE_MODE == '0777' AND STRING_DIR_MODE == '0777') {
448
	$template->set_var('WORLD_WRITEABLE_SELECTED', ' checked');
449
	$template->set_var('WORLD_WRITEABLE_SELECTED', ' checked="checked"');
449 450
}
450 451

  
451 452
// Work-out which file mode boxes are checked
452 453
if(extract_permission(STRING_FILE_MODE, 'u', 'r')) {
453
	$template->set_var('FILE_U_R_CHECKED', 'checked');
454
	$template->set_var('FILE_U_R_CHECKED', ' checked="checked"');
454 455
}
455 456
if(extract_permission(STRING_FILE_MODE, 'u', 'w')) {
456
	$template->set_var('FILE_U_W_CHECKED', 'checked');
457
	$template->set_var('FILE_U_W_CHECKED', ' checked="checked"');
457 458
}
458 459
if(extract_permission(STRING_FILE_MODE, 'u', 'e')) {
459
	$template->set_var('FILE_U_E_CHECKED', 'checked');
460
	$template->set_var('FILE_U_E_CHECKED', ' checked="checked"');
460 461
}
461 462
if(extract_permission(STRING_FILE_MODE, 'g', 'r')) {
462
	$template->set_var('FILE_G_R_CHECKED', 'checked');
463
	$template->set_var('FILE_G_R_CHECKED', ' checked="checked"');
463 464
}
464 465
if(extract_permission(STRING_FILE_MODE, 'g', 'w')) {
465
	$template->set_var('FILE_G_W_CHECKED', 'checked');
466
	$template->set_var('FILE_G_W_CHECKED', ' checked="checked"');
466 467
}
467 468
if(extract_permission(STRING_FILE_MODE, 'g', 'e')) {
468
	$template->set_var('FILE_G_E_CHECKED', 'checked');
469
	$template->set_var('FILE_G_E_CHECKED', ' checked="checked"');
469 470
}
470 471
if(extract_permission(STRING_FILE_MODE, 'o', 'r')) {
471
	$template->set_var('FILE_O_R_CHECKED', 'checked');
472
	$template->set_var('FILE_O_R_CHECKED', ' checked="checked"');
472 473
}
473 474
if(extract_permission(STRING_FILE_MODE, 'o', 'w')) {
474
	$template->set_var('FILE_O_W_CHECKED', 'checked');
475
	$template->set_var('FILE_O_W_CHECKED', ' checked="checked"');
475 476
}
476 477
if(extract_permission(STRING_FILE_MODE, 'o', 'e')) {
477
	$template->set_var('FILE_O_E_CHECKED', 'checked');
478
	$template->set_var('FILE_O_E_CHECKED', ' checked="checked"');
478 479
}
479 480
// Work-out which dir mode boxes are checked
480 481
if(extract_permission(STRING_DIR_MODE, 'u', 'r')) {
481
	$template->set_var('DIR_U_R_CHECKED', 'checked');
482
	$template->set_var('DIR_U_R_CHECKED', ' checked="checked"');
482 483
}
483 484
if(extract_permission(STRING_DIR_MODE, 'u', 'w')) {
484
	$template->set_var('DIR_U_W_CHECKED', 'checked');
485
	$template->set_var('DIR_U_W_CHECKED', ' checked="checked"');
485 486
}
486 487
if(extract_permission(STRING_DIR_MODE, 'u', 'e')) {
487
	$template->set_var('DIR_U_E_CHECKED', 'checked');
488
	$template->set_var('DIR_U_E_CHECKED', ' checked="checked"');
488 489
}
489 490
if(extract_permission(STRING_DIR_MODE, 'g', 'r')) {
490
	$template->set_var('DIR_G_R_CHECKED', 'checked');
491
	$template->set_var('DIR_G_R_CHECKED', ' checked="checked"');
491 492
}
492 493
if(extract_permission(STRING_DIR_MODE, 'g', 'w')) {
493
	$template->set_var('DIR_G_W_CHECKED', 'checked');
494
	$template->set_var('DIR_G_W_CHECKED', ' checked="checked"');
494 495
}
495 496
if(extract_permission(STRING_DIR_MODE, 'g', 'e')) {
496
	$template->set_var('DIR_G_E_CHECKED', 'checked');
497
	$template->set_var('DIR_G_E_CHECKED', ' checked="checked"');
497 498
}
498 499
if(extract_permission(STRING_DIR_MODE, 'o', 'r')) {
499
	$template->set_var('DIR_O_R_CHECKED', 'checked');
500
	$template->set_var('DIR_O_R_CHECKED', ' checked="checked"');
500 501
}
501 502
if(extract_permission(STRING_DIR_MODE, 'o', 'w')) {
502
	$template->set_var('DIR_O_W_CHECKED', 'checked');
503
	$template->set_var('DIR_O_W_CHECKED', ' checked="checked"');
503 504
}
504 505
if(extract_permission(STRING_DIR_MODE, 'o', 'e')) {
505
	$template->set_var('DIR_O_E_CHECKED', 'checked');
506
	$template->set_var('DIR_O_E_CHECKED', ' checked="checked"');
506 507
}
507 508

  
508 509
// Insert Server Email value into template
......
516 517
		$template->set_var('ID', $group['group_id']);
517 518
		$template->set_var('NAME', $group['name']);
518 519
		if(FRONTEND_SIGNUP == $group['group_id']) {
519
			$template->set_var('SELECTED', 'selected');
520
			$template->set_var('SELECTED', ' selected="selected"');
520 521
		} else {
521 522
			$template->set_var('SELECTED', '');
522 523
		}
trunk/wb/admin/users/users.php
62 62
										)
63 63
							);
64 64
	if($user['active'] == 1) {
65
		$template->set_var('ACTIVE_CHECKED', ' checked');
65
		$template->set_var('ACTIVE_CHECKED', ' checked="checked"');
66 66
	} else {
67
		$template->set_var('DISABLED_CHECKED', ' checked');
67
		$template->set_var('DISABLED_CHECKED', ' checked="checked"');
68 68
	}
69 69
	// Add groups to list
70 70
	$template->set_block('main_block', 'group_list_block', 'group_list');
......
78 78
			$template->set_var('ID', $group['group_id']);
79 79
			$template->set_var('NAME', $group['name']);
80 80
			if(in_array($group['group_id'], split(",",$user['groups_id']))) {
81
				$template->set_var('SELECTED', 'selected');
81
				$template->set_var('SELECTED', ' selected="selected"');
82 82
			} else {
83 83
				$template->set_var('SELECTED', '');
84 84
			}
......
99 99
		}
100 100

  
101 101
		if($in_group) {
102
			$template->set_var('SELECTED', 'selected');
102
			$template->set_var('SELECTED', ' selected="selected"');
103 103
		} else {
104 104
			$template->set_var('SELECTED', '');
105 105
		}
......
108 108
		if($results->numRows() == 0) {
109 109
			$template->set_var('ID', '');
110 110
			$template->set_var('NAME', $TEXT['NONE_FOUND']);
111
			$template->set_var('SELECTED', 'selected');
111
			$template->set_var('SELECTED', ' selected="selected"');
112 112
			$template->parse('group_list', 'group_list_block', true);
113 113
		}
114
	}	
114
	}
115 115
	
116 116
	// Generate username field name
117 117
	$username_fieldname = 'username_';
......
139 139
		$template->set_var('NAME', str_replace(WB_PATH, '', $name));
140 140
		$template->set_var('FOLDER', str_replace(WB_PATH.MEDIA_DIRECTORY, '', $name));
141 141
		if($user['home_folder'] == str_replace(WB_PATH.MEDIA_DIRECTORY, '', $name)) {
142
			$template->set_var('SELECTED', ' selected');
142
			$template->set_var('SELECTED', ' selected="selected"');
143 143
		} else {
144 144
			$template->set_var('SELECTED', ' ');
145 145
		}
trunk/wb/admin/users/index.php
95 95
$template->set_file('page', 'users_form.htt');
96 96
$template->set_block('page', 'main_block', 'main');
97 97
$template->set_var('DISPLAY_EXTRA', 'none');
98
$template->set_var('ACTIVE_CHECKED', 'checked');
98
$template->set_var('ACTIVE_CHECKED', ' checked="checked"');
99 99
$template->set_var('ACTION_URL', ADMIN_URL.'/users/add.php');
100 100
$template->set_var('SUBMIT_TITLE', $TEXT['ADD']);
101 101

  
......
105 105
if($results->numRows() > 0) {
106 106
	$template->set_var('ID', '');
107 107
	$template->set_var('NAME', $TEXT['PLEASE_SELECT'].'...');
108
	$template->set_var('SELECTED', 'selected');
108
	$template->set_var('SELECTED', ' selected="selected"');
109 109
	$template->parse('group_list', 'group_list_block', true);
110 110
	while($group = $results->fetchRow()) {
111 111
		$template->set_var('ID', $group['group_id']);
trunk/wb/admin/preferences/index.php
60 60
		// Insert code and name
61 61
		$template->set_var(array(
62 62
								'CODE' => $l_codes[$l_name],
63
								'NAME' => $l_name
63
								'NAME' => $l_name,
64
								'FLAG' => THEME_URL.'/images/flags/'.strtolower($l_codes[$l_name]),
64 65
								));
65 66
		// Check if it is selected
66 67
		if(LANGUAGE == $l_codes[$l_name]) {
67
			$template->set_var('SELECTED', ' selected');
68
			$template->set_var('SELECTED', ' selected="selected"');
68 69
		} else {
69 70
			$template->set_var('SELECTED', '');
70 71
		}
......
79 80
	$template->set_var('VALUE', $hour_offset);
80 81
	$template->set_var('NAME', $title);
81 82
	if($admin->get_timezone() == $hour_offset*60*60) {
82
		$template->set_var('SELECTED', 'selected');
83
		$template->set_var('SELECTED', ' selected="selected"');
83 84
	} else {
84 85
		$template->set_var('SELECTED', '');
85 86
	}
......
99 100
	}
100 101
	$template->set_var('NAME', $title);
101 102
	if(DATE_FORMAT == $format AND !isset($_SESSION['USE_DEFAULT_DATE_FORMAT'])) {
102
		$template->set_var('SELECTED', 'selected');
103
		$template->set_var('SELECTED', ' selected="selected"');
103 104
	} elseif($format == 'system_default' AND isset($_SESSION['USE_DEFAULT_DATE_FORMAT'])) {
104
		$template->set_var('SELECTED', 'selected');
105
		$template->set_var('SELECTED', ' selected="selected"');
105 106
	} else {
106 107
		$template->set_var('SELECTED', '');
107 108
	}
......
120 121
	}
121 122
	$template->set_var('NAME', $title);
122 123
	if(TIME_FORMAT == $format AND !isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
123
		$template->set_var('SELECTED', 'selected');
124
		$template->set_var('SELECTED', ' selected="selected"');
124 125
	} elseif($format == 'system_default' AND isset($_SESSION['USE_DEFAULT_TIME_FORMAT'])) {
125 126
		$template->set_var('SELECTED', 'selected');
126 127
	} else {
trunk/wb/templates/classic/templates/users_form.htt
64 64
<tr>
65 65
	<td>{TEXT_GROUP}:</td>
66 66
	<td class="value_input">
67
		<select name="groups[]" multiple size=5>
67
		<select name="groups[]" multiple="multiple" size="5">
68 68
		<!-- BEGIN group_list_block -->
69 69
			<option value="{ID}" {SELECTED}>{NAME}</option>
70 70
		<!-- END group_list_block -->
trunk/wb/templates/classic/templates/header.htt
5 5
<title>{WEBSITE_TITLE} >> {TEXT_ADMINISTRATION} - {SECTION_NAME}</title>
6 6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
7 7
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
8
<link href="{WB_URL}/include/jquery//jquery-ui.css" rel="stylesheet" type="text/css" />
8
<link href="{WB_URL}/include/jquery/jquery-ui.css" rel="stylesheet" type="text/css" />
9 9
{BACKEND_MODULE_CSS}
10
<script src="{WB_URL}/include/editarea/edit_area_full.js" type="text/javascript"></script>
10
<script type="text/javascript" src="{WB_URL}/include/editarea/edit_area_full.js"></script>
11 11
<script language="javascript" type="text/javascript">
12
   function confirm_link(message, url) {
13
	  if(confirm(message)) location.href = url;
14
	    }
12
function confirm_link(message, url) {
13
	if(confirm(message)) location.href = url;
14
}
15 15
</script>
16 16
</head>
17 17
<body>
trunk/wb/templates/classic/templates/footer.htt
14 14
	</td>
15 15
</tr>
16 16
</table>
17

  
17 18
<script src="{WB_URL}/include/jquery/jquery-min.js" type="text/javascript"></script>
18 19
<script src="{WB_URL}/include/jquery/jquery-insert.js" type="text/javascript"></script>
19 20
<!--[if lt IE 7]><script type="text/javascript" src="{WB_URL}/include/unitpngfix/unitpngfix.js"></script><![endif]-->
20 21
<script language="javascript" type="text/javascript">
21 22

  
22
        if($("a[rel^='lightbox']").length) {
23
            $.insert("{THEME_URL}/css/jquery-slimbox2.css");
24
            $.insert("{WB_URL}/include/jquery/plugins/jquery-slimbox2-min.js");
25
          }
26 23

  
27 24
        if($(".jcalendar").length) {
28 25
            $.insert("{WB_URL}/include/jscalendar/calendar-system.css");
......
32 29
            $.insert("{WB_URL}/modules/jsadmin/backend.css");
33 30
          }
34 31

  
32
        if($("a[rel^='lightbox']").length) {
33
            $.insert("{THEME_URL}/css/jquery-slimbox2.css");
34
            $.insert("{WB_URL}/include/jquery/plugins/jquery-slimbox2-min.js");
35
          }
35 36

  
36 37
</script>
37 38
{JS_THEME_INC_PHP}
38

  
39 39
</body>
40 40
</html>
41 41
<!-- END footer_block -->
trunk/wb/templates/classic/templates/settings.htt
1
</div><!-- BEGIN main_block -->
1
<!-- BEGIN main_block -->
2 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('row_wbmailer_smtp_settings').style.display = '';
19
		document.getElementById('row_wbmailer_smtp_host').style.display = '';
20
		document.getElementById('row_wbmailer_smtp_auth_mode').style.display = '';
21
		document.getElementById('row_wbmailer_smtp_username').style.display = '';
22
		document.getElementById('row_wbmailer_smtp_password').style.display = '';
23
		if( document.settings.wbmailer_smtp_auth.checked == true ) {
24
			document.getElementById('row_wbmailer_smtp_username').style.display = '';
25
			document.getElementById('row_wbmailer_smtp_password').style.display = '';
26
		} else {
27
			document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
28
			document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
29
		}
30
	} else if(type == 'phpmail') {
31
		document.getElementById('row_wbmailer_smtp_settings').style.display = 'none';
32
		document.getElementById('row_wbmailer_smtp_host').style.display = 'none';
33
		document.getElementById('row_wbmailer_smtp_auth_mode').style.display = 'none';
34
		document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
35
		document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
36
	}
37
}
38

  
39
function toggle_wbmailer_auth() {
40
	if( document.settings.wbmailer_smtp_auth.checked == true ) {
41
		document.getElementById('row_wbmailer_smtp_username').style.display = '';
42
		document.getElementById('row_wbmailer_smtp_password').style.display = '';
43
	} else {
44
		document.getElementById('row_wbmailer_smtp_username').style.display = 'none';
45
		document.getElementById('row_wbmailer_smtp_password').style.display = 'none';
46
	}
47
}
48
</script>
49

  
50
<style>
51
.advanced {
52
	display: {DISPLAY_ADVANCED};
53
</style>
54

  
55 3
<form name="settings" action="save.php" method="post">
56 4
<input type="hidden" name="advanced" value="{ADVANCED}" />
57 5

  
......
66 14
	<td class="setting_value" colspan="2">
67 15
		<input type="text" name="website_title" value="{WEBSITE_TITLE}" />
68 16
	</td>
69
	<script language="javascript" type="text/javascript">
70
	document.settings.website_title.focus();
71
	</script>
72 17
</tr>
73 18
<tr>
74 19
	<td class="setting_name">{TEXT_WEBSITE_DESCRIPTION}:</td>
75 20
	<td class="setting_value" colspan="2">
76
		<textarea name="website_description">{WEBSITE_DESCRIPTION}</textarea>
21
		<textarea name="website_description" cols="50" rows="3">{WEBSITE_DESCRIPTION}</textarea>
77 22
	</td>
78 23
</tr>
79 24
<tr>
80 25
	<td class="setting_name">{TEXT_WEBSITE_KEYWORDS}:</td>
81 26
	<td class="setting_value" colspan="2">
82
		<textarea name="website_keywords">{WEBSITE_KEYWORDS}</textarea>
27
		<textarea name="website_keywords" cols="50" rows="3" >{WEBSITE_KEYWORDS}</textarea>
83 28
	</td>
84 29
</tr>
85 30
<tr>
86 31
	<td class="setting_name">{TEXT_WEBSITE_HEADER}:</td>
87 32
	<td class="setting_value" colspan="2">
88
		<textarea name="website_header">{WEBSITE_HEADER}</textarea>
33
		<textarea name="website_header" cols="50" rows="3">{WEBSITE_HEADER}</textarea>
89 34
	</td>
90 35
</tr>
91 36
<tr>
92 37
	<td class="setting_name">{TEXT_WEBSITE_FOOTER}:</td>
93 38
	<td class="setting_value" colspan="2">
94
		<textarea name="website_footer">{WEBSITE_FOOTER}</textarea>
39
		<textarea name="website_footer" cols="50" rows="3">{WEBSITE_FOOTER}</textarea>
95 40
	</td>
96 41
</tr>
97
<tr class="advanced">
42
<tr {DISPLAY_ADVANCED}>
98 43
	<td class="setting_name">{TEXT_PAGE_LEVEL_LIMIT}:</td>
99 44
	<td class="setting_value" colspan="2">
100 45
		<select name="page_level_limit">
......
117 62
		</div>
118 63
	</td>
119 64
</tr>
120
<tr class="advanced">
65
<tr {DISPLAY_ADVANCED}>
121 66
        <td class="setting_name">{TEXT_PAGE_LANGUAGES}:</td>
122 67
        <td class="setting_value" colspan="2">
123 68
                <input type="radio" name="page_languages" id="page_languages_true" style="width: 14px; height: 14px;" value="true"{PAGE_LANGUAGES_ENABLED} />
......
126 71
                <label for="page_languages_false">{TEXT_DISABLED}</label>
127 72
		</td>
128 73
</tr>
129
<tr class="advanced">
74
<tr {DISPLAY_ADVANCED}>
130 75
	<td class="setting_name">{TEXT_MULTIPLE_MENUS}:</td>
131 76
	<td class="setting_value" colspan="2">
132 77
		<input type="radio" name="multiple_menus" id="multiple_menus_true" style="width: 14px; height: 14px;" value="true"{MULTIPLE_MENUS_ENABLED} />
......
144 89
		<label for="home_folders_false">{TEXT_DISABLED}</label>
145 90
	</td>
146 91
</tr>
147
<tr class="advanced">
92
<tr {DISPLAY_ADVANCED}>
148 93
	<td class="setting_name">{TEXT_MANAGE_SECTIONS}:</td>
149 94
	<td class="setting_value" colspan="2">
150 95
		<input type="radio" name="manage_sections" id="manage_sections_true" style="width: 14px; height: 14px;" value="true"{MANAGE_SECTIONS_ENABLED} />
......
153 98
		<label for="manage_sections_false">{TEXT_DISABLED}</label>
154 99
	</td>
155 100
</tr>
156
<tr class="advanced">
101
<tr {DISPLAY_ADVANCED}>
157 102
	<td class="setting_name">{TEXT_SECTION_BLOCKS}:</td>
158 103
	<td class="setting_value" colspan="2">
159 104
		<input type="radio" name="section_blocks" id="section_blocks_true" style="width: 14px; height: 14px;" value="true"{SECTION_BLOCKS_ENABLED} />
......
171 116
		<label for="intro_page_false">{TEXT_DISABLED}</label>
172 117
	</td>
173 118
</tr>
174
<tr class="advanced">
119
<tr {DISPLAY_ADVANCED}>
175 120
	<td class="setting_name">{TEXT_HOMEPAGE_REDIRECTION}:</td>
176 121
	<td class="setting_value" colspan="2">
177 122
		<input type="radio" name="homepage_redirection" id="homepage_redirection_true" style="width: 14px; height: 14px;" value="true"{HOMEPAGE_REDIRECTION_ENABLED} />
......
180 125
		<label for="homepage_redirection_false">{TEXT_DISABLED}</label>
181 126
	</td>
182 127
</tr>
183
<tr class="advanced">
128
<tr {DISPLAY_ADVANCED}>
184 129
	<td class="setting_name">{TEXT_SMART_LOGIN}:</td>
185 130
	<td class="setting_value" colspan="2">
186 131
		<input type="radio" name="smart_login" id="smart_login_true" style="width: 14px; height: 14px;" value="true"{SMART_LOGIN_ENABLED} />
......
198 143
		<label for="frontend_login_false">{TEXT_DISABLED}</label>
199 144
	</td>
200 145
</tr>
201
<tr class="advanced">
146
<tr {DISPLAY_ADVANCED}>
202 147
	<td class="setting_name">{TEXT_REDIRECT_AFTER}:</td>
203 148
	<td class="setting_value" colspan="2">
204 149
		<input type="text" name="redirect_timer" value="{REDIRECT_TIMER}" />
......
215 160
		</select>
216 161
	</td>
217 162
</tr>
218
<tr class="advanced">
163
<tr {DISPLAY_ADVANCED}>
219 164
	<td class="setting_name">{TEXT_PHP_ERROR_LEVEL}:</td>
220 165
	<td class="setting_value" colspan="2">
221 166
		<select name="er_level">
......
226 171
		</select>
227 172
	</td>
228 173
</tr>
229
<tr class="advanced">
174
<tr {DISPLAY_ADVANCED}>
230 175
	<td class="setting_name">{TEXT_WYSIWYG_STYLE}:</td>
231 176
	<td class="setting_value" colspan="2">
232 177
		<input type="text" name="wysiwyg_style" value="{WYSIWYG_STYLE}" />
233 178
	</td>
234 179
</tr>
235
<tr class="advanced">
180
<tr {DISPLAY_ADVANCED}>
236 181
	<td class="setting_name">{TEXT_WYSIWYG_EDITOR}:</td>
237 182
	<td class="setting_value" colspan="2">
238 183
		<select name="wysiwyg_editor">
......
249 194
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
250 195
	</td>
251 196
	<td style="text-align: right;">
252
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
197
		<button title="{MODE_SWITCH_WARNING}" onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
253 198
	</td>
254 199
</tr>
255 200
<tr>
......
262 207
	<td class="setting_value" colspan="2">
263 208
		<select name="default_language">
264 209
			<!-- BEGIN language_list_block -->
265
			<option value="{CODE}"{SELECTED}>{NAME} ({CODE})</option>
210
			<option value="{CODE}"{SELECTED} style="background: url({FLAG}.png) no-repeat center left; padding-left: 20px;">{NAME} ({CODE})</option>
266 211
			<!-- END language_list_block -->
267 212
		</select>
268 213
	</td>
269 214
</tr>
270
<tr class="advanced">
215
<tr {DISPLAY_ADVANCED}>
271 216
	<td class="setting_name">{TEXT_CHARSET}:</td>
272 217
	<td class="setting_value" colspan="2">
273 218
		<select name="default_charset">
......
338 283
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
339 284
	</td>
340 285
	<td style="text-align: right;">
341
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
286
		<button title="{MODE_SWITCH_WARNING}" onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
342 287
	</td>
343 288
</tr>
344 289
<tr>
......
367 312
		</select>
368 313
	</td>
369 314
</tr>
370
<tr class="advanced">
315
<tr {DISPLAY_ADVANCED}>
371 316
	<td class="setting_name">{TEXT_HEADER}:</td>
372 317
	<td class="setting_value" colspan="2">
373
		<textarea name="search_header" style="height: 100px;">{SEARCH_HEADER}</textarea>
318
		<textarea name="search_header" style="height: 100px;" cols="50" rows="3">{SEARCH_HEADER}</textarea>
374 319
	</td>
375 320
</tr>
376
<tr class="advanced">
321
<tr {DISPLAY_ADVANCED}>
377 322
	<td class="setting_name">{TEXT_RESULTS_HEADER}:</td>
378 323
	<td class="setting_value" colspan="2">
379
		<textarea name="search_results_header">{SEARCH_RESULTS_HEADER}</textarea>
324
		<textarea name="search_results_header" cols="50" rows="3">{SEARCH_RESULTS_HEADER}</textarea>
380 325
	</td>
381 326
</tr>
382
<tr class="advanced">
327
<tr {DISPLAY_ADVANCED}>
383 328
	<td class="setting_name">{TEXT_RESULTS_LOOP}:</td>
384 329
	<td class="setting_value" colspan="2">
385
		<textarea name="search_results_loop">{SEARCH_RESULTS_LOOP}</textarea>
330
		<textarea name="search_results_loop" cols="50" rows="3">{SEARCH_RESULTS_LOOP}</textarea>
386 331
	</td>
387 332
</tr>
388
<tr class="advanced">
333
<tr {DISPLAY_ADVANCED}>
389 334
	<td class="setting_name">{TEXT_RESULTS_FOOTER}:</td>
390 335
	<td class="setting_value" colspan="2">
391
		<textarea name="search_results_footer">{SEARCH_RESULTS_FOOTER}</textarea>
336
		<textarea name="search_results_footer" cols="50" rows="3">{SEARCH_RESULTS_FOOTER}</textarea>
392 337
	</td>
393 338
</tr>
394
<tr class="advanced">
339
<tr {DISPLAY_ADVANCED}>
395 340
	<td class="setting_name">{TEXT_NO_RESULTS}:</td>
396 341
	<td class="setting_value" colspan="2">
397 342
		<input type="text" name="search_no_results" value="{SEARCH_NO_RESULTS}" />
398 343
	</td>
399 344
</tr>
400
<tr class="advanced">
345
<tr {DISPLAY_ADVANCED}>
401 346
	<td class="setting_name">{TEXT_FOOTER}:</td>
402 347
	<td class="setting_value" colspan="2">
403
		<textarea name="search_footer">{SEARCH_FOOTER}</textarea>
348
		<textarea name="search_footer" cols="50" rows="3">{SEARCH_FOOTER}</textarea>
404 349
	</td>
405 350
</tr>
406
<tr class="advanced">
351
<tr {DISPLAY_ADVANCED}>
407 352
	<td class="setting_name">{TEXT_MODULE_ORDER}:</td>
408 353
	<td class="setting_value" colspan="2">
409 354
		<input type="text" name="search_module_order" value="{SEARCH_MODULE_ORDER}" />
410 355
	</td>
411 356
</tr>
412
<tr class="advanced">
357
<tr {DISPLAY_ADVANCED}>
413 358
	<td class="setting_name">{TEXT_MAX_EXCERPT}:</td>
414 359
	<td class="setting_value" colspan="2">
415 360
		<input type="text" name="search_max_excerpt" value="{SEARCH_MAX_EXCERPT}" />
416 361
	</td>
417 362
</tr>
418
<tr class="advanced">
363
<tr {DISPLAY_ADVANCED}>
419 364
	<td class="setting_name">{TEXT_TIME_LIMIT}:</td>
420 365
	<td class="setting_value" colspan="2">
421 366
		<input type="text" name="search_time_limit" value="{SEARCH_TIME_LIMIT}" />
......
428 373
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
429 374
	</td>
430 375
	<td style="text-align: right;">
431
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
376
		<button title="{MODE_SWITCH_WARNING}" onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
432 377
	</td>
433 378
</tr>
434 379
<tr>
......
441 386
	<td class="setting_value" colspan="2">
442 387
		<input type="radio" name="operating_system" id="operating_system_linux" onclick="javascript: change_os('linux');" style="width: 14px; height: 14px;" value="linux"{LINUX_SELECTED} />
443 388
		<label for="operating_system_linux" onclick="javascript: change_os('linux');">{TEXT_LINUX_UNIX_BASED}</label>
444
		<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');"" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
389
		<input type="radio" name="operating_system" id="operating_system_windows" onclick="javascript: change_os('windows');" style="width: 14px; height: 14px;" value="windows"{WINDOWS_SELECTED} />
445 390
		<label for="operating_system_windows" onclick="javascript: change_os('windows');">{TEXT_WINDOWS}</label>
446 391
	</td>
447 392
</tr>
......
459 404
		<div id="{BASIC_FILE_PERMS_ID}3" style="margin: 0; padding: 0;"></div>
460 405
	</td>
461 406
</tr>
462
<tr class="advanced">
407
<tr {DISPLAY_ADVANCED}>
463 408
	<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
464 409
	<td class="setting_value" id="file_mode" align="left">
465 410
		<table cellpadding="2" cellspacing="0" border="0" width="100%" style="border-right: 1px solid #DDDDDD;" id="{ADVANCED_FILE_PERMS_ID}2">
......
554 499
		</table>
555 500
	</td>
556 501
</tr>
557
<tr class="advanced">
502
<tr {DISPLAY_ADVANCED}>
558 503
	<td class="setting_name">{TEXT_PAGES_DIRECTORY}:</td>
559 504
	<td class="setting_value" colspan="2">
560 505
		<input type="text" name="pages_directory" value="{PAGES_DIRECTORY}" />
561 506
	</td>
562 507
</tr>
563
<tr class="advanced">
508
<tr {DISPLAY_ADVANCED}>
564 509
	<td class="setting_name">{TEXT_MEDIA_DIRECTORY}:</td>
565 510
	<td class="setting_value" colspan="2">
566 511
		<input type="text" name="media_directory" value="{MEDIA_DIRECTORY}" />
567 512
	</td>
568 513
</tr>
569
<tr class="advanced">
514
<tr {DISPLAY_ADVANCED}>
570 515
	<td class="setting_name">{TEXT_PAGE_EXTENSION}:</td>
571 516
	<td class="setting_value" colspan="2">
572 517
		<input type="text" name="page_extension" value="{PAGE_EXTENSION}" />
573 518
	</td>
574 519
</tr>
575
<tr class="advanced">
520
<tr {DISPLAY_ADVANCED}>
576 521
	<td class="setting_name">{TEXT_PAGE_SPACER}:</td>
577 522
	<td class="setting_value" colspan="2">
578 523
		<input type="text" name="page_spacer" value="{PAGE_SPACER}" />
579 524
	</td>
580 525
</tr>
581
<tr class="advanced">
526
<tr {DISPLAY_ADVANCED}>
582 527
	<td class="setting_name">{TEXT_RENAME_FILES_ON_UPLOAD}:</td>
583 528
	<td class="setting_value" colspan="2">
584 529
		<input type="text" name="rename_files_on_upload" value="{RENAME_FILES_ON_UPLOAD}" />
585 530
	</td>
586 531
</tr>
587
<tr class="advanced">
532
<tr {DISPLAY_ADVANCED}>
588 533
	<td class="setting_name">{TEXT_SESSION_IDENTIFIER}:</td>
589 534
	<td class="setting_value" colspan="2">
590 535
		<input type="text" name="app_name" value="{APP_NAME}" />
591 536
	</td>
592 537
</tr>
593
<tr class="advanced">
538
<tr {DISPLAY_ADVANCED}>
594 539
	<td class="setting_name">{TEXT_SEC_ANCHOR}:</td>
595 540
	<td class="setting_value" colspan="2">
596 541
		<input type="text" name="sec_anchor" value="{SEC_ANCHOR}" />
......
620 565
	<td class="setting_value" colspan="2">
621 566
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');" style="width: 14px; height: 14px;" value="phpmail"{PHPMAIL_SELECTED} />
622 567
		<label for="wbmailer_routine_phpmail" onclick="javascript: change_wbmailer('phpmail');">{TEXT_WBMAILER_PHP}</label>
623
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');"" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
568
		<input type="radio" name="wbmailer_routine" id="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');" style="width: 14px; height: 14px;" value="smtp"{SMTPMAIL_SELECTED} />
624 569
		<label for="wbmailer_routine_smtp" onclick="javascript: change_wbmailer('smtp');">{TEXT_WBMAILER_SMTP}</label>
625 570
	</td>
626 571
</tr>
......
662 607
		<input type="reset" name="reset" value="{TEXT_RESET}" class="reset" />
663 608
	</td>
664 609
	<td style="text-align: right;">
665
		<button onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
610
		<button title="{MODE_SWITCH_WARNING}" onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
666 611
	</td>
667 612
</tr>
668 613
</table>
669 614

  
670 615
</form>
671 616

  
672
<hr />
617
<hr size="1" />
673 618

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

  
619
<button title="{MODE_SWITCH_WARNING}" onclick="window.location = '{ADVANCED_LINK}'; return false;" class="{DISPLAY_ADVANCED_BUTTON}">{ADVANCED_BUTTON}</button>
620
<br />
676 621
<font class="{DISPLAY_ADVANCED_BUTTON}">
677
&nbsp; {MODE_SWITCH_WARNING}
622
{MODE_SWITCH_WARNING}
678 623
</font>
679

  
624
<script src="{ADMIN_URL}/settings/setting.js" language="javascript" type="text/javascript"></script>
680 625
<!-- END main_block -->
trunk/wb/templates/classic/templates/access.htt
8 8
		<tr>
9 9
			<td class="graphic" align="center" valign="middle" rowspan="2">
10 10
				<a href="{ADMIN_URL}/users/index.php">
11
					<img src="{THEME_URL}/icons/users.png" border="0" />
11
					<img src="{THEME_URL}/icons/users.png" alt="{USERS}" />
12 12
				</a>
13 13
			</td>
14 14
			<td class="title">
......
27 27
		<tr>
28 28
			<td class="graphic" align="center" valign="middle" rowspan="2">
29 29
				<a href="{ADMIN_URL}/groups/index.php">
30
					<img src="{THEME_URL}/icons/groups.png" border="0" />
30
					<img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" />
31 31
				</a>
32 32
			</td>
33 33
			<td class="title">
trunk/wb/templates/classic/templates/groups_form.htt
81 81
	</td>
82 82
</tr>
83 83
<tr>
84
	<td><input name="pages_view" id="pages_view" type="checkbox" value="1" {pages_view_checked}></td>
84
	<td><input name="pages_view" id="pages_view" type="checkbox" value="1" {pages_view_checked} /></td>
85 85
	<td><label for="pages_view">{TEXT_VIEW}</label></td>
86
	<td><input name="pages_add" id="pages_add" type="checkbox" value="1" {pages_add_checked}></td>
86
	<td><input name="pages_add" id="pages_add" type="checkbox" value="1" {pages_add_checked} /></td>
87 87
	<td>
88 88
		<label for="pages_add">{TEXT_ADD}</label>
89 89
		&nbsp;
90
		(<input name="pages_add_l0" id="pages_add_l0" type="checkbox" value="1" {pages_add_l0_checked}>
90
		<input name="pages_add_l0" id="pages_add_l0" type="checkbox" value="1" {pages_add_l0_checked} />
91 91
		<label for="pages_add_l0">{TEXT_LEVEL} 0</label>)
92 92
	</td>
93 93
</tr>
94 94
<tr>
95
	<td><input name="pages_settings" id="pages_settings" type="checkbox" value="1" {pages_settings_checked}></td>
95
	<td><input name="pages_settings" id="pages_settings" type="checkbox" value="1" {pages_settings_checked} /></td>
96 96
	<td><label for="pages_settings">{TEXT_MODIFY_SETTINGS}</label></td>
97
	<td><input name="pages_modify" id="pages_modify" type="checkbox" value="1" {pages_modify_checked}></td>
97
	<td><input name="pages_modify" id="pages_modify" type="checkbox" value="1" {pages_modify_checked} /></td>
98 98
	<td><label for="pages_modify">{TEXT_MODIFY_CONTENT}</label></td>
99 99
</tr>
100 100
<tr>
101
	<td><input name="pages_intro" id="pages_intro" type="checkbox" value="1" {pages_intro_checked}></td>
101
	<td><input name="pages_intro" id="pages_intro" type="checkbox" value="1" {pages_intro_checked} /></td>
102 102
	<td><label for="pages_intro">{HEADING_MODIFY_INTRO_PAGE}</label></td>
103
	<td><input name="pages_delete" id="pages_delete" type="checkbox" value="1" {pages_delete_checked}></td>
103
	<td><input name="pages_delete" id="pages_delete" type="checkbox" value="1" {pages_delete_checked} /></td>
104 104
	<td><label for="pages_delete">{TEXT_DELETE}</label></td>
105 105
</tr>
106 106
<tr>
......
109 109
	</td>
110 110
</tr>
111 111
<tr>
112
	<td><input name="media_view" id="media_view" type="checkbox" value="1" {media_view_checked}></td>
112
	<td><input name="media_view" id="media_view" type="checkbox" value="1" {media_view_checked} /></td>
113 113
	<td><label for="media_view">{TEXT_VIEW}</label></td>
114
	<td><input name="media_upload" id="media_upload" type="checkbox" value="1" {media_upload_checked}></td>
114
	<td><input name="media_upload" id="media_upload" type="checkbox" value="1" {media_upload_checked} /></td>
115 115
	<td><label for="media_upload">{TEXT_UPLOAD_FILES}</label></td>
116 116
</tr>
117 117
<tr>
118
	<td><input name="media_rename" id="media_rename" type="checkbox" value="1" {media_rename_checked}></td>
118
	<td><input name="media_rename" id="media_rename" type="checkbox" value="1" {media_rename_checked} /></td>
119 119
	<td><label for="media_rename">{TEXT_RENAME}</label></td>
120
	<td><input name="media_delete" id="media_delete" type="checkbox" value="1" {media_delete_checked}></td>
120
	<td><input name="media_delete" id="media_delete" type="checkbox" value="1" {media_delete_checked} /></td>
121 121
	<td><label for="media_delete">{TEXT_DELETE}</label></td>
122 122
</tr>
123 123
<tr>
124
	<td><input name="media_create" id="media_create" type="checkbox" value="1" {media_create_checked}></td>
124
	<td><input name="media_create" id="media_create" type="checkbox" value="1" {media_create_checked} /></td>
125 125
	<td><label for="media_create">{TEXT_CREATE_FOLDER}</label></td>
126 126
	<td>&nbsp;</td>
127 127
	<td>&nbsp;</td>
......
132 132
	</td>
133 133
</tr>
134 134
<tr>
135
	<td><input name="modules_view" id="modules_view" type="checkbox" value="1" {modules_view_checked}></td>
135
	<td><input name="modules_view" id="modules_view" type="checkbox" value="1" {modules_view_checked} /></td>
136 136
	<td><label for="modules_view">{TEXT_VIEW}</label></td>
137
	<td><input name="modules_install" id="modules_install" type="checkbox" value="1" {modules_install_checked}></td>
137
	<td><input name="modules_install" id="modules_install" type="checkbox" value="1" {modules_install_checked} /></td>
138 138
	<td><label for="modules_install">{TEXT_ADD}</label></td>
139 139
</tr>
140 140
<tr>
141
	<td><input name="modules_uninstall" id="modules_uninstall" type="checkbox" value="1" {modules_uninstall_checked}></td>
141
	<td><input name="modules_uninstall" id="modules_uninstall" type="checkbox" value="1" {modules_uninstall_checked} /></td>
142 142
	<td><label for="modules_uninstall">{TEXT_DELETE}</label></td>
143 143
	<td>&nbsp;</td>
144 144
	<td>&nbsp;</td>
......
149 149
	</td>
150 150
</tr>
151 151
<tr>
152
	<td><input name="templates_view" id="templates_view" type="checkbox" value="1" {templates_view_checked}></td>
152
	<td><input name="templates_view" id="templates_view" type="checkbox" value="1" {templates_view_checked} /></td>
153 153
	<td><label for="templates_view">{TEXT_VIEW}</label></td>
154
	<td><input name="templates_install" id="templates_install" type="checkbox" value="1" {templates_install_checked}></td>
154
	<td><input name="templates_install" id="templates_install" type="checkbox" value="1" {templates_install_checked} /></td>
155 155
	<td><label for="templates_install">{TEXT_ADD}</label></td>
156 156
</tr>
157 157
<tr>
158
	<td><input name="templates_uninstall" id="templates_uninstall" type="checkbox" value="1" {templates_uninstall_checked}></td>
158
	<td><input name="templates_uninstall" id="templates_uninstall" type="checkbox" value="1" {templates_uninstall_checked} /></td>
159 159
	<td><label for="templates_uninstall">{TEXT_DELETE}</label></td>
160 160
	<td>&nbsp;</td>
161 161
	<td>&nbsp;</td>
......
166 166
	</td>
167 167
</tr>
168 168
<tr>
169
	<td><input name="languages_view" id="languages_view" type="checkbox" value="1" {languages_view_checked}></td>
169
	<td><input name="languages_view" id="languages_view" type="checkbox" value="1" {languages_view_checked} /></td>
170 170
	<td><label for="languages_view">{TEXT_VIEW}</label></td>
171
	<td><input name="languages_install" id="languages_install" type="checkbox" value="1" {languages_install_checked}></td>
171
	<td><input name="languages_install" id="languages_install" type="checkbox" value="1" {languages_install_checked} /></td>
172 172
	<td><label for="languages_install">{TEXT_ADD}</label></td>
173 173
</tr>
174 174
<tr>
175
	<td><input name="languages_uninstall" id="languages_uninstall" type="checkbox" value="1" {languages_uninstall_checked}></td>
175
	<td><input name="languages_uninstall" id="languages_uninstall" type="checkbox" value="1" {languages_uninstall_checked} /></td>
176 176
	<td><label for="languages_uninstall">{TEXT_DELETE}</label></td>
177 177
	<td>&nbsp;</td>
178 178
	<td>&nbsp;</td>
......
183 183
	</td>
184 184
</tr>
185 185
<tr>
186
	<td><input name="settings_basic" id="settings_basic" type="checkbox" value="1" {settings_basic_checked}></td>
186
	<td><input name="settings_basic" id="settings_basic" type="checkbox" value="1" {settings_basic_checked} /></td>
187 187
	<td><label for="settings_basic">{TEXT_BASIC}</label></td>
188
	<td><input name="settings_advanced" id="settings_advanced" type="checkbox" value="1" {settings_advanced_checked}></td>
188
	<td><input name="settings_advanced" id="settings_advanced" type="checkbox" value="1" {settings_advanced_checked} /></td>
189 189
	<td><label for="settings_advanced">{TEXT_ADVANCED}</label></td>
190 190
</tr>
191 191
<tr>
......
194 194
	</td>
195 195
</tr>
196 196
<tr>
197
	<td><input name="users_view" id="users_view" type="checkbox" value="1" {users_view_checked}></td>
197
	<td><input name="users_view" id="users_view" type="checkbox" value="1" {users_view_checked} /></td>
198 198
	<td><label for="users_view">{TEXT_VIEW}</label></td>
199
	<td><input name="users_add" id="users_add" type="checkbox" value="1" {users_add_checked}></td>
199
	<td><input name="users_add" id="users_add" type="checkbox" value="1" {users_add_checked} /></td>
200 200
	<td><label for="users_add">{TEXT_ADD}</label></td>
201 201
</tr>
202 202
<tr>
203
	<td><input name="users_modify" id="users_modify" type="checkbox" value="1" {users_modify_checked}></td>
203
	<td><input name="users_modify" id="users_modify" type="checkbox" value="1" {users_modify_checked} /></td>
204 204
	<td><label for="users_modify">{TEXT_MODIFY}</label></td>
205
	<td><input name="users_delete" id="users_delete" type="checkbox" value="1" {users_delete_checked}></td>
205
	<td><input name="users_delete" id="users_delete" type="checkbox" value="1" {users_delete_checked} /></td>
206 206
	<td><label for="users_delete">{TEXT_DELETE}</label></td>
207 207
</tr>
208 208
<tr>
......
211 211
	</td>
212 212
</tr>
213 213
<tr>
214
	<td><input name="groups_view" id="groups_view" type="checkbox" value="1" {groups_view_checked}></td>
214
	<td><input name="groups_view" id="groups_view" type="checkbox" value="1" {groups_view_checked} /></td>
215 215
	<td><label for="groups_view">{TEXT_VIEW}</label></td>
216
	<td><input name="groups_add" id="groups_add" type="checkbox" value="1" {groups_add_checked}></td>
216
	<td><input name="groups_add" id="groups_add" type="checkbox" value="1" {groups_add_checked} /></td>
217 217
	<td><label for="groups_add">{TEXT_ADD}</label></td>
218 218
</tr>
219 219
<tr>
220
	<td><input name="groups_modify" id="groups_modify" type="checkbox" value="1" {groups_modify_checked}></td>
220
	<td><input name="groups_modify" id="groups_modify" type="checkbox" value="1" {groups_modify_checked} /></td>
221 221
	<td><label for="groups_modify">{TEXT_MODIFY}</label></td>
222
	<td><input name="groups_delete" id="groups_delete" type="checkbox" value="1" {groups_delete_checked}></td>
222
	<td><input name="groups_delete" id="groups_delete" type="checkbox" value="1" {groups_delete_checked} /></td>
223 223
	<td><label for="groups_delete">{TEXT_DELETE}</label></td>
224 224
</tr>
225 225
<tr>
......
228 228
	</td>
229 229
</tr>
230 230
<tr>
231
	<td><input name="admintools_settings" id="admintools_settings" type="checkbox" value="1" {admintools_settings_checked}></td>
231
	<td><input name="admintools_settings" id="admintools_settings" type="checkbox" value="1" {admintools_settings_checked} /></td>
232 232
	<td><label for="admintools_settings">{TEXT_MODIFY_SETTINGS}</label></td>
233 233
	<td>&nbsp;</td>
234 234
	<td>&nbsp;</td>
......
269 269
		</ul>
270 270
	</td>
271 271
</tr>
272

  
273
<tr>
274
	<td colspan="2"><input type="submit" name="submit" value="{SUBMIT_TITLE}" /></td>
275
    <td colspan="2" align="right"><input type="reset" name="reset" value="{TEXT_RESET}" /></td>
276
</tr>
272 277
</table>
278
</form>
273 279

  
274 280
<table cellpadding="5" cellspacing="0" border="0" width="100%">
275 281
<tr>
276
	<td width="150">&nbsp;</td>
277
	<td>
278
		<input type="submit" name="submit" value="{SUBMIT_TITLE}" />
279
		<input type="reset" name="reset" value="{TEXT_RESET}" />
280
		</form>
281
	</td>
282
	<td align="center">
282 283
	<form name="advanced" action="{ADVANCED_ACTION}" method="post">
283
	<input type="hidden" name="group_id" value="{GROUP_ID}" />
284
	<input type="hidden" name="action" value="modify" />
285
	<td width="200" align="right">
286
		<input type="submit" name="advanced" onclick="window.location = '{ADVANCED_LINK}';" value="{ADVANCED_BUTTON}" />
284
        <input type="hidden" name="group_id" value="{GROUP_ID}" />
285
        <input type="hidden" name="action" value="modify" />
286
        <input type="submit" name="advanced" onclick="window.location = '{ADVANCED_LINK}';" value="{ADVANCED_BUTTON}" />
287
    </form>
287 288
	</td>
288
	</form>
289 289
</tr>
290 290
</table>
291 291

  
292

  
292 293
<!-- END main_block -->
trunk/wb/templates/classic/templates/addons.htt
1
<!-- BEGIN main_block -->
2

  
3

  
4
<div class="box">
5
	{URL_ADVANCED}
6
</div>
7

  
8
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
9
<tr>
10
	<td align="center" valign="top">
11
		
12
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
13
		<tr>
14
			<td class="graphic" align="center" valign="middle" rowspan="2">
15
				<a href="{ADMIN_URL}/modules/index.php">
16
					<img src="{THEME_URL}/icons/modules.png" border="0" />
17
				</a>
18
			</td>
19
			<td class="title">
20
				<a href="{ADMIN_URL}/modules/index.php">{MODULES}</a>
21
			</td>
22
		</tr>
23
		<tr>
24
			<td class="description">
25
				{MODULES_OVERVIEW}
26
			</td>
27
		</tr>
28
		</table>
29
				
30
		
31
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
32
		<tr>
33
			<td class="graphic" align="center" valign="middle" rowspan="2">
34
				<a href="{ADMIN_URL}/templates/index.php">
35
					<img src="{THEME_URL}/icons/templates.png" border="0" />
36
				</a>
37
			</td>
38
			<td class="title">
39
				<a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a>
40
			</td>
41
		</tr>
42
		<tr>
43
			<td class="description">
44
				{TEMPLATES_OVERVIEW}
45
			</td>
46
		</tr>
47
		</table>
48
				
49
		
50
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
51
		<tr>
52
			<td class="graphic" align="center" valign="middle" rowspan="2">
53
				<a href="{ADMIN_URL}/languages/index.php">
54
					<img src="{THEME_URL}/icons/languages.png" border="0" />
55
				</a>
56
			</td>
57
			<td class="title">
58
				<a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a>
59
			</td>
60
		</tr>
61
		<tr>
62
			<td class="description">
63
				{LANGUAGES_OVERVIEW}
64
			</td>
65
		</tr>
66
		</table>
67

  
68
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
69
		<tr>
70
			<td class="graphic" align="center" valign="middle" rowspan="2">
71
				<img src="{THEME_URL}/icons/admintools.png" border="0" />
72
			</td>
73
			<td class="title">
74
				{TXT_ADMIN_SETTINGS}
75
			</td>
76
		</tr>
77
		<tr>
78
			<td class="description">
79
				<form action="{RELOAD_URL}" method="post">
80
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
81
				
82
				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
83
				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
84
		
85
				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
86
				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
87
				
88
				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
89
				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
90

  
91
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
92
				</form>
93
			</td>
94
		</tr>
95
		</table>
96

  
97
	</td>
98
</tr>
99
</table>
100

  
1
<!-- BEGIN main_block -->
2

  
3

  
4
<div class="box">
5
	{URL_ADVANCED}
6
</div>
7

  
8
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
9
<tr>
10
	<td align="center" valign="top">
11
		
12
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_MODULES};">
13
		<tr>
14
			<td class="graphic" align="center" valign="middle" rowspan="2">
15
				<a href="{ADMIN_URL}/modules/index.php">
16
					<img src="{THEME_URL}/icons/modules.png" alt="0" />
17
				</a>
18
			</td>
19
			<td class="title">
20
				<a href="{ADMIN_URL}/modules/index.php">{MODULES}</a>
21
			</td>
22
		</tr>
23
		<tr>
24
			<td class="description">{MODULES_OVERVIEW}</td>
25
		</tr>
26
		</table>
27
				
28
		
29
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_TEMPLATES};">
30
		<tr>
31
			<td class="graphic" align="center" valign="middle" rowspan="2">
32
				<a href="{ADMIN_URL}/templates/index.php">
33
					<img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" />
34
				</a>
35
			</td>
36
			<td class="title">
37
				<a href="{ADMIN_URL}/templates/index.php">{TEMPLATES}</a>
38
			</td>
39
		</tr>
40
		<tr>
41
			<td class="description">{TEMPLATES_OVERVIEW}</td>
42
		</tr>
43
		</table>
44
				
45
		
46
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display: {DISPLAY_LANGUAGES};">
47
		<tr>
48
			<td class="graphic" align="center" valign="middle" rowspan="2">
49
				<a href="{ADMIN_URL}/languages/index.php">
50
					<img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" />
51
				</a>
52
			</td>
53
			<td class="title">
54
				<a href="{ADMIN_URL}/languages/index.php">{LANGUAGES}</a>
55
			</td>
56
		</tr>
57
		<tr>
58
			<td class="description">{LANGUAGES_OVERVIEW}</td>
59
		</tr>
60
		</table>
61

  
62
		<table cellpadding="0" cellspacing="0" border="0" class="section" style="display:{DISPLAY_RELOAD};">
63
		<tr>
64
			<td class="graphic" align="center" valign="middle" rowspan="2">
65
				<img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" />
66
			</td>
67
			<td class="title">{TXT_ADMIN_SETTINGS}</td>
68
		</tr>
69
		<tr>
70
			<td class="description">
71
				<form action="{RELOAD_URL}" method="post">
72
				{MESSAGE_RELOAD_ADDONS}<br style="margin-bottom: 0.5em" />
73
				
74
				<input style="display:{DISPLAY_MODULES};" type="checkbox" name="reload_modules" id="reload_modules" value="true" />
75
				<label style="display:{DISPLAY_MODULES};" for="reload_modules">{MODULES}</label>
76
		
77
				<input style="display:{DISPLAY_TEMPLATES};" type="checkbox" name="reload_templates" id="reload_templates" value="true" />
78
				<label style="display:{DISPLAY_TEMPLATES};" for="reload_templates">{TEMPLATES}</label>
79
				
80
				<input style="display:{DISPLAY_LANGUAGES};" type="checkbox" name="reload_languages" id="reload_languages" value="true" />
81
				<label style="display:{DISPLAY_LANGUAGES};" for="reload_languages">{LANGUAGES}</label>
82

  
83
				<input type="submit" name="submit" value="{TEXT_RELOAD}" />
84
				</form>
85
			</td>
86
		</tr>
87
		</table>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff