From 2d8a37e7ac46aa100f2e460b024d21bae2883f5b Mon Sep 17 00:00:00 2001 From: Jonas Kohl Date: Fri, 6 Sep 2024 13:19:19 +0200 Subject: Move from SSI to PHP --- includes/.htaccess | 2 +- includes/template_end.html | 2 -- includes/template_end.php | 2 ++ includes/template_head_end.html | 18 ------------------ includes/template_head_end.php | 10 ++++++++++ includes/template_head_start.html | 14 -------------- includes/template_head_start.php | 20 ++++++++++++++++++++ includes/template_start.html | 2 -- includes/template_start.php | 3 +++ 9 files changed, 36 insertions(+), 37 deletions(-) delete mode 100644 includes/template_end.html create mode 100644 includes/template_end.php delete mode 100644 includes/template_head_end.html create mode 100644 includes/template_head_end.php delete mode 100644 includes/template_head_start.html create mode 100644 includes/template_head_start.php delete mode 100644 includes/template_start.html create mode 100644 includes/template_start.php (limited to 'includes') diff --git a/includes/.htaccess b/includes/.htaccess index a13210a..b66e808 100644 --- a/includes/.htaccess +++ b/includes/.htaccess @@ -1 +1 @@ -#Require all denied +Require all denied diff --git a/includes/template_end.html b/includes/template_end.html deleted file mode 100644 index 308b1d0..0000000 --- a/includes/template_end.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/includes/template_end.php b/includes/template_end.php new file mode 100644 index 0000000..308b1d0 --- /dev/null +++ b/includes/template_end.php @@ -0,0 +1,2 @@ + + diff --git a/includes/template_head_end.html b/includes/template_head_end.html deleted file mode 100644 index 1aa5f12..0000000 --- a/includes/template_head_end.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - -" background="/images/leather.gif" text="" link="" vlink="" alink=""> diff --git a/includes/template_head_end.php b/includes/template_head_end.php new file mode 100644 index 0000000..9eea077 --- /dev/null +++ b/includes/template_head_end.php @@ -0,0 +1,10 @@ + + + + diff --git a/includes/template_head_start.html b/includes/template_head_start.html deleted file mode 100644 index 41e0017..0000000 --- a/includes/template_head_start.html +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - <!--#echo var="PAGE_TITLE"--> - Mystic House Fansite - diff --git a/includes/template_head_start.php b/includes/template_head_start.php new file mode 100644 index 0000000..150e423 --- /dev/null +++ b/includes/template_head_start.php @@ -0,0 +1,20 @@ + + + + + + + <?= htmlentities($PAGE_TITLE ?? "") ?> - Mystic House Fansite + diff --git a/includes/template_start.html b/includes/template_start.html deleted file mode 100644 index 63e9f81..0000000 --- a/includes/template_start.html +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/includes/template_start.php b/includes/template_start.php new file mode 100644 index 0000000..89e5095 --- /dev/null +++ b/includes/template_start.php @@ -0,0 +1,3 @@ +