diff --git a/app/index/view/default/public/footer.html b/app/index/view/default/public/footer.html index df261e56f7c76b573ca10d361800b2df75ff55b6..573355f65c09321659055429f82659f4fd68b044 100755 --- a/app/index/view/default/public/footer.html +++ b/app/index/view/default/public/footer.html @@ -8,7 +8,7 @@ -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_view_common_bottom @@ -102,12 +102,13 @@ {{/if}} -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{:MyC('home_footer_info')}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_js
@@ -135,7 +136,7 @@ {{/if}} -{{if !isset($page_pure) or $page_pure neq 1}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}}
plugins_common_page_bottom diff --git a/app/index/view/default/public/header.html b/app/index/view/default/public/header.html index f8930e7d41472e3f8fd89f7af0d47c491067fa9e..034bd8bad053cb7d97d928e22d21a0fee065f11a 100755 --- a/app/index/view/default/public/header.html +++ b/app/index/view/default/public/header.html @@ -86,29 +86,35 @@ -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_css -
+{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_css +
+ {{/if}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_common_header -
+{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_common_header +
+ {{/if}} {{/if}} -{{if isset($shopxo_is_develop) and $shopxo_is_develop eq true and (!isset($is_header) or $is_header eq 1)}} -
- plugins_view_common_top -
-{{/if}} -{{if !empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data) and (!isset($is_header) or $is_header eq 1)}} - {{foreach $plugins_view_common_top_data as $hook}} - {{if is_string($hook) or is_int($hook)}} - {{$hook|raw}} - {{/if}} - {{/foreach}} +{{if (!isset($page_pure) or $page_pure neq 1) and (!isset($is_footer) or $is_footer eq 1)}} + {{if isset($shopxo_is_develop) and $shopxo_is_develop eq true}} +
+ plugins_view_common_top +
+ {{/if}} + {{if !empty($plugins_view_common_top_data) and is_array($plugins_view_common_top_data)}} + {{foreach $plugins_view_common_top_data as $hook}} + {{if is_string($hook) or is_int($hook)}} + {{$hook|raw}} + {{/if}} + {{/foreach}} + {{/if}} {{/if}} \ No newline at end of file