page: rename head includes
authorMischa POSLAWSKY <perl@shiar.org>
Tue, 12 Sep 2017 18:56:23 +0000 (20:56 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 18 Sep 2017 18:21:28 +0000 (20:21 +0200)
Site specific header from head.inc.html to head.inc.php to allow code,
replacing generic page container renamed to more appropriate page.inc.php.

page.inc.php [moved from head.inc.php with 95% similarity]
page.php

similarity index 95%
rename from head.inc.php
rename to page.inc.php
index 2522ad737ab2ff8794efc2f222476853a3ed9451..0ca658920d98877769933d9ab9eace195de48ed8 100644 (file)
@@ -1,8 +1,7 @@
 <?php
-include_once 'head.inc.html';
+include_once 'head.inc.php';
 
 print "<header>\n";
-
 ob_start();
 include 'menu.html';
 $nav = ob_get_clean();
index 51ef900455c485d78bd770afaa59ea55d9ccce77..c88852416c9ccc531b015ce25eec163157d1e452 100644 (file)
--- a/page.php
+++ b/page.php
@@ -31,4 +31,4 @@ while (TRUE) {
 
 $Edit = isset($_GET['edit']);
 
-include 'head.inc.php';
+include 'page.inc.php';