From: Mischa POSLAWSKY Date: Mon, 11 Sep 2017 23:57:41 +0000 (+0200) Subject: page: split head/foot includes X-Git-Tag: v2.0~4 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/ab89443fa6d3a9e13476dae2a3a6c23d13ccf9b0 page: split head/foot includes Separate menu.html for site-specific navigation from head.inc.html, and move mandatory div/body closing tags out of foot.inc.php. --- diff --git a/foot.inc.php b/foot.inc.php index e61346a..96b05ea 100755 --- a/foot.inc.php +++ b/foot.inc.php @@ -1,4 +1,3 @@ - '.N; } -?> diff --git a/head.inc.php b/head.inc.php index 4489ce9..f8435ff 100644 --- a/head.inc.php +++ b/head.inc.php @@ -1,10 +1,14 @@ '."\n\n"; include_once 'auth.inc.php'; register_shutdown_function(function () { + print "\n\n"; include 'foot.inc.php'; + print "\n"; });