Jump to content

Manufacturers-list.tpl showing HTML Tags

Recommended Posts


* 2007-2013 PrestaShop




* This source file is subject to the Academic Free License (AFL 3.0)

* that is bundled with this package in the file LICENSE.txt.

* It is also available through the world-wide-web at this URL:

* If you did not receive a copy of the license and are unable to

* obtain it through the world-wide-web, please send an email

* to [email protected] so we can send you a copy immediately.




* Do not edit or add to this file if you wish to upgrade PrestaShop to newer

* versions in the future. If you wish to customize PrestaShop for your

* needs please refer to http://www.prestashop.com for more information.


*  @author PrestaShop SA <[email protected]>

*  @copyright  2007-2013 PrestaShop SA

*  @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)

*  International Registered Trademark & Property of PrestaShop SA



{capture name=path}{l s='Manufacturers:'}{/capture}

{include file="$tpl_dir./breadcrumb.tpl"}


<h1><span>{l s='Manufacturers'}</span></h1>

{if isset($errors) AND $errors}

{include file="$tpl_dir./errors.tpl"}


<p class="clearfix title_manuf">{strip}

<span class="title_shop">

{if $nbManufacturers == 0}{l s='There are no manufacturers.'}


{if $nbManufacturers == 1}

{l s='There is %d manufacturer.' sprintf=$nbManufacturers}


{l s='There are %d manufacturers.' sprintf=$nbManufacturers}





{if $nbManufacturers > 0}

<ul id="manufacturers_list"  class="mnf_sup_list clearfix">

{foreach from=$manufacturers item=manufacturer name=manufacturers}

<li class="shop_box clearfix {if $smarty.foreach.manufacturers.first}first_item{elseif $smarty.foreach.manufacturers.last}last_item{else}item{/if}"> 

<!-- logo -->

<div class="logo">

{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">{/if}

<img src="{$img_manu_dir}{$manufacturer.image|escape:'htmlall':'UTF-8'}.jpg" alt="" />

{if $manufacturer.nb_products > 0}</a>{/if}


<!-- name -->

                    <div class="left_side">


{if $manufacturer.nb_products > 0}<a class="product_link" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{/if}


{if $manufacturer.nb_products > 0}</a>{/if}



{if $manufacturer.nb_products > 0}<p class="product_desc">{/if}


                       <em class="des-small"> {$manufacturer.description|truncate:80:'...'|escape:'htmlall':'UTF-8'}</em>

{if $manufacturer.nb_products > 0}</p>{/if}



<div class="right_side">


{if $manufacturer.nb_products > 0}<a class="title_shop" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{/if}

<span>{if $manufacturer.nb_products == 1}{l s='%d product' sprintf=$manufacturer.nb_products|intval}{else}{l s='%d products' sprintf=$manufacturer.nb_products|intval}{/if}</span>

{if $manufacturer.nb_products > 0}</a>{/if}


{if $manufacturer.nb_products > 0}

<a class="button" href="{$link->getmanufacturerLink($manufacturer.id_manufacturer, $manufacturer.link_rewrite)|escape:'htmlall':'UTF-8'}">{l s='view products'}</a>






{include file="$tpl_dir./pagination.tpl"}



Link to comment
Share on other sites

  • Create New...