X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=6003db9bba992349e52b8fcc688768e6cf5e60f8;hb=f4d7dc336fde4cebc47701026a94d193f77854a1;hp=e055c7d2745f0a3da14223e0e53fb68e632f452f;hpb=414570c5081d337bb6c28dcf521bd8bca02f69e7;p=mailer.git diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index e055c7d274..6003db9bba 100644 --- a/inc/modules/admin/what-overview.php +++ b/inc/modules/admin/what-overview.php @@ -1,7 +1,7 @@ 0)) { - $OUT = ""; - foreach ($GLOBALS['menu']['description'] as $key => $value) - { + $OUT = ''; + foreach ($GLOBALS['menu']['description'] as $key => $value) { // Prepare content $content = array( 'title' => $GLOBALS['menu']['title'][$key], @@ -77,21 +83,21 @@ if ($JOBS_DONE) { ); // 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")); - } + displayMessage(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] ?>