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:
parent
99caf8d74e
commit
487f71bd0b
@ -751,6 +751,7 @@ function serendipity_is_iframe() {
|
|||||||
$iframe_mode = $serendipity['GET']['iframe_mode'];
|
$iframe_mode = $serendipity['GET']['iframe_mode'];
|
||||||
$serendipity['POST'] = &$_SESSION['save_entry_POST'];
|
$serendipity['POST'] = &$_SESSION['save_entry_POST'];
|
||||||
$serendipity['GET'] = &$_SESSION['save_entry_POST']; // GET-Vars are the same as POST to ensure compatibility.
|
$serendipity['GET'] = &$_SESSION['save_entry_POST']; // GET-Vars are the same as POST to ensure compatibility.
|
||||||
|
$serendipity['hidefooter'] = true;
|
||||||
ignore_user_abort(true);
|
ignore_user_abort(true);
|
||||||
echo serendipity_iframe($_SESSION['save_entry'], $iframe_mode);
|
echo serendipity_iframe($_SESSION['save_entry'], $iframe_mode);
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user