X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor.php;h=6299d72674d06c52c18611641c94009358f802d9;hb=171923dfbd09758b7cbf58aff40c5a358407061a;hp=2ccd61cfdb17bb52a06952b479c2e670c8382d40;hpb=c6017cf76200e2a5e68bd1984fa2d31f0e3be9d8;p=mailer.git diff --git a/inc/modules/sponsor.php b/inc/modules/sponsor.php index 2ccd61cfdb..6299d72674 100644 --- a/inc/modules/sponsor.php +++ b/inc/modules/sponsor.php @@ -16,8 +16,8 @@ * $Author:: $ * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * - * Copyright (c) 2009 - 2011 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 * @@ -36,7 +36,7 @@ // Some security stuff... if (!defined('__SECURITY')) { - die(); + exit(); } elseif ((!isExtensionActive('sponsor'))) { displayMessage('{%pipe,generateExtensionInactiveNotInstalledMessage=sponsor%}'); return; @@ -46,7 +46,7 @@ if (!defined('__SECURITY')) { return; } elseif ((!isWhatSet()) || (getWhat() == '')) { // Empty what value detected! - debug_report_bug(__FUNCTION__, __LINE__, 'what is empty.'); + reportBug(__FUNCTION__, __LINE__, 'what is empty.'); } // A valid sponsor login and we are allowed to enter this module so let's @@ -60,16 +60,16 @@ $content['menu'] = addSponsorMenu(getWhat()); $content['content'] = addSponsorContent(getWhat()); // Load header template -$content['header'] = loadTemplate('sponsor_header', true); +$content['header'] = loadTemplate('sponsor_header', TRUE); // Load footer template -$content['footer'] = loadTemplate('sponsor_footer', true); +$content['footer'] = loadTemplate('sponsor_footer', TRUE); // 'You are here' navigation -$content['you_are_here'] = addYouAreHereLink('sponsor', getWhat(), true); +$content['you_are_here'] = addYouAreHereLink('sponsor', getWhat(), TRUE); // Load main sponsor template -loadTemplate('sponsor_main', false, $content); +loadTemplate('sponsor_main', FALSE, $content); // [EOF] ?>