Revision 290
Added by stefan almost 19 years ago
index.php | ||
---|---|---|
315 | 315 |
|
316 | 316 |
// Work-out if page languages feature is enabled |
317 | 317 |
if(defined('PAGE_LANGUAGES') AND PAGE_LANGUAGES == true) { |
318 |
$template->set_var('PAGE_LANGUAGES', ' true');
|
|
318 |
$template->set_var('PAGE_LANGUAGES_ENABLED', ' checked');
|
|
319 | 319 |
} else { |
320 |
$template->set_var('PAGE_LANGUAGES', ' false');
|
|
320 |
$template->set_var('PAGE_LANGUAGES_DISABLED', ' checked');
|
|
321 | 321 |
} |
322 | 322 |
|
323 | 323 |
// Work-out if smart login feature is enabled |
... | ... | |
578 | 578 |
'TEXT_SECTION_BLOCKS' => $TEXT['SECTION_BLOCKS'], |
579 | 579 |
'TEXT_PLEASE_SELECT' => $TEXT['PLEASE_SELECT'], |
580 | 580 |
'TEXT_PAGE_TRASH' => $TEXT['PAGE_TRASH'], |
581 |
'TEXT_PAGE_LANGUAGES' => $TEXT['PAGE_LANGUAGES'], |
|
581 | 582 |
'TEXT_INLINE' => $TEXT['INLINE'], |
582 | 583 |
'TEXT_SEPARATE' => $TEXT['SEPARATE'], |
583 | 584 |
'TEXT_HOME_FOLDERS' => $TEXT['HOME_FOLDERS'], |
Also available in: Unified diff
Reintroduced page languages setting. If switched to off page languages are only used to determine the language file for the universal texts. If on, displayed page and menu are affected by the language session variable.