{* * 2007-2015 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 * @copyright 2007-2015 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {if count($modules)} {foreach from=$modules item=module} {capture name="moduleStatutClass"}{if isset($module->id) && $module->id gt 0 && $module->active == 1}module_active{else}module_inactive{/if}{/capture} {/foreach}
{include file='controllers/modules/filters.tpl'}
{if (isset($module->id) && $module->id > 0) || !isset($module->type) || $module->type != 'addonsMustHave'} confirmUninstall) OR empty($module->confirmUninstall)} data-rel="false"{else} data-rel="{$module->confirmUninstall|addslashes}"{/if}/> {/if} {$module->displayName|escape:'html':'UTF-8'}
{$module->categoryName}
{$module->name|escape:'html':'UTF-8'} {$module->displayName|escape:'html':'UTF-8'} v{$module->version} - {l s='by'} {$module->author} {if isset($module->type) && $module->type == 'addonsBought'} - {l s="Bought"} {elseif isset($module->type) && $module->type == 'addonsMustHave'} - {l s="Popular"} {elseif isset($module->type) && $module->type == 'addonsPartner'} - {l s="Official"} {elseif isset($module->id) && $module->id gt 0} {if isset($module->version_addons) && $module->version_addons} {l s='Need update'} {/if} {/if}

{if isset($module->description) && $module->description ne ''} {$module->description} {/if} {if isset($module->show_quick_view) && $module->show_quick_view}
{l s='Read more'} {/if}

{if isset($module->message) && (empty($module->name) !== false) && (!isset($module->type) || ($module->type != 'addonsMustHave' || $module->type !== 'addonsNative'))}
{$module->message}
{/if}
{if isset($module->type) && $module->type == 'addonsMustHave'}  {if $module->price|floatval == 0}{l s='Free'}{elseif isset($module->id_currency) && isset($module->price)}{displayPrice price=$module->price currency=$module->id_currency}{/if} {else} {if isset($module->id) && $module->id gt 0} {if isset($module->version_addons) && $module->version_addons} {l s='Update it!'} {elseif !isset($module->not_on_disk)} {if $module->optionsHtml|count > 0} {assign var=option value=$module->optionsHtml[0]} {$option} {/if} {else} options.uninstall_onclick)}onclick="{$module->options.uninstall_onclick}"{/if} href="{$module->options.uninstall_url|escape:'html':'UTF-8'}">  {l s='Uninstall'} {/if} {else} {if isset($module->trusted) && $module->trusted} {if $module->trusted == 2}  {l s='Install'} {else}  {l s='Install'} {/if} {else}  {l s='Install'} {/if} {/if} {if !isset($module->not_on_disk) && isset($module->id)} {elseif !isset($module->not_on_disk) && !isset($module->id)} {elseif isset($module->not_on_disk)} {else}   {/if} {/if}
{else}
{l s='No modules available in this section.'}
{/if}