]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-account.php
Updated copyright year.
[mailer.git] / inc / modules / member / action-account.php
index bd8747aee0e3b5cbb9a72304c0835a1edc700753..6e838fe2c54dc33f8795348d92c640d5e1ea9d5d 100644 (file)
  * $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 - 2016 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__, getMaskedMessage('MEMBER_404_WHAT', getWhat()));
+       addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}');
 }
 
 // [EOF]