X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=04be6624f607b5e752adff2a8ff396ed6e7d6369;hb=97702d59eb179b54690f9ccc18df66cd981ab0df;hp=7c443d6d65aeecb1ad503e545adeb6eb56939967;hpb=75ad748a68473ace540251427a74fb781b1145e9;p=mailer.git diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index 7c443d6d65..04be6624f6 100644 --- a/inc/modules/admin/what-overview.php +++ b/inc/modules/admin/what-overview.php @@ -1,7 +1,7 @@ 0)) { - $OUT = ""; - foreach ($menuDesription as $key=>$value) - { + if ((is_array($GLOBALS['menu']['description'])) && (count($GLOBALS['menu']['description']) > 0)) { + $OUT = ''; + foreach ($GLOBALS['menu']['description'] as $key => $value) { // Prepare content $content = array( - 'title' => $MTITLE[$key], + 'title' => $GLOBALS['menu']['title'][$key], 'text' => $value ); // 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 (!EXT_IS_ACTIVE("task")) { +} elseif ($taskExt === false) { + if (isExtensionActive('task')) { + // Output warning message + displayMessage('{%message,EXTENSION_WARNING_EXTENSION_INACTIVE=task%}'); + } // END - if + // List selected tasks on overview when task management is not active - OUTPUT_SELECTED_TASKS($_POST, $result_tasks); + outputSeletectedTasks(postRequestArray(), $result_tasks); } -// +// [EOF] ?>