X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-;h=e5cd2b45bb8526d5e608483f30392864a69e587b;hb=f6014bce7255a915872f2f463247440c0d58f9a9;hp=e04c4b93483294a105f996d69781890da3700d68;hpb=6b13c5c64eebedd56683c78d799879e0dc618b21;p=mailer.git diff --git a/inc/modules/member/what- b/inc/modules/member/what- index e04c4b9348..e5cd2b45bb 100644 --- a/inc/modules/member/what- +++ b/inc/modules/member/what- @@ -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 * @@ -43,7 +43,13 @@ if (!defined('__SECURITY')) { } // Add description as navigation point -addMenuDescription('member', __FILE__); +addYouAreHereLink('member', __FILE__); + +// Continue only if the proper extension is active (admins can always continue) +if ((!isExtensionActive('')) && (!isAdmin())) { + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=%}'); + return; +} // END - if // Loads the name-matching template loadTemplate(substr(basename(__FILE__), 5, -4));