X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Flogin.php;h=a37888155c6c1c87cc674cdf27dafea8d025126a;hb=1039f5eafd5f3db808b432ba246bd3d75f3030ec;hp=0e04a299d8ee2e96ecc602892a778ee505204045;hpb=e5fe5afb17a5c8106f4c890234dfa39419e70f5d;p=mailer.git diff --git a/inc/modules/login.php b/inc/modules/login.php index 0e04a299d8..a37888155c 100644 --- a/inc/modules/login.php +++ b/inc/modules/login.php @@ -18,6 +18,7 @@ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * + * Copyright (c) 2009, 2010 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -40,9 +41,9 @@ if (!defined('__SECURITY')) { die(); } elseif (!isMember()) { - $URL = 'modules.php?module=index'; - if (checkModulePermissions('login') == 'mem_only') $URL .= '&code=' . getCode('MODULE_MEM_ONLY') . '&mod=' . getModule(); - redirectToUrl($URL); + $url = 'modules.php?module=index'; + if (checkModulePermissions('login') == 'mem_only') $url .= '&code=' . getCode('MODULE_MEMBER_ONLY') . '&mod=' . getModule(); + redirectToUrl($url); } // END - if // Disable block mode by default @@ -66,7 +67,7 @@ if (!isActionSet()) { // Add the member's menu here... if ((getConfig('member_menu') == 'Y') || (!isExtensionActive('sql_patches', true))) { - addMenu('member', getModeAction('member', getWhat()), getWhat()); + addMenu('member', getActionFromModuleWhat('member', getWhat()), getWhat()); } // END - if // Disable block-mode again