X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-main.php;h=b75ddc423cc670514e2c49acf52e5ddd3c4cada0;hb=b7a3b394d4639834ad8466fbc4ab06694a4d4569;hp=395eabcd394c6127c89bd397a8a1239d9fbeb3e3;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/member/action-main.php b/inc/modules/member/action-main.php index 395eabcd39..b75ddc423c 100644 --- a/inc/modules/member/action-main.php +++ b/inc/modules/member/action-main.php @@ -14,11 +14,10 @@ * $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 - 2009 by Roland Haeder * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2013 by Mailer Developer Team * + * For more information visit: http://mxchange.org * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -38,7 +37,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (!isMember()) { redirectToIndexMemberOnlyModule(); } elseif (isBlockModeEnabled()) { @@ -47,15 +46,15 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -addMenuDescription('member', __FILE__); +addYouAreHereLink('member', __FILE__); // Load the include file -$inc = sprintf("inc/modules/member/what-%s.php", getWhat()); +$inc = sprintf('inc/modules/member/what-%s.php', getWhat()); if (isIncludeReadable($inc)) { // Ok, we finally load the member action module - loadInclude($inc); + loadIncludeOnce($inc); } else { - addFatalMessage(__FILE__, __LINE__, sprintf(getMessage('MEMBER_404_WHAT'), getWhat())); + addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}'); } // [EOF]