From 04d2ff59ee6bff6a71c50c8fefcd27e586ab1913 Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Wed, 4 Dec 2013 19:31:02 +0100 Subject: [PATCH] // fix product list + facebook block HTML5 version WIP --- modules/blockfacebook/blockfacebook.tpl | 32 +++++++++++++++++------ themes/default-bootstrap/product-list.tpl | 5 ++-- 2 files changed, 26 insertions(+), 11 deletions(-) diff --git a/modules/blockfacebook/blockfacebook.tpl b/modules/blockfacebook/blockfacebook.tpl index 17cb392ea..e69da60ee 100644 --- a/modules/blockfacebook/blockfacebook.tpl +++ b/modules/blockfacebook/blockfacebook.tpl @@ -1,10 +1,26 @@ {if $facebookurl != ''} -
-

{l s='Follow us on facebook' mod='blockfacebook'}

- +
+ +
+

{l s='Follow us on facebook' mod='blockfacebook'}

+ -{/if} - - +
+{/if} \ No newline at end of file diff --git a/themes/default-bootstrap/product-list.tpl b/themes/default-bootstrap/product-list.tpl index e248b68bb..fa1a114aa 100644 --- a/themes/default-bootstrap/product-list.tpl +++ b/themes/default-bootstrap/product-list.tpl @@ -151,14 +151,13 @@ href="{$link->getPageLink('cart',false, NULL, "add=1&id_product={$product.id_product|intval}&token={$static_token}", false)|escape:'html'}" rel="nofollow" title="{l s='Add to cart'}" - data-id-product="{$product.id_product|intval}" - token={$static_token}", false)|escape:'html'}"> + data-id-product="{$product.id_product|intval}"> {l s='Add to cart'} {else}