X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Findex.php;h=c4d19f2d72cad29bf188eec5c86dfbff3478b2ec;hp=94ef4689a71c94e602a76f948d958e8ac27a1e90;hb=46f2e389417a40f1029612b58cb285416ccae7a5;hpb=d8148e3f1f3a6762b2e786dbe99ada269dcf2ea0 diff --git a/inc/modules/index.php b/inc/modules/index.php index 94ef4689a7..c4d19f2d72 100644 --- a/inc/modules/index.php +++ b/inc/modules/index.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Eingangsseite * * -------------------------------------------------------------------- * - * * + * $Revision:: $ * + * $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 * @@ -46,20 +51,8 @@ define('__GUEST_ADVERT', LOAD_TEMPLATE("guest_advert", true)); // Generate a tableset for the menu title and content LOAD_TEMPLATE("guest_header"); -// Add message here -if (REQUEST_ISSET_GET(('msg'))) { - // Default extension is "unknown" - $ext = "unknown"; - - // Is extension given? - if (REQUEST_ISSET_GET(('ext'))) $ext = SQL_ESCAPE(REQUEST_GET('ext')); - - // Which message shall we output? - $msg = convertCodeToMessage(REQUEST_GET('msg')); - - // Load message template - LOAD_TEMPLATE("message", false, $msg); -} // END - if +// Add code-message here +handleCodeMessage(); // Some of you needs this to be extracted into a template... ??? LOAD_TEMPLATE("guest_menu_td"); @@ -83,7 +76,7 @@ if ((getConfig('guest_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) { LOAD_TEMPLATE("guest_menu_content"); // Disable block-mode by default -$BLOCK_MODE = false; +$GLOBALS['block_mode'] = false; // Construct FQFN $INC = sprintf("inc/modules/guest/action-%s.php", $GLOBALS['action']);