Added changes from eb94b51 TMMeilleur/PrestaShop
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
{*
|
||||
* 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
|
||||
*}
|
||||
|
||||
<!-- Block categories module -->
|
||||
<div id="categories_block_top">
|
||||
<div class="category_top">
|
||||
<div class="list">
|
||||
<ul class="tree {if $isDhtml}dhtml{/if} sf-menu sf-js-enabled clearfix">
|
||||
|
||||
{foreach from=$blockCategTree.children item=child name=blockCategTree}
|
||||
|
||||
{if $smarty.foreach.blockCategTree.last}
|
||||
{include file="$branche_tpl_path" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$branche_tpl_path" node=$child}
|
||||
{/if}
|
||||
|
||||
{if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="category_footer" style="float:left;clear:none;width:{$widthColumn}%">
|
||||
<div style="float:left" class="list">
|
||||
<ul class="tree {if $isDhtml}dhtml{/if}">
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<br class="clear"/>
|
||||
</div>
|
||||
<!-- /Block categories module -->
|
||||
@@ -0,0 +1,41 @@
|
||||
{*
|
||||
* 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
|
||||
*}
|
||||
|
||||
<li class="category_{$node.id}{if isset($last) && $last == 'true'} last{/if}">
|
||||
<h4><a href="{$node.link|escape:'htmlall':'UTF-8'}" {if isset($currentCategoryId) && $node.id == $currentCategoryId}class="selected"{/if}
|
||||
title="{$node.desc|strip_tags|trim|escape:'htmlall':'UTF-8'}">{$node.name|escape:'htmlall':'UTF-8'}</a></h4>
|
||||
|
||||
{if $node.children|@count > 0}
|
||||
<ul class="main-level-submenus">
|
||||
{foreach from=$node.children item=child name=categoryTreeBranch}
|
||||
{if $smarty.foreach.categoryTreeBranch.last}
|
||||
{include file="$branche_tpl_path" node=$child last='true'}
|
||||
{else}
|
||||
{include file="$branche_tpl_path" node=$child last='false'}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
</li>
|
||||
@@ -0,0 +1,27 @@
|
||||
{if isset($htmlitems.items) && $htmlitems.items}
|
||||
<div id="htmlcontent_footer">
|
||||
<ul class="htmlcontent-home clearfix row">
|
||||
{foreach name=items from=$htmlitems.items item=hItem}
|
||||
<li class="htmlcontent-item col-xs-4">
|
||||
{if $hItem.url}
|
||||
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
|
||||
{/if}
|
||||
{if $hItem.image}
|
||||
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
|
||||
{/if}
|
||||
{if $hItem.title && $hItem.title_use == 1}
|
||||
<h3 class="item-title">{$hItem.title}</h3>
|
||||
{/if}
|
||||
{if $hItem.html}
|
||||
<div class="item-html">
|
||||
{$hItem.html} <i class="icon-double-angle-right"></i>
|
||||
</div>
|
||||
{/if}
|
||||
{if $hItem.url}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,27 @@
|
||||
{if isset($htmlitems.items) && $htmlitems.items}
|
||||
<div id="htmlcontent_home">
|
||||
<ul class="htmlcontent-home clearfix row">
|
||||
{foreach name=items from=$htmlitems.items item=hItem}
|
||||
<li class="htmlcontent-item-{$smarty.foreach.items.iteration} col-xs-4">
|
||||
{if $hItem.url}
|
||||
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
|
||||
{/if}
|
||||
{if $hItem.image}
|
||||
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
|
||||
{/if}
|
||||
{if $hItem.title && $hItem.title_use == 1}
|
||||
<h3 class="item-title">{$hItem.title}</h3>
|
||||
{/if}
|
||||
{if $hItem.html}
|
||||
<div class="item-html">
|
||||
{$hItem.html} <i class="icon-double-angle-right"></i>
|
||||
</div>
|
||||
{/if}
|
||||
{if $hItem.url}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,27 @@
|
||||
{if isset($htmlitems.items) && $htmlitems.items}
|
||||
<div id="htmlcontent_left">
|
||||
<ul class="htmlcontent-home clearfix row">
|
||||
{foreach name=items from=$htmlitems.items item=hItem}
|
||||
<li class="htmlcontent-item span4">
|
||||
{if $hItem.url}
|
||||
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
|
||||
{/if}
|
||||
{if $hItem.image}
|
||||
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
|
||||
{/if}
|
||||
{if $hItem.title && $hItem.title_use == 1}
|
||||
<h3 class="item-title">{$hItem.title}</h3>
|
||||
{/if}
|
||||
{if $hItem.html}
|
||||
<div class="item-html">
|
||||
{$hItem.html} <i class="icon-double-angle-right"></i>
|
||||
</div>
|
||||
{/if}
|
||||
{if $hItem.url}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,27 @@
|
||||
{if isset($htmlitems.items) && $htmlitems.items}
|
||||
<div id="htmlcontent_right">
|
||||
<ul class="htmlcontent-home clearfix row">
|
||||
{foreach name=items from=$htmlitems.items item=hItem}
|
||||
<li class="htmlcontent-item col-xs-4">
|
||||
{if $hItem.url}
|
||||
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
|
||||
{/if}
|
||||
{if $hItem.image}
|
||||
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
|
||||
{/if}
|
||||
{if $hItem.title && $hItem.title_use == 1}
|
||||
<h3 class="item-title">{$hItem.title}</h3>
|
||||
{/if}
|
||||
{if $hItem.html}
|
||||
<div class="item-html">
|
||||
{$hItem.html} <i class="icon-double-angle-right"></i>
|
||||
</div>
|
||||
{/if}
|
||||
{if $hItem.url}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
@@ -0,0 +1,27 @@
|
||||
{if isset($htmlitems.items) && $htmlitems.items}
|
||||
<div id="htmlcontent_top">
|
||||
<ul class="htmlcontent-home clearfix">
|
||||
{foreach name=items from=$htmlitems.items item=hItem}
|
||||
<li class="htmlcontent-item">
|
||||
{if $hItem.url}
|
||||
<a href="{$hItem.url}" class="item-link"{if $hItem.target == 1} target="_blank"{/if}>
|
||||
{/if}
|
||||
{if $hItem.image}
|
||||
<img src="{$module_dir}images/{$hItem.image}" class="item-img" alt="" />
|
||||
{/if}
|
||||
{if $hItem.title && $hItem.title_use == 1}
|
||||
<h3 class="item-title">{$hItem.title}</h3>
|
||||
{/if}
|
||||
{if $hItem.html}
|
||||
<div class="item-html">
|
||||
{$hItem.html} <i class="icon-double-angle-right"></i>
|
||||
</div>
|
||||
{/if}
|
||||
{if $hItem.url}
|
||||
</a>
|
||||
{/if}
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user