X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Faction-sponsor.php;h=4a7824a24027d01daaec2cf433b5bf8705e40190;hb=0a37fc5afcd828646d4e62e68fea07c3d2c54a87;hp=5502ddaebf0b84611463199d7a6f19b45cd96c7d;hpb=cb20090aa0558f1b74f0e9f925f29819e8bb3a45;p=mailer.git diff --git a/inc/modules/guest/action-sponsor.php b/inc/modules/guest/action-sponsor.php index 5502ddaebf..4a7824a240 100644 --- a/inc/modules/guest/action-sponsor.php +++ b/inc/modules/guest/action-sponsor.php @@ -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 - 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 * @@ -44,13 +42,21 @@ if (!defined('__SECURITY')) { return; } +// Add description as navigation point +addYouAreHereLink('guest', __FILE__); + +if ((!isExtensionActive('sponsor')) && (!isAdmin())) { + displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}'); + return; +} // END - if + // Load the include file $inc = sprintf("inc/modules/guest/what-%s.php", getWhat()); if (isIncludeReadable($inc)) { // Ok, we finally load the guest action module loadInclude($inc); } else { - addFatalMessage(__FILE__, __LINE__, getMessage('GUEST_404_WHAT'), getWhat()); + addFatalMessage(__FILE__, __LINE__, '{--GUEST_WHAT_404--}'); } // [EOF]