[*] FO : Move header modules to new hook, last part 2/2
This commit is contained in:
@@ -30,11 +30,11 @@
|
||||
<ul>
|
||||
{foreach from=$productsViewedObj item=viewedProduct name=myLoop}
|
||||
<li class="clearfix{if $smarty.foreach.myLoop.last} last_item{elseif $smarty.foreach.myLoop.first} first_item{else} item{/if}">
|
||||
<a href="{$viewedProduct->product_link|escape:'html'}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:html:'UTF-8'}" class="products-block-image">
|
||||
<img src="{if isset($viewedProduct->id_image) && $viewedProduct->id_image}{$link->getImageLink($viewedProduct->link_rewrite, $viewedProduct->cover, 'small_default')}{else}{$img_prod_dir}{$lang_iso}-default-medium_default.jpg{/if}" alt="{$viewedProduct->legend|escape:html:'UTF-8'}" />
|
||||
<a href="{$viewedProduct->product_link|escape:'html':'UTF-8'}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:'html':'UTF-8'}" class="products-block-image">
|
||||
<img src="{if isset($viewedProduct->id_image) && $viewedProduct->id_image}{$link->getImageLink($viewedProduct->link_rewrite, $viewedProduct->cover, 'small_default')}{else}{$img_prod_dir}{$lang_iso}-default-medium_default.jpg{/if}" alt="{$viewedProduct->legend|escape:'html':'UTF-8'}" />
|
||||
</a>
|
||||
<div class="product-content">
|
||||
<h5><a class="product-name" href="{$viewedProduct->product_link|escape:'html'}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:html:'UTF-8'}">{$viewedProduct->name|truncate:25:'...'|escape:html:'UTF-8'}</a></h5>
|
||||
<h5><a class="product-name" href="{$viewedProduct->product_link|escape:'html':'UTF-8'}" title="{l s='More about' mod='blockviewed'} {$viewedProduct->name|escape:'html':'UTF-8'}">{$viewedProduct->name|truncate:25:'...'|escape:'html':'UTF-8'}</a></h5>
|
||||
<p class="product-description">{$viewedProduct->description_short|strip_tags:'UTF-8'|truncate:40}</p>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user