2016-10-10 15:24:25 +02:00

64 lines
2.1 KiB
Smarty
Executable File

{*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* 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:
* http://opensource.org/licenses/afl-3.0.php
* 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 license@prestashop.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* 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 <contact@prestashop.com>
* @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
*}
<script type="text/javascript">$('.categories_block').hide();</script>
<link href="{$css_dir}{$page_name}.css" rel="stylesheet" type="text/css" media="all" />
{assign var=metaTitle value=$category->name}
{if $category->meta_title!=""}
{assign var=metaTitle value=$category->meta_title}
{/if}
{if $category->id==2}
{capture name=path}{$metaTitle}{/capture}
{else}
{capture name=path}<a href="{$link->getCategoryLink(2,'nos-produits')}">{l s='Nos produits'}</a><span class="navigation-pipe">{$navigationPipe}</span>{$metaTitle}{/capture}
{/if}
{include file="$tpl_dir./breadcrumb.tpl"}
<div class="borderGreen">
{include file="$tpl_dir./errors.tpl"}
{if isset($category)}
{if $category->id AND $category->active}
{*
<h1>[{strip}
{$category->name|escape:'htmlall':'UTF-8'}
{if isset($categoryNameComplement)}
{$categoryNameComplement|escape:'htmlall':'UTF-8'}
{/if}
{/strip}]</h1>
*}
{if $products}
{include file="./category-product-list.tpl" products=$products}
{/if}
{elseif $category->id}
<p class="warning">{l s='This category is currently unavailable.'}</p>
{/if}
{/if}
</div>