From 42093faa3afeca359fc991c72c5841ed934fa293 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Tue, 10 Jul 2018 22:01:30 +0200 Subject: [PATCH] allow parent directory, add version selector in home page --- themes/d3/templates/home.php | 34 ++++++++++++++++++++++++++ themes/d3/templates/layout/05_page.php | 14 +++++------ 2 files changed, 41 insertions(+), 7 deletions(-) diff --git a/themes/d3/templates/home.php b/themes/d3/templates/home.php index f452e3a..cebd3b6 100644 --- a/themes/d3/templates/home.php +++ b/themes/d3/templates/home.php @@ -21,6 +21,40 @@ ' . $this->translate("author") . ': ' . $params['author'] . '' : '' ?> ' . $this->translate("moduledate") . ': ' . $params['moduledate'] . '' : '' ?> ' . $this->translate("version") . ': ' . $params['moduleversion'] . '' : '' ?> + + "; + echo $this->translate("selectversion").': '; + + $code = ' +"; + echo ""; + } + ?> + ' . $this->translate("editors") . ': ' . $params['editors'] . '' : '' ?> diff --git a/themes/d3/templates/layout/05_page.php b/themes/d3/templates/layout/05_page.php index 65bc8a3..6ec0c36 100755 --- a/themes/d3/templates/layout/05_page.php +++ b/themes/d3/templates/layout/05_page.php @@ -33,18 +33,19 @@