From 45cf7549c921757c137ea3db17b34901e07b0a15 Mon Sep 17 00:00:00 2001 From: DanielSeifert Date: Thu, 16 Oct 2014 10:26:23 +0000 Subject: [PATCH] add module active check for optout code, destroy shop layout, if module is deactivated --- .../views/blocks/layout/d3_base_optout.tpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_optout.tpl b/changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_optout.tpl index a3d6797..b96d9c2 100644 --- a/changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_optout.tpl +++ b/changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_optout.tpl @@ -1,5 +1,9 @@ [{$smarty.block.parent}] -[{if $oD3GASettings->getValue('blD3GAUseOptOut')}] + +[{d3modcfgcheck modid="d3_googleanalytics"}] +[{/d3modcfgcheck}] + +[{if $mod_d3_googleanalytics && $oD3GASettings->getValue('blD3GAUseOptOut')}]
[{oxmultilang ident="D3_GOOGLEANALYTICS_OPTOUT"}] [{assign var='sGaId' value=$oD3GASettings->getValue('sD3GAId')}]