{* * 2007-2014 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-2014 PrestaShop SA * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) * International Registered Trademark & Property of PrestaShop SA *} {capture name=path}{l s='Our stores'}{/capture}

{l s='Our stores'}

{if $simplifiedStoresDiplay} {if $stores|@count}

{l s='Here you can find our store locations. Please feel free to contact us:'}

{foreach $stores as $store} {/foreach}
{l s='Store name'} {l s='Store address'} {l s='Working hours'}
{$store.name|escape:'html':'UTF-8'} {assign value=$store.id_store var="id_store"} {foreach from=$addresses_formated.$id_store.ordered name=adr_loop item=pattern} {assign var=addressKey value=" "|explode:$pattern} {foreach from=$addressKey item=key name="word_loop"} {$addresses_formated.$id_store.formated[$key|replace:',':'']|escape:'html':'UTF-8'} {/foreach} {/foreach}
{if $store.phone}
{l s='Phone:'} {$store.phone|escape:'html':'UTF-8'}{/if} {if $store.fax}
{l s='Fax:'} {$store.fax|escape:'html':'UTF-8'}{/if} {if $store.email}
{l s='Email:'} {$store.email|escape:'html':'UTF-8'}{/if} {if $store.note}

{$store.note|escape:'html':'UTF-8'|nl2br}{/if}
{if isset($store.working_hours)}{$store.working_hours}{/if}
{/if} {else}

{l s='Enter a location (e.g. zip/postal code, address, city or country) in order to find the nearest stores.'}

# {l s='Store'} {l s='Address'} {l s='Distance'}
{strip} {addJsDef map=''} {addJsDef markers=array()} {addJsDef infoWindow=''} {addJsDef locationSelect=''} {addJsDef defaultLat=$defaultLat} {addJsDef defaultLong=$defaultLong} {addJsDef hasStoreIcon=$hasStoreIcon} {addJsDef distance_unit=$distance_unit} {addJsDef img_store_dir=$img_store_dir} {addJsDef img_ps_dir=$img_ps_dir} {addJsDef searchUrl=$searchUrl} {addJsDef logo_store=$logo_store} {addJsDefL name=translation_1}{l s='No stores were found. Please try selecting a wider radius.' js=1}{/addJsDefL} {addJsDefL name=translation_2}{l s='store found -- see details:' js=1}{/addJsDefL} {addJsDefL name=translation_3}{l s='stores found -- view all results:' js=1}{/addJsDefL} {addJsDefL name=translation_4}{l s='Phone:' js=1}{/addJsDefL} {addJsDefL name=translation_5}{l s='Get directions' js=1}{/addJsDefL} {addJsDefL name=translation_6}{l s='Not found' js=1}{/addJsDefL} {/strip} {/if}