From d81890c0a34ea8ccade615385f25156762f884b4 Mon Sep 17 00:00:00 2001 From: DanielSeifert Date: Thu, 21 Feb 2013 13:56:11 +0000 Subject: [PATCH] reformat tpls --- .../tpl/d3_cfg_googleanalytics_campaigns.tpl | 105 ++++--------- .../admin/tpl/d3_cfg_googleanalytics_main.tpl | 145 +++++++----------- 2 files changed, 86 insertions(+), 164 deletions(-) diff --git a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl index 58559fa..a453a20 100644 --- a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl +++ b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_campaigns.tpl @@ -39,33 +39,6 @@ function _groupExp(el) { -[{ if $readonly}] +[{if $readonly}] [{assign var="readonly" value="readonly disabled"}] [{else}] [{assign var="readonly" value=""}] @@ -109,7 +82,7 @@ function _groupExp(el) { - + @@ -117,7 +90,7 @@ function _groupExp(el) { [{if $oView->getValueStatus() == 'error'}]
- [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}] + [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}]

@@ -131,55 +104,51 @@ function _groupExp(el) {
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSGENERAL"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSCODE_SETCAMPAIGNTRACK"}] + [{* _gaq.push(['_setCampaignTrack', false]); *}]
- - d3_cfg_mod__blD3GASetCampaignTrack}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetCampaignTrack]"> + + getValue('blD3GASetCampaignTrack')}]checked[{/if}] name="value[blD3GASetCampaignTrack]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSCODE_SETCAMPAIGNTRACK_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSCODE_SETCAMPAIGNTHANKYOUONLY"}] +
- - d3_cfg_mod__blD3GASetCampaignOnThankyouOnly}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetCampaignOnThankyouOnly]"> + + getValue('blD3GASetCampaignOnThankyouOnly')}]checked[{/if}] name="value[blD3GASetCampaignOnThankyouOnly]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSCODE_SETCAMPAIGNTHANKYOUONLY_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPAIGNCOOKIETIMEOUT"}] + [{* _gaq.push(['_setCampaignCookieTimeout', 31536000000]); *}]
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPAIGNCOOKIETIMEOUT_MS"}] + [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPAIGNCOOKIETIMEOUT_MS"}] [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPAIGNCOOKIETIMEOUT_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPNOKEY"}] + [{* _gaq.push(['_setCampNOKey', 'ga_nooverride']); *}]
- - d3_cfg_mod__blD3GASetCampNoKey}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetCampNoKey]"> + + getValue('blD3GASetCampNoKey')}]checked[{/if}] name="value[blD3GASetCampNoKey]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPNOKEY_DESC" }]
-
@@ -187,21 +156,20 @@ function _groupExp(el) {
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSCODE"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSCODE_CODE"}] +
- [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSCODE_CODE_DESC" }]
-
@@ -209,64 +177,59 @@ function _groupExp(el) {
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPNAMEKEY"}] + [{* _gaq.push(['_setCampNameKey', 'ga_campaign']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPNAMEKEY_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPMEDIUMKEY"}] + [{* _gaq.push(['_setCampMediumKey', 'ga_medium']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPMEDIUMKEY_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPSOURCEKEY"}] + [{* _gaq.push(['_setCampSourceKey', 'ga_source']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPSOURCEKEY_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPTERMKEY"}] + [{* _gaq.push(['_setCampTermKey', 'ga_term']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPTERMKEY_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPCONTENTKEY"}] + [{* _gaq.push(['_setCampContentKey', 'ga_content']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ADWORDSMAIN_SETCAMPCONTENTKEY_DESC" }]
-
@@ -276,7 +239,7 @@ function _groupExp(el) {
diff --git a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl index 6a0640c..b2bda3b 100644 --- a/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl +++ b/copy_this/modules/d3/d3_googleanalytics/views/admin/tpl/d3_cfg_googleanalytics_main.tpl @@ -39,33 +39,6 @@ -[{ if $readonly}] +[{if $readonly}] [{assign var="readonly" value="readonly disabled"}] [{else}] [{assign var="readonly" value=""}] @@ -109,7 +82,7 @@ - +

-
+
@@ -122,7 +95,7 @@ [{elseif $oView->getValueStatus() == 'error'}]
- [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}] + [{oxmultilang ident="D3_CFG_MOD_GENERAL_NOCONFIG_DESC"}]

@@ -136,55 +109,51 @@
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_GAID"}] + [{* _gaq.push(['_setAccount', 'UA_XXX']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_GAID_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_ANONYMIZEIP"}] + [{* _gaq.push(['_gat._anonymizeIp']); *}]
- - d3_cfg_mod__blD3GAAnonymizeIP}]checked[{/if}] name="value[d3_cfg_mod__blD3GAAnonymizeIP]"> + + getValue('blD3GAAnonymizeIP')}]checked[{/if}] name="value[blD3GAAnonymizeIP]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_ANONYMIZEIP_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME"}] + [{* _gaq.push(['_gat._trackPageLoadTime']); *}]
- - d3_cfg_mod__blD3GATrackPageLoadTime}]checked[{/if}] name="value[d3_cfg_mod__blD3GATrackPageLoadTime]"> + + getValue('blD3GATrackPageLoadTime')}]checked[{/if}] name="value[blD3GATrackPageLoadTime]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_TRACKPAGELOADTIME_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING"}] +
- - d3_cfg_mod__blD3GAUseRemarketing}]checked[{/if}] name="value[d3_cfg_mod__blD3GAUseRemarketing]"> + + getValue('blD3GAUseRemarketing')}]checked[{/if}] name="value[blD3GAUseRemarketing]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_MAIN_USEREMARKETING_DESC" }]
-
@@ -192,31 +161,29 @@
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_ECOMMERCE"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ECOMMERCE_SENDDATA"}] +
- - d3_cfg_mod__blD3GASendECommerce}]checked[{/if}] name="value[d3_cfg_mod__blD3GASendECommerce]"> + + getValue('blD3GASendECommerce')}]checked[{/if}] name="value[blD3GASendECommerce]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ECOMMERCE_SENDDATA_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_ECOMMERCE_USENETTO"}] +
- - d3_cfg_mod__blD3GAUseNetto}]checked[{/if}] name="value[d3_cfg_mod__blD3GAUseNetto]"> + + getValue('blD3GAUseNetto')}]checked[{/if}] name="value[blD3GAUseNetto]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_ECOMMERCE_USENETTO_DESC" }]
-
@@ -224,55 +191,51 @@
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN_SETALLOWLINKER"}] + [{* _gaq.push(['_setAllowLinker', true]); *}]
- - d3_cfg_mod__blD3GAAllowDomainLinker}]checked[{/if}] name="value[d3_cfg_mod__blD3GAAllowDomainLinker]"> + + getValue('blD3GAAllowDomainLinker')}]checked[{/if}] name="value[blD3GAAllowDomainLinker]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETALLOWLINKER_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN_SETDOMAINNAME"}] + [{* _gaq.push(['_setDomainName', '.example-petstore.com']); *}] [{* if used _gaq.push(['_setAllowHash', false]); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETDOMAINNAME_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN_SETCOOKIEPATH"}] + [{* _gaq.push(['_setCookiePath', '/path/of/cookie/']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_SETCOOKIEPATH_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_DOMAIN_COOKIEPATHCOPY"}] + [{* _gaq.push(['_cookiePathCopy', '/path/of/cookie/']); *}]
- + [{ oxinputhelp ident="D3_GOOGLEANALYTICS_DOMAIN_COOKIEPATHCOPY_DESC" }]
-
@@ -280,45 +243,42 @@
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_BROWSER"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_BROWSER_SETCLIENTINFO"}] + [{* _gaq.push(['_setClientInfo', false]); *}]
- - d3_cfg_mod__blD3GASetClientInfo}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetClientInfo]"> + + getValue('blD3GASetClientInfo')}]checked[{/if}] name="value[blD3GASetClientInfo]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETCLIENTINFO_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTFLASH"}] + [{* _gaq.push(['_setDetectFlash', false]); *}]
- - d3_cfg_mod__blD3GASetDetectFlash}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetDetectFlash]"> + + getValue('blD3GASetDetectFlash')}]checked[{/if}] name="value[blD3GASetDetectFlash]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTFLASH_DESC" }]
-
- [{oxmultilang ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTTITLE"}] + [{* _gaq.push(['_setDetectTitle', false]); *}]
- - d3_cfg_mod__blD3GASetDetectTitle}]checked[{/if}] name="value[d3_cfg_mod__blD3GASetDetectTitle]"> + + getValue('blD3GASetDetectTitle')}]checked[{/if}] name="value[blD3GASetDetectTitle]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_BROWSER_SETDETECTTITLE_DESC" }]
-
@@ -326,21 +286,20 @@
- + [{oxmultilang ident="D3_GOOGLEANALYTICS_CUSTOMVARS"}] - +
- [{oxmultilang ident="D3_GOOGLEANALYTICS_CUSTOMVARS_TRANSMIT"}] + [{* _gaq.push(['_setCustomVar', false]); *}]
- - d3_cfg_mod__blD3GAUseCustomVars}]checked[{/if}] name="value[d3_cfg_mod__blD3GAUseCustomVars]"> + + getValue('blD3GAUseCustomVars')}]checked[{/if}] name="value[blD3GAUseCustomVars]"> [{ oxinputhelp ident="D3_GOOGLEANALYTICS_CUSTOMVARS_TRANSMIT_DESC" }]
-
@@ -350,7 +309,7 @@

-
+