X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=surfbar.php;h=2da2cea3a24d336961e972f62e249739ed61c2d0;hp=380de444c1a9be2113e27541ff97bbf0c018ebd3;hb=d234d1de6ad6e7afe77507f421c9930833731d88;hpb=3f51c40f4fede87228216f9285b745a339e3891d diff --git a/surfbar.php b/surfbar.php index 380de444c1..2da2cea3a2 100644 --- a/surfbar.php +++ b/surfbar.php @@ -47,7 +47,6 @@ $GLOBALS['module'] = 'surfbar'; $GLOBALS['refid'] = 0; $GLOBALS['output_mode'] = 0; $GLOBALS['header_sent'] = 3; -$msg = null; // Load the required file(s) require('inc/config-global.php'); @@ -165,6 +164,9 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((REQUEST_ISSET_GET('frame')) && (in_array( // Determine template name $templateName = SURFBAR_DETERMINE_TEMPLATE_NAME(); + // Load header in frameset mode is the default + $isFrameset = true; + // Frame "top" set? if ((REQUEST_ISSET_GET('frame')) && (REQUEST_GET('frame') == 'top')) { // Determine next id @@ -194,9 +196,6 @@ if ((SURFBAR_CHECK_RELOAD_FULL()) || ((REQUEST_ISSET_GET('frame')) && (in_array( } elseif ((REQUEST_ISSET_GET('frame')) && (REQUEST_GET('frame') == 'start')) { // Starter frame found so let the footer display REQUEST_UNSET_GET('frame'); - } else { - // Load header in frameset mode - $isFrameset = true; } // Load header