diff --git a/app/index/view/default/public/footer.html b/app/index/view/default/public/footer.html index df261e56f..573355f65 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 f8930e7d4..034bd8bad 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