Project

General

Profile

« Previous | Next » 

Revision 1731

Added by Dietmar about 12 years ago

+ add Page extended to settings,
! to show experten mode in page settings
! shows some more settings like icon dir

View differences:

index.php
503 503
	// Work-out if developer infos feature is enabled
504 504
	if(defined('DEV_INFOS') && DEV_INFOS == true)
505 505
	{
506
		$template->set_var('DEV_INFOS_ENABLED', $checked);
506
		//$template->set_var('DEV_INFOS_ENABLED', $checked);
507 507
    	$template->set_var(array(
508 508
				'DEV_INFOS_ENABLED' => $checked,
509 509
				'DEV_INFOS_DISABLED' => '',
510 510
				));
511 511
	} else {
512
		$template->set_var('DEV_INFOS_DISABLED', $checked);
512
		//$template->set_var('DEV_INFOS_DISABLED', $checked);
513 513
    	$template->set_var(array(
514 514
				'DEV_INFOS_DISABLED' => $checked,
515 515
				'DEV_INFOS_ENABLED' => '',
516 516
				));
517 517
	}
518 518

  
519
	// Work-out if developer infos feature is enabled
520
	if(defined('PAGE_EXTENDED') && PAGE_EXTENDED == true)
521
	{
522
		//$template->set_var('DEV_INFOS_ENABLED', $checked);
523
    	$template->set_var(array(
524
				'PAGE_EXTENDED_ENABLED' => $checked,
525
				'PAGE_EXTENDED_DISABLED' => '',
526
				));
527
	} else {
528
		//$template->set_var('PAGE_EXTENDED_DISABLED', $checked);
529
    	$template->set_var(array(
530
				'PAGE_EXTENDED_DISABLED' => $checked,
531
				'PAGE_EXTENDED_ENABLED' => '',
532
				));
533
	}
534

  
519 535
	// Work-out if manage sections feature is enabled
520 536
	if(MANAGE_SECTIONS)
521 537
	{

Also available in: Unified diff