]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/action-
'what' files should be loaded only once
[mailer.git] / inc / modules / member / action-
index 85550bc75b5fe4a711339169f9a98cbab988c823..b8acbcf2a2a83055dac292db1bfe7c5fe71eb8df 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  :                                                  *
  * -------------------------------------------------------------------- *
- * $Revision:: 856                                                    $ *
- * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. March 2009)             $ *
+ * $Revision::                                                        $ *
+ * $Date::                                                            $ *
  * $Tag:: 0.2.1-FINAL                                                 $ *
- * $Author:: stelzi                                                   $ *
- * Needs to be in all Files and every File needs "svn propset           *
- * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
+ * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009, 2010 by Mailer Developer Team                    *
- * For more information visit: http://www.mxchange.org                  *
+ * Copyright (c) 2009 - 2011 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 *
@@ -48,10 +46,10 @@ if (!defined('__SECURITY')) {
 }
 
 // Add description as navigation point
-addMenuDescription('member', __FILE__);
+addYouAreHereLink('member', __FILE__);
 
 if ((!isExtensionActive('')) && (!isAdmin())) {
-       loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage(''));
+       displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}');
        return;
 } // END - if
 
@@ -59,9 +57,9 @@ if ((!isExtensionActive('')) && (!isAdmin())) {
 $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__, getMessage('MEMBER_404_WHAT'), getWhat());
+       addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}');
 }
 
 // [EOF]