Current path: home/webdevt/www/schtroumpf.fr/modules/an_megamenu/views/templates/admin/_configure/helpers/list/
?? Go up: /home/webdevt/www/schtroumpf.fr/modules/an_megamenu/views/templates/admin/_configure/helpers
{*
* 2007-2017 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-2017 PrestaShop SA
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
* International Registered Trademark & Property of PrestaShop SA
*}
{extends file="helpers/list/list_content.tpl"}
{block name="open_td"}
<td
{if isset($params.type) && $params.type == 'zposition'}
id="td_{if !empty($position_group_identifier)}{$position_group_identifier|escape:'html':'UTF-8'}{else}0{/if}_{$tr.$identifier|escape:'html':'UTF-8'}{if $smarty.capture.tr_count > 1}_{($smarty.capture.tr_count - 1)|intval}{/if}"
{/if}
class="{strip}{if !$no_link}pointer{/if}
{if isset($params.type) && $params.type == 'zposition'} dragHandle{/if}
{if isset($params.class)} {$params.class|escape:'html':'UTF-8'}{/if}
{if isset($params.align)} {$params.align|escape:'html':'UTF-8'}{/if}{/strip}"
{if (!isset($params.position) && !$no_link && !isset($params.remove_onclick))}
onclick="document.location = '{$current_index|escape:'html':'UTF-8'}&{$identifier|escape:'html':'UTF-8'}={$tr.$identifier|escape:'html':'UTF-8'}{if $view}&view{else}&update{/if}{$table|escape:'html':'UTF-8'}&token={$token|escape:'html':'UTF-8'}'">
{else}
>
{/if}
{/block}
{block name="td_content"}
{if isset($params.type) && $params.type == 'zposition'}
<div class="dragGroup">
<div class="positions">
{$tr.$key.position|intval}
</div>
</div>
{elseif isset($params.type) && $params.type == 'zid_menu'}
#{$tr.id_anmenu|escape:'htmlall':'UTF-8'}
{elseif isset($params.type) && $params.type == 'zid_dropdown'}
#{$tr.id_andropdown|escape:'htmlall':'UTF-8'}
{elseif isset($params.type) && $params.type == 'anmenu'}
<span class="anmenu">
<span>{$tr.name|escape:'htmlall':'UTF-8'} </span>
{if $tr.label != ''}<sup style="background-color: {$tr.label_color|escape:'htmlall':'UTF-8'}">{$tr.label|escape:'htmlall':'UTF-8'}</sup>{/if}
</span>
{elseif isset($params.type) && $params.type == 'andropdowncolumn'}
<span>{if $tr.drop_column == 0}{l s='No Dropdown' mod='an_megamenu'}{else}{$tr.drop_column|escape:'htmlall':'UTF-8'} {if $tr.drop_column == 1}{l s='column' mod='an_megamenu'}{else}{l s='columns' mod='an_megamenu'}{/if}{/if}</span>
{elseif isset($params.type) && $params.type == 'andropdowntype'}
{if $tr.content_type == 'category'}
<span>{l s='Categories' mod='an_megamenu'}</span>
{elseif $tr.content_type == 'product'}
<span>{l s='Products' mod='an_megamenu'}</span>
{elseif $tr.content_type == 'html'}
<span>{l s='Custom HTML' mod='an_megamenu'}</span>
{elseif $tr.content_type == 'manufacturer'}
<span>{l s='Manufacturers' mod='an_megamenu'}</span>
{else}
{l s='No Content' mod='an_megamenu'}
{/if}
{else}
{$smarty.block.parent}
{/if}
{/block}