]> git.mxchange.org Git - mailer.git/blobdiff - surfbar.php
Fixes in changing URLs in surfbar extension. Resolves #40/#41
[mailer.git] / surfbar.php
index 68b6d387077b37f7b493fc662cce3bd9027f64aa..a640ea603a2eae2c289d4214633073f917358e5d 100644 (file)
@@ -54,10 +54,10 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Only logged in users may use this surfbar!
        if (!EXT_IS_ACTIVE("surfbar")) {
                // Surfbar deactivated
-               LOAD_URL(URL."/modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM."&ext=surfbar");
+               LOAD_URL("modules.php?module=login&msg=".CODE_EXTENSION_PROBLEM."&ext=surfbar");
        } elseif (!IS_MEMBER()) {
                // Redirect
-               LOAD_URL(URL."/modules.php?module=index");
+               LOAD_URL("modules.php?module=index");
        }
 
        // Handle tasks on self-maintenance
@@ -75,7 +75,6 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
                        LOAD_TEMPLATE("surfbar_frame_start");
 
                        // Load banner
-                       OUTPUT_HTML("<br />");
                        LOAD_TEMPLATE("surfbar_start_banner");
 
                        // This makes the footer appear again
@@ -194,7 +193,7 @@ if (isBooleanConstantAndTrue('mxchange_installed')) {
        // Load footer
        require_once(PATH."inc/footer.php");
 } else {
-       // You have to configure first!
+       // You have to install first!
        LOAD_URL("install.php");
 }