X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Flogin.php;h=229c0747c6a46c2fcbb86f9fab4884853dd59875;hp=ba29320e8878d742310f5cf2eb60558a5cb84b0a;hb=08b3c51b70b6498fd92a2760979d64470ad1b586;hpb=e71e9e1380d65ccd06beef6fbc594bec10371f5f diff --git a/inc/modules/login.php b/inc/modules/login.php index ba29320e88..229c0747c6 100644 --- a/inc/modules/login.php +++ b/inc/modules/login.php @@ -59,8 +59,8 @@ $BLOCK_MODE = false; LOAD_TEMPLATE("member_header"); // Begin menu block here -OUTPUT_HTML(" - "); +OUTPUT_HTML(" + "); // Adding the main content module here if (empty($GLOBALS['action'])) { @@ -75,13 +75,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_ACTION = sprintf("inc/modules/member/action-%s.php", $act); +if ((FILE_READABLE($INC_ACTION)) && (VALIDATE_MENU_ACTION("member", $GLOBALS['action'], $GLOBALS['what']))) { // Requested module is available so we load it - include ($INC_ACTION); + LOAD_INC($INC_ACTION); } else { // Invalid module specified or not found... LOAD_URL("modules.php?module=login"); @@ -95,8 +95,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");