{** * Copyright since 2007 PrestaShop SA and Contributors * PrestaShop is an International Registered Trademark & Property of PrestaShop SA * * NOTICE OF LICENSE * * This source file is subject to the Open Software License (OSL 3.0) * that is bundled with this package in the file LICENSE.md. * It is also available through the world-wide-web at this URL: * https://opensource.org/licenses/OSL-3.0 * 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 https://devdocs.prestashop.com/ for more information. * * @author PrestaShop SA and Contributors * @copyright Since 2007 PrestaShop SA and Contributors * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) *} {if $query}

{if isset($nb_results) && $nb_results == 0}

{l s='There are no results matching your query "%s".' sprintf=[$query] html=1 d='Admin.Navigation.Search'}

{elseif isset($nb_results) && $nb_results == 1} {l s='1 result matches your query "%s".' sprintf=[$query] html=1 d='Admin.Navigation.Search'} {elseif isset($nb_results)} {l s='%d results match your query "%s".' sprintf=[$nb_results|intval, $query] html=1 d='Admin.Navigation.Search'} {/if} {/if} {if $query && isset($nb_results) && $nb_results} {if isset($features)}

{if $features|@count == 1} {l s='1 feature' d='Admin.Navigation.Search'} {else} {l s='%d features' sprintf=[$features|@count] d='Admin.Navigation.Search'} {/if}

{foreach $features key=key item=feature} {foreach $feature key=k item=val name=feature_list} {/foreach} {/foreach}
{$key}
{/if} {if isset($modules) && $modules}

{if $modules|@count == 1} {l s='1 module' d='Admin.Navigation.Search'} {else} {l s='%d modules' sprintf=[$modules|@count] d='Admin.Navigation.Search'} {/if}

{foreach $modules key=key item=module} {/foreach}
{$module->displayName} {$module->description}
{/if} {if isset($categories) && $categories}

{if $categories|@count == 1} {l s='1 category' d='Admin.Navigation.Search'} {else} {l s='%d categories' sprintf=[$categories|@count] d='Admin.Navigation.Search'} {/if}

{foreach $categories key=key item=category} {/foreach}
{$category}
{/if} {if isset($products) && $products && isset($productsCount) && $productsCount}

{if $productsCount == 1} {l s='1 product' d='Admin.Navigation.Search'} {else} {l s='%d products' sprintf=[$productsCount] d='Admin.Navigation.Search'} {/if}

{$products}
{/if} {if isset($customers) && $customers && isset($customerCount) && $customerCount}

{if $customerCount == 1} {l s='1 customer' d='Admin.Navigation.Search'} {else} {l s='%d customers' sprintf=[$customerCount] d='Admin.Navigation.Search'} {/if}

{$customers}
{/if} {if isset($orders) && $orders && isset($orderCount) && $orderCount}

{if $orderCount == 1} {l s='1 order' d='Admin.Navigation.Search'} {else} {l s='%d orders' sprintf=[$orderCount] d='Admin.Navigation.Search'} {/if}

{$orders}
{/if} {/if}
{foreach $searchPanels key=key item=searchPanel}

{$searchPanel.title}

{$searchPanel.button_label}
{/foreach}