From 02b6e24ca45de52333ae4ad04a52d090ae499a94 Mon Sep 17 00:00:00 2001 From: Kevin Granger Date: Thu, 5 Dec 2013 15:27:40 +0100 Subject: [PATCH] // category page almost W3C valid --- themes/default-bootstrap/nbr-product-page.tpl | 30 +++++++----- themes/default-bootstrap/pagination.tpl | 2 +- themes/default-bootstrap/product-compare.tpl | 2 +- .../default-bootstrap/product-list-colors.tpl | 13 +++-- themes/default-bootstrap/product.tpl | 48 ++++--------------- 5 files changed, 40 insertions(+), 55 deletions(-) diff --git a/themes/default-bootstrap/nbr-product-page.tpl b/themes/default-bootstrap/nbr-product-page.tpl index 03612bd4a..524669846 100644 --- a/themes/default-bootstrap/nbr-product-page.tpl +++ b/themes/default-bootstrap/nbr-product-page.tpl @@ -39,11 +39,17 @@ {/if} {if $nb_products > $products_per_page} -
+
- {if isset($search_query) AND $search_query}{/if} - {if isset($tag) AND $tag AND !is_array($tag)}{/if} - + {if isset($search_query) AND $search_query} + + {/if} + {if isset($tag) AND $tag AND !is_array($tag)} + + {/if} + {if is_array($requestNb)} {foreach from=$requestNb item=requestValue key=requestKey} {if $requestKey != 'requestUrl'} @@ -52,17 +58,17 @@ {/foreach} {/if} {l s='per page'}
{/if} -{/if} +{/if} \ No newline at end of file diff --git a/themes/default-bootstrap/pagination.tpl b/themes/default-bootstrap/pagination.tpl index dd03c6d21..8ab492c5e 100644 --- a/themes/default-bootstrap/pagination.tpl +++ b/themes/default-bootstrap/pagination.tpl @@ -50,7 +50,7 @@
{if !$PS_CATALOG_MODE && ($accessory.allow_oosp || $accessory.quantity > 0)} -
- - {l s='Add to cart'} - +
-
{/if}
@@ -699,12 +672,11 @@ {/if} - {if (isset($quantity_discounts) && count($quantity_discounts) > 0)}
-

{l s='Volume discounts'}

+

{l s='Volume discounts'}