From 2b037e75e1444dbfb2578bb57180e16ca19d96d1 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Thu, 19 Jul 2018 20:26:25 +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").': ';