From ea8df5636d152d33c104f64a6b2b5d42b2881d8e Mon Sep 17 00:00:00 2001 From: ToutPratique Date: Wed, 16 Mar 2016 12:09:00 +0100 Subject: [PATCH] push prod --- themes/toutpratique/footer.tpl | 26 +++++++++++++++++++++- themes/toutpratique/header.tpl | 2 ++ themes/toutpratique/order-confirmation.tpl | 4 +++- 3 files changed, 30 insertions(+), 2 deletions(-) diff --git a/themes/toutpratique/footer.tpl b/themes/toutpratique/footer.tpl index e337b06c..a174bff6 100644 --- a/themes/toutpratique/footer.tpl +++ b/themes/toutpratique/footer.tpl @@ -79,7 +79,6 @@ {if $page_name == 'order-confirmation'} - {assign var='totalTaxes' value=($orderInfo->total_paid_tax_incl - $orderInfo->total_paid_tax_excl)} @@ -100,6 +99,31 @@ {/literal} + {if isset($orderInfo)} + + + + + + {/if} + + {/if} {/if} diff --git a/themes/toutpratique/header.tpl b/themes/toutpratique/header.tpl index 33a94249..d45aaa64 100644 --- a/themes/toutpratique/header.tpl +++ b/themes/toutpratique/header.tpl @@ -54,6 +54,8 @@ {/literal} + + {if !isset($content_only) || !$content_only} diff --git a/themes/toutpratique/order-confirmation.tpl b/themes/toutpratique/order-confirmation.tpl index 2b5ee87c..66f5fd29 100644 --- a/themes/toutpratique/order-confirmation.tpl +++ b/themes/toutpratique/order-confirmation.tpl @@ -27,7 +27,9 @@ }, 100 ); - {/literal} + {/literal} + + {/if} {include file="$tpl_dir./errors.tpl"}