X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fguest%2Fwhat-rallyes.php;h=c8a79d642081d3219c92eda3421da65cbd5484fc;hb=9725980ca9c052e5c1a9edb8b815e8506b876448;hp=ce0cc7a134996f05b655368b652d3b4e23b48345;hpb=039203d5428c9c6a3bed61fb3a9a16958c6fd44c;p=mailer.git diff --git a/inc/modules/guest/what-rallyes.php b/inc/modules/guest/what-rallyes.php index ce0cc7a134..c8a79d6420 100644 --- a/inc/modules/guest/what-rallyes.php +++ b/inc/modules/guest/what-rallyes.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 - 2011 by Mailer Developer Team * * For more information visit: http://www.mxchange.org * * * * This program is free software; you can redistribute it and/or modify * @@ -42,7 +41,7 @@ if (!defined('__SECURITY')) { } // END - if // Add description as navigation point -addMenuDescription('guest', __FILE__); +addYouAreHereLink('guest', __FILE__); if ((!isExtensionActive('rallye')) && (!isAdmin())) { loadTemplate('admin_settings_saved', false, generateExtensionInactiveNotInstalledMessage('rallye')); @@ -77,11 +76,11 @@ if (SQL_NUMROWS($result) == 1) { $expired = false; if ($end < time()) { // Rallye is expired - $content['extras'] = getMessage('RALLYE_HAS_EXPIRED'); + $content['extras'] = '{--RALLYE_HAS_EXPIRED--}'; $expired = true; - } elseif (time() >= ($end - getConfig('ONE_DAY'))) { + } elseif (time() >= ($end - getOneDay())) { // Rallye will expire in less one day! - $content['extras'] = getMessage('RALLYE_EXPIRE_ONE_DAY'); + $content['extras'] = '{--RALLYE_EXPIRE_ONE_DAY--}'; } else { $content['extras'] = '{--RALLYE_REGISTER_NOW--}'; } @@ -114,11 +113,11 @@ if (SQL_NUMROWS($result) == 1) { if ($expired === true) { $content['prices'] = addReferalRallyeWinners($id); $content['top_users'] = '
' . $content['extras'] . '
'; - $content['can_win_this'] = getMessage('RALLYE_OUR_WINNERS_ARE'); + $content['can_win_this'] = '{--RALLYE_OUR_WINNERS_ARE--}'; } else { $content['prices'] = addReferalRallyePrices($id, 'html'); $content['top_users'] = addReferalRallyeTopUsers($id, getMemberId()); - $content['can_win_this'] = getMessage('RALLYE_YOU_CAN_WIN'); + $content['can_win_this'] = '{--RALLYE_YOU_CAN_WIN--}'; } // And load final template