Fix preview of future entries

by hiding the footer. NOTE: This whole area needs a cleanup and is not smartified yet
This commit is contained in:
onli 2013-06-20 00:07:23 +02:00
parent 99caf8d74e
commit 487f71bd0b

View File

@ -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;