// Is sql_patches not yet installed?
if (!isExtensionInstalled('sql_patches')) {
// Output warning
- loadTemplate('admin_settings_saved', false, '{--ADMIN_WARNING_SQL_PATCHES_MISSING--}');
+ displayMessage('{--ADMIN_WARNING_SQL_PATCHES_MISSING--}');
} // END - if
// Load include file 'overview-inc' (old standard overview page)
// Are we in 'welcome' page and are there jobs to be done?
if (!ifAdminMenuHasEntries(getAction())) {
// This menu is empty and so no content is displayed
- loadTemplate('admin_settings_saved', false, getMaskedMessage('ADMIN_MENU_IS_EMPTY', getAction()));
+ displayMessage(getMaskedMessage('ADMIN_MENU_IS_EMPTY', getAction()));
} elseif ($jobsDone === true) {
// Generate overview of all main menus
if ((is_array($GLOBALS['menu']['description'])) && (count($GLOBALS['menu']['description']) > 0)) {
} elseif ($taskExt === false) {
if (isExtensionActive('task')) {
// Output warning message
- loadTemplate('admin_settings_saved', false, getMaskedMessage('EXTENSION_WARNING_EXTENSION_INACTIVE', 'task'));
+ displayMessage(getMaskedMessage('EXTENSION_WARNING_EXTENSION_INACTIVE', 'task'));
} // END - if
// List selected tasks on overview when task management is not active