// Renamed images types for the default theme (in order to avoid conflicts) #PSCFV-4242

This commit is contained in:
sLorenzini
2012-09-21 14:59:51 +00:00
parent de29614c03
commit 4896b787f3
574 changed files with 60 additions and 60 deletions
@@ -102,7 +102,7 @@ class BlockNewProducts extends Module
$this->smarty->assign(array(
'new_products' => $newProducts,
'mediumSize' => Image::getSize('medium'),
'mediumSize' => Image::getSize('medium_default'),
));
return $this->display(__FILE__, 'blocknewproducts.tpl');
@@ -32,7 +32,7 @@
<ul class="product_images clearfix">
{foreach from=$new_products item='product' name='newProducts'}
{if $smarty.foreach.newProducts.index < 2}
<li{if $smarty.foreach.newProducts.first} class="first"{/if}><a href="{$product.link}" title="{$product.legend|escape:html:'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'medium')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product.legend|escape:html:'UTF-8'}" /></a></li>
<li{if $smarty.foreach.newProducts.first} class="first"{/if}><a href="{$product.link}" title="{$product.legend|escape:html:'UTF-8'}"><img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'medium_default')}" height="{$mediumSize.height}" width="{$mediumSize.width}" alt="{$product.legend|escape:html:'UTF-8'}" /></a></li>
{/if}
{/foreach}
</ul>