} elseif (!IS_MEMBER()) {
$URL = 'modules.php?module=index';
if ($check == 'mem_only') $URL .= '&msg='.getCode('MODULE_MEM_ONLY').'&mod='.$GLOBALS['module'];
- LOAD_URL($URL);
+ redirectToUrl($URL);
}
if ($status != 'CONFIRMED') {
// If the status is different than confirmed move the user away from here
- $errorCode = GEN_ERROR_CODE_FROM_ACCOUNT_STATUS($status);
+ $errorCode = generateErrorCodeFromUserStatus($status);
// Load URL
- LOAD_URL('modules.php?module=index&what=login&login='.$errorCode);
+ redirectToUrl('modules.php?module=index&what=login&login=' . $errorCode);
} // END - if
// Load adverstising template
// Add the member's menu here...
if ((getConfig('member_menu') == 'Y') || (!EXT_IS_ACTIVE('sql_patches', true))) {
- ADD_MENU('member', GET_ACTION('member', $GLOBALS['what']), $GLOBALS['what']);
+ ADD_MENU('member', getModeAction('member', $GLOBALS['what']), $GLOBALS['what']);
} // END - if
// Menu -> content
<td valign=\"top\" align=\"center\" rowspan=\"3\" class=\"member_content\">");
$INC = sprintf("inc/modules/member/action-%s.php", $act);
-if ((INCLUDE_READABLE($INC)) && (VALIDATE_MENU_ACTION('member', $GLOBALS['action'], $GLOBALS['what']))) {
+if ((isIncludeReadable($INC)) && (isMenuActionValid('member', $GLOBALS['action'], $GLOBALS['what']))) {
// Requested module is available so we load it
- LOAD_INC($INC);
+ loadInclude($INC);
} else {
// Invalid module specified or not found...
- LOAD_URL('modules.php?module=login');
+ redirectToUrl('modules.php?module=login');
}
if ((getConfig('member_menu') == 'Y') || (!EXT_IS_ACTIVE('sql_patches', true))) {