From 4fd262bd687be55fb5fae5b492f572fbb5f84c00 Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Tue, 25 Oct 2011 17:23:23 +0000 Subject: [PATCH] // display_header/footer = false will display tags git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9646 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/themes/template/footer.tpl | 2 ++ admin-dev/themes/template/header.tpl | 2 ++ admin-dev/themes/template/layout.tpl | 8 ++------ 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/admin-dev/themes/template/footer.tpl b/admin-dev/themes/template/footer.tpl index 691f5c64c..1cb46ffae 100644 --- a/admin-dev/themes/template/footer.tpl +++ b/admin-dev/themes/template/footer.tpl @@ -26,6 +26,7 @@ +{if $display_footer} {$HOOK_FOOTER} +{/if} diff --git a/admin-dev/themes/template/header.tpl b/admin-dev/themes/template/header.tpl index 12e41c2c7..453edca64 100644 --- a/admin-dev/themes/template/header.tpl +++ b/admin-dev/themes/template/header.tpl @@ -142,6 +142,7 @@ $(document).ready(function() +{if $display_header}
@@ -285,6 +286,7 @@ $(document).ready(function() {/if} *} +{/if}
{if $install_dir_exists} diff --git a/admin-dev/themes/template/layout.tpl b/admin-dev/themes/template/layout.tpl index 3b4093714..44053ba90 100644 --- a/admin-dev/themes/template/layout.tpl +++ b/admin-dev/themes/template/layout.tpl @@ -23,9 +23,7 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} -{if $display_header} - {include file='header.tpl'} -{/if} +{include file='header.tpl'} {if isset($conf)}
{$conf} @@ -115,6 +113,4 @@ {/if} {$page} -{if $display_footer} - {include file='footer.tpl'} -{/if} +{include file='footer.tpl'}