X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=d532a27f7cc635556af63c6113fa43704c0afa16;hp=93a1b4b18f8df626f02d986f907ef06dd649d84d;hb=6914ebaaae909093df86d010e4c754a43d1a1aed;hpb=80e2def8ef2125fd4d7d1312ee3993ab613f0846 diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index 93a1b4b18f..d532a27f7c 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' => $menuTitle[$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 (!$taskExt) { - if (EXT_IS_ACTIVE("task")) { +} elseif ($taskExt === false) { + if (isExtensionActive('task')) { // Output warning message - LOAD_TEMPLATE("admin_settings_saved", false, sprintf(EXTENSION_WARNING_EXT_INACTIVE, "task")); - OUTPUT_HTML("
"); - } + 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($_POST, $result_tasks); + outputSeletectedTasks(postRequestArray(), $result_tasks); } -// +// [EOF] ?>