X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fmember%2Fwhat-;h=6a28ff8c5ca0576b21856ae82201ca7361daa1be;hb=94eb7e461c29c7050a41aa6d5edcd3a1707bf904;hp=896492cb0eb756b035d046117523910b8ec81b8d;hpb=995488beda665a1fc3de65df95f2d1ae236d1245;p=mailer.git diff --git a/inc/modules/member/what- b/inc/modules/member/what- index 896492cb0e..6a28ff8c5c 100644 --- a/inc/modules/member/what- +++ b/inc/modules/member/what- @@ -14,12 +14,10 @@ * $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 * - * Copyright (c) 2009, 2010 by Mailer Developer Team * - * For more information visit: http://www.mxchange.org * + * Copyright (c) 2009 - 2012 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 * @@ -39,13 +37,19 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif (!isMember()) { redirectToIndexMemberOnlyModule(); } // 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));