$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&what=register%}">{--RALLYE_REGISTER_NOW--}</a>';
}
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