{** * 2017-2019 Zemez * * JX Mega Layout * * NOTICE OF LICENSE * * This source file is subject to the General Public License (GPL 2.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/GPL-2.0 * * DISCLAIMER * * Do not edit or add to this file if you wish to upgrade the module to newer * versions in the future. * * @author Zemez (Alexander Grosul & Alexander Pervakov) * @copyright 2017-2019 Zemez * @license http://opensource.org/licenses/GPL-2.0 General Public License (GPL 2.0) *}

{$content.name}

{if $content.slides}
{foreach from=$content.slides name='slide' item='slide'} {if $slide.info}
{if $slide.entity.type == "html"} {include file="./html.tpl" content=$slide.info nested=true} {elseif $slide.entity.type == "banner"} {include file="./banner.tpl" content=$slide.info nested=true} {elseif $slide.entity.type == "video"} {include file="./video.tpl" content=$slide.info nested=true} {elseif $slide.entity.type == "product"} {include file="./product.tpl" content=$slide.info} {elseif $slide.entity.type == "post"} {include file="./post.tpl" content=$slide.info} {/if}
{/if} {/foreach}
{if $content.pager}
{/if} {if $content.controls}
{/if}
{/if} {if $content.content}
{$content.content nofilter}
{/if}