From 4285882949b0c9868e750f7e7ffd47e7f07584ff Mon Sep 17 00:00:00 2001 From: sLorenzini Date: Wed, 4 Dec 2013 17:29:35 +0100 Subject: [PATCH] // update indent code --- themes/default-bootstrap/footer.tpl | 29 +++++------ themes/default-bootstrap/header.tpl | 57 ++++++++++---------- themes/default-bootstrap/product-list.tpl | 63 ++++++++++++----------- 3 files changed, 76 insertions(+), 73 deletions(-) diff --git a/themes/default-bootstrap/footer.tpl b/themes/default-bootstrap/footer.tpl index f572a7af1..11ccecf15 100644 --- a/themes/default-bootstrap/footer.tpl +++ b/themes/default-bootstrap/footer.tpl @@ -23,24 +23,23 @@ * International Registered Trademark & Property of PrestaShop SA *} {if !$content_only} - - {if isset($right_column_size) && !empty($right_column_size)} - -
- {$HOOK_RIGHT_COLUMN} -
- {/if} - + + {if isset($right_column_size) && !empty($right_column_size)} +
+ {$HOOK_RIGHT_COLUMN} +
+ {/if} + - + +
+
+ {$HOOK_FOOTER} +
+
+ {/if} diff --git a/themes/default-bootstrap/header.tpl b/themes/default-bootstrap/header.tpl index fd7fa552c..fa06645fe 100644 --- a/themes/default-bootstrap/header.tpl +++ b/themes/default-bootstrap/header.tpl @@ -44,12 +44,12 @@ - - - - - - + + + + + + {if isset($css_files)} {foreach from=$css_files key=css_uri item=media} @@ -62,11 +62,10 @@ var viewport = document.querySelector("meta[name=viewport]"); viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height'); } - if(navigator.userAgent.match(/Android/i)){ + if(navigator.userAgent.match(/Android/i)){ window.scrollTo(0,1); - } - -