X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=54c22b15194a2eda302c09801037202446dfa544;hp=7678500b9cbe9643c9190b2f8003cdae84b24c94;hb=0715fa7aa8e5e70bcf1d957fb09ae655c3896c4e;hpb=f26aab4a55972825a0d3ef9346c8c8dea8752b7b diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index 7678500b9c..54c22b1519 100644 --- a/inc/modules/admin/what-overview.php +++ b/inc/modules/admin/what-overview.php @@ -1,7 +1,7 @@ 0)) { - $OUT = ""; + $OUT = ''; foreach ($GLOBALS['menu']['description'] as $key => $value) { // Prepare content $content = array( @@ -79,21 +85,21 @@ if (!ifAdminMenuHasEntries($GLOBALS['action'])) { ); // Load row template - $OUT .= LOAD_TEMPLATE("admin_menu_hints_row", true, $content); + $OUT .= loadTemplate('admin_menu_hints_row', true, $content); } // END - foreach // Load base template - LOAD_TEMPLATE("admin_menu_hints", false, $OUT); + loadTemplate('admin_menu_hints', false, $OUT); } -} elseif (!$taskExt) { - if (EXT_IS_ACTIVE("task")) { +} elseif ($taskExt === false) { + if (isExtensionActive('task')) { // Output warning message - LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('EXTENSION_WARNING_EXT_INACTIVE'), "task")); - } + loadTemplate('admin_settings_saved', false, getMaskedMessage('EXTENSION_WARNING_EXTENSION_INACTIVE', 'task')); + } // END - if // List selected tasks on overview when task management is not active - OUTPUT_SELECTED_TASKS(REQUEST_POST_ARRAY(), $result_tasks); + outputSeletectedTasks(postRequestArray(), $result_tasks); } -// +// [EOF] ?>