Revision 1745
Added by Dietmar about 12 years ago
index.php | ||
---|---|---|
69 | 69 |
$template->set_block('main_block', 'show_access_block', 'show_access'); |
70 | 70 |
$template->set_block('main_block', 'show_search_block', 'show_search'); |
71 | 71 |
$template->set_block('main_block', 'show_redirect_timer_block', 'show_redirect_timer'); |
72 |
/*-- insert all needed vars from language files ----------------------------------------*/ |
|
73 |
$template->set_var($mLang->getLangArray()); |
|
72 | 74 |
|
73 | 75 |
// Query current settings in the db, then loop through them and print them |
74 | 76 |
$query = "SELECT * FROM ".TABLE_PREFIX."settings"; |
... | ... | |
157 | 159 |
|
158 | 160 |
$sSelected = ' selected="selected"'; |
159 | 161 |
$checked = ' checked="checked"'; |
160 |
/*-- insert all needed vars from language files ----------------------------------------*/ |
|
161 |
$template->set_var($mLang->getLangArray()); |
|
162 | 162 |
|
163 | 163 |
$template->set_var(array( |
164 | 164 |
'WB_URL' => WB_URL, |
... | ... | |
901 | 901 |
'TEXT_EXECUTE' => $TEXT['EXECUTE'], |
902 | 902 |
'TEXT_WARN_PAGE_LEAVE' => '', |
903 | 903 |
'TEXT_SMART_LOGIN' => $TEXT['SMART_LOGIN'], |
904 |
'TEXT_CONFIRMED_REGISTRATION' => $TEXT['EMAIL'].' '.$TEXT['SIGNUP'], |
|
905 | 904 |
'TEXT_MULTIPLE_MENUS' => $TEXT['MULTIPLE_MENUS'], |
906 | 905 |
'TEXT_HOMEPAGE_REDIRECTION' => $TEXT['HOMEPAGE_REDIRECTION'], |
907 | 906 |
'TEXT_SECTION_BLOCKS' => $TEXT['SECTION_BLOCKS'], |
... | ... | |
913 | 912 |
'TEXT_HOME_FOLDERS' => $TEXT['HOME_FOLDERS'], |
914 | 913 |
'TEXT_WYSIWYG_STYLE' => $TEXT['WYSIWYG_STYLE'], |
915 | 914 |
'TEXT_WORLD_WRITEABLE_FILE_PERMISSIONS' => $TEXT['WORLD_WRITEABLE_FILE_PERMISSIONS'], |
916 |
'MODE_SWITCH_WARNING' => $MESSAGE['SETTINGS']['MODE_SWITCH_WARNING'],
|
|
917 |
'WORLD_WRITEABLE_WARNING' => $MESSAGE['SETTINGS']['WORLD_WRITEABLE_WARNING'],
|
|
915 |
'MODE_SWITCH_WARNING' => $MESSAGE['SETTINGS_MODE_SWITCH_WARNING'],
|
|
916 |
'WORLD_WRITEABLE_WARNING' => $MESSAGE['SETTINGS_WORLD_WRITEABLE_WARNING'],
|
|
918 | 917 |
'TEXT_MODULE_ORDER' => $TEXT['MODULE_ORDER'], |
919 | 918 |
'TEXT_MAX_EXCERPT' => $TEXT['MAX_EXCERPT'], |
920 | 919 |
'TEXT_TIME_LIMIT' => $TEXT['TIME_LIMIT'] |
Also available in: Unified diff
! add div container in page_content for each sections,
! update droplets SectionPicker, ShowWysiwyg and ShowRandomWysiwyg
! put sec_anchor in this div, sec_anchor fixed in all found files
sec_anchor default now set to "section_",
sec_anchor can't be empty for future developement