From ae71e1ef56d0b2b26fe073f539a5ee4cf83d620a Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Fri, 15 Feb 2019 11:06:35 +0100 Subject: [PATCH] remove duplicated version information in case of displayed version selector, add links static (default configuration will overridden) --- themes/d3/templates/home.php | 24 +++++++++++++++++------- themes/d3/templates/layout/05_page.php | 23 ++++++++++++++++------- 2 files changed, 33 insertions(+), 14 deletions(-) diff --git a/themes/d3/templates/home.php b/themes/d3/templates/home.php index 59caac0..200a095 100644 --- a/themes/d3/templates/home.php +++ b/themes/d3/templates/home.php @@ -20,7 +20,6 @@
' . $this->translate("author") . ': ' . $params['author'] . '
' : '' ?> ' . $this->translate("moduledate") . ': ' . $params['moduledate'] . '' : '' ?> - ' . $this->translate("version") . ': ' . $params['moduleversion'] . '' : '' ?> "; echo ""; + } else { + echo ($params['moduleversion'])? '
' . $this->translate("version") . ': ' . $params['moduleversion'] . '
' : ''; } ?> @@ -93,13 +94,22 @@
- -