X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=inc%2Fmodules%2Fadmin%2Fwhat-overview.php;h=874698a8f7ea33f14a0da675235288d578f8412d;hb=2b388c21a07e07317ccb065d42ef7304cfca7718;hp=20a10573a7c09796d65262a32dd325975ddba598;hpb=397eb5dee2611cfaa1ff494d73e6785b88109cd6;p=mailer.git diff --git a/inc/modules/admin/what-overview.php b/inc/modules/admin/what-overview.php index 20a10573a7..874698a8f7 100644 --- a/inc/modules/admin/what-overview.php +++ b/inc/modules/admin/what-overview.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Einfache Task-Liste oder Menuebeschreibungen * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: $ * + * Needs to be in all Files and every File needs "svn propset * + * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2008 by Roland Haeder * * For more information visit: http://www.mxchange.org * @@ -61,14 +66,13 @@ if ($GLOBALS['action'] == "login") { // Are there jobs to be done? if ($JOBS_DONE) { // Generate overview of all main menus - global $menuDesription; - if ((is_array($menuDesription)) && (sizeof($menuDesription) > 0)) { + if ((is_array($GLOBALS['menu']['description'])) && (count($GLOBALS['menu']['description']) > 0)) { $OUT = ""; - foreach ($menuDesription as $key => $value) + foreach ($GLOBALS['menu']['description'] as $key => $value) { // Prepare content $content = array( - 'title' => $menuTitle[$key], + 'title' => $GLOBALS['menu']['title'][$key], 'text' => $value ); @@ -82,12 +86,11 @@ if ($JOBS_DONE) { } elseif (!$taskExt) { if (EXT_IS_ACTIVE("task")) { // Output warning message - LOAD_TEMPLATE("admin_settings_saved", false, sprintf(EXTENSION_WARNING_EXT_INACTIVE, "task")); - OUTPUT_HTML("
"); + LOAD_TEMPLATE("admin_settings_saved", false, sprintf(getMessage('EXTENSION_WARNING_EXT_INACTIVE'), "task")); } // List selected tasks on overview when task management is not active - OUTPUT_SELECTED_TASKS($_POST, $result_tasks); + OUTPUT_SELECTED_TASKS(REQUEST_POST_ARRAY(), $result_tasks); } //