page: wrap menu in header container
[minimedit.git] / head.inc.php
index f8435ffb8852c6fb1ec83a61d867884247b9492d..5e19024665e5806c53638657671142020309d1d2 100644 (file)
@@ -1,7 +1,9 @@
 <?php
 include_once 'head.inc.html';
 
+print "<header>\n";
 include 'menu.html';
+print "</header>\n\n";
 
 print '<div class="article">'."\n\n";
 
@@ -12,3 +14,7 @@ register_shutdown_function(function () {
        include 'foot.inc.php';
        print "</body></html>\n";
 });
+
+include "$Page.html";
+if (file_exists("$Page.php")) include_once("$Page.php");
+