From 37cf85eb36f14d5d6520e3e27f813edb8c4b6738 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Mon, 20 Mar 2017 22:10:01 +0100 Subject: The javascript part was outsourced to a new file to reduce duplicate code. --- template/standard/html/main.php | 2 ++ template/standard/html/page/main.php | 18 +++--------------- template/standard/html/pagination.php | 18 +++--------------- template/standard/html/post/main.php | 18 +++--------------- template/standard/html/user/main.php | 18 +++--------------- template/standard/rsrc/main.js | 16 ++++++++++++++++ 6 files changed, 30 insertions(+), 60 deletions(-) create mode 100644 template/standard/rsrc/main.js (limited to 'template/standard') diff --git a/template/standard/html/main.php b/template/standard/html/main.php index e6c0e10..c6cfa7d 100644 --- a/template/standard/html/main.php +++ b/template/standard/html/main.php @@ -47,6 +47,8 @@ $BLOGMETA_DESC = escapeHTML($BLOGMETA['DESC']); + + <?="{$HEAD_NAME} | {$BLOGMETA_NAME} {$BLOGMETA_DESC}"?> diff --git a/template/standard/html/page/main.php b/template/standard/html/page/main.php index 8ac7977..621b939 100644 --- a/template/standard/html/page/main.php +++ b/template/standard/html/page/main.php @@ -20,27 +20,15 @@ $time = "