]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/guest/what-rallyes.php
Added new files from EL branch
[mailer.git] / inc / modules / guest / what-rallyes.php
index 799414e0b6320cf47be608e0d1378c48e58d13d7..232520584aeb9af9383000b08c327e37f5af1ddf 100644 (file)
@@ -18,6 +18,7 @@
  * 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 *
@@ -83,11 +84,11 @@ if (SQL_NUMROWS($result) == 1) {
                // Rallye will expire in less one day!
                $content['extras'] = getMessage('RALLYE_EXPIRE_ONE_DAY');
        } else {
-               $content['extras'] = "<a href=\"{%url=modules.php?module=index&amp;what=register%}\">{--RALLYE_REGISTER_NOW--}</a>";
+               $content['extras'] = '<a href="{%url=modules.php?module=index&amp;what=register%}">{--RALLYE_REGISTER_NOW--}</a>';
        }
 
        // Set admin line (currently set to impressum, later to contact form)
-       // @TODO Reactivate this: $content['admin'] = "<a href=\"{%url=modules.php?module=index&amp;what=impressum&amp;admin=" . $adminId . "%}\">" . $login . "</a>";
+       // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;admin=' . $adminId . '%}">' . $login . '</a>';
 
        // Set title
        $content['title'] = $title;
@@ -113,7 +114,7 @@ if (SQL_NUMROWS($result) == 1) {
 
        if ($expired === true) {
                $content['prices']       = addReferalRallyeWinners($id);
-               $content['top_users']    = "<div align=\"center\" class=\"big\">".$content['extras']."</div>";
+               $content['top_users']    = '<div align="center" class="big">' . $content['extras'] . '</div>';
                $content['can_win_this'] = getMessage('RALLYE_OUR_WINNERS_ARE');
        } else {
                $content['prices']       = addReferalRallyePrices($id, 'html');