X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Faction-surfbar.php;h=ab9b4dd1e885da89b0e34ecec458e58a7de474f8;hb=f6014bce7255a915872f2f463247440c0d58f9a9;hp=17ce6ec5913e10a7061133dcdc21d48efaa4f359;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/member/action-surfbar.php b/inc/modules/member/action-surfbar.php index 17ce6ec591..ab9b4dd1e8 100644 --- a/inc/modules/member/action-surfbar.php +++ b/inc/modules/member/action-surfbar.php @@ -16,8 +16,8 @@ * $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 * @@ -46,10 +46,10 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -addMenuDescription('member', __FILE__); +addYouAreHereLink('member', __FILE__); if ((!isExtensionActive('surfbar')) && (!isAdmin())) { - loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('surfbar')); + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=surfbar%}'); return; } // END - if @@ -57,9 +57,9 @@ if ((!isExtensionActive('surfbar')) && (!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__, getMaskedMessage('MEMBER_404_WHAT', getWhat())); + addFatalMessage(__FILE__, __LINE__, '{--MEMBER_WHAT_404--}'); } // [EOF]