]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/member/what-rallyes.php
New functions introduced, several rewrites:
[mailer.git] / inc / modules / member / what-rallyes.php
index 3ad801d6d8029428726f964cb9dade1f48c49e54..e5c70a987fa5759af54f0bb043313e62d4845e02 100644 (file)
@@ -83,11 +83,11 @@ if (SQL_NUMROWS($result) == 1) {
                $content['extras'] = getMessage('RALLYE_EXPIRE_ONE_DAY');
        } else {
                // Link to referal links page
-               $content['extras'] = "<a href=\"{%url=modules.php?module=login&amp;what=reflinks%}\">{--RALLYE_GET_REFLINK--}</a>";
+               $content['extras'] = '<a href="{%url=modules.php?module=login&amp;what=reflinks%}">{--RALLYE_GET_REFLINK--}</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=" . $content['admin_id'] . "%}\">" . $content['login'] . "</a>";
+       // @TODO Reactivate this: $content['admin'] = '<a href="{%url=modules.php?module=index&amp;what=impressum&amp;admin=' . $content['admin_id'] . '%}">' . $content['login'] . '</a>';
 
        // Handle description...
        if ((empty($content['descr'])) && (!empty($content['template']))) {
@@ -105,7 +105,7 @@ if (SQL_NUMROWS($result) == 1) {
 
        if ($expired === true) {
                $content['prices']       = addReferalRallyeWinners($content['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($content['id'], 'html');