From 668f1173826b7dc0150bd09c804b193f4b3fa8d3 Mon Sep 17 00:00:00 2001 From: sThiebaut Date: Wed, 14 Dec 2011 09:17:50 +0000 Subject: [PATCH] // maj git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11196 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/crossselling/crossselling.css | 23 ++++---- modules/favoriteproducts/my-account.tpl | 2 +- .../productcomments/productcomments-extra.tpl | 54 ++++++++++--------- modules/productscategory/productscategory.css | 10 ++-- modules/productscategory/productscategory.tpl | 4 +- 5 files changed, 51 insertions(+), 42 deletions(-) diff --git a/modules/crossselling/crossselling.css b/modules/crossselling/crossselling.css index b596ef468..676e2d5e6 100644 --- a/modules/crossselling/crossselling.css +++ b/modules/crossselling/crossselling.css @@ -15,7 +15,19 @@ #crossselling li a img {border:1px solid #ccc} #crossselling li p.product_name {text-align:center} +#crossselling_list {overflow: hidden;} +#crossselling_scroll_left, + #crossselling_scroll_right { + background: url('../../../img/thumbs_left.gif') no-repeat center; + text-indent: -3000px; + display: block; + width: 9px; + height: 18px; + float: left; + margin-top: 30px +} +#crossselling_scroll_right { background-image: url('../../../img/thumbs_right.gif') } /* div#crossselling { padding-top: 10px; @@ -50,15 +62,4 @@ div#crossselling { overflow: hidden } #crossselling_list li a { margin: auto } -#crossselling_scroll_left, - #crossselling_scroll_right { - background: url('../../../img/thumbs_left.gif') no-repeat center; - text-indent: -3000px; - display: block; - width: 9px; - height: 18px; - float: left; - margin-top: 30px -} -#crossselling_scroll_right { background-image: url('../../../img/thumbs_right.gif') } */ \ No newline at end of file diff --git a/modules/favoriteproducts/my-account.tpl b/modules/favoriteproducts/my-account.tpl index ed45a0941..75586540f 100644 --- a/modules/favoriteproducts/my-account.tpl +++ b/modules/favoriteproducts/my-account.tpl @@ -24,4 +24,4 @@ * International Registered Trademark & Property of PrestaShop SA *} -
  • {l s='My favorite products' mod='favoriteproducts'}
  • +
  • {l s='My favorite products' mod='favoriteproducts'}
  • diff --git a/modules/productcomments/productcomments-extra.tpl b/modules/productcomments/productcomments-extra.tpl index 4ddc5d514..3f256453e 100644 --- a/modules/productcomments/productcomments-extra.tpl +++ b/modules/productcomments/productcomments-extra.tpl @@ -23,22 +23,28 @@ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} +{literal} +{/literal}
    {if $nbComments != 0} @@ -125,9 +131,9 @@ {if $nbComments != 0} {l s='Read user reviews' mod='productcomments'} ({$nbComments})
    {/if} - {if ($too_early == false AND ($logged OR $allow_guests))} + {if ($too_early == false AND ($logged OR $allow_guests))} {l s='Write your review' mod='productcomments'} - {/if} + {/if}
    diff --git a/modules/productscategory/productscategory.css b/modules/productscategory/productscategory.css index 7f549dc98..a9ecd948d 100644 --- a/modules/productscategory/productscategory.css +++ b/modules/productscategory/productscategory.css @@ -6,14 +6,16 @@ h2.productscategory_h2 { color:#333 } -#productscategory_list ul {list-style-type:none} +#productscategory {overflow:auto} +#productscategory_list ul { + list-style-type:none; + margin: 0 0 0 14px; +} #productscategory_list li { float:left; - margin-right:25px + margin-right:30px } #productscategory_list li a.lnk_img {display:block} #productscategory_list li a img {border:1px solid #ccc} #productscategory_list li p.product_name {text-align:center} - - diff --git a/modules/productscategory/productscategory.tpl b/modules/productscategory/productscategory.tpl index f1346cd72..495cde11c 100644 --- a/modules/productscategory/productscategory.tpl +++ b/modules/productscategory/productscategory.tpl @@ -28,7 +28,7 @@

    {$categoryProducts|@count} {l s='other products in the same category:' mod='productscategory'}

    - {if count($categoryProducts) > 5}{l s='Previous' mod='productscategory'}{/if} +
      5}style="width: {math equation="width * nbImages" width=107 nbImages=$categoryProducts|@count}px"{/if}> {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} @@ -48,7 +48,7 @@ {/foreach}
    - {if count($categoryProducts) > 5}{l s='Next' mod='productscategory'}{/if} +