From 50caa843f3893e0bf53b79bb60da7c53359469c3 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 19 Jul 2018 20:27:13 +0200 Subject: [PATCH] add versionselector variable check --- daux/d3processor.php | 2 +- themes/d3/templates/home.php | 3 ++- themes/d3/templates/layout/05_page.php | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/daux/d3processor.php b/daux/d3processor.php index 3ba2186..51b823f 100644 --- a/daux/d3processor.php +++ b/daux/d3processor.php @@ -122,7 +122,7 @@ class d3DocumentRenderer implements BlockRendererInterface $wholeDoc = $htmlRenderer->renderBlocks($block->children()); $output = new NullOutput(); - $daux = new Daux(Daux::LIVE_MODE, $output); + $daux = new Daux(Daux::STATIC_MODE, $output); $daux->initializeConfiguration(); $variables = $daux->getParams()['variables']; diff --git a/themes/d3/templates/home.php b/themes/d3/templates/home.php index cebd3b6..59caac0 100644 --- a/themes/d3/templates/home.php +++ b/themes/d3/templates/home.php @@ -24,7 +24,8 @@ "; echo $this->translate("selectversion").': '; diff --git a/themes/d3/templates/layout/05_page.php b/themes/d3/templates/layout/05_page.php index 6ec0c36..8244253 100755 --- a/themes/d3/templates/layout/05_page.php +++ b/themes/d3/templates/layout/05_page.php @@ -25,7 +25,8 @@ "; echo $this->translate("selectversion").': ';