Even more fixes
authorRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 12:00:20 +0000 (12:00 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 18 Nov 2009 12:00:20 +0000 (12:00 +0000)
inc/stylesheet.php
mailid.php
templates/de/html/mailid/mailid_timer.tpl

index 47c6b65..b2d8117 100644 (file)
@@ -106,20 +106,20 @@ if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
        loadTemplate('css_inline', false, $OUT);
 } else {
        // Now we load all CSS files from css.php!
-       outputHtml('<link rel="stylesheet" type="text/css" href="{%url=css.php', false);
+       $OUT = '<link rel="stylesheet" type="text/css" href="{%url=css.php';
        if ((isInstallationPhase())) {
                // Default theme first
                $newTheme = 'default';
                if (isGetRequestElementSet('theme'))  $newTheme = getRequestElement('theme');
                if (isPostRequestElementSet('theme')) $newTheme = secureString(postRequestElement('theme'));
-               outputHtml('?theme=' . $newTheme . '&amp;installing=1', false);
+               $OUT .= '?theme=' . $newTheme . '&amp;installing=1';
        } else {
                // Add SVN revision to bypass caching problems
-               outputHtml('?rev=' . getConfig('CURR_SVN_REVISION'));
+               $OUT .= '?rev=' . getConfig('CURR_SVN_REVISION');
        }
 
        // Close tag
-       outputHtml('%}" />');
+       outputHtml($OUT . '%}" />');
 }
 
 // [EOF]
index 0649da1..06f313f 100644 (file)
@@ -111,7 +111,7 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr
                        default: // Invalid mail type
                                debug_report_bug('Invalid mail type ' . $ltype . ' detected.');
                                break;
-               }
+               } // END - switch
 
                if (SQL_NUMROWS($result) == 1) {
                        // Load data
@@ -154,7 +154,7 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr
                                                                list($points, $time) = SQL_FETCHROW($result);
                                                                $payment = '0.00000';
                                                                $isValid = true;
-                                                       }
+                                                       } // END - if
 
                                                        // Free memory
                                                        SQL_FREERESULT($result);
@@ -176,9 +176,9 @@ if (($url_userid) > 0 && (($url_mid > 0) || ($url_bid > 0)) && (getTotalFatalErr
                                                        // Export data into constants for the template
                                                        $content = array(
                                                                'userid'  => $url_userid,
-                                                               'type' => $type,
-                                                               'data' => $urlId,
-                                                               'url'  => generateDerefererUrl($URL)
+                                                               'type'    => $type,
+                                                               'data'    => $urlId,
+                                                               'url'     => generateDerefererUrl($URL)
                                                        );
 
                                                        // Load template
index 4cbe33e..1647999 100644 (file)
@@ -26,7 +26,7 @@ function StartCounter() {
                <table border="0" cellspacing="0" cellpadding="0" width="200" class="member_confirm dashed">
                        <tr>
                                <td align="center">
-                               <form accept-charset="utf-8" name="confirm" style="margin-top: 0px?margin-bottom: 0px">
+                               <form accept-charset="utf-8" name="confirm" style="margin-top: 0px;margin-bottom:0px">
                                {--MEMBER_TIME_COUNTER_1--} <input type="text" name="counter"
                                        size="$content[tim2]" readonly class="member_normal"
                                        value="$content[time]">&nbsp;{--_SECONDS--}