// image source modified

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17527 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
sLorenzini
2012-09-25 10:00:52 +00:00
parent d9d75d4545
commit 48117b955c
4 changed files with 4 additions and 4 deletions
@@ -29,7 +29,7 @@
{foreach from=$products item=product name=products}
<li class="ui-block-{if $smarty.foreach.products.index % 2}b{else}a{/if} product-list-row">
<a href="{$product.link|escape:'htmlall':'UTF-8'}" data-ajax="false">
<div class="product_img_wrapper"><img class="ui-li-thumb" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></div>
<div class="product_img_wrapper"><img class="ui-li-thumb" src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')}" alt="{$product.legend|escape:'htmlall':'UTF-8'}" /></div>
<h3 class="ui-li-heading">{$product.name|escape:'htmlall':'UTF-8'}</h3>
{if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))}
<p class="ui-li-price">
+1 -1
View File
@@ -50,7 +50,7 @@
{foreach from=$manufacturers item=manufacturer name=manufacturers}
<li data-corners="false" data-shadow="false" data-iconshadow="true" data-inline="false" data-wrapperels="div" data-icon="arrow-r" data-iconpos="right" data-theme="c" class="clearfix {if $smarty.foreach.manufacturers.first}first_item{elseif $smarty.foreach.manufacturers.last}last_item{else}item{/if}">
{if $manufacturer.nb_products > 0}<a href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$manufacturer.name|escape:'htmlall':'UTF-8'}" class="lnk_img" data-ajax="false">{/if}
<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium.jpg" alt="" width="80" />
<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" width="80" />
<h3>{$manufacturer.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
<p>
{if $manufacturer.nb_products == 1}
+1 -1
View File
@@ -15,7 +15,7 @@
<input type="hidden" id="cart_product_address_delivery_id_{$product.id_product}" value="{$product.id_address_delivery}"/>
<div class="fl width-20">
<img src="{$img_prod_dir}{$product.id_image}-small.jpg" class="img_product_cart" />
<img src="{$img_prod_dir}{$product.id_image}-small_default.jpg" class="img_product_cart" />
</div>
<div class="fl width-70 padding-left-5px">
<h3>{$product.name}</h3>
+1 -1
View File
@@ -54,7 +54,7 @@
<a href="{$link->getsupplierLink($supplier.id_supplier, $supplier.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$supplier.name|escape:'htmlall':'UTF-8'}" data-ajax="false">
{/if}
<!-- logo -->
<img src="{$img_sup_dir}{$supplier.image|escape:'htmlall':'UTF-8'}-medium.jpg" alt="" width="80" />
<img src="{$img_sup_dir}{$supplier.image|escape:'htmlall':'UTF-8'}-medium_default.jpg" alt="" width="80" />
<!-- name -->
<h3>{$supplier.name|truncate:60:'...'|escape:'htmlall':'UTF-8'}</h3>
<p>