From 487f71bd0bf2c0bb42ce7e7274df2ba3b90a14b0 Mon Sep 17 00:00:00 2001 From: onli Date: Thu, 20 Jun 2013 00:07:23 +0200 Subject: [PATCH] Fix preview of future entries by hiding the footer. NOTE: This whole area needs a cleanup and is not smartified yet --- include/functions_config.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/functions_config.inc.php b/include/functions_config.inc.php index 228063e3..f4285754 100644 --- a/include/functions_config.inc.php +++ b/include/functions_config.inc.php @@ -751,6 +751,7 @@ function serendipity_is_iframe() { $iframe_mode = $serendipity['GET']['iframe_mode']; $serendipity['POST'] = &$_SESSION['save_entry_POST']; $serendipity['GET'] = &$_SESSION['save_entry_POST']; // GET-Vars are the same as POST to ensure compatibility. + $serendipity['hidefooter'] = true; ignore_user_abort(true); echo serendipity_iframe($_SESSION['save_entry'], $iframe_mode); return true;