X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fsponsor.php;h=11e57c60d26bdb083bceeb1ad87c3c21773751ef;hb=489aebca1753a3cefdbd331e83888b76e56dbb11;hp=5859a70b1a9b1d69d4a4eceeedf0e5fd4a0a77e3;hpb=263a089d8a499e0e26d0af9e7aa7639f88b8ca60;p=mailer.git diff --git a/inc/modules/sponsor.php b/inc/modules/sponsor.php index 5859a70b1a..11e57c60d2 100644 --- a/inc/modules/sponsor.php +++ b/inc/modules/sponsor.php @@ -14,10 +14,9 @@ * $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 * * * * This program is free software. You can redistribute it and/or modify * @@ -43,9 +42,9 @@ if (!defined('__SECURITY')) { return; } elseif (!isSponsor()) { // No sponsor! - addFatalMessage(__FILE__, __LINE__, getMessage('SPONSOR_ONLY_AREA_ENTERED')); + addFatalMessage(__FILE__, __LINE__, '{--SPONSOR_ONLY_AREA_ENTERED--}'); return; -} elseif (!isWhatSet()) { +} elseif ((!isWhatSet()) || (getWhat() == '')) { // Empty what value detected! setWhat('welcome'); } @@ -67,7 +66,7 @@ $content['header'] = loadTemplate('sponsor_header', true); $content['footer'] = loadTemplate('sponsor_footer', true); // 'You are here' navigation -$content['you_are_here'] = addMenuDescription('sponsor', getWhat(), false, false); +$content['you_are_here'] = addMenuDescription('sponsor', getWhat(), true); // Load main sponsor template loadTemplate('sponsor_main', false, $content);