]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-rallyes.php
Next wave of lesser getMessage() usage and more EL
[mailer.git] / inc / modules / guest / what-rallyes.php
index 232520584aeb9af9383000b08c327e37f5af1ddf..f712818c3363880d52b68b848a69e9e9cd34d431 100644 (file)
@@ -78,11 +78,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'))) {
                // Rallye will expire in less one day!
-               $content['extras'] = getMessage('RALLYE_EXPIRE_ONE_DAY');
+               $content['extras'] = '{--RALLYE_EXPIRE_ONE_DAY--}';
        } else {
                $content['extras'] = '<a href="{%url=modules.php?module=index&amp;what=register%}">{--RALLYE_REGISTER_NOW--}</a>';
        }
@@ -115,11 +115,11 @@ if (SQL_NUMROWS($result) == 1) {
        if ($expired === true) {
                $content['prices']       = addReferalRallyeWinners($id);
                $content['top_users']    = '<div align="center" class="big">' . $content['extras'] . '</div>';
-               $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