add module active check for optout code, destroy shop layout, if module is deactivated
This commit is contained in:
parent
568de84f80
commit
45cf7549c9
@ -1,5 +1,9 @@
|
|||||||
[{$smarty.block.parent}]
|
[{$smarty.block.parent}]
|
||||||
[{if $oD3GASettings->getValue('blD3GAUseOptOut')}]
|
|
||||||
|
[{d3modcfgcheck modid="d3_googleanalytics"}]
|
||||||
|
[{/d3modcfgcheck}]
|
||||||
|
|
||||||
|
[{if $mod_d3_googleanalytics && $oD3GASettings->getValue('blD3GAUseOptOut')}]
|
||||||
<div id="d3GAOptOut">
|
<div id="d3GAOptOut">
|
||||||
<a href="javascript:gaOptout();">[{oxmultilang ident="D3_GOOGLEANALYTICS_OPTOUT"}]</a>
|
<a href="javascript:gaOptout();">[{oxmultilang ident="D3_GOOGLEANALYTICS_OPTOUT"}]</a>
|
||||||
[{assign var='sGaId' value=$oD3GASettings->getValue('sD3GAId')}]
|
[{assign var='sGaId' value=$oD3GASettings->getValue('sD3GAId')}]
|
||||||
|
Loading…
Reference in New Issue
Block a user