Revision 1668
Added by Luisehahne almost 13 years ago
index.php | ||
---|---|---|
397 | 397 |
$template->set_var('WINDOWS_SELECTED', ' checked="checked"'); |
398 | 398 |
} |
399 | 399 |
|
400 |
// Work-out if developer infos feature is enabled |
|
401 |
if(defined('DEV_INFOS') && DEV_INFOS == true) |
|
402 |
{ |
|
403 |
$template->set_var('DEV_INFOS_ENABLED', ' checked="checked"'); |
|
404 |
} else { |
|
405 |
$template->set_var('DEV_INFOS_DISABLED', ' checked="checked"'); |
|
406 |
} |
|
407 |
|
|
400 | 408 |
// Work-out if manage sections feature is enabled |
401 | 409 |
if(MANAGE_SECTIONS) |
402 | 410 |
{ |
... | ... | |
581 | 589 |
|
582 | 590 |
$template->set_var(array( |
583 | 591 |
'PAGES_DIRECTORY' => PAGES_DIRECTORY, |
592 |
'PAGE_ICON_DIR' => PAGE_ICON_DIR, |
|
584 | 593 |
'MEDIA_DIRECTORY' => MEDIA_DIRECTORY, |
585 | 594 |
'PAGE_EXTENSION' => PAGE_EXTENSION, |
586 | 595 |
'PAGE_SPACER' => PAGE_SPACER, |
... | ... | |
653 | 662 |
'TEXT_REDIRECT_AFTER' => $TEXT['REDIRECT_AFTER'], |
654 | 663 |
'TEXT_SIGNUP' => $TEXT['SIGNUP'], |
655 | 664 |
'TEXT_PHP_ERROR_LEVEL' => $TEXT['PHP_ERROR_LEVEL'], |
665 |
'TEXT_MULTILINGUAL' => $TEXT['MULTILINGUAL'], |
|
666 |
'TEXT_DEV_INFOS' => $TEXT['DEV_INFOS'], |
|
656 | 667 |
'TEXT_PAGES_DIRECTORY' => $TEXT['PAGES_DIRECTORY'], |
668 |
'TEXT_PAGE_ICON_DIR' => $TEXT['PAGE_ICON_DIR'], |
|
657 | 669 |
'TEXT_MEDIA_DIRECTORY' => $TEXT['MEDIA_DIRECTORY'], |
658 | 670 |
'TEXT_PAGE_EXTENSION' => $TEXT['PAGE_EXTENSION'], |
659 | 671 |
'TEXT_PAGE_SPACER' => $TEXT['PAGE_SPACER'], |
Also available in: Unified diff
! settigs.php add fields dev_infos and page_icon_dir
+ add developer info to footer
! update class.admin.php, footer.htt