X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Flogin.php;h=a8cf8861d3e378ac09fa9814e44cb503a476be9a;hp=ba29320e8878d742310f5cf2eb60558a5cb84b0a;hb=f3e4c2c048761589836fdbe6bd2e46599a1833a7;hpb=e71e9e1380d65ccd06beef6fbc594bec10371f5f diff --git a/inc/modules/login.php b/inc/modules/login.php index ba29320e88..a8cf8861d3 100644 --- a/inc/modules/login.php +++ b/inc/modules/login.php @@ -10,7 +10,12 @@ * -------------------------------------------------------------------- * * Kurzbeschreibung : Login-Bereich fuer Mitglieder * * -------------------------------------------------------------------- * - * * + * $Revision:: 856 $ * + * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009) $ * + * $Tag:: 0.2.1-FINAL $ * + * $Author:: stelzi $ * + * 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 * @@ -53,14 +58,14 @@ if ($status != "CONFIRMED") { define('__MEMBER_ADVERT', LOAD_TEMPLATE("member_banner", true)); // Disable block mode by default -$BLOCK_MODE = false; +$GLOBALS['block_mode'] = false; // Generate a tableset for the menu title and content LOAD_TEMPLATE("member_header"); // Begin menu block here -OUTPUT_HTML(" - "); +OUTPUT_HTML(" + "); // Adding the main content module here if (empty($GLOBALS['action'])) { @@ -75,13 +80,13 @@ if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) } // END - if // Menu -> content -OUTPUT_HTML(" - "); +OUTPUT_HTML(" + "); -$INC_ACTION = sprintf("%sinc/modules/member/action-%s.php", PATH, $act); -if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", GET_ACTION("member", $GLOBALS['what']), $GLOBALS['what']))) { +$INC = sprintf("inc/modules/member/action-%s.php", $act); +if ((INCLUDE_READABLE($INC)) && (VALIDATE_MENU_ACTION("member", $GLOBALS['action'], $GLOBALS['what']))) { // Requested module is available so we load it - include ($INC_ACTION); + LOAD_INC($INC); } else { // Invalid module specified or not found... LOAD_URL("modules.php?module=login"); @@ -95,8 +100,8 @@ if ((getConfig('member_menu') == "Y") || (!EXT_IS_ACTIVE("sql_patches", true))) LOAD_TEMPLATE("member_advert"); } -OUTPUT_HTML(" -"); +OUTPUT_HTML(" +"); // Load same template for "Goto TOP" LOAD_TEMPLATE("member_goto_top");