On avance sur CadeauBienvenue

This commit is contained in:
2021-01-27 19:20:51 +01:00
parent 1a4eb8f45e
commit bdb2beef89
141 changed files with 211 additions and 9316 deletions

View File

@@ -5,7 +5,7 @@
xsi:schemaLocation="http://thelia.net/schema/dic/config http://thelia.net/schema/dic/config/thelia-1.0.xsd">
<services>
<service id="customer.creation.event" class="CadeauBienvenue\EventListeners\NewCustomerListener" scope="request">
<service id="customer.creation.event" class="CadeauBienvenue\EventListeners\NewCustomerListener">
<argument type="service" id="request"/>
<argument type="service" id="mailer"/>
<argument type="service" id="event_dispatcher"/>

View File

@@ -7,7 +7,7 @@
<title>Generate a personal coupon for every new customer</title>
</descriptive>
<descriptive locale="fr_FR">
<title>Généré un code promotion personnel pour chaque nouveau client</title>
<title>Génère un code promotion personnel pour chaque nouveau client</title>
</descriptive>
<languages>
<language>en_US</language>

View File

@@ -3,10 +3,8 @@
namespace CadeauBienvenue\EventListeners;
use CadeauBienvenue\CadeauBienvenue;
use Propel\Runtime\ActiveQuery\Criteria;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\HttpFoundation\RequestStack;
use Thelia\Core\Event\Coupon\CouponCreateOrUpdateEvent;
use Thelia\Core\Event\Customer\CustomerCreateOrUpdateEvent;
use Thelia\Core\Event\TheliaEvents;
@@ -50,7 +48,7 @@ class NewCustomerListener implements EventSubscriberInterface
{
$customer = $event->getCustomer();
$couponCode = substr(str_shuffle(md5(time())), 0, 12);
$couponCode = substr(str_shuffle(md5(time())), 0, 14);
$discountAmount = ConfigQuery::create()->filterByName(CadeauBienvenue::VARIABLE_MONTANT_CODE_PROMO)->findOne()->getValue();
$couponServiceId = 'thelia.coupon.type.remove_x_amount';
$effects = [ 'amount' => $discountAmount];
@@ -61,8 +59,8 @@ class NewCustomerListener implements EventSubscriberInterface
$couponServiceId, // $serviceId
'Offre de bienvenue', // $title
$effects, // $effects
'', // $shortDescription
sprintf('Offre de bienvenue pour %s %s',$customer->getFirstname(), $customer->getLastname()), // $description
'Code promotion pour un nouveau client', // $shortDescription
sprintf('Code promo de bienvenue pour le client : %s %s (%d)',$customer->getFirstname(), $customer->getLastname(), $customer->getId()), // $description
true, // $isEnabled
$dateExpiration, // $expirationDate
false, // $isAvailableOnSpecialOffers
@@ -76,6 +74,7 @@ class NewCustomerListener implements EventSubscriberInterface
);
$this->dispatcher->dispatch(TheliaEvents::COUPON_CREATE, $couponEvent);
// Envoyer le mail au client
$this->mailer->sendEmailToCustomer(
CadeauBienvenue::MESSAGE_MAIL_CLIENT,
@@ -87,7 +86,5 @@ class NewCustomerListener implements EventSubscriberInterface
'code_promo' => $couponCode
]
);
}
}

View File

@@ -0,0 +1,25 @@
{extends file="email-layout.tpl"}
{* Do not provide a "Open in browser" link *}
{block name="browser"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
{* Title *}
{block name="email-title"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
{* Content *}
{block name="email-content"}
{loop type="customer" name="client" current="false" id=$customer_id}<p>Bonjour {$FIRSTNAME} {$LASTNAME},</p>{/loop}
<p>Pour fêter votre arrivée sur notre site {$nom_site}, nous vous offrons un bon de réduction d'une valeur de {$montant}€, utilisable dès votre prochain achat !
Ce bon est valable jusqu'au {format_date date={$date_validite} output="date"}.</p>
<p>Rendez-vous très bientôt sur <a href="{url path='/'}">{url path="/"}</a></p>
<p>Très cordialement,</p>
<p>{config key="store_name"}.</p>
{/block}

View File

@@ -1,23 +0,0 @@
{extends file="email-layout.tpl"}
{* Do not provide a "Open in browser" link *}
{block name="browser"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
{* Title *}
{block name="email-title"}Bienvenue chez AuxBieauxLegumes.fr - Code promo{/block}
{* Content *}
{block name="email-content"}
{loop type="customer" name="client" current="false" id=$customer_id}<p>Bonjour {$FIRSTNAME} {$LASTNAME},</p>{/loop}
<p>Pour fêter votre arrivée sur notre site {$nom_site}, nous vous offrons un bon de réduction d'une valeur de {$montant}€, utilisable dès votre prochain achat !
Ce bon est valable jusqu'au {format_date date={$date_validite} output="date"}.</p>
<p>Rendez-vous très bientôt sur <a href="{url path='/'}">{url path="/"}</a></p>
<p>Très cordialement,</p>
<p>{config key="store_name"}.</p>
{/block}

View File

@@ -146,10 +146,10 @@
</hook>
<!-- Additional fields for the register form -->
<!--<hook id="customer.family.register.form" class="CustomerFamily\Hook\CustomerFamilyRegisterFormHook">
<hook id="customer.family.register.form" class="CustomerFamily\Hook\CustomerFamilyRegisterFormHook">
<tag name="hook.event_listener" event="register.form-bottom" type="front" method="onRegisterFormBottom"/>
<tag name="hook.event_listener" event="register.after-javascript-include" type="front" method="onRegisterAfterJSInclude"/>
</hook>-->
</hook>
<!-- Showing customer family information -->
<hook id="customer.family.account.display" class="CustomerFamily\Hook\CustomerFamilyAccountDisplayHook">

View File

@@ -129,7 +129,7 @@ class CustomerFamilyFormListener extends BaseAction implements EventSubscriberIn
self::CUSTOMER_FAMILY_VAT_FIELD_NAME,
'text',
array(
'required' => true,
'required' => false,
'empty_data' => false,
'label' => self::trans('Vat'),
'label_attr' => array(

View File

@@ -89,7 +89,7 @@ class CustomerCustomerFamilyForm extends BaseForm
'siret',
'text',
array(
'required' => false,
'required' => true,
'empty_data' => false,
'label' => Translator::getInstance()->trans(
'Siret number',

View File

@@ -1,9 +1,10 @@
<?php
return array(
'By checking this check box this module will use the product price of Thelia instead of the the purchase price of CustomerFamily' => 'En cochant cette case, le module va utiliser le prix de vente du produit plutôt que son prix d\'achat.',
'Code' => 'Code',
'Customer' => 'Client',
'Customer family' => 'Famille clients',
'Customer family' => 'Vous êtes un ?',
'Customer family was created successfully' => 'La famille a été créée avec succès',
'Customer family was deleted successfully' => 'La famille a été supprimée avec succès',
'Customer family was updated successfully' => 'La famille a été modifiée avec succès',
@@ -16,5 +17,6 @@ return array(
'Siret number' => 'Numéro de SIRET',
'This field can\'t be empty' => 'Ce champs ne peut pas être vide',
'Title' => 'Nom',
'Use the product price' => 'Utiliser le prix de vente',
'Vat' => 'TVA intracommunautaire',
);

View File

@@ -1,7 +1,7 @@
<?php
return array(
'Customer family' => 'Famille de client',
'Customer family' => 'Informations professionnelles',
'Placeholder SIRET' => 'SIRET',
'Placeholder V.A.T.' => 'Taxe sur la Valeur Ajoutée',
'Select customer family' => 'Sélectionnez un type de compte',

View File

@@ -7,7 +7,7 @@
<div class="row">
<div class="col-md-12 general-block-decorator">
<div class="row">
<div class="col-md-12 title title-without-tabs">{intl l="Family of this customer" d="customerfamily"}</div>
<div class="col-md-12 title title-without-tabs">{intl l="Family of this customer" d="customerfamily.bo.default"}</div>
<div class="col-md-12">
<div class="col-md-12">
{form name="customer.customer.family.form"}
@@ -39,7 +39,7 @@
<label class="control-label" for="{$label_attr.for}">{$label} <span class="required">*</span></label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder siret"}" value="{$_siret_}"{if $required} aria-required="true"{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder siret'}" value="{$_siret_}"{if $required} aria-required="true"{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
@@ -50,10 +50,10 @@
{form_field form=$form field="vat"}
<div class="form-group group-email {if $error}has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label} <span class="required">*</span></label>
<label class="control-label" for="{$label_attr.for}">{$label}</label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder vat"}" value="{$_vat_}"{if $required} aria-required="true"{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder vat'}" value="{$_vat_}"{if $required} aria-required="true"{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}

View File

@@ -0,0 +1,26 @@
{default_translation_domain domain=$messageDomain}
{loop type="customer_customer_family" name="customer_customer_family" customer_id={$customerId} }
<div id="customer-customer-family-{$CUSTOMER_ID}-{$CUSTOMER_FAMILY_ID}">
{loop type="customer_family" name="customer_family" id={$CUSTOMER_FAMILY_ID} }
<table class="table" role="presentation" summary="{$title}">
<tbody>
<tr>
<th>{intl l='Customer family'}</th>
<td>{$TITLE_CUSTOMER_FAMILY}</td>
</tr>
{if $CODE != $particular}
{* The Customer should have a SIRET and a VAT. Display them. *}
<tr>
<th>{intl l='Siret number'}</th>
<td>{$SIRET}</td>
</tr>
<tr>
<th>{intl l='Vat'}</th>
<td>{$VAT}</td>
</tr>
{/if}
</tbody>
</table>
{/loop}
</div>
{/loop}

View File

@@ -0,0 +1,50 @@
{default_translation_domain domain=$messageDomain}
<fieldset id="register-customer-family" class="panel">
<div class="panel-heading">{intl l='Customer family'}</div>
<div class="panel-body">
{form_field form=$form field='customer_family_code'}
<div class="form-group {if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<select name="{$name}" id="customer_family_code_select" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="" data-code="none"{if {$value} eq '' } selected="selected"{/if}>-- {intl l="Select customer family"} --</option>
{loop type="customer_family" name="customer_family"}
<option value="{$CODE}" data-code="{$CODE}"{if {$value} eq {$CODE} } selected="selected"{/if}>{$TITLE_CUSTOMER_FAMILY}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{* Additional fields for CustomerCustomerFamily update. Should not be displayed if the customer is a particular one. *}
<div id="customer-family-extra-fields">
{form_field form=$form field='siret' }
<div class="form-group{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder SIRET'}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field form=$form field='vat' }
<div class="form-group{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder V.A.T.'}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
</div>
</div>
</fieldset>

View File

@@ -0,0 +1,16 @@
$('#customer_family_code_select').change(customerFamilyShowProFields);
/* Number for the customer family panel. */
$(document).ready(function (e) {
$('#number-customer-family').text($('#register-customer-family').prevAll('fieldset').length + 1);
customerFamilyShowProFields();
});
/* Hiding professional fields if the customer is not a professional one. */
function customerFamilyShowProFields() {
var data_code = $('#customer_family_code_select option:selected').attr('data-code');
$('#customer-family-extra-fields').css(
'display',
(data_code === 'particular' || data_code === 'none') ? 'none' : 'block'
);
}

View File

@@ -0,0 +1,11 @@
/* Hiding professional fields if the customer is not a professional one. */
function customerFamilyShowProFields() {
var data_code = $('#customer_family_code_select option:selected').attr('data-code');
$('#customer-family-extra-fields').css(
'display',
(data_code === 'particular' || data_code === 'none') ? 'none' : 'block'
);
}
$('#customer_family_code_select').change(customerFamilyShowProFields);
$(document).ready(customerFamilyShowProFields);

View File

@@ -0,0 +1,49 @@
<fieldset id="register-customer-family" class="panel panel-info">
<div class="panel-heading"><span id="number-customer-family"></span>.&nbsp;{intl l='Customer family-Section title' d='customerfamily.fo.custom'}</div>
<div class="panel-body">
{form_field form=$form field='customer_family_code'}
<div class="form-group {if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="customer_family_code_select" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="" data-code="none">-- {intl l="Select customer family"} --</option>
{loop type="customer_family" name="customer_family"}
<option value="{$CODE}" data-code="{$CODE}" {if $IS_DEFAULT == 1} selected="selected"{/if}>{$TITLE_CUSTOMER_FAMILY}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{* Additional fields for CustomerCustomerFamily creation. Should not be displayed if the customer is a particular one. *}
<div id="customer-family-extra-fields">
{form_field form=$form field='siret' }
<div class="form-group{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder SIRET'}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field form=$form field='vat' }
<div class="form-group{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l='Placeholder V.A.T.'}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
</div>
</div>
</fieldset>

View File

@@ -7,14 +7,14 @@
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<select name="{$name}" id="customer_family_code_select" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="" data-code="none"{if "$value" == '' } selected="selected"{/if}>-- {intl l="Select customer family"} --</option>
{loop type="customer_family" name="customer_family"}
<option value="{$CODE}" data-code="{$CODE}" {if "$value" == "$CODE" } selected="selected"{/if}>{$TITLE_CUSTOMER_FAMILY}</option>
{/loop}
<option value="" data-code="none"{if "$value" == '' } selected="selected"{/if}>-- {intl l="Select customer family"} --</option>
{loop type="customer_family" name="customer_family"}
<option value="{$CODE}" data-code="{$CODE}" {if "$value" == "$CODE" } selected="selected"{/if}>{$TITLE_CUSTOMER_FAMILY}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->

View File

@@ -1,32 +0,0 @@
<?php
return [
'All rights reserved.' => 'جميع الحقوق محفوظة.',
'Billing address:' => 'عنوان الفاتورة:',
'Copyright' => 'حق النشر',
'Delivery address:' => 'عنوان التوصيل:',
'Delivery method:' => 'طريقة التسليم:',
'Email not displaying correctly?' => 'البريد الإلكتروني لم يعرض بشكل صحيح؟',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'لأي أسئلة أو مخاوف، لا تتردد في الاتصال <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank"> mail %</a>.',
'Here are the details of your purchase:' => 'وفيما يلي تفاصيل الشراء الخاصة بك:',
'Kind regards' => 'مع أطيب تحياتي',
'Order Number:' => 'رقم طلب الشراء:',
'Order Total' => 'إجمالي الطلبية',
'Order Total:' => 'إجمالي الطلبية:',
'Our contact us at:' => 'اتصل بنا على:',
'Our mailing address is:' => 'عنواننا البريدي:',
'Paid With:' => 'تدفع لصالح:',
'Price in' => 'الأسعار في',
'Purchase Date:' => 'تاريخ الشراء:',
'Shipping:' => 'الشحن:',
'Support' => 'الدعم',
'Thank you for your order!' => 'شكراً لطلبكم معنا!',
'Thanks' => 'شكرًا',
'Thelia V2' => 'Thelia V2',
'Total' => 'الإجمالي',
'View it in your browser' => 'قم بعرضها في المستعرض الخاص بك',
'What You Purchased' => 'ماذا قد اشتريت',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'يمكنك تغيير كلمة المرور الخاصة بك في حساب المستخدم الخاص بك عن طريق فتح الرابط "تغيير كلمة المرور الخاصة بي" تحت المعلومات الشخصية الخاصة بك',
'Your order confirmation Nº %ref' => 'رقم تأكيد أمر الطلب الخاص بك هو % ref',
'Your password for %store' => 'كلمة المرور للـ %store',
];

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Fakturační adresa',
'* Delivery address' => '* Doručovací adresa',
'* Items ordered:' => '* Objednané zboží:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nová objednávka ref. %ref byla vytvořena dne %date. Podrobnosti:',
'All rights reserved.' => 'Všechna práva vyhrazena.',
'An account at %store_name has been created by one of our managers.' => 'Pro Vás byl vytvořen účet v obchodě %store_name jedním z našich manažerů.',
'Billing address:' => 'Fakturační adresa:',
'Copyright' => 'Autorská práva',
'Customer billing address:' => 'Fakturační adresa zákazníka:',
'Customer delivery address:' => 'Dodací adresa zákazníka:',
'Delivery address:' => 'Doručovací adresa:',
'Delivery method:' => 'Způsob doručení:',
'Email not displaying correctly?' => 'E-mail se nezobrazuje správně?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'V případě jakýchkoliv dotazů nebo připomínek, neváhejte nás kontaktovat na <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day.' => 'Hezký den.',
'Hello' => 'Dobrý den',
'Hello,' => 'Dobrý den,',
'Hello, a new order has been placed.' => 'Dobrý den, nová objednávka byla vytvořená.',
'Here are the details of your purchase:' => 'Podrobnosti o nákupu:',
'Here is the details of your order %ref placed on %date' => 'Informace o Vaší objednávce %ref ze dne %date',
'Item : %item' => 'Položka: %item',
'Items ordered:' => 'Objednané zboží:',
'Items total : %amount' => 'Položek celkem: %amount',
'Kind regards' => 'S pozdravem',
'New order placed on %store_name Nº %ref' => 'Nová objednávka v obchodě %store_name číslo %ref',
'Order Number:' => 'Číslo objednávky:',
'Order Total' => 'Objednávka celkem',
'Order Total:' => 'Objednávka celkem:',
'Our contact us at:' => 'Kontaktujte nás na:',
'Our mailing address is:' => 'Naše poštovní adresa je:',
'Paid With:' => 'Zaplaceno:',
'Price in' => 'Cena v',
'Purchase Date:' => 'Datum nákupu:',
'Quantity : %qty' => 'Množství: %qty',
'Shipping : %amount' => 'Poštovné: %amount',
'Shipping:' => 'Poštovné:',
'Support' => 'Podpora',
'Thank you for your order!' => 'Děkujeme za objednávku!',
'Thanks' => 'Děkuji',
'The %store team.' => '%store tým.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Pro přihlášení použijte emailovou adresu <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'Total' => 'Celkem',
'Total due : %amount' => 'Celková častka: %amount',
'Unit price : %amount' => 'Jednotková cena: %amount',
'View it in your browser' => 'Zobrazit v prohlížeči',
'View this order in your account at %shop_name' => 'Zobrazit tuto objednávku ve vašem zákaznickém účtu na stránkách %shop_name',
'View this order in your shop back-office.' => 'Zobrazte toto objednávku v administračním rozhání obchodu.',
'What You Purchased' => 'Co jste si zakoupili',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Své heslo a osobní údaje můžete kdykoliv změnit <a href="%url">v našem obchodě</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Své heslo a osobní údaje můžete kdykoliv změnit v našem obchodě na adrese %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Můžete změnit své heslo ve vašem uživatelském účtu tak, že otevře odkaz "Změnit heslo" v záložce vaše osobní údaje',
'You have requested a new password for your account at %store_name' => 'Požádali jste o nové heslo pro váš účet v obchodě %store_name',
'Your %store account' => 'Váš %store účet',
'Your account at %store_name has been changed by one of our managers.' => 'Váš účet v obchodě %store_name byl změněn jeden z našich manažerů.',
'Your account information for %store' => 'Informace o účtu v obchodě %store',
'Your billing address' => 'Vaše fakturační adresa',
'Your delivery address' => 'Vaše dodací adresa',
'Your invoice is available in your customer account at %url' => 'Faktura je k dispozici ve Vašem Zákaznickém účtu na adrese %url',
'Your new password is %pass' => 'Vaše nové heslo je %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Vaše nové heslo je <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Potvrzení objednávky č. %ref',
'Your password for %store' => 'Vaše heslo pro %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Vaše heslo je <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Rechnungsadresse',
'* Delivery address' => '* Lieferadresse',
'* Items ordered:' => '* Bestellte Artikeln',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Eine neue Bestellung Ref. %ref wurde den %date aufgegeben. Hier sind die Details :',
'All rights reserved.' => 'Alle Rechte vorbehalten.',
'An account at %store_name has been created by one of our managers.' => 'Ein Konto bei %store_name wurde von einem unseren Managers erstellt',
'Billing address:' => 'Rechnungsadresse : ',
'Copyright' => 'Copyright',
'Customer billing address:' => 'Kunde Zahlungsadresse:',
'Customer delivery address:' => 'Kunde Lieferadresse:',
'Delivery address:' => 'Lieferadresse :',
'Delivery method:' => 'Lieferungsmethode : ',
'Email not displaying correctly?' => 'E-Mail nicht richtig angezeigt ?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Für jede Fragen, bitte kontaktieren Sie uns : <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>. ',
'Have a nice day.' => 'Schönen Tag.',
'Hello' => 'Hallo',
'Hello,' => 'Hallo,',
'Hello, a new order has been placed.' => 'Hallo, eine neue Bestellung wurde aufgegeben.',
'Here are the details of your purchase:' => 'Hier sind die Details Ihrer Bestellung :',
'Here is the details of your order %ref placed on %date' => 'Ihr sind die Details Ihre Bestellung %ref die Sie den %date aufgegeben haben. ',
'Item : %item' => 'Artikel : %item',
'Items ordered:' => 'Bestellte Produkte:',
'Items total : %amount' => 'Artikel Gesamtsumme : %amount',
'Kind regards' => 'Mit freundlichen Grüßen',
'New order placed on %store_name Nº %ref' => 'Eine neue Bestellung wurde bei %store_name N° %ref aufgegeben',
'Order Number:' => 'Bestellungsnummer :',
'Order Total' => 'Gesamtsumme',
'Order Total:' => 'Gesamtsumme :',
'Our contact us at:' => 'Unsere Kontaktdetails',
'Our mailing address is:' => 'Unsere Mailingadresse ist',
'Paid With:' => 'Bezahlt mit :',
'Price in' => 'Preis in',
'Purchase Date:' => 'Bestellungsdatum :',
'Quantity : %qty' => 'Menge : %qty',
'Shipping : %amount' => 'Lieferung : %amount',
'Shipping:' => 'Lieferung :',
'Support' => 'Kundendienst',
'Thank you for your order!' => 'Vielen Dank für Ihre Bestellung !',
'Thanks' => 'Danke !',
'The %store team.' => 'Die %store Team.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Um sich anzumelden, nutzen Sie bitte die E-Mail-Adresse <span style="font-family: courier, fixed; font-size: 120%">%email</span> ',
'Total' => 'Gesamtsumme',
'Total due : %amount' => 'Gesamtsumme : %amount',
'Unit price : %amount' => 'Einzelpreis : %amount',
'View it in your browser' => 'In Ihrem Browser ansehen',
'View this order in your account at %shop_name' => 'Diese Angebot in Ihrem Konto bei %shop_name ansehen',
'View this order in your shop back-office.' => 'Sehen Sie diese Bestellung in Ihrem Back-Office.',
'What You Purchased' => 'Was Sie bestellt haben',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Sie können ihr Passwort und Ihre Kontodaten ändern auf die Seite <a href="%url">in unserem Shop</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Sir können Ihr Passwort und Ihre Kontodaten in unserem Geschäft jederzeit ändern auf %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Sie können Ihr Passwort in Ihrem Benutzerkonto ändern, indem Sie den Link "Mein Passwort ändern" unter Ihre persönlichen Informationen finden können',
'You have requested a new password for your account at %store_name' => 'Sie haben ein neues Passwort für Ihr Konto bei %store_name angefordert',
'Your %store account' => 'Ihr %store Konto',
'Your account at %store_name has been changed by one of our managers.' => 'Ihr Konto bei %store_name wurde von einem unseren Managers geändert. ',
'Your account information for %store' => 'Ihre Kontodaten bei %store',
'Your billing address' => 'Ihre Zahlungsadresse',
'Your delivery address' => 'Ihre Lieferadresse',
'Your invoice is available in your customer account at %url' => 'Ihre Rechnung ist in Ihrem Konto auf die Seite %url verfügbar',
'Your new password is %pass' => 'Ihr neues Passwort ist %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Ihr neues Passwort ist <span style="font-family: courier, fixed; font-size: 120%">%pass</span> ',
'Your order confirmation Nº %ref' => 'Ihre Bestellungsbestätigung Nr. %ref',
'Your password for %store' => 'Ihr Passwort für %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Ihr Passwort ist <span style="font-family: courier, fixed; font-size: 120%">%pass</span> ',
];

View File

@@ -1,32 +0,0 @@
<?php
return [
'All rights reserved.' => 'Με επιφύλαξη παντός δικαιώματος.',
'Billing address:' => 'Διεύθυνση χρέωσης:',
'Copyright' => 'Πνευματικά δικαιώματα',
'Delivery address:' => 'Διεύθυνση παράδοσης:',
'Delivery method:' => 'Μέθοδος παράδοσης:',
'Email not displaying correctly?' => 'Το Email δεν εμφανίζεται σωστά;',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Για οποιεσδήποτε ερωτήσεις ή ανησυχίες, μη διστάσετε να επικοινωνήσετε μαζί μας στο<a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank"> %mail</a>.',
'Here are the details of your purchase:' => 'Εδώ είναι οι λεπτομέρειες της αγοράς σας:',
'Kind regards' => 'Με εκτίμηση',
'Order Number:' => 'Αριθμός παραγγελίας:',
'Order Total' => 'Το συνολικό κόστος',
'Order Total:' => 'Το συνολικό κόστος:',
'Our contact us at:' => 'Επικοινωνήστε μαζί μας στο:',
'Our mailing address is:' => 'Η Ταχυδρομική μας διεύθυνση είναι:',
'Paid With:' => 'Πληρωμένο με:',
'Price in' => 'Τιμή σε',
'Purchase Date:' => 'Ημερομηνία αγοράς:',
'Shipping:' => 'Αποστολή:',
'Support' => 'Υποστήριξη',
'Thank you for your order!' => 'Σας ευχαριστούμε για την παραγγελία σας!',
'Thanks' => 'Ευχαριστούμε',
'Thelia V2' => 'Thelia V2',
'Total' => 'Σύνολο',
'View it in your browser' => 'Προβάλετε στο πρόγραμμα περιήγησης',
'What You Purchased' => 'Τι έχετε αγοράσει',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Μπορείτε να αλλάξετε τον κωδικό πρόσβασής σας στο λογαριασμό χρήστη ανοίγοντας το σύνδεσμο "Αλλαγή κωδικού" κάτω από τα προσωπικά σας στοιχεία',
'Your order confirmation Nº %ref' => 'Η επιβεβαίωση παραγγελίας Nº %ref',
'Your password for %store' => 'Ο κωδικός πρόσβασης για το %store',
];

View File

@@ -1,84 +0,0 @@
<?php
return array(
'* Billing address' => '* Billing address',
'* Delivery address' => '* Delivery address',
'* Items ordered:' => '* Items ordered:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'A new order ref. %ref has been placed on %date. Here are the details :',
'All rights reserved.' => 'All rights reserved.',
'An account at %store_name has been created by one of our managers.' => 'An account at %store_name has been created by one of our managers.',
'Billing address:' => 'Billing address:',
'Confirm your %store account' => 'Confirm your %store account',
'Copyright' => 'Copyright',
'Customer billing address:' => 'Customer billing address:',
'Customer delivery address:' => 'Customer delivery address:',
'Dear %firstname %lastname,' => 'Dear %firstname %lastname,',
'Delivery address:' => 'Delivery address:',
'Delivery method:' => 'Delivery method:',
'Discount' => 'Discount',
'Email not displaying correctly?' => 'Email not displaying correctly?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day' => 'Have a nice day',
'Have a nice day.' => 'Have a nice day.',
'Hello' => 'Hello',
'Hello,' => 'Hello,',
'Hello, a new order has been placed.' => 'Hello, a new order has been placed.',
'Here are the details of your purchase:' => 'Here are the details of your purchase:',
'Here is the details of your order %ref placed on %date' => 'Here is the details of your order %ref placed on %date',
'If you don\'t requested a new password, please ignore this message.' => 'If you don\'t requested a new password, please ignore this message.',
'Item : %item' => 'Item : %item',
'Items ordered:' => 'Items ordered:',
'Items total : %amount' => 'Items total : %amount',
'Kind regards' => 'Kind regards',
'New order placed on %store_name Nº %ref' => 'New order placed on %store_name Nº %ref',
'Order Number:' => 'Order Number:',
'Order Total' => 'Order Total',
'Order Total:' => 'Order Total:',
'Our contact us at:' => 'Our contact us at:',
'Our mailing address is:' => 'Our mailing address is:',
'Paid With:' => 'Paid With:',
'Please <a href="%url">click here</a> to create a new password.' => 'Please <a href="%url">click here</a> to create a new password.',
'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Please click here to define a new password: %url . You will be prompted to enter a new password.',
'Price in' => 'Price in',
'Purchase Date:' => 'Purchase Date:',
'Quantity : %qty' => 'Quantity : %qty',
'Shipping : %amount' => 'Shipping : %amount',
'Shipping:' => 'Shipping:',
'Subtotal' => 'Subtotal',
'Support' => 'Support',
'Thank you for your order!' => 'Thank you for your order!',
'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.',
'Thanks' => 'Thanks',
'The %store team.' => 'The %store team.',
'Thelia V2' => 'Thelia V2',
'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.' => 'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'To unsubscribe from our newsletter, please <a href="%unsublink">click here</a>.' => 'To unsubscribe from our newsletter, please <a href="%unsublink">click here</a>.',
'To unsubscribe from our newsletter, please go to the following web address:' => 'To unsubscribe from our newsletter, please go to the following web address:',
'Total' => 'Total',
'Total due : %amount' => 'Total due : %amount',
'Unit price : %amount' => 'Unit price : %amount',
'View it in your browser' => 'View it in your browser',
'View this order in your account at %shop_name' => 'View this order in your account at %shop_name',
'View this order in your shop back-office.' => 'View this order in your shop back-office.',
'Welcome to %store,' => 'Welcome to %store,',
'What You Purchased' => 'What You Purchased',
'You can also paste the URL below in you browser\'s address bar : <br><br>%url<br><br>' => 'You can also paste the URL below in you browser\'s address bar : <br><br>%url<br><br>',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'You can change your password and your account details at any time <a href="%url">in our store</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'You can change your password and your account details at any time in our store at %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'You can change your password in your user account by opening the "Change my password" link under your personal information',
'You have requested a new password for your account at %store_name' => 'You have requested a new password for your account at %store_name',
'You have requested a new password for your administrator account at %store_name' => 'You have requested a new password for your administrator account at %store_name',
'Your %store account' => 'Your %store account',
'Your account at %store_name has been changed by one of our managers.' => 'Your account at %store_name has been changed by one of our managers.',
'Your account information for %store' => 'Your account information for %store',
'Your billing address' => 'Your billing address',
'Your delivery address' => 'Your delivery address',
'Your invoice is available in your customer account at %url' => 'Your invoice is available in your customer account at %url',
'Your new password is %pass' => 'Your new password is %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Your order confirmation Nº %ref',
'Your password for %store' => 'Your password for %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your subscriotion to %store newsletter' => 'Your subscriotion to %store newsletter',
);

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Dirección de facturación',
'* Delivery address' => '* Dirección de entrega',
'* Items ordered:' => '* Artículos solicitados:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Se ha recibido un nuevo pedido ref. %ref en %date. Detalles :',
'All rights reserved.' => 'Todos los derechos reservados.',
'An account at %store_name has been created by one of our managers.' => 'Una cuenta en %store_name ha sido creada por uno de nuestros gerentes.',
'Billing address:' => 'dirección de factura',
'Copyright' => 'Derechos de autor',
'Customer billing address:' => 'Dirección de facturación del cliente:',
'Customer delivery address:' => 'Dirección de envío del cliente:',
'Delivery address:' => 'dirección de entraga',
'Delivery method:' => 'entraga con : ',
'Email not displaying correctly?' => 'No puedes ver correctamente el mail ?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Para cualquier problema o consulta, no dude en contactar <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank"> correo %</a>.',
'Have a nice day.' => 'Que tengas un buen día.',
'Hello' => 'Hola',
'Hello,' => 'Hola,',
'Hello, a new order has been placed.' => 'Hola, se ha realizado un nuevo pedido.',
'Here are the details of your purchase:' => 'Detalles de tu compra:',
'Here is the details of your order %ref placed on %date' => 'Aquí los detalles de tu pedido %ref realizado el %date',
'Item : %item' => 'Artículo: %item',
'Items ordered:' => 'Artículos pedidos:',
'Items total : %amount' => 'Total de artículos: %amount',
'Kind regards' => 'Gracias',
'New order placed on %store_name Nº %ref' => 'Nuevo pedido en %store_name Nº %ref',
'Order Number:' => 'Entraga numero',
'Order Total' => 'Total de la entraga',
'Order Total:' => 'Total de la entraga',
'Our contact us at:' => 'Contactanos en:',
'Our mailing address is:' => 'Nuestra dirección',
'Paid With:' => 'pagado con : ',
'Price in' => 'Precio en',
'Purchase Date:' => 'Fecha de compra:',
'Quantity : %qty' => 'Cantidad: %qty',
'Shipping : %amount' => 'Envío: %amount',
'Shipping:' => 'envio',
'Support' => 'Servicio postventa',
'Thank you for your order!' => 'Graciàs por su encarga',
'Thanks' => 'Gracias',
'The %store team.' => 'El equipo de %store.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Para iniciar sesión usar la dirección de correo electrónico <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'Total' => 'Total',
'Total due : %amount' => 'A pagar : %amount',
'Unit price : %amount' => 'Precio unitario : %amount',
'View it in your browser' => 'Ver en el navegador ',
'View this order in your account at %shop_name' => 'Mira esta orden en tu cuenta en %shop_name',
'View this order in your shop back-office.' => 'Mira esta orden en el administrador de tu tienda.',
'What You Purchased' => 'Lo que compraste',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Puedes cambiar la contraseña y los detalles de tu cuenta en cualquier momento <a href="%url">en nuestra tienda</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Puedes modificar la contraseña y los detalles de tu cuenta en cualquier momento en nuestra tienda en %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Puedes cambiar tu contraseña en tu cuenta',
'You have requested a new password for your account at %store_name' => 'Has solicitado una nueva contraseña para tu cuenta en %store_name',
'Your %store account' => 'Tu cuenta en %store',
'Your account at %store_name has been changed by one of our managers.' => 'Tu cuenta en %store_name ha sido modificada por uno de nuestros administradores.',
'Your account information for %store' => 'La información de tu cuenta para %store',
'Your billing address' => 'Tu dirección de facturación',
'Your delivery address' => 'Tu dirección de entrega',
'Your invoice is available in your customer account at %url' => 'Tu factura está disponible en tu área de cliente en %url',
'Your new password is %pass' => 'Tu nueva contraseña es %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Tu nueva contraseña es <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Numero de encarga : %ref',
'Your password for %store' => 'contraseña por %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Tu contraseña es <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* آدرس صورت حساب',
'* Delivery address' => '* آدرس تحویل',
'* Items ordered:' => '* سفارش‌ها:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'سفارش جدید با شماره‌ی %ref در تاریخ %date با جزییات زیر ثبت شد:',
'All rights reserved.' => 'کلیه حقوق محفوظ است.',
'An account at %store_name has been created by one of our managers.' => 'یک حساب در %store_name بوسیله یکی از مدیران ما ایجاد شد.',
'Billing address:' => 'آدرس صورت حساب:',
'Copyright' => 'حق نشر',
'Customer billing address:' => 'آدرس صورتحساب مشتری:',
'Customer delivery address:' => 'آدرس تحویل مشتری:',
'Delivery address:' => 'آدرس تحویل:',
'Delivery method:' => 'روش تحویل:',
'Email not displaying correctly?' => 'ایمیل را به درستی نمی‌بینید؟',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'سوالات خود را با ما مطرح کنید <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day.' => 'روز خوبی داشته باشید.',
'Hello' => 'سلام',
'Hello,' => 'سلام،',
'Hello, a new order has been placed.' => 'سلام، سفارش جدیدی قرار داده شد.',
'Here are the details of your purchase:' => 'جزییاتی مربوط به خرید شما:',
'Here is the details of your order %ref placed on %date' => 'جزئیاتی از سفارش %ref شما در تاریخ %date',
'Item : %item' => 'آیتم: %item',
'Items ordered:' => 'سفارش‌ها:',
'Items total : %amount' => 'مجموع موارد: %amount',
'Kind regards' => 'با احترام فراوان',
'New order placed on %store_name Nº %ref' => 'سفارش جدید %ref در %store_name قرار گرفت',
'Order Number:' => 'شماره سفارش:',
'Order Total' => 'مجموع سفارش',
'Order Total:' => 'مجموع سفارش:',
'Our contact us at:' => 'تماس با ما:',
'Our mailing address is:' => 'آدرس ایمیل ما:',
'Paid With:' => 'پرداخت توسط:',
'Price in' => 'قیمت در',
'Purchase Date:' => 'تاریخ خرید:',
'Quantity : %qty' => 'تعداد: %qty',
'Shipping : %amount' => 'حمل و نقل: %amount',
'Shipping:' => 'حمل و نقل:',
'Support' => 'پشتیبانی',
'Thank you for your order!' => 'با تشکر از سفارش شما.',
'Thanks' => 'سپاس',
'The %store team.' => 'تیم %store.',
'Thelia V2' => 'تیلیا نسخه۲',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'برای ورود از آدرس ایمیل <span style="font-family: courier, fixed; font-size: 120%">%email</span> استفاده کنید',
'Total' => 'مجموع',
'Total due : %amount' => 'جمع علی الحساب: %amount',
'Unit price : %amount' => 'قیمت واحد: %amount',
'View it in your browser' => 'مشاهده در مرورگر',
'View this order in your account at %shop_name' => 'مشاهده این سفارش در %shop_name',
'View this order in your shop back-office.' => 'مشاهده این سفارش در قسمت مدیریت.',
'What You Purchased' => 'موارد خریداری شده',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'شما می‌توانید اطلاعات حساب و رمزعبور خود را <a href="%url">در فروشگاه</a> و در هر زمانی تغییر دهید.',
'You can change your password and your account details at any time in our store at %url.' => 'شما می‌توانید اطلاعات حساب و رمزعبور خود را در هر زمانی در %url تغییر دهید.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'برای تغییر رمزعبور در حساب کاربری خود در بخش اطلاعات شخصی، قسمت «تغییر رمزعبور» را باز کنید',
'You have requested a new password for your account at %store_name' => 'شما یک درخواست برای رمزعبور جدید در %store_name داشتید',
'Your %store account' => 'حساب %store شما',
'Your account at %store_name has been changed by one of our managers.' => 'حساب %store_name شما بوسیله یکی از مدیران ما تغییر پیدا کرد.',
'Your account information for %store' => 'اطلاعات حساب شما برای %store',
'Your billing address' => 'آدرس صدور صورتحساب',
'Your delivery address' => 'آدرس تحویل کالای شما',
'Your invoice is available in your customer account at %url' => 'صورت حساب در حساب کاربری شما موجود است: %url',
'Your new password is %pass' => 'رمزعبور جدید شما %pass می‌باشد',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'رمزعبور جدید شما: <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'تاییدییه سفارش شما %ref',
'Your password for %store' => 'رمزعبور شما برای %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'رمزعبور شما: <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,84 +0,0 @@
<?php
return array(
'* Billing address' => '* Adresse de facturation',
'* Delivery address' => '* Adresse de livraison',
'* Items ordered:' => '* Articles commandés',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Une nouvelle commande ref. %ref a été passée le %date. Voici les détails',
'All rights reserved.' => 'Tous droits réservés',
'An account at %store_name has been created by one of our managers.' => 'Un compte client %store_name a été créé pour vous.',
'Billing address:' => 'Adresse de facturation : ',
'Confirm your %store account' => 'Confirmez la création de votre compte sur %store',
'Copyright' => 'Copyright',
'Customer billing address:' => 'Adresse de facturation',
'Customer delivery address:' => 'Adresse de livraison',
'Dear %firstname %lastname,' => 'Cher %firstname %lastname,',
'Delivery address:' => 'Adresse de livraison : ',
'Delivery method:' => 'Livré par : ',
'Discount' => 'Remise',
'Email not displaying correctly?' => 'Le mail ne s\'affiche pas correctement ?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Pour toutes questions contactez nous par mail : <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day' => 'Bonne journée.',
'Have a nice day.' => 'Bonne journée.',
'Hello' => 'Bonjour',
'Hello,' => 'Bonjour,',
'Hello, a new order has been placed.' => 'Bonjour, une nouvelle commande a été passée',
'Here are the details of your purchase:' => 'Voici les détails de votre commande',
'Here is the details of your order %ref placed on %date' => 'Voici les détails de votre commande %ref passée le %date',
'If you don\'t requested a new password, please ignore this message.' => 'Si vous n\'avez pas demandé de nouveau mot de passe, merci d\'ignorer ce message.',
'Item : %item' => 'Article : %item',
'Items ordered:' => 'Articles commandés:',
'Items total : %amount' => 'Total articles : %amount',
'Kind regards' => 'Cordialement',
'New order placed on %store_name Nº %ref' => 'Nouvelle commande %ref passée sur %store_name',
'Order Number:' => 'Commande N° : ',
'Order Total' => 'Total de la commande',
'Order Total:' => 'Total de la commande : ',
'Our contact us at:' => 'Contactez nous au',
'Our mailing address is:' => 'Adresse postale',
'Paid With:' => 'Payé par : ',
'Please <a href="%url">click here</a> to create a new password.' => 'Merci de <a href="%url">cliquer ici</a> pour créer un nouveau mot de passe.',
'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Merci de cliquer ici pour créer votre nouveau mot de passe. Vous serez invité à indiquer ce nouveau mot de passe.',
'Price in' => 'Prix en',
'Purchase Date:' => 'Date d\'achat : ',
'Quantity : %qty' => 'Quantité : %qty',
'Shipping : %amount' => 'Livraison : %amount',
'Shipping:' => 'Frais de livraison',
'Subtotal' => 'Total articles',
'Support' => 'SAV',
'Thank you for your order!' => 'Merci pour votre commande',
'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Merci pour votre abonnement. Vous recevrez désormais la newletter %store newsletter à votre adresse e-mail %email.',
'Thanks' => 'Merci',
'The %store team.' => 'L\'équipe %store.',
'Thelia V2' => 'Thelia v2',
'To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar.' => 'Pour terminer la création de votre compte client, merci de confirmer votre adresse email en cliquant le lien ci-dessous. Vous pouvez aussi le copier dans la barre d\'adresse de votre navigateur.',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Pour vous connecter, merci d\'utiliser l\'adresse e-mail <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'To unsubscribe from our newsletter, please <a href="%unsublink">click here</a>.' => 'Pour vous désabonner de notre newsletter, merci de <a href="%unsublink">cliquer ici</a>.',
'To unsubscribe from our newsletter, please go to the following web address:' => 'Pour vous désabonner de notre newsletter, merci de vous rendre à l\'adresse ci-dessous:',
'Total' => 'Total',
'Total due : %amount' => 'Total à payer : %amount',
'Unit price : %amount' => 'Prix unitaire : %amount',
'View it in your browser' => 'Voir dans le navigateur',
'View this order in your account at %shop_name' => 'Retrouver cette commande dans votre compte sur %shop_name ',
'View this order in your shop back-office.' => 'Affichez cette commande dans le back-office de votre boutique',
'Welcome to %store,' => 'Bienvenue chez %store,',
'What You Purchased' => 'Ce que vous avez acheté',
'You can also paste the URL below in you browser\'s address bar : <br><br>%url<br><br>' => 'Vous pouvez aussi coller l\'URL ci-dessous dans la barre d\'adresse de votre navigateur: <br><br>%url<br><br> ',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Vous pouvez modifier votre mot de passe et vos informations personnelles à tout moment <a href="%url">sur notre boutique</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Vous pouvez modifier votre mot de passe et vos informations personnelles à tout moment sur notre boutique: %url',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Vous pouvez changer votre mot de passe dans votre espace client',
'You have requested a new password for your account at %store_name' => 'Vous avez demandé un nouveau mot de passe pour accéder à votre compte %store_name',
'You have requested a new password for your administrator account at %store_name' => 'Vous avez demandé un nouveau mot de passe pour votre compte d\'administration sur %store_name ',
'Your %store account' => 'Votre compte %store',
'Your account at %store_name has been changed by one of our managers.' => 'L\'accès à votre compte sur %store_name a été modifié.',
'Your account information for %store' => 'Accès à votre compte sur %store',
'Your billing address' => 'Votre adresse de facturation',
'Your delivery address' => 'Votre adresse de livraison',
'Your invoice is available in your customer account at %url' => 'Votre facture est disponible dans votre compte client sur %url',
'Your new password is %pass' => 'Votre nouveau mot de passe est %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Votre nouveau mot de passe est <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Confirmation de commande N° %ref',
'Your password for %store' => 'Votre mot de passe pour %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Votre mot de passe est <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your subscriotion to %store newsletter' => 'Votre abonnement à la newletter %store',
);

View File

@@ -1,67 +0,0 @@
<?php
return [
'* Billing address' => 'Számlázási cím',
'* Delivery address' => 'Kézbesítési cím',
'* Items ordered:' => '* A megrendelt termékek:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Új megrendelés történt (azon.: %ref), megrendelés dátuma: %date. Megrendelés részletei :',
'All rights reserved.' => 'Minden jog fenntartva.',
'An account at %store_name has been created by one of our managers.' => 'Egy szerkesztő új hozzáférést készített a %store_name boltban.',
'Billing address:' => 'Számlázási cím:',
'Copyright' => 'Minden Jog fenntartva',
'Customer billing address:' => 'Vevő számlázási címe:',
'Customer delivery address:' => 'Vevő szállítási címe:',
'Delivery address:' => 'Kézbesítési cím:',
'Delivery method:' => 'Szállítás módja:',
'Email not displaying correctly?' => 'A levél nem jelenik meg olvashatóan?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Bármilyen kérdése, megjegyzése van, lépjen velünk kapcsolatba: <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day.' => 'További kellemes napot.',
'Hello' => 'Üdvözöljük',
'Hello,' => 'Üdvözöljük!',
'Hello, a new order has been placed.' => 'Üdvözöljük, új megrendelés érkezett.',
'Here are the details of your purchase:' => 'A megrendelése részletei:',
'Here is the details of your order %ref placed on %date' => 'Itt olvashatja a megrendelése (azon.:%ref) részleteit. Megrendelés dátuma: %date',
'Item : %item' => 'Termék: %item',
'Items ordered:' => 'Megrendelt termékek:',
'Items total : %amount' => 'Összesen: %amount',
'Kind regards' => 'Üdvözlettel',
'New order placed on %store_name Nº %ref' => 'Új megrendelés érkezett a %store_name boltba ( azon.: %ref)',
'Order Number:' => 'Megrendelés száma:',
'Order Total' => 'Rendelés végösszege',
'Order Total:' => 'Rendelés végösszege:',
'Our contact us at:' => 'Kapcsolat:',
'Our mailing address is:' => 'Levelezési címünk:',
'Paid With:' => 'Fizetési mód:',
'Price in' => 'Pénznem:',
'Purchase Date:' => 'Vásárlás dátuma:',
'Quantity : %qty' => 'Mennyiség: %qty',
'Shipping : %amount' => 'Szállítás: %amount',
'Shipping:' => 'Szállítás:',
'Support' => 'Segítség',
'Thank you for your order!' => 'Köszönjük a megrendelését!',
'Thanks' => 'Köszönjük',
'The %store team.' => 'A %store csapata.',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'A bejelentkezéshez használja a <span style="font-family: courier, fixed; font-size: 120%">%email</span> email címet',
'Total' => 'Összesen',
'Total due : %amount' => 'Összesen: %amount',
'Unit price : %amount' => 'Egységár: %amount',
'View it in your browser' => 'Megtekintés a böngészőjében',
'View this order in your account at %shop_name' => 'Megrendelés megtekintése oldalunkon %shop_name',
'View this order in your shop back-office.' => 'Megrendelés megtekintése az adminisztrációs felületen.',
'What You Purchased' => 'Megrendelésének tartalma',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Jelszavát és a hozzáférésének adatait bármikor megváltoztathatja <a href="%url">a boltunkban</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Most megváltoztathatja a jelszavát és a hozzáférésének adatait itt: %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Jelszavát megváltoztathatja a fiókjában a "Jelszavam módosítása" linkre kattintva.',
'You have requested a new password for your account at %store_name' => 'Új jelszót igényelt a hozzáféréséhez a %store_name boltban',
'Your %store account' => 'A %store hozzáférése',
'Your account at %store_name has been changed by one of our managers.' => 'A hozzáférését a %store_name boltban az Adminisztrátor megváltoztatta.',
'Your account information for %store' => 'Hozzáférése a %store bolthoz',
'Your billing address' => 'Számlázási címe',
'Your delivery address' => 'Szállítási címe',
'Your invoice is available in your customer account at %url' => 'A számlája elérhető a fiókjában a következő linkre kattintva: %url',
'Your new password is %pass' => 'Új jelszava: %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Az új jelszava: <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Megrendelése visszaigazolása (azon.: %ref)',
'Your password for %store' => 'A jelszava a %store oldalhoz',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'A jelszava: <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,40 +0,0 @@
<?php
return [
'* Billing address' => 'Alamat Penagihan',
'* Delivery address' => 'Alamat pengiriman',
'* Items ordered:' => '* Barang-barang yang dipesan:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Sebuah pesanan %ref telah dipesan tertanggal %date. Berikut rinciannya :',
'All rights reserved.' => 'Semua hak dilindungi.',
'An account at %store_name has been created by one of our managers.' => 'Sebuah akun di %store_name telah dibuat oleh salah satu manajer Kami.',
'Billing address:' => 'Alamat penagihan:',
'Customer billing address:' => 'Alamat pembayaran pelanggan:',
'Customer delivery address:' => 'Alamat pengiriman konsumen:',
'Delivery address:' => 'Alamat pengiriman:',
'Delivery method:' => 'Metode pengiriman:',
'Email not displaying correctly?' => 'Email tidak ditampilkan dengan benar?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Untuk pertanyaan, atau masala, silahkan kontak <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%kami</a>.',
'Have a nice day.' => 'Semoga hari Anda menyenangkan.',
'Hello' => 'Halo',
'Hello,' => 'Hai,',
'Hello, a new order has been placed.' => 'Halo, pesanan baru telah ditempatkan.',
'Here are the details of your purchase:' => 'Berikut adalah rincian pembelian Anda:',
'Here is the details of your order %ref placed on %date' => 'Berikut adalah rincian pesanan Anda %ref pada %date',
'Item : %item' => 'Item: %item',
'Items ordered:' => 'Barang-barang yang dipesan:',
'Items total : %amount' => 'Total item: %amount',
'Kind regards' => 'Hormat kami',
'New order placed on %store_name Nº %ref' => 'Pesanan baru pada %store_name Nº %ref',
'Order Number:' => 'Nomor pembelian:',
'Order Total' => 'Total Order',
'Order Total:' => 'Total Pesanan:',
'Our contact us at:' => 'Hubungi kami di:',
'Our mailing address is:' => 'Alamat email kami adalah:',
'Paid With:' => 'Dibayar dengan:',
'Price in' => 'Harga dalam',
'Purchase Date:' => 'Tanggal pembelian:',
'Quantity : %qty' => 'Kuantitas : %qty',
'Shipping : %amount' => 'Pengiriman: %amount',
'Unit price : %amount' => 'Unit harga: %amount',
'View it in your browser' => 'Lihat di browser Anda',
];

View File

@@ -1,20 +0,0 @@
<?php
return [
'All rights reserved.' => 'Tutti i diritti riservati.',
'Billing address:' => 'Indirizzo di fatturazione:',
'Copyright' => 'Copyright',
'Customer billing address:' => 'Indirizzo di fatturazione del cliente:',
'Delivery address:' => 'Indirizzo di consegna:',
'Delivery method:' => 'Metodo di consegna:',
'Email not displaying correctly?' => 'L\' e-mail non viene visualizzata correttamente?',
'Have a nice day.' => 'Buona giornata.',
'Hello' => 'Ciao',
'Hello,' => 'Ciao,',
'Order Total:' => 'Totale ordine:',
'Support' => 'Supporto',
'Thank you for your order!' => 'Grazie per il tuo ordine!',
'Thanks' => 'Grazie',
'Thelia V2' => 'Thelia V2',
'Total' => 'Totale',
];

View File

@@ -1,41 +0,0 @@
<?php
return [
'* Billing address' => 'Dane do faktury',
'* Delivery address' => 'Adres dostawy',
'* Items ordered:' => 'Zamówione produkty:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nowe zamówienie (nr ref. %ref) zostało złożone w dniu %date. Szczegóły zamówienia:',
'All rights reserved.' => 'Wszystkie prawa zastrzeżone.',
'An account at %store_name has been created by one of our managers.' => 'Konto w sklepie %store_name zostało utworzone przez jednego z naszych managerów.',
'Billing address:' => 'Adres do faktury:',
'Customer billing address:' => 'Adres do faktury:',
'Customer delivery address:' => 'Adres dostawy:',
'Delivery address:' => 'Adres dostawy:',
'Delivery method:' => 'Sposób dostawy:',
'Kind regards' => 'Z poważaniem',
'New order placed on %store_name Nº %ref' => 'Nowe zamówienie zostało złożone w sklepie %store_name (num. %ref)',
'Order Number:' => 'Numer zamówienia:',
'Order Total' => 'Suma',
'Order Total:' => 'Suma:',
'Our contact us at:' => 'Skontaktuj się z nami:',
'Our mailing address is:' => 'Nasz adres e-mail to:',
'Paid With:' => 'Metoda płatności:',
'Price in' => 'Cena w',
'Purchase Date:' => 'Data zakupu:',
'Quantity : %qty' => 'Ilość : %qty',
'Shipping : %amount' => 'Dostawa : %amount',
'Shipping:' => 'Dostawa:',
'Support' => 'Pomoc',
'Thank you for your order!' => 'Dziękujemy za złożenie zamówienia!',
'Thanks' => 'Dziękujemy',
'Your account at %store_name has been changed by one of our managers.' => 'Twoje konto w sklepie %store_name zostało zmienione przez jednego z naszych managerów.',
'Your account information for %store' => 'Informacje o twoim koncie w sklepie %store',
'Your billing address' => 'Twój adres do faktury',
'Your delivery address' => 'Twój adres dostawy',
'Your invoice is available in your customer account at %url' => 'Twoja faktura jest dostępna w twoim koncie klienta pod adresem %url',
'Your new password is %pass' => 'Twoje nowe hasło to %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Twoje nowe hasło to <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Potwierdzenie zamówienia (nr %ref)',
'Your password for %store' => 'Twoje hasło dla sklepu %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Twoje hasło to <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Endereço de cobrança',
'* Delivery address' => '* Endereço de entrega',
'* Items ordered:' => '* Itens do pedido:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Um novo pedido ref. %ref foi criado em %date. Aqui estão os detalhes :',
'All rights reserved.' => 'Todos os direitos reservados.',
'An account at %store_name has been created by one of our managers.' => 'Uma conta em %store_name foi criada por um de nossos administradores.',
'Billing address:' => 'Endereço de cobrança:',
'Copyright' => 'Direitos autorais',
'Customer billing address:' => 'Endereço de cobrança do cliente:',
'Customer delivery address:' => 'Endereço de entrega do cliente:',
'Delivery address:' => 'Endereço de entrega:',
'Delivery method:' => 'Método de entrega:',
'Email not displaying correctly?' => 'Não consegue ver este email corretamente?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Para qualquer dúvida ou outras questões sinta-se livre para entrar em contato com <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day.' => 'Tenha um bom dia.',
'Hello' => 'Olá',
'Hello,' => 'Olá,',
'Hello, a new order has been placed.' => 'Olá, um novo pedido foi criado.',
'Here are the details of your purchase:' => 'Aqui estão os detalhes da sua compra:',
'Here is the details of your order %ref placed on %date' => 'Aqui estão os detalhes do seu pedido %ref criado em %date',
'Item : %item' => 'Item: %item',
'Items ordered:' => 'Itens do pedido:',
'Items total : %amount' => 'Total de itens : %amount',
'Kind regards' => 'Atenciosamente',
'New order placed on %store_name Nº %ref' => 'Novo pedido criado em %store_name Nº %ref',
'Order Number:' => 'Número do pedido:',
'Order Total' => 'Total do pedido',
'Order Total:' => 'Total do pedido:',
'Our contact us at:' => 'Nosso contato em:',
'Our mailing address is:' => 'Nosso endereço é:',
'Paid With:' => 'Pagar com:',
'Price in' => 'Preço em',
'Purchase Date:' => 'Data de compra:',
'Quantity : %qty' => 'Quantidade : %qty',
'Shipping : %amount' => 'Entrega : %amount',
'Shipping:' => 'Entrega:',
'Support' => 'Suporte',
'Thank you for your order!' => 'Obrigado pelo seu pedido!',
'Thanks' => 'Obrigado',
'The %store team.' => 'Time %store.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Para iniciar a sessão, use seu endereço de email <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'Total' => 'Total',
'Total due : %amount' => 'Valor total : %amount',
'Unit price : %amount' => 'Preço unitário : %amount',
'View it in your browser' => 'Ver no navegador',
'View this order in your account at %shop_name' => 'Veja este pedido na sua conta em %shop_name',
'View this order in your shop back-office.' => 'Veja este pedido em nossa loja.',
'What You Purchased' => 'O que você comprou',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Você pode mudar sua senha e os detalhes da sua conta a qualquer momento <a href="%url">em nossa loja</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Você pode mudar sua senha e os detralhes da sua conta em qualquer momento em nossa loja em %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Você pode mudar sua senha em Conta do usuário e depois clicando no link "Mudar minha senha" nas suas informações pessoais',
'You have requested a new password for your account at %store_name' => 'Você solicitou uma nova senha para sua conta em %store_name',
'Your %store account' => 'Sua conta em %store',
'Your account at %store_name has been changed by one of our managers.' => 'Sua conta em %store_name foi modificada por um de nossos administradores.',
'Your account information for %store' => 'Informações da sua conta para %store',
'Your billing address' => 'Seu endereço de cobrança',
'Your delivery address' => 'Seu endereço de entrega',
'Your invoice is available in your customer account at %url' => 'Sua fatura esta disponível em sua conta cliente em %url',
'Your new password is %pass' => 'Sua nova senha é %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Sua nova senha é <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Sua confirmação de pedido Nº %ref',
'Your password for %store' => 'Sua senha para %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Sua senha é <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,5 +0,0 @@
<?php
return [
'Copyright' => 'Copyright',
];

View File

@@ -1,79 +0,0 @@
<?php
return array(
'* Billing address' => '* Адрес плательщика',
'* Delivery address' => '* Адрес доставки',
'* Items ordered:' => '* Заказанный товар:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Новый заказ номер %ref был сделан %date. Подробности заказа:',
'All rights reserved.' => 'Все права защищены.',
'An account at %store_name has been created by one of our managers.' => 'Для Вас была создана учетная запись в %store_name одним из наших менеджеров.',
'Billing address:' => 'Адрес плательщика:',
'Copyright' => 'Авторское право',
'Customer billing address:' => 'Адрес оплаты клиента:',
'Customer delivery address:' => 'Адрес доставки клиента:',
'Dear %firstname %lastname,' => 'Уважаемый %firstname %lastname,',
'Delivery address:' => 'Адрес доставки:',
'Delivery method:' => 'Способ доставки:',
'Email not displaying correctly?' => 'Письмо отображается неправильно?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'С любыми вопросами или предложениями Вы можете обратиться к нам на <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.',
'Have a nice day' => 'Хорошего дня',
'Have a nice day.' => 'Хорошего дня.',
'Hello' => 'Здравствуйте',
'Hello,' => 'Здравствуйте,',
'Hello, a new order has been placed.' => 'Здравствуйте, был сделан новый заказ.',
'Here are the details of your purchase:' => 'Подробности Вашего заказа:',
'Here is the details of your order %ref placed on %date' => 'Подробности вашего заказа %ref от %date',
'If you don\'t requested a new password, please ignore this message.' => 'Если вы не запрашивали новый пароль, проигнорируйте это сообщение.',
'Item : %item' => 'Позиция: %item',
'Items ordered:' => 'Заказанный товар:',
'Items total : %amount' => 'Всего позиций: %amount',
'Kind regards' => 'С наилучшими пожеланиями',
'New order placed on %store_name Nº %ref' => 'Новый заказ в %store_name номер %ref',
'Order Number:' => 'Номер заказа:',
'Order Total' => 'Сумма заказа',
'Order Total:' => 'Сумма заказа:',
'Our contact us at:' => 'Наша контактная информация:',
'Our mailing address is:' => 'Наш почтовый адрес:',
'Paid With:' => 'Заплачено:',
'Please <a href="%url">click here</a> to create a new password.' => 'Пожалуйста <a href="%url">нажмите сюда</a> для создания нового пароля.',
'Please click here to define a new password: %url . You will be prompted to enter a new password.' => 'Для установки нового пароля, пожалуйста перейдите по: %url . Вас попросят ввести новый пароль.',
'Price in' => 'Цена в',
'Purchase Date:' => 'Дата покупки:',
'Quantity : %qty' => 'Количество: %qty',
'Shipping : %amount' => 'Доставка: %amount',
'Shipping:' => 'Доставка:',
'Support' => 'Поддержка',
'Thank you for your order!' => 'Спасибо за заказ!',
'Thank you for your registration. You\'ll now receive the %store newsletter on your email address %email.' => 'Благодарим за регистрацию. Вы должны получить письмо от %store на ваш email %email',
'Thanks' => 'Спасибо',
'The %store team.' => 'Команда %store.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Чтобы войти, пожалуйста используйте email <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'To unsubscribe from our newsletter, please <a href="%unsublink">click here</a>.' => 'Чтобы отписаться от рассылки, пожалуйста <a href="%unsublink">нажмите здесь</a>.',
'To unsubscribe from our newsletter, please go to the following web address:' => 'Чтобы отписаться от рассылки, пожалуйста перейдите по следующей ссылке:',
'Total' => 'Итого',
'Total due : %amount' => 'Итого: %amount',
'Unit price : %amount' => 'Цена единицы: %amount',
'View it in your browser' => 'Просмотреть в браузере',
'View this order in your account at %shop_name' => 'Просмотреть информацию о заказе в вашей учетной записи в магазине %shop_name',
'View this order in your shop back-office.' => 'Просмотрите информацию об этом заказе в бэк-офисе магазина.',
'What You Purchased' => 'То, что вы приобрели',
'You can also paste the URL below in you browser\'s address bar : <br><br>%url<br><br>' => 'Вы также можете вставить URL указанный ниже, в адресную строку браузера : <br><br>%url<br><br>',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Вы можете изменить ваш пароль и данные учетной записи в любое время <a href="%url">в нашем магазине</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Вы можете изменить ваш пароль и данные учетной записи в любое время в нашем магазине по ссылке %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Вы можете изменить свой пароль в учетной записи пользователя, открыв ссылку «Изменить пароль» в разделе личная информация',
'You have requested a new password for your account at %store_name' => 'Вы запросили новый пароль для вашей учетной записи в %store_name',
'You have requested a new password for your administrator account at %store_name' => 'Вы запросили новый пароль для вашего аккаунта администратора в %store_name',
'Your %store account' => 'Ваша учетная запись в %store ',
'Your account at %store_name has been changed by one of our managers.' => 'Ваша учетная запись в %store_name была изменена одним из наших менеджеров.',
'Your account information for %store' => 'Данные учетной записи для %store',
'Your billing address' => 'Адрес оплаты',
'Your delivery address' => 'Адрес доставки',
'Your invoice is available in your customer account at %url' => 'Счет-фактура доступна в вашей учетной записи на %url',
'Your new password is %pass' => 'Ваш новый пароль — %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Ваш новый пароль <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Подтверждение заказа № %ref',
'Your password for %store' => 'Ваш пароль на %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Ваш пароль <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your subscriotion to %store newsletter' => 'Ваша подписка на рассылку новостей %store',
);

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Fakturačná adresa',
'* Delivery address' => '* Adresa doručenia',
'* Items ordered:' => '* Objednaný tovar:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Nová objednávka s kódom %ref bola zadaná %date. Tu sú podrobnosti:',
'All rights reserved.' => 'Všetky práva vyhradné.',
'An account at %store_name has been created by one of our managers.' => 'Konto v %store_name bolo vytvorené jedným z našich manažérov.',
'Billing address:' => 'Fakturačná adresa:',
'Copyright' => 'Autorské práva',
'Customer billing address:' => 'Fakturačná adresa zákazníka:',
'Customer delivery address:' => 'Adresa dodávky zákazníka:',
'Delivery address:' => 'Adresa doručenia:',
'Delivery method:' => 'Spôsob doručenia:',
'Email not displaying correctly?' => 'Email sa nezobrazuje správne?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Pre akékoľvek otázky, alebo pripomienky, neváhajte kontaktovať <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank"> %mail</a>.',
'Have a nice day.' => 'Prajeme pekný deň.',
'Hello' => 'Dobrý deň',
'Hello,' => 'Dobrý deň,',
'Hello, a new order has been placed.' => 'Dobrý deň, nová objednávka bola zadaná.',
'Here are the details of your purchase:' => 'Tu sú podrobnosti vášho nákupu:',
'Here is the details of your order %ref placed on %date' => 'Tu sú podrobnosti vašej objednávky %ref zadanej dňa %date',
'Item : %item' => 'Položka: %item',
'Items ordered:' => 'Objednaný tovar:',
'Items total : %amount' => 'Položiek celkom: %amount',
'Kind regards' => 'S pozdravom',
'New order placed on %store_name Nº %ref' => 'Nová objednávka zadaná v %store_name č % ref',
'Order Number:' => 'Číslo objednávky:',
'Order Total' => 'Objednávka celkom',
'Order Total:' => 'Objednávka celkom:',
'Our contact us at:' => 'Kontaktujte nás v:',
'Our mailing address is:' => 'Naša mailová adresa:',
'Paid With:' => 'Zaplatené s:',
'Price in' => 'Cena v',
'Purchase Date:' => 'Dátum nákupu:',
'Quantity : %qty' => 'Množstvo: %qty',
'Shipping : %amount' => 'Doprava: %amount',
'Shipping:' => 'Doručenie:',
'Support' => 'Podpora',
'Thank you for your order!' => 'Ďakujeme za vašu objednávku!',
'Thanks' => 'Ďakujeme',
'The %store team.' => '%store tím.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'Pre prihlásenie použite prosím e-mailovú adresu <span style="font-family: courier, fixed; font-size: 120%">%email</span>',
'Total' => 'Celkom',
'Total due : %amount' => 'Celková k zaplateniu: %amount',
'Unit price : %amount' => 'Jednotková cena: %amount',
'View it in your browser' => 'Zobraziť v prehľadávači',
'View this order in your account at %shop_name' => 'Zobraziť túto objednávku vo vašom účte na %shop_name',
'View this order in your shop back-office.' => 'Zobraziť objednávku v back-office e-shopu.',
'What You Purchased' => 'Čo ste nakúpili',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Môžete zmeniť svoje heslo a údaje k účtu kedykoľvek <a href="%url"> v našom obchode</a>.',
'You can change your password and your account details at any time in our store at %url.' => 'Môžete zmeniť svoje heslo a údaje svojho účtu kedykoľvek v našej predajni na %url.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => 'Svoje heslo si môžete zmeniť v rámci svojho užívateľského konta pod osobnými údajmi po otvorení odkazu "Zmeniť heslo"',
'You have requested a new password for your account at %store_name' => 'Vyžiadali ste si nové heslo pre svoj účet na %store_name',
'Your %store account' => 'Váš %store účet',
'Your account at %store_name has been changed by one of our managers.' => 'Jeden z našich manažérov urobil zmenu vášho účtu na %store_name.',
'Your account information for %store' => 'Informácie o účte pre %store',
'Your billing address' => 'Vaša fakturačná adresa',
'Your delivery address' => 'Vaša dodacia adresa',
'Your invoice is available in your customer account at %url' => 'Faktúra je k dispozícii vo vašom účte zákazníka na %url',
'Your new password is %pass' => 'Nové heslo je %pass',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Vaše nové heslo je <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
'Your order confirmation Nº %ref' => 'Potvrdenie objednávky číslo %ref',
'Your password for %store' => 'Vaše heslo pre %store',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Vaše heslo je <span style="font-family: courier, fixed; font-size: 120%">%pass</span>',
];

View File

@@ -1,68 +0,0 @@
<?php
return [
'* Billing address' => '* Fatura adresi',
'* Delivery address' => '* Teslimat adresi',
'* Items ordered:' => '* Sipariş maddeler:',
'A new order ref. %ref has been placed on %date. Here are the details :' => 'Yeni bir sipariş referans %ref %date yerleştirildi. İşte ayrıntılar vardır:',
'All rights reserved.' => 'Tüm hakları saklıdır.',
'An account at %store_name has been created by one of our managers.' => '%store_name bir hesap yöneticilerimiz biri tarafından oluşturuldu.',
'Billing address:' => 'Fatura adresi:',
'Copyright' => 'Telif hakkı',
'Customer billing address:' => 'Müşteri Fatura adresi:',
'Customer delivery address:' => 'Müşteri teslimat adresi:',
'Delivery address:' => 'Teslimat adresi:',
'Delivery method:' => 'Teslimat Yöntemi:',
'Email not displaying correctly?' => 'E-posta düzgün görüntülenmiyor?',
'For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' => 'Herhangi bir sorunuz veya endişeniz, için <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank"> %mail</a> temas kurmaktan çekinmeyin.',
'Have a nice day.' => 'İyi günler.',
'Hello' => 'Merhaba',
'Hello,' => 'Merhaba,',
'Hello, a new order has been placed.' => 'Merhaba, yeni bir düzen yerleştirildi.',
'Here are the details of your purchase:' => 'Burada satın alma ayrıntıları şunlardır:',
'Here is the details of your order %ref placed on %date' => 'İşte senin sipariş %ref %date üzerinde yerleştirilen ayrıntılarını',
'Item : %item' => 'Madde: %item',
'Items ordered:' => 'Sipariş maddeler:',
'Items total : %amount' => 'Öğeleri Toplam: %amount',
'Kind regards' => 'Saygılarımızla',
'New order placed on %store_name Nº %ref' => '%store_name nº %ref üzerinde yeni sipariş',
'Order Number:' => 'Sipariş numarası:',
'Order Total' => 'Sipariş Toplamları',
'Order Total:' => 'Sipariş Toplamları:',
'Our contact us at:' => 'Bizim bize de:',
'Our mailing address is:' => 'Bizim posta adresidir:',
'Paid With:' => 'İle ödeme:',
'Price in' => 'Fiyat',
'Purchase Date:' => 'Satın Alma Tarihi:',
'Quantity : %qty' => 'Miktar: %qty',
'Shipping : %amount' => 'Nakliye: %amount',
'Shipping:' => 'Ürün Kargo Bilgileri:',
'Support' => 'Destek',
'Thank you for your order!' => 'Siparişiniz için teşekkür ederiz!',
'Thanks' => 'Teşekkürler',
'The %store team.' => '%store takım.',
'Thelia V2' => 'Thelia V2',
'To login, please use the email address <span style="font-family: courier, fixed; font-size: 120%">%email</span>' => 'E-posta adresi <span style="font-family: courier, fixed; font-size: 120%">%email</span> oturum açmanız için lütfen kullanım',
'Total' => 'Toplam',
'Total due : %amount' => 'Nedeniyle toplam: %amount',
'Unit price : %amount' => 'Birim Fiyatı: %amount',
'View it in your browser' => 'Tarayıcınızda görüntülemek',
'View this order in your account at %shop_name' => 'Bu sırada %shop_name hesabınızı görüntüleyin',
'View this order in your shop back-office.' => 'Bu sırada senin Dükkanı arka ofis içinde görüntüleyin.',
'What You Purchased' => 'Ne satın',
'You can change your password and your account details at any time <a href="%url">in our store</a>.' => 'Sen-ebilmek değişmek senin parola ve hesap bilgilerinizi herhangi bir zaman <a href="%url"> bizim mağaza</a>.',
'You can change your password and your account details at any time in our store at %url.' => '%url, mağaza bizim herhangi bir zamanda parolanızı ve hesap bilgilerinizi değiştirebilirsiniz.',
'You can change your password in your user account by opening the "Change my password" link under your personal information' => '"Değişmek benim parola" bağlantı altında kişisel bilgilerinizi açarak Kullanıcı hesabınızdaki şifrenizi değiştirebilirsiniz',
'You have requested a new password for your account at %store_name' => '%store_name, hesabınız için yeni bir şifre talep etmiş',
'Your %store account' => '%store hesap',
'Your account at %store_name has been changed by one of our managers.' => '%store_name adresinde hesabınızda yöneticilerimizden biri tarafından değiştirildi.',
'Your account information for %store' => 'Hesap bilgilerinizi %store için',
'Your billing address' => 'Fatura Adresiniz',
'Your delivery address' => 'Teslimat Adresiniz',
'Your invoice is available in your customer account at %url' => 'Eğer fatura müşteri hesabınızı %url mevcuttur',
'Your new password is %pass' => 'Yeni parolanızı %pass olduğunu',
'Your new password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Yeni parolanızı <span style="font-family: courier, fixed; font-size: 120%">%pass</span> olduğunu',
'Your order confirmation Nº %ref' => 'Sipariş onayı n º %ref',
'Your password for %store' => '%store şifre',
'Your password is <span style="font-family: courier, fixed; font-size: 120%">%pass</span>' => 'Yeni parolanızı <span style="font-family: courier, fixed; font-size: 120%">%pass</span> olduğunu',
];

View File

@@ -1,165 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@@ -1,71 +0,0 @@
About mail layout and templates
-------------------------------
Layouts
-------
Mail layouts are used to provide a layout to all or some of the e-mails sent by
the Thelia core or the modules.
The layouts should have the 'tpl' extension, and should use {$message_body} as the
placeholder of the final message content.
For example, a minimal layout is :
{$message_body}
There are no specific limitations in the content of the layout. For exemple, you
can forecast inheritance, using a block :
{block name='message-body'}{$message_body nofilter}{/block}
(In fact, this is the content of the default HTML layout, default-html-layout.tpl)
This way, you can extends the layout in message templates :
{block name='message-body'}
Here is the template content
{/block}
Templates
---------
A Template contains the body of a specific message. It can be used It may extends a layout, but
in this case, you SHOULD NOT select this layout as the message layout in the back office.
HTML templates SHOULD have the 'html' extension to be displayed in the "Name of
the HTML template file" menu in the back-office.
TEXT templates SHOULD have the 'text' extension to be displayed in the "Name of
the text template file" menu in the back-office.
What you can do with this stuff ?
---------------------------------
For a specific message, you can :
Not use templates or layouts, and rely on HTML and TEXT entered in the back-
office.
Use only layouts, to define a common look and feel to your mails. These layouts
are be populated (through {$message_body}) with HTML or TEXT entered in the back-
office.
Use only templates, without layouts, to define message content. In this case,
HTML or TEXT entered in the back-office is ignored.
Use layouts and templates, without inheritance. This way, layouts are populated
(through {$message_body}) with HTML or TEXT found in the message templates.
HTML or TEXT entered in the back-office is ignored.
Use templates which inherit from a layout. In the layout, {$message_body}
(if present) is then ignored, and the classic Smarty bock-based inheritance
is used.
Be sure in this case to not define an extended layout as ther message layout,
or unexpected results may be generated (probably repeated layout content)
Enjoy.

View File

@@ -1,18 +0,0 @@
Readme
======
## This is the repository of Thelia default email template. All the pull requests on this repo will be ignored.
### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project)
### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia)
Thelia
------
[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](https://scrutinizer-ci.com/g/thelia/thelia/)
[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
This is the new major version of Thelia.
You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information.
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules

View File

@@ -1,31 +0,0 @@
{extends file="email-layout.tpl"}
{* Open in browser *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your account information for %store" store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{intl l="Hello,"}<br /><br />
{intl l="Your account at %store_name has been changed by one of our managers." store_name={config key="store_name"}}.<br /><br />
{loop name="cust_info" type="customer" id={$customer_id} current="false"}
{intl l="To login, please use the email address <span style=\"font-family: courier, fixed; font-size: 120%\">%email</span>" email={$EMAIL}}<br /><br />
{/loop}
{if ! empty($password)}
{intl l="Your new password is <span style=\"font-family: courier, fixed; font-size: 120%\">%pass</span>" pass={$password}}<br /><br />
{/if}
{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.<br /><br />
{intl l='Kind regards'},<br />
{intl l="The %store team." store={config key="store_name"}}
{/block}

View File

@@ -1,18 +0,0 @@
{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="Your account at %store_name has been changed by one of our managers." store_name={config key="store_name"}}.
{loop name="cust_info" type="customer" id={$customer_id} current="false"}
{intl l="To login, please use the email address <span style=\"font-family: courier, fixed; font-size: 120%\">%email</span>" email={$EMAIL}}
{/loop}
{if ! empty($password)}
{intl l="Your new password is <span style=\"font-family: courier, fixed; font-size: 120%\">%pass</span>" pass={$password}}
{/if}
{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.
{intl l='Kind regards'},
{intl l="The %store team." store={config key="store_name"}}

View File

@@ -1,31 +0,0 @@
{extends file="email-layout.tpl"}
{* Open in browser *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your %store account" store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{intl l="Hello,"}<br /><br />
{intl l="An account at %store_name has been created by one of our managers." store_name={config key="store_name"}}.<br /><br />
{loop name="cust_info" type="customer" id={$customer_id} current="false"}
{intl l="To login, please use the email address <span style=\"font-family: courier, fixed; font-size: 120%\">%email</span>" email={$EMAIL}}<br /><br />
{/loop}
{if ! empty($password)}
{intl l="Your password is <span style=\"font-family: courier, fixed; font-size: 120%\">%pass</span>" pass={$password}}<br /><br />
{/if}
{intl l='You can change your password and your account details at any time <a href="%url">in our store</a>.' url={url path="/account"}}<br /><br />
{intl l='Kind regards'},<br />
{intl l="The %store team." store={config key="store_name"}}
{/block}

View File

@@ -1,16 +0,0 @@
{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="An account at %store_name has been created by one of our managers." store_name={config key="store_name"}}.
{loop name="cust_info" type="customer" id={$customer_id} current="false"}
{intl l="To login, please use the email address <span style=\"font-family: courier, fixed; font-size: 120%\">%email</span>" email={$EMAIL}}
{/loop}
{intl l="Your password is <span style=\"font-family: courier, fixed; font-size: 120%\">%pass</span>" pass={$password}}
{intl l='You can change your password and your account details at any time in our store at %url.' url={url path="/account"}}.
{intl l='Kind regards'},
{intl l="The %store team." store={config key="store_name"}}

View File

@@ -1,26 +0,0 @@
{extends file="email-layout.tpl"}
{* Open in browser *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your password for %store" store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{intl l="Hello,"}<br /><br />
{intl l="You have requested a new password for your administrator account at %store_name" store_name={config key="store_name"}}.<br /><br />
{intl l='Please <a href="%url">click here</a> to create a new password.' url={url path="/admin/password-create/$token"}}<br /><br />
{intl l="You can also paste the URL below in you browser's address bar : <br><br>%url<br><br>" url={url path="/admin/password-create/$token"}}<br /><br />
{intl l='If you don\'t requested a new password, please ignore this message.'}.<br /><br />
{intl l='Have a nice day'}
{/block}

View File

@@ -1,10 +0,0 @@
{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="You have requested a new password for your administrator account at %store_name" store_name={config key="store_name"}}.
{intl l="Please click here to define a new password: %url . You will be prompted to enter a new password." url={url path="/admin/password-create/$token"}}
{intl l='If you don\'t requested a new password, please ignore this message.'}.
{intl l='Have a nice day'}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

View File

@@ -1,10 +0,0 @@
{
"name": "thelia/email-default-template",
"type": "thelia-email-template",
"require": {
"thelia/installer": "~1.1"
},
"extra": {
"installer-name": "default"
}
}

View File

@@ -1,29 +0,0 @@
{extends file="email-layout.tpl"}
{* Open in browser *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l='Confirm your %store account' store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{loop type="customer" name="confirmation" current=false id=$customer_id}
<p>{intl l="Welcome to %store," store={config key="store_name"}}</p>
<p>{intl l="To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar."}</p>
<p><a href="{url path='/customer/confirm/%token' token=$CONFIRMATION_TOKEN}">{url path='/customer/confirm/%token' token=$CONFIRMATION_TOKEN}</a></p>
<p>
{intl l='Kind regards'},<br>
{intl l="The %store team." store={config key="store_name"}}
</p>
{/loop}
{/block}

View File

@@ -1,11 +0,0 @@
{default_translation_domain domain='email.custom'}
{loop type="customer" name="confirmation" current=false id=$customer_id}
{intl l="Welcome to %store," store={config key="store_name"}}
<br>
{intl l="To complete your customer account creation, please confirm your email address by clicking the link below, or copying it in your browser address bar."}
<br>
{url path='/customer/confirm/%token' token=$CONFIRMATION_TOKEN}
<br>
{intl l='Kind regards'},
{intl l="The %store team." store={config key="store_name"}}
{/loop}

View File

@@ -1,26 +0,0 @@
{*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************}
{*
This is the default HTML mail layout. Use {$message_body} as a placeholder for
the HTML message defined in the 'HTML Message' field in the back-office, or the
content of the selected template in the back-office.
Be sure to use the nofilter modifier, to prevent HTML escaping.
DO NOT DELETE THIS FILE, some plugins may use it.
*}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{block name='message-body'}{$message_body nofilter}{/block}

View File

@@ -1,26 +0,0 @@
{*************************************************************************************/
/* This file is part of the Thelia package. */
/* */
/* Copyright (c) OpenStudio */
/* email : dev@thelia.net */
/* web : http://www.thelia.net */
/* */
/* For the full copyright and license information, please view the LICENSE.txt */
/* file that was distributed with this source code. */
/*************************************************************************************}
{*
This is the default TEXT mail layout. Use {$message_body} as a placeholder for
the text message defined in the 'TEXT Message' field in the back-office, or the
content of the selected template in the back-office.
Be sure to use the nofilter modifier, to prevent HTML escaping.
DO NOT DELETE THIS FILE, some plugins may use it.
*}
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{block name='message-body'}{$message_body nofilter}{/block}

View File

@@ -1,482 +0,0 @@
{default_translation_domain domain='email.custom'}
{default_locale locale={$locale}}
{declare_assets directory='assets'}
{assign var="url_site" value="{config key="url_site"}"}
{assign var="company_name" value="{config key="store_name"}"}
{if not $company_name}
{assign var="company_name" value="{intl l='Thelia V2'}"}
{/if}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>{block name="email-subject"}{/block}</title>
<style type="text/css">
{literal}
#outlook a{
padding:0;
}
.ReadMsgBody{
width:100%;
}
.ExternalClass{
width:100%;
}
.yshortcuts,a .yshortcuts,a .yshortcuts:hover,a .yshortcuts:active,a .yshortcuts:focus{
background-color:transparent !important;
border:none !important;
color:inherit !important;
}
body{
margin:0;
padding:0;
}
img{
border:0;
height:auto;
line-height:100%;
outline:none;
text-decoration:none;
}
table,td{
border-collapse:collapse !important;
mso-table-lspace:0pt;
mso-table-rspace:0pt;
}
#bodyTable,#bodyCell{
height:100% !important;
margin:0;
padding:0;
width:100% !important;
}
#bodyCell{
padding:20px;
}
.templateContainer{
width:600px;
}
h1{
color:#202020;
display:block;
font-family:Helvetica;
font-size:26px;
font-style:normal;
font-weight:bold;
line-height:100%;
letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:left;
}
h2{
color:#404040;
display:block;
font-family:Helvetica;
font-size:20px;
font-style:normal;
font-weight:bold;
line-height:100%;
letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:left;
}
h3{
color:#606060;
display:block;
font-family:Helvetica;
font-size:16px;
font-style:normal;
font-weight:bold;
line-height:100%;
letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:left;
}
h4{
color:#808080;
display:block;
font-family:Helvetica;
font-size:12px;
font-style:normal;
font-weight:bold;
line-height:100%;
letter-spacing:normal;
margin-top:0;
margin-right:0;
margin-bottom:10px;
margin-left:0;
text-align:left;
}
#templatePreheader{
background-color:#f5f5f5;
border-top:10px solid #f5f5f5;
border-bottom:0;
}
.preheaderContent{
color:#707070;
font-family:Helvetica;
font-size:10px;
line-height:125%;
padding-top:10px;
padding-bottom:10px;
text-align:left;
}
.preheaderContent a:link,.preheaderContent a:visited,.preheaderContent a .yshortcuts {
color:#FFFFFF;
font-weight:normal;
text-decoration:underline;
}
#templateHeader{
background-color:#FFFFFF;
border-top:10px solid #f5f5f5;
border-bottom:0;
}
.headerContent{
color:#202020;
font-family:Helvetica;
font-size:20px;
font-weight:bold;
line-height:100%;
padding-top:40px;
padding-right:0;
padding-bottom:20px;
padding-left:0;
text-align:left;
vertical-align:middle;
}
.headerContent a:link,.headerContent a:visited,.headerContent a .yshortcuts {
color:#E1523D;
font-weight:normal;
text-decoration:underline;
}
#templateBody{
background-color:#FFFFFF;
border-top:0;
border-bottom:0;
}
.titleContentBlock{
background-color:#ffffff;
border-top:0px solid #F47766;
border-bottom:0px solid #B14031;
}
.titleContent{
color:#7a7a7a;
font-family:Arial;
font-size:24px;
font-weight:normal;
line-height:110%;
padding-top:5px;
padding-bottom:5px;
text-align:left;
}
.bodyContentBlock{
background-color:#FFFFFF;
border-top:0;
border-bottom:1px solid #E5E5E5;
}
.bodyContent{
color:#505050;
font-family:Helvetica;
font-size:16px;
line-height:150%;
padding-top:20px;
padding-bottom:20px;
text-align:left;
}
.bodyContent a:link,.bodyContent a:visited,.bodyContent a .yshortcuts {
color:#E1523D;
font-weight:normal;
text-decoration:underline;
}
.templateButton{
-moz-border-radius:5px;
-webkit-border-radius:5px;
background-color:#f49a17;
border:0;
border-radius:5px;
}
.templateButtonContent,.templateButtonContent a:link,.templateButtonContent a:visited,.templateButtonContent a .yshortcuts {
color:#FFFFFF;
font-family:Helvetica;
font-size:15px;
font-weight:bold;
letter-spacing:-.5px;
line-height:100%;
text-align:center;
text-decoration:none;
}
.bodyContent img{
display:inline;
height:auto;
max-width:600px;
}
body,#bodyTable{
background-color:#444444;
}
#templateFooter{
border-top:0;
}
.footerContent{
color:#808080;
font-family:Helvetica;
font-size:10px;
line-height:150%;
padding-top:20px;
text-align:left;
}
.footerContent a:link,.footerContent a:visited,.footerContent a .yshortcuts {
color:#606060;
font-weight:normal;
text-decoration:underline;
}
.footerContent img{
display:inline;
max-width:600px;
}
@media only screen and (max-width: 480px){
body,table,td,p,a,li,blockquote{
-webkit-text-size-adjust:none !important;
}
body{
width:auto !important;
}
table[class=templateContainer]{
width:100% !important;
}
table[class=templateContainer]{
max-width:600px !important;
width:100% !important;
}
h1{
font-size:24px !important;
line-height:100% !important;
}
h2{
font-size:20px !important;
line-height:100% !important;
}
h3{
font-size:18px !important;
line-height:100% !important;
}
h4{
font-size:16px !important;
line-height:100% !important;
}
table[id=templatePreheader]{
display:none !important;
}
img[id=headerImage]{
height:auto !important;
max-width:233px !important;
width:100% !important;
}
td[class=headerContent]{
font-size:20px !important;
line-height:150% !important;
padding-top:40px !important;
padding-right:10px !important;
padding-bottom:20px !important;
padding-left:10px !important;
}
img[class=bodyImage]{
height:auto !important;
max-width:580px !important;
width:100% !important;
}
td[class=titleContent]{
font-size:20px !important;
line-height:125% !important;
padding-right:10px;
padding-left:10px;
}
td[class=bodyContent]{
font-size:16px !important;
line-height:125% !important;
padding-right:10px;
padding-left:10px;
}
td[class=footerContent]{
font-size:14px !important;
line-height:150% !important;
padding-right:10px;
padding-left:10px;
}
td[class=footerContent] a{
display:block !important;
}
}
.preheaderContent a:link,.preheaderContent a:visited,.preheaderContent a .yshortcuts{
color:#f49a17;
}
.footerContent a:link,.footerContent a:visited,.footerContent a .yshortcuts{
color:#ffffff;
}
.bodyContent a:link,.bodyContent a:visited,.bodyContent a .yshortcuts{
color:#f49a17;
text-decoration:none;
font-weight:normal;
}
.templateButtonContent,.templateButtonContent a:link,.templateButtonContent a:visited,.templateButtonContent a .yshortcuts{
font-weight:normal;
}
{/literal}
</style>
{hook name="email-html.layout.css"}
</head>
<body leftmargin="0" marginwidth="0" topmargin="0" marginheight="0" offset="0" style="margin: 0;padding: 0;background-color: #444444;">
<center>
<table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;margin: 0;padding: 0;background-color: #444444;border-collapse: collapse !important;height: 100% !important;width: 100% !important;">
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
{block name="pre-header"}
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templatePreheader" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #f5f5f5;border-top: 10px solid #f5f5f5;border-bottom: 0;border-collapse: collapse !important;">
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
<tr>
<td valign="top" class="preheaderContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #707070;font-family: Helvetica;font-size: 10px;line-height: 125%;padding-top: 10px;padding-bottom: 10px;text-align: left;border-collapse: collapse !important;">
{block name="email-intro"}{/block}
</td>
<td valign="top" class="preheaderContent" style="padding-left: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #707070;font-family: Helvetica;font-size: 10px;line-height: 125%;padding-top: 10px;padding-bottom: 10px;text-align: left;border-collapse: collapse !important;" width="200">
{block name="browser"}{intl l="Email not displaying correctly?"}<br><a href="{config key="url_site"}?view=email/register" target="_blank" style="color: #f49a17;font-weight: normal;text-decoration: underline;">{intl l="View it in your browser"}</a>.{/block}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
{/block}
{block name="logo-header"}
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateHeader" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #FFFFFF;border-top: 10px solid #f5f5f5;border-bottom: 0;border-collapse: collapse !important;">
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
<tr>
<td class="headerContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #202020;font-family: Helvetica;font-size: 20px;font-weight: bold;line-height: 100%;padding-top: 40px;padding-right: 0;padding-bottom: 20px;padding-left: 0;text-align: left;vertical-align: middle;border-collapse: collapse !important;">
{local_media type="logo"}
<img src="{$MEDIA_URL}" alt="{$company_name}" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;">
{/local_media}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
{/block}
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateBody" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #FFFFFF;border-top: 0;border-bottom: 0;border-collapse: collapse !important;">
<tr>
<td align="center" valign="top" style="padding-top: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="10" cellspacing="0" width="100%" class="titleContentBlock" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #ffffff;border-top: 0px solid #F47766;border-bottom: 0px solid #B14031;border-collapse: collapse !important;">
<tr>
<td valign="top" class="titleContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #7a7a7a;font-family: Arial;font-size: 24px;font-weight: normal;line-height: 110%;padding-top: 5px;padding-bottom: 5px;text-align: left;border-collapse: collapse !important;">
{block name="email-title"}{/block}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" style="padding-bottom: 40px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="10" cellspacing="0" width="100%" class="bodyContentBlock" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;background-color: #FFFFFF;border-top: 0;border-bottom: 1px solid #E5E5E5;border-collapse: collapse !important;">
{block name="image-header"}
<tr>
<td class="bodyContent" style="padding-bottom: 20px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #505050;font-family: Helvetica;font-size: 16px;line-height: 150%;padding-top: 20px;text-align: left;border-collapse: collapse !important;">
{local_media type="banner"}
<img class="bodyImage" src="{$MEDIA_URL}" alt="" border="0" style="border: 0px none;border-color: ;border-style: none;border-width: 0px;margin: 0;padding: 0;line-height: 100%;outline: none;text-decoration: none;display: inline;max-width: 600px;">
{/local_media}
</td>
</tr>
{/block}
<tr>
<td valign="top" class="bodyContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #505050;font-family: Helvetica;font-size: 14px;line-height: 150%;padding-top: 0px;padding-bottom: 20px;text-align: left;border-collapse: collapse !important;">
{block name="email-content"}{/block}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="center" valign="top" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
<table border="0" cellpadding="0" cellspacing="0" width="100%" id="templateFooter" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-top: 0;border-collapse: collapse !important;">
<tr>
<td align="center" valign="top" style="padding-bottom: 40px;mso-table-lspace: 0pt;mso-table-rspace: 0pt;border-collapse: collapse !important;">
{hook name="email-html.layout.footer"}
{elsehook rel="email-html.layout.footer"}
<table border="0" cellpadding="0" cellspacing="0" class="templateContainer" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;width: 600px;border-collapse: collapse !important;">
<tr>
<td valign="top" class="footerContent" style="mso-table-lspace: 0pt;mso-table-rspace: 0pt;color: #808080;font-family: Helvetica;font-size: 10px;line-height: 150%;padding-top: 20px;text-align: left;border-collapse: collapse !important;">
<strong>{intl l="Our mailing address is:"}</strong>
<br>
{config key="store_address1"} {config key="store_address2"} {config key="store_address3"}<br>
{config key="store_zipcode"} {config key="store_city"},
{if {config key="store_country"} }
{loop type="country" name="address.country.title" id={config key="store_country"}}, {$TITLE}{/loop}
{/if}
<br>
<br>
<em>{intl l="Copyright"} &copy; {'Y'|date} {$company_name}, {intl l="All rights reserved."}</em>
</td>
</tr>
</table>
{/elsehook}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</center>
</body>
</html>

View File

@@ -1,24 +0,0 @@
{extends file="email-layout.tpl"}
{* Do not provide a "Open in browser" link *}
{block name="browser"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your subscriotion to %store newsletter" store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{if $firstname || $lastname}
<p>{intl l="Dear %firstname %lastname," firstname=$firstname lastname=$lastname}</p>
{else}
<p>{intl l="Hello,"}</p>
{/if}
<p>{intl l="Thank you for your registration. You'll now receive the %store newsletter on your email address %email." store={config key="store_name"} email=$email}</p>
<p>{intl l="To unsubscribe from our newsletter, please <a href=\"%unsublink\">click here</a>." unsublink={url path="/newsletter-unsubscribe" email=$email}}</p>
<p> {intl l="The %store team." store={config key="store_name"}}</p>
{/block}

View File

@@ -1,10 +0,0 @@
{default_translation_domain domain='email.custom'}
{if $firstname || $lastname}
{intl l="Dear %firstname %lastname," firstname=$firstname lastname=$lastname}
{else}
{intl l="Hello,"}
{/if}
{intl l="Thank you for your registration. You'll now receive the %store newsletter on your email address %email." store={config key="store_name"} email=$email}
{intl l="To unsubscribe from our newsletter, please go to the following web address:"}
{url path="/newsletter-unsubscribe" email=$email}
{intl l="The %store team." store={config key="store_name"}}

View File

@@ -1,149 +0,0 @@
{extends file="email-layout.tpl"}
{* Do not provide a "Open in browser" link *}
{block name="browser"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your order confirmation Nº %ref" ref={$order_ref}}{/block}
{* Title *}
{block name="email-title"}{intl l="Thank you for your order!"}{/block}
{* Content *}
{block name="email-content"}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{loop name="currency.order" type="currency" id=$CURRENCY}
{assign var="orderCurrencyIsoCode" value=$ISOCODE}
{/loop}
{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}
{assign var="customerRef" value=$REF}
{/loop}
{hook name="email-html.order-confirmation.before-address" order=$order_id}
{intl l="Here are the details of your purchase:"}<br /><br />
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="55%">
<strong>{intl l="Delivery address:"}</strong><br>
{ifhook rel="email-html.order-confirmation.delivery-address"}
{* delivery module can customize the delivery address *}
{hook name="email-html.order-confirmation.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
{/ifhook}
{elsehook rel="email-html.order-confirmation.delivery-address"}
{format_address order_address=$DELIVERY_ADDRESS locale=$locale}
{/elsehook}
</td>
<td valign="top">
<strong>{intl l="Billing address:"}</strong><br />
{format_address order_address=$INVOICE_ADDRESS locale=$locale}
</td>
</tr>
</table>
{hook name="email-html.order-confirmation.after-address" order=$order_id}
<br />
<p>
{intl l="Order Total:"} {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}<br />
{intl l="Order Number:"} {$REF}<br />
{intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}<br />
{intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}<br />
{intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}<br />
</p>
{hook name="email-html.order-confirmation.before-products" order=$order_id}
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:13px;line-height:2em">
<tr style="color:#999;font-size:11px">
<td style="color:#999;border-bottom:1px solid #000">{intl l="What You Purchased"}</td>
<td align="right" style="color:#999;border-bottom:1px solid #000">{intl l="Price in"} {$orderCurrencyIsoCode}</td>
</tr>
{$subtotal = 0}
{loop type="order_product" name="order-products" order=$ID}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
<tr>
<td style="border-bottom:1px solid #000">
<b>{$TITLE}</b> <i>({$REF}{if $REF != $PRODUCT_SALE_ELEMENTS_REF}, {$PRODUCT_SALE_ELEMENTS_REF}{/if})</i>
{ifloop rel="combinations"}<br />
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
<span style="color:#999;display:block;font-size:11px;line-height:1.2">* {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE}</span>
{/loop}
{/ifloop}
{hook name="email-html.order-confirmation.product-list" order=$order_id order_product=$ID}
</td>
<td align="right" style="border-bottom:1px solid #000; white-space:nowrap">
{$QUANTITY} x {format_money number=$realTaxedPrice currency_id=$CURRENCY}
{$subtotal = $subtotal + $realTaxedPrice * $QUANTITY}
</td>
</tr>
{hook name="email-html.order-confirmation.order-product" order="{$order_id}" order_product="{$ID}"}
{/loop}
<tr>
<td align="right" style="text-align:right">{intl l="Subtotal"}</td>
<td align="right" style="text-align:right">{format_money number=$subtotal currency_id=$CURRENCY} </td>
</tr>
{if $DISCOUNT > 0}
<tr>
<td align="right" style="text-align:right">{intl l="Discount"}</td>
<td align="right" style="text-align:right">{format_money number=$DISCOUNT currency_id=$CURRENCY} </td>
</tr>
<tr>
<td align="right" style="text-align:right">{intl l="Total"}</td>
<td align="right" style="text-align:right">{format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY} </td>
</tr>
{/if}
<tr>
<td align="right" style="text-align:right">{intl l="Shipping:"}</td>
<td align="right" style="text-align:right">{format_money number=$POSTAGE currency_id=$CURRENCY}</td>
</tr>
<tr>
<td align="right" style="text-align:right"><strong>{intl l="Order Total"}</strong></td>
<td align="right" style="text-align:right"><strong>{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</strong></td>
</tr>
</table>
{/loop}
{hook name="email-html.order-confirmation.after-products" order=$order_id}
<br />
{ifhook rel="email-html.order-confirmation.footer"}
{hook name="email-html.order-confirmation.footer" order=$order_id}
{/ifhook}
{elsehook rel="email-html.order-confirmation.footer"}
<p><a href="{url path="/account"}">{intl l="View this order in your account at %shop_name" shop_name={config key="store_name"}}</a></p>
<br />
<h2>{intl l="Support"}</h2>
{intl l='For any questions, or concerns, feel free to contact <a href="mailto:%mail" style="color:#3c69c1;text-decoration:none" target="_blank">%mail</a>.' mail={config key="store_email"}}<br /><br />
<b>{intl l="Our contact us at:"}</b> <br />
{config key="store_name"}<br>
{config key="store_address1"}<br />
{config key="store_zipcode"}, {config key="store_city"}<br />
{if {config key="store_country"}}
{loop type="country" name="store_country" id={config key="store_country"}}
{$TITLE}
{/loop}
{/if}
<br />
<br />
{intl l="Thanks"}<br />
{/elsehook}
{/block}

View File

@@ -1,54 +0,0 @@
{default_translation_domain domain='email.custom'}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{intl l="Hello,"}
{intl l="Here is the details of your order %ref placed on %date" ref={$REF} date={format_date date=$INVOICE_DATE}}
{hook name="email-txt.order-confirmation.before-address" order=$order_id}
{intl l="Your delivery address"}
{ifhook rel="email-txt.order-confirmation.delivery-address"}
{hook name="email-txt.order-confirmation.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
{/ifhook}
{elsehook rel="email-txt.order-confirmation.delivery-address"}
{format_address order_address=$DELIVERY_ADDRESS locale=$locale html="0"}
{/elsehook}
{intl l="Your billing address"}
{format_address order_address=$INVOICE_ADDRESS locale=$locale html="0"}
{hook name="email-txt.order-confirmation.after-address" order=$order_id}
{intl l="Items ordered:"}
{hook name="email-txt.order-confirmation.before-products" order=$order_id}
{loop type="order_product" name="order-products" order=$ID}
{strip}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
{/strip}
{intl l="Item : %item" item=$TITLE}
{ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
- {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{/ifloop}
{hook name="email-txt.order-confirmation.product-list" order=$order_id order_product=$ID}
{intl l="Quantity : %qty" qty=$QUANTITY}
{intl l="Unit price : %amount" amount={format_money number=$realTaxedPrice currency_id=$CURRENCY}}
{hook name="email-txt.order-confirmation.order-product" order="{$order_id}" order_product="{$ID}"}
{/loop}
-----------------------------------------
{intl l="Items total : %amount" amount={format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}}
{intl l="Shipping : %amount" amount={format_money number=$POSTAGE currency_id=$CURRENCY}}
{intl l="Total due : %amount" amount={format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}}
==================================
{hook name="email-txt.order-confirmation.after-products" order=$order_id}
{intl l="Your invoice is available in your customer account at %url" url={config key="url_site"}}
{/loop}

View File

@@ -1,129 +0,0 @@
{extends file="email-layout.tpl"}
{* Do not provide a "Open in browser" link *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No logo header *}
{block name="logo-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="New order placed on %store_name Nº %ref" ref={$order_ref} store_name={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{intl l="Hello, a new order has been placed."}{/block}
{* Content *}
{block name="email-content"}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{loop name="currency.order" type="currency" id=$CURRENCY}
{assign var="orderCurrencyIsoCode" value=$ISOCODE}
{/loop}
{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}
{assign var="customerRef" value=$REF}
{/loop}
<p><a href="{url path="/admin/order/update/%id" id=$ID}">{intl l="View this order in your shop back-office."}</a></p>
{hook name="email-html.order-notification.before-address" order=$order_id}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" width="55%">
<strong>{intl l="Customer delivery address:"}</strong><br>
{ifhook rel="email-html.order-notification.delivery-address"}
{* delivery module can customize the delivery address *}
{hook name="email-html.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
{/ifhook}
{elsehook rel="email-html.order-notification.delivery-address"}
{format_address order_address=$DELIVERY_ADDRESS locale=$locale}
{/elsehook}
</td>
<td valign="top">
<strong>{intl l="Customer billing address:"}</strong><br />
{format_address order_address=$INVOICE_ADDRESS locale=$locale}
</td>
</tr>
</table>
{hook name="email-html.order-notification.after-address" order=$order_id}
<p>
{intl l="Order Total:"} {format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}<br />
{intl l="Order Number:"} {$REF}<br />
{intl l="Paid With:"} {loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}<br />
{intl l="Purchase Date:"} {format_date date=$CREATE_DATE output="datetime"}<br />
{intl l="Delivery method:"} {loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}<br />
</p>
{hook name="email-html.order-notification.before-products" order=$order_id}
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="font-size:13px;line-height:2em">
<tr style="color:#999;font-size:11px">
<td style="color:#999;border-bottom:1px solid #000">{intl l="What You Purchased"}</td>
<td align="right" style="color:#999;border-bottom:1px solid #000">{intl l="Price in"} {$orderCurrencyIsoCode}</td>
</tr>
{$subtotal = 0}
{loop type="order_product" name="order-products" order=$ID}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
<tr>
<td style="border-bottom:1px solid #000">
<b>{$TITLE}</b> <i>({$REF}{if $REF != $PRODUCT_SALE_ELEMENTS_REF}, {$PRODUCT_SALE_ELEMENTS_REF}{/if})</i>
{ifloop rel="combinations"}<br />
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
<span style="color:#999;display:block;font-size:11px;line-height:1.2">* {$ATTRIBUTE_TITLE}: {$ATTRIBUTE_AVAILABILITY_TITLE}</span>
{/loop}
{/ifloop}
</td>
<td align="right" style="border-bottom:1px solid #000; white-space:nowrap">
{$QUANTITY} x {format_money number=$realTaxedPrice currency_id=$CURRENCY}
{$subtotal = $subtotal + $realTaxedPrice * $QUANTITY}
</td>
</tr>
{hook name="email-html.order-notification.order-product" order={$order_id} order_product={$ID}}
{/loop}
<tr>
<td align="right" style="text-align:right">{intl l="Subtotal"}</td>
<td align="right" style="text-align:right">{format_money number=$subtotal currency_id=$CURRENCY} </td>
</tr>
{if $DISCOUNT > 0}
<tr>
<td align="right" style="text-align:right">{intl l="Discount"}</td>
<td align="right" style="text-align:right">{format_money number=$DISCOUNT currency_id=$CURRENCY} </td>
</tr>
<tr>
<td align="right" style="text-align:right">{intl l="Total"}</td>
<td align="right" style="text-align:right">{format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY} </td>
</tr>
{/if}
<tr>
<tr>
<td align="right" style="text-align:right">{intl l="Shipping:"}</td>
<td align="right" style="text-align:right">{format_money number=$POSTAGE currency_id=$CURRENCY}</td>
</tr>
<tr>
<td align="right" style="text-align:right"><strong>{intl l="Order Total"}</strong></td>
<td align="right" style="text-align:right"><strong>{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</strong></td>
</tr>
</table>
{/loop}
{hook name="email-html.order-notification.after-products" order=$order_id}
<br />
{intl l="Have a nice day."}<br />
{/block}

View File

@@ -1,52 +0,0 @@
{default_translation_domain domain='email.custom'}
{loop name="order.invoice" type="order" id=$order_id customer="*"}
{intl l="Hello"}
{intl l="A new order ref. %ref has been placed on %date. Here are the details :" ref={$REF} date={format_date date=$INVOICE_DATE}}
{hook name="email-txt.order-notification.before-address" order=$order_id}
{intl l="* Delivery address"}
{ifhook rel="email-txt.order-notification.delivery-address"}
{hook name="email-txt.order-notification.delivery-address" module={$DELIVERY_MODULE} order=$order_id}
{/ifhook}
{elsehook rel="email-txt.order-notification.delivery-address"}
{format_address order_address=$DELIVERY_ADDRESS locale=$locale html="0"}
{/elsehook}
{intl l="* Billing address"}
{format_address order_address=$INVOICE_ADDRESS locale=$locale html="0"}
{hook name="email-txt.order-notification.after-address" order=$order_id}
{intl l="* Items ordered:"}
{hook name="email-txt.order-notification.before-products" order=$order_id}
{loop type="order_product" name="order-products" order=$ID}
{strip}
{if $WAS_IN_PROMO == 1}
{assign "realPrice" $PROMO_PRICE}
{assign "realTax" $PROMO_PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PROMO_PRICE}
{else}
{assign "realPrice" $PRICE}
{assign "realTax" $PRICE_TAX}
{assign "realTaxedPrice" $TAXED_PRICE}
{/if}
{/strip}
{intl l="Item : %item" item=$TITLE}
{ifloop rel="combinations"}
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
- {$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}
{/loop}
{/ifloop}
{intl l="Quantity : %qty" qty=$QUANTITY}
{intl l="Unit price : %amount" amount={format_money number=$realTaxedPrice currency_id=$CURRENCY}}
{hook name="email-txt.order-notification.order-product" order="{$order_id}" order_product="{$ID}"}
{/loop}
-----------------------------------------
{intl l="Items total : %amount" amount={format_money number={$TOTAL_TAXED_AMOUNT - $POSTAGE} currency_id=$CURRENCY}}
{intl l="Shipping : %amount" amount={format_money number=$POSTAGE currency_id=$CURRENCY}}
{intl l="Total due : %amount" amount={format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}}
{hook name="email-txt.order-notification.after-products" order=$order_id}
{intl l="Have a nice day."}
{/loop}

View File

@@ -1,26 +0,0 @@
{extends file="email-layout.tpl"}
{* Open in browser *}
{block name="browser"}{/block}
{* No big image header *}
{block name="image-header"}{/block}
{* No pre-header *}
{block name="pre-header"}{/block}
{* Subject *}
{block name="email-subject"}{intl l="Your password for %store" store={config key="store_name"}}{/block}
{* Title *}
{block name="email-title"}{/block}
{* Content *}
{block name="email-content"}
{intl l="Hello,"}<br /><br />
{intl l="You have requested a new password for your account at %store_name" store_name={config key="store_name"}}.<br /><br />
{intl l="Your new password is <span style=\"font-family: courier, fixed; font-size: 120%\">%pass</span>" pass={$password}}<br /><br />
{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.<br /><br />
{intl l='Kind regards'},<br />
{intl l="The %store team." store={config key="store_name"}}
{/block}

View File

@@ -1,12 +0,0 @@
{default_translation_domain domain='email.custom'}
{intl l="Hello,"}
{intl l="You have requested a new password for your account at %store_name" store_name={config key="store_name"}}.
{intl l="Your new password is %pass" pass=$password}
{intl l='You can change your password in your user account by opening the "Change my password" link under your personal information'}.
{intl l='Kind regards'},
{intl l="The %store team." store={config key="store_name"}}

View File

@@ -8,6 +8,7 @@
<descriptive locale="en">
<title>Default email template</title>
</descriptive>
<parent>default</parent>
<languages>
<language>ar_SA</language>
<language>cs_CZ</language>

View File

@@ -1,39 +0,0 @@
{extends file="layout.tpl"}
{* Body Class *}
{block name="body-class"}page-404{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="404"}, 'url'=>{url path="/404"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
{ifhook rel="404.content"}
{hook name="404.content"}
{/ifhook}
{elsehook rel="404.content"}
<h1 id="main-label">
404
<span>{intl l="The page cannot be found"}</span>
</h1>
{/elsehook}
</article>
</div>
{/block}
{block name="stylesheet"}
{hook name="404.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="404.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="404.javascript-initialization"}
{/block}

View File

@@ -1,165 +0,0 @@
GNU LESSER GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
0. Additional Definitions.
As used herein, "this License" refers to version 3 of the GNU Lesser
General Public License, and the "GNU GPL" refers to version 3 of the GNU
General Public License.
"The Library" refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An "Application" is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A "Combined Work" is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the "Linked
Version".
The "Minimal Corresponding Source" for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The "Corresponding Application Code" for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
1. Exception to Section 3 of the GNU GPL.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
2. Conveying Modified Versions.
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
b) under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
3. Object Code Incorporating Material from Library Header Files.
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
c) For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
d) Do one of the following:
0) Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
1) Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that (a) uses at run time
a copy of the Library already present on the user's computer
system, and (b) will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
e) Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option 4d0, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option 4d1, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
b) Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
6. Revised Versions of the GNU Lesser General Public License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License "or any later version"
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@@ -1,38 +0,0 @@
Readme
======
## This is the repository of Thelia default frontoffice template. All the pull requests on this repo will be ignored.
### If you want to create a project, please take a look at [thelia/thelia-project](https://github.com/thelia/thelia-project)
### If you want to contribute to Thelia, please take a look at [thelia/thelia](https://github.com/thelia/thelia)
Thelia
------
[![Build Status](https://travis-ci.org/thelia/thelia.png?branch=master)](https://travis-ci.org/thelia/thelia) [![License](https://poser.pugx.org/thelia/thelia/license.png)](https://packagist.org/packages/thelia/thelia) [![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/thelia/thelia/badges/quality-score.png?s=61e3e04a69bffd71c29b08e5392080317a546716)](https://scrutinizer-ci.com/g/thelia/thelia/)
[Thelia](http://thelia.net/) is an open source tool for creating e-business websites and managing online content. This software is published under LGPL.
This is the new major version of Thelia.
You can download this version and have a try or take a look at the source code (or anything you wish, respecting LGPL). See http://thelia.net/ web site for more information.
A repository containing all thelia modules is available at this address : https://github.com/thelia-modules
How to update this template
---------------------------
If you want to customize the default template of Thelia, there are two possible solutions :
### Simple configuration
The simple process to update this template is to work into the `assets/src` directory.
In fact, this folder contain the non minified version of assets.
You can change change css rules and js code easily.
### Advanced configuration
This method is more oriented for frontend developers. You have to work with Less, Grunt and Bower.
So, after installing Grunt and Bower, do : ```bower init``` and ```npm install```.
The Gruntfile include the watch component, so with ```grunt watch```, Grunt is always listening assets update and recompile theme automatically.
The less files are into `assets/src/less` directory. After updating your less rules, do `grunt` to recompile your assets.
The compiled assets are put into the `assets/dist` directory.

View File

@@ -1,289 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Order details"}, 'url'=>{url path="/account/order/%order_id" order_id=$order_id}]
]}
{/block}
{block name="body-class"}page-account-order{/block}
{block name="main-content"}
<div class="main">
{loop name="order" type="order" customer="current" id="$order_id" limit="1" }
{$payment_id=$PAYMENT_MODULE}
{$delivery_id=$DELIVERY_MODULE}
{$status=$STATUS}
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Order details %ref" ref={$REF}}</h1>
{hook name="account-order.top" order={$order_id}}
{* Infos *}
<dl class="order-information dl-horizontal">
<dt>{intl l="REF"}</dt>
<dd>{$REF}</dd>
<dt>{intl l="Created"}</dt>
<dd>{format_date date=$CREATE_DATE output="datetime"}</dd>
<dt>{intl l="Status"}</dt>
<dd>{loop type="order-status" name="order_status" id=$STATUS}{$TITLE}{/loop}</dd>
{if $IS_PAID}
<dt>{intl l="Invoice date"}</dt>
<dd>{format_date date=$INVOICE_DATE output="date"}</dd>
{if $INVOICE_REF}
<dt>{intl l="Invoice REF"}</dt>
<dd>{$INVOICE_REF}</dd>
{/if}
<dt>{intl l="PDF invoice"}</dt>
<dd><a href="{url path="/account/order/pdf/invoice/%id" id=$ID}">{intl l="Download"}</a></dd>
{/if}
{if $DELIVERY_REF}
<dt>{intl l="Delivery REF"}</dt>
<dd>{$DELIVERY_REF}</dd>
{/if}
<dt>{intl l="Customer Number"}</dt>
<dd>{loop type="customer" name="customer.invoice" id=$CUSTOMER current="0"}{$REF}{/loop}</dd>
{hookblock name="account-order.information" order={$order_id} fields="title,value"}
{forhook rel="account-order.information"}
<dt>{$title}</dt>
<dd>{$value}</dd>
{/forhook}
{/hookblock}
</dl>
{hook name="account-order.after-information" order={$order_id}}
{* Addresses *}
<div id="order-addresses" class="row">
<div class="col-md-6 col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">{intl l="Delivery"}</div>
<div class="panel-body">
<h4>{intl l="Delivery Mode"}</h4>
{ifhook rel="account-order.delivery-information"}
{hook name="account-order.delivery-information" module={$delivery_id} order={$order_id}}
{/ifhook}
{elsehook rel="account-order.delivery-information"}
<p>{loop name="delivery-module" type="module" id=$DELIVERY_MODULE}{$TITLE}{/loop}</p>
{/elsehook}
<h4>{intl l="Address"}</h4>
{ifhook rel="account-order.delivery-address"}
{* delivery module can customize the delivery address *}
{hook name="account-order.delivery-address" module={$delivery_id} order={$order_id}}
{/ifhook}
{elsehook rel="account-order.delivery-address"}
{format_address order_address=$DELIVERY_ADDRESS}
{/elsehook}
{hook name="account-order.delivery-address-bottom" module={$delivery_id} order={$order_id}}
</div>
</div>
</div>
<div class="col-md-6 col-sm-12">
<div class="panel panel-default">
<div class="panel-heading">{intl l="Billing"}</div>
<div class="panel-body">
<h4>{intl l="Billing Mode"}</h4>
{ifhook rel="account-order.invoice-information"}
{hook name="account-order.invoice-information" module={$payment_id} order={$order_id}}
{/ifhook}
{elsehook rel="account-order.invoice-information"}
<p>{loop name="payment-module" type="module" id=$PAYMENT_MODULE}{$TITLE}{/loop}</p>
{if $TRANSACTION_REF}
<p>{intl l="Transaction REF : %ref" ref={$TRANSACTION_REF}}</p>
{/if}
{/elsehook}
<h4>{intl l="Address"}</h4>
{ifhook rel="account-order.invoice-address"}
{* payment module can customize the delivery address *}
{hook name="account-order.invoice-address" module={$payment_id} order={$order_id}}
{/ifhook}
{elsehook rel="account-order.invoice-address"}
{format_address order_address=$INVOICE_ADDRESS}
{/elsehook}
{hook name="account-order.invoice-address-bottom" module={$payment_id} order={$order_id}}
</div>
</div>
</div>
</div>
{hook name="account-order.after-addresses" order={$order_id}}
{* products *}
<table class="table table-order table-bordered order-products">
<thead>
<tr>
<th class="product">
<span class="hidden-xs">{intl l="Product Name"}</span>
<span class="visible-xs">{intl l="Name"}</span>
</th>
<th class="unitprice">
<span class="hidden-xs">{intl l="Unit Price"}</span>
<span class="visible-xs">{intl l="Price"}</span>
</th>
<th class="unitprice">
<span class="hidden-xs">{intl l="Unit Taxed Price"}</span>
<span class="visible-xs">{intl l="Taxed Price"}</span>
</th>
<th class="qty">
<span class="hidden-xs">{intl l="Quantity"}</span>
<span class="visible-xs">{intl l="Qty"}</span>
</th>
<th class="subprice">
<span class="hidden-xs">{intl l="Total"}</span>
<span class="visible-xs">{intl l="Total"}</span>
</th>
</tr>
</thead>
<tbody>
{ifhook rel="account-order.products-top"}
<tr>
<td class="products-top" colspan="5">
{hook name="account-order.products-top" order={$order_id}}
</td>
</tr>
{/ifhook}
{loop type="order_product" name="order-products" order=$ID}
{$taxes[{$TAX_RULE_TITLE}][] = $REAL_PRICE_TAX * $QUANTITY}
<tr data-id={$ID} data-product-id={$PRODUCT_ID} data-pse-id={$PRODUCT_SALE_ELEMENTS_ID}>
<td class="product" >
<p>{$TITLE}</p>
{ifloop rel="combinations"}
<p>
{loop type="order_product_attribute_combination" name="combinations" order_product=$ID}
{$ATTRIBUTE_TITLE} - {$ATTRIBUTE_AVAILABILITY_TITLE}<br>
{/loop}
</p>
{/ifloop}
{hook name="account-order.product-list" order_id={$order_id} order_product_id={$ID} product={$PRODUCT_ID}}
</td>
<td class="unitprice"><p>{format_money number=$REAL_PRICE currency_id=$CURRENCY}</p></td>
<td class="unitprice"><p>{format_money number=$REAL_TAXED_PRICE currency_id=$CURRENCY}</p></td>
<td class="qty"><p>{$QUANTITY}</p></td>
<td class="subprice"><p>{format_money number=$REAL_TOTAL_TAXED_PRICE currency_id=$CURRENCY}</p></td>
</tr>
{ifhook rel="account-order.product-extra"}
<tr>
<td class="product-extra" colspan="5">
{hook name="account-order.product-extra" order={$order_id} order_product={$ID} product={$PRODUCT_ID}}
</td>
</tr>
{/ifhook}
{/loop}
{ifhook rel="account-order.products-bottom"}
<tr>
<td class="products-bottom" colspan="5">
{hook name="account-order.products-bottom" order={$order_id}}
</td>
</tr>
{/ifhook}
</tbody>
</table>
{hook name="account-order.after-products" order={$order_id}}
<div class="row">
<div class="col-md-6 col-md-offset-6 col-sm-9 col-sm-offset-3 col-xs-12">
<table class="table order-total table-order table-bordered table-order-total">
<tfoot>
<tr>
<td><p>{intl l="Total without tax"}</p></td>
<td><p>{format_money number={$TOTAL_ITEMS_AMOUNT} currency_id=$CURRENCY}</p></td>
</tr>
{capture name="tax"}{strip}
{foreach $taxes as $name=>$prices}
{assign var="_price_taxe_" value="0"}
{foreach $prices as $price}
{$_price_taxe_= $_price_taxe_ + $price}
{/foreach}
{if $_price_taxe_ != 0}
<tr>
<td><p>{$name}</p></td>
<td><P>{format_money number=$_price_taxe_ currency_id=$CURRENCY}</P></td>
</tr>
{/if}
{/foreach}
{/strip}{/capture}
{if $smarty.capture.tax ne ""}
{$smarty.capture.tax nofilter}
{/if}
<tr>
<td><p>{intl l="Total with tax"}</p></td>
<td><P>{format_money number={$TOTAL_TAXED_ITEMS_AMOUNT} currency_id=$CURRENCY}</P></td>
</tr>
{if $DISCOUNT > 0}
<tr>
<td>
<p>{intl l="Discount with tax"}</p>
<p>{intl l="Tax: %tax" tax={format_money number=$DISCOUNT_TAX currency_id=$CURRENCY}}</p>
</td>
<td><p>-{format_money number=$DISCOUNT currency_id=$CURRENCY}</p></td>
</tr>
{/if}
<tr>
<td>
<p>{intl l="Postage"}</p>
{if $POSTAGE_TAX != 0}
<p>{intl l="Tax %name: %tax" name=$POSTAGE_TAX_RULE_TITLE tax={format_money number=$POSTAGE_TAX currency_id=$CURRENCY}}</p>
{/if}
</td>
<td><p>{format_money number=$POSTAGE curency_id=$CURRENCY}</p></td>
</tr>
<tr>
<td><h3>{intl l="Total"}</h3></td>
<td><h3>{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</h3></td>
</tr>
</tfoot>
</table>
</div>
</div>
{hook name="account-order.bottom" order={$order_id}}
</article>
{/loop}
</div>
{/block}
{block name="stylesheet"}
{hook name="account-order.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="account-order.after-javascript-include" order=$order_id}
{/block}
{block name="javascript-initialization"}
{hook name="account-order.javascript-initialization" order=$order_id}
{/block}

View File

@@ -1,108 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-account-password{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Change Password"}, 'url'=>{url path="/account/password"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Change Password"}</h1>
{hook name="account-password.top"}
{form name="thelia.front.customer.password.update"}
<form id="form-register" class="form-horizontal" action="{url path="/account/password"}" method="post">
{form_field field='success_url'}
<input type="hidden" name="{$name}" value="{url path="/account"}" />
{/form_field}
{form_hidden_fields}
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
<fieldset id="register-info" class="panel panel-default">
<div class="panel-heading">
{intl l="Login Information"}
</div>
<div class="panel-body">
{form_field field="password_old"}
<div class="form-group group-password_old{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="password" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" value="{$value}" {if $required} aria-required="true" required{/if}{if !$value || $error} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif !$value}
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="password"}
<div class="form-group group-password{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="password" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="password_confirm"}
<div class="form-group group-password_confirm{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="password" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" autocomplete="off"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
</div>
</fieldset>
<div class="form-group group-btn">
<div class="control-btn col-sm-5 col-sm-offset-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Change Password"}</button>
</div>
</div><!--/.form-group-->
</form>
{/form}
{hook name="account-password.bottom"}
</article>
</div><!-- /.layout -->
{/block}
{block name="stylesheet"}
{hook name="account-password.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="account-password.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="account-password.javascript-initialization"}
{/block}

View File

@@ -1,186 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-account-update{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Update Profile"}, 'url'=>{url path="/account/update"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Update Profile"}</h1>
{hook name="account-update.top"}
{form name="thelia.front.customer.profile.update"}
<form id="form-register" class="form-horizontal" action="{url path="/account/update"}" method="post">
{form_field field='success_url'}
<input type="hidden" name="{$name}" value="{url path="/account"}" />
{/form_field}
{form_hidden_fields}
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
{hook name="account-update.form-top"}
<fieldset id="register-info" class="panel panel-default">
<div class="panel-heading">
{intl l="Personal Information"}
</div>
<div class="panel-body">
{form_field field="title"}
<div class="form-group group-title{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !$value || $error} autofocus{/if}>
<option value="">-- {intl l="Select Title"} --</option>
{loop type="title" name="country.list"}
<option value="{$ID}" {if $value == $ID}selected{/if} >{$LONG}</option>
{/loop}
</select>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif !$value}
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="firstname"}
<div class="form-group group-firstname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder firstname"}" value="{$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="lastname"}
<div class="form-group group-lastname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder lastname"}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="lang_id"}
<div class="form-group group-lastname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control">
{loop type="lang" name="lang.list" visible="*" order="alpha"}
<option value="{$ID}" {if {$value} == $ID}selected{/if}>{$TITLE}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{assign var="customer_change_email" value={config key="customer_change_email"}}
{form_field field="email"}
<div class="form-group group-email {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="email" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder email"}" value="{$smarty.get.email|default:$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if} {if !$customer_change_email}readonly{/if}>
{if !$customer_change_email}
<div class="alert alert-info" role="alert">{intl l="If you want to change your email, please contact us."} <strong><a href="{url path="/contact"}" title="{intl l="Contact page"}">{intl l="Contact page"}</a></strong></div>
{/if}
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{if {config key="customer_confirm_email"} && $customer_change_email}
{form_field field="email_confirm"}
<div class="form-group group-email {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="email" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder email confirm"}" value="{$smarty.get.email|default:$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{/if}
</div>
</fieldset>
{form_field field="newsletter"}
<div class="form-group group-newsletter{if $error} has-error{/if}">
<div class="control-input col-xs-11 col-sm-9 col-xs-offset-1 col-md-offset-3">
<div class="checkbox">
<label class="control-label" for="{$label_attr.for}">
<input type="checkbox" name="{$name}" id="{$label_attr.for}" value="{$value}"{if $checked} checked{/if} {if $required} aria-required="true" required{/if}>{$label}
</label>
{if $error }
<span class="help-block">{$message}</span>
{/if}
</div>
</div>
</div><!--/.form-group-->
{/form_field}
{hook name="account-update.form-bottom"}
<div class="form-group group-btn">
<div class="control-btn col-sm-5 col-sm-offset-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Update"}</button>
</div>
</div><!--/.form-group-->
</form>
{/form}
{hook name="account-update.bottom"}
</article>
</div><!-- /.layout -->
{/block}
{block name="stylesheet"}
{hook name="account-update.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="account-update.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="account-update.javascript-initialization"}
{/block}

View File

@@ -1,222 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}]
]}
{/block}
{block name="body-class"}page-account{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="My Account"}</h1>
{hook name="account.top"}
<div id="account" class="panel-group">
<div class="panel panel-default account-info">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#account" href="#account-info">
{intl l="Personal Information"}
</a>
</h4>
</div>
<div id="account-info" class="panel-collapse collapse in">
{loop type="customer" name="customer.info"}
<div class="panel-body">
<p class="fn">{loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$FIRSTNAME|ucwords} {$LASTNAME|upper}</p>
{loop type="address" name="address.default" default="true"}
<ul class="list-info list-unstyled row">
<li class="col-sm-4">
{format_address address=$ID html_tag='address' html_class='adr'}
</li>
<li class="col-sm-4">
{if $PHONE != ""}
<span class="tel">{$PHONE}</span>
{/if}
{if $CELLPHONE != ""}
<span class="mobile">{$CELLPHONE}</span>
{/if}
<span class="email">{mailto address=$EMAIL encode="hex"}</span>
</li>
<li class="group-btn col-sm-4">
<a href="{url path="/account/update"}" class="btn btn-link"><i class="fa fa-pencil"></i> {intl l="Change my account information"}</a>
<a href="{url path="/account/password"}" class="btn btn-link"><i class="fa fa-lock"></i> {intl l="Change my password"}</a>
</li>
</ul>
{/loop}
</div>
{/loop}
</div>
</div>
<div class="panel panel-default account-address">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#account" href="#account-address">
{intl l="My Address book"}
</a>
</h4>
</div>
<div id="account-address" class="panel-collapse collapse">
<div class="panel-body">
<a href="{url path="/address/create"}" class="btn btn-link pull-right"><i class="fa fa-plus"></i> {intl l="Add a new address"}</a>
<table class="table table-address" role="presentation" summary="{intl l="My Address Books"}">
<tbody>
{loop type="address" name="customer.addresses" customer="current"}
<tr class="{if $DEFAULT == 1}address-primary{else}address-additional{/if}" id="customer-address-{$ID}">
<th>
{if $DEFAULT === 1}
{$LABEL|default:$default}
<span class="label label-info ">{intl l="Main Address"}</span>
{else}
{$LABEL|default:$default}
{/if}
</th>
<td>
<ul class="list-address list-unstyled row">
<li class="col-sm-4">
<span class="fn">{loop type="title" name="customer.title.info" id=$TITLE}{$SHORT}{/loop} {$FIRSTNAME|ucwords} {$LASTNAME|upper}</span>
{if $COMPANY}
<span class="org">{$COMPANY}</span>
{/if}
</li>
<li class="col-sm-4">
<address class="adr">
<span class="street-address">{$ADDRESS1}</span><br>
{if $ADDRESS2 != ""}
<span class="street-address">{$ADDRESS2}</span><br>
{/if}
{if $ADDRESS3 != ""}
<span class="street-address">{$ADDRESS3}</span><br>
{/if}
<span class="postal-code">{$ZIPCODE}</span>
<span class="locality">{$CITY},
<span class="country-name">{loop type="country" name="customer.country.info" id=$COUNTRY}{$TITLE}{/loop}</span></span>
{if $STATE}<span class="state-name">{loop type="state" name="customer.state.info" id=$STATE}{$TITLE}{/loop}</span></span>{/if}
</address>
</li>
<li class="col-sm-4">
{if $CELLPHONE != ""}
<span class="tel">{$CELLPHONE}</span><br>
{/if}
{if $PHONE != ""}
<span class="tel">{$PHONE}</span><br>
{/if}
</li>
</ul>
</td>
<td>
<div class="group-btn">
<a href="{url path="/address/update/%id" id=$ID}" class="btn btn-primary" data-toggle="tooltip" title="{intl l="Edit this address"}"><i class="fa fa-pencil"></i> {intl l="Edit"}</a>
{if $DEFAULT != 1}
<a href="{url path="/address/delete/%id" id=$ID}" class="btn btn-primary" data-confirm="{intl l="Do you really want to delete this address ?"}" data-confirm-callback="address.delete" title="{intl l="Remove this address"}" data-toggle="tooltip"><i class="fa fa-remove"></i> {intl l="Cancel"}</a>
{/if}
</div>
</td>
</tr>
{/loop}
</tbody>
</table>
</div>
</div>
</div>
<div class="panel panel-default account-orders">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#account" href="#account-orders">
{intl l="My Orders"}
</a>
</h4>
</div>
<div id="account-orders" class="panel-collapse collapse">
<div class="panel-body table-responsive">
{ifloop rel="customer.orders"}
<table class="table table-orders table-bordered table-hover" summary="{intl l="List of orders"}">
<thead>
<tr>
<th>{intl l="Order number"}</th>
<th>{intl l="Date"}</th>
<th>{intl l="Amount"}</th>
<th>{intl l="Status"}</th>
<th>{intl l="View"}</th>
</tr>
</thead>
<tbody>
{loop type="order" name="customer.orders"}
<tr>
<td>{$REF}</td>
<td>{format_date date=$CREATE_DATE}</td>
<td>{format_money number=$TOTAL_TAXED_AMOUNT currency_id=$CURRENCY}</td>
<td>
{loop type="order-status" name="order.status" id={$STATUS}}
{assign "orderStatusCode" "order_$CODE"}
{if #$orderStatusCode# == ''}
{assign "defaultLabel" "label-default"}
{assign "orderStatusLabel" $CODE}
{else}
{assign "defaultLabel" ''}
{assign "orderStatusLabel" #$orderStatusCode#}
{/if}
<span class="label {$defaultLabel} label-{$orderStatusLabel}">{$TITLE}</span>
{/loop}
</td>
<td>
<a href="{url path="/account/order/%id" id=$ID}" class="btn btn-link" data-toggle="tooltip" title="{intl l="View order %ref details" ref={$REF}}">{intl l="Order details"}</a>
</td>
</tr>
{/loop}
</tbody>
</table>
{/ifloop}
{elseloop rel="customer.orders"}
<div class="alert alert-warning">
<strong>{intl l="Warning"}!</strong> {intl l="You don't have orders yet."}
</div>
{/elseloop}
</div>
</div>
</div>
{hookblock name="account.additional" fields="id,title,content"}
{forhook rel="account.additional"}
<div class="panel panel-default account-{$id}">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#account" href="#account-{$id}">
{$title}
</a>
</h4>
</div>
<div id="account-{$id}" class="panel-collapse collapse">
{$content nofilter}
</div>
</div>
{/forhook}
{/hookblock}
</div>
{hook name="account.bottom"}
</article>
</div><!-- /.layout -->
{/block}
{block name="stylesheet"}
{hook name="account.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="account.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="account.javascript-initialization"}
{/block}

View File

@@ -1,322 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-address{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Address Update"}, 'url'=>{url path="/address/update/%address_id" address_id=$address_id}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Address Update"}</h1>
{hook name="address-update.top"}
{form name="thelia.front.address.update"}
{loop name="customer.update" type="address" customer="current" id=$address_id}
<form id="form-address" class="form-horizontal" action="{url path="/address/update/%address_id" address_id=$address_id}" method="post">
{form_field field='success_url'}
{if $value}
{$next_url=$value}
{else}
{$next_url=$smarty.get.next|default:{url path="/account"}}
{/if}
<input type="hidden" name="{$name}" value="{$next_url nofilter}" />
{/form_field}
{form_field field='error_message'}
<input type="hidden" name="{$name}" value="{intl l="missing or invalid data"}" />
{/form_field}
{form_hidden_fields}
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
{hook name="address-update.form-top" address=$address_id}
<fieldset class="panel panel-default">
<div class="panel-heading">
{intl l="Address"}
</div>
<div class="panel-body">
{form_field field="label"}
<div class="form-group group-label{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$LABEL}}" id="{$label_attr.for}" class="form-control" minlength="2" maxlength="255" placeholder="{intl l="Placeholder address label"}"{if $required} aria-required="true" required{/if}{if !$value || $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif !$value}
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="title"}
{assign var="customer_title_id" value={$value|default:$TITLE}}
<div class="form-group group-title{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Title"} --</option>
{loop type="title" name="title.list"}
<option value="{$ID}" {if $customer_title_id == $ID}selected{/if}>{$LONG}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="firstname"}
<div class="form-group group-firstname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$FIRSTNAME} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder firstname"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
<!--/.form-group-->
{form_field field="lastname"}
<div class="form-group group-lastname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$LASTNAME} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder lastname"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="company"}
<div class="form-group group-company{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$COMPANY} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder company"}" value="{$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="address1"}
<div class="form-group group-address1 {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$ADDRESS1} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder address1"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="address2"}
<div class="form-group group-address2 {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if} </label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$ADDRESS2} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder address2"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="zipcode"}
<div class="form-group group-zipcode {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$ZIPCODE}}" id="{$label_attr.for}" class="form-control" maxlength="10" placeholder="{intl l="Placeholder zipcode"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="city"}
<div class="form-group group-city {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$CITY} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder city"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="country"}
{assign var="customer_country_id" value={$value|default:$COUNTRY}}
{$countryFieldId=$label_attr.for}
<div class="form-group group-country {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{loop type="country" name="country.list" order="alpha"}
<option value="{$ID}"
{if $value}
{if $value == $ID}
selected
{/if}
{elseif $customer_country_id}
{if $customer_country_id == $ID}
selected
{/if}
{elseif $IS_DEFAULT}
selected
{/if}
>{$TITLE}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="state"}
{assign var="customer_state_id" value={$value|default:$STATE}}
<div class="form-group group-state {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}"
data-thelia-state="1" data-thelia-country="#{$countryFieldId}" data-thelia-toggle=".group-state"
class="form-control"{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select State"} --</option>
{loop type="state" name="state.list"}
<option value="{$ID}" data-country="{$COUNTRY}"
{if $customer_state_id == $ID}selected{/if}
>{$TITLE}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="phone"}
<div class="form-group group-phone {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$PHONE} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="20" placeholder="{intl l="Placeholder phone"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="cellphone"}
<div class="form-group group-cellphone {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value|default:{$CELLPHONE} nofilter}" id="{$label_attr.for}" class="form-control" maxlength="20" placeholder="{intl l="Placeholder cellphone"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
</div>
</fieldset>
{form_field field="is_default"}
{if not $DEFAULT}
<div class="form-group group-primary">
<div class="control-input">
<div class="checkbox col-sm-offset-3 col-sm-6">
<label class="control-label" for="{$label_attr.for}">
<input type="checkbox" name="{$name}" id="{$label_attr.for}" value="1"> {$label}
</label>
</div>
</div>
</div>
<!--/.form-group-->
{/if}
{/form_field}
{hook name="address-update.form-bottom" address=$address_id}
<div class="form-group group-btn">
<div class="control-btn col-sm-5 col-sm-offset-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Update"}</button>
</div>
</div>
<!--/.form-group-->
</form>
{/loop}
{/form}
{hook name="address-update.bottom" address=$address_id}
</article>
</div><!-- /.layout -->
{/block}
{block name="stylesheet"}
{hook name="address-update.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="address-update.after-javascript-include" address=$address_id}
{/block}
{block name="javascript-initialization"}
{hook name="address-update.javascript-initialization" address=$address_id}
{/block}

View File

@@ -1,307 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Body Class *}
{block name="body-class"}page-address{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Account"}, 'url'=>{url path="/account"}],
['title' => {intl l="Add a new address"}, 'url'=>{url path="/address/create"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Create New Address"}</h1>
{hook name="address-create.top"}
{form name="thelia.front.address.create"}
<form id="form-address" class="form-horizontal" action="{url path="/address/create"}" method="post">
{form_field field='success_url'}
{if $value}
{$next_url=$value}
{else}
{$next_url=$smarty.get.next|default:{url path="/account"}}
{/if}
<input type="hidden" name="{$name}" value="{$next_url nofilter}" />
{/form_field}
{form_field field='error_message'}
<input type="hidden" name="{$name}" value="{intl l="missing or invalid data"}" />
{/form_field}
{form_hidden_fields}
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
{hook name="address-create.form-top"}
<fieldset class="panel panel-default">
<div class="panel-heading">
{intl l="Address"}
</div>
<div class="panel-body">
{form_field field="label"}
<div class="form-group group-label{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" minlength="2" maxlength="255" placeholder="{intl l="Placeholder address label"}"{if $required} aria-required="true" required{/if}{if !$value || $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif !$value}
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="title"}
<div class="form-group group-title{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Title"} --</option>
{loop type="title" name="title.list"}
<option value="{$ID}" {if $value == $ID}selected{/if} >{$LONG}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="firstname"}
<div class="form-group group-firstname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder firstname"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
<!--/.form-group-->
{form_field field="lastname"}
<div class="form-group group-lastname {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder lastname"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="company"}
<div class="form-group group-company{if $error} has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder company"}" value="{$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="address1"}
<div class="form-group group-address1 {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder address1"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="address2"}
<div class="form-group group-address2 {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if} </label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder address2"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="zipcode"}
<div class="form-group group-zipcode {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="10" placeholder="{intl l="Placeholder zipcode"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="city"}
<div class="form-group group-city {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder city"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="country"}
{assign var="customer_country_id" value={$value|default:$COUNTRY}}
{$countryFieldId=$label_attr.for}
<div class="form-group group-country {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}" class="form-control"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select Country"} --</option>
{loop type="country" name="country.list" order="alpha"}
<option value="{$ID}" {if $value == $ID}selected{/if} >{$TITLE}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="state"}
{assign var="customer_state_id" value={$value|default:$STATE}}
<div class="form-group group-state {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<select name="{$name}" id="{$label_attr.for}"
data-thelia-state="1" data-thelia-country="#{$countryFieldId}" data-thelia-toggle=".group-state"
class="form-control"{if !isset($error_focus) && $error} autofocus{/if}>
<option value="">-- {intl l="Select State"} --</option>
{loop type="state" name="state.list"}
<option value="{$ID}" data-country="{$COUNTRY}"
{if $customer_state_id == $ID}selected{/if}
>{$TITLE}</option>
{/loop}
</select>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="phone"}
<div class="form-group group-phone {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="20" placeholder="{intl l="Placeholder phone"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
{form_field field="cellphone"}
<div class="form-group group-cellphone {if $error}has-error{/if}">
<label class="control-label col-sm-3" for="{$label_attr.for}">{$label}:{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input col-sm-5">
<input type="text" name="{$name}" value="{$value}" id="{$label_attr.for}" class="form-control" maxlength="20" placeholder="{intl l="Placeholder cellphone"}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error }
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
<!--/.form-group-->
{/form_field}
</div>
</fieldset>
{form_field field="is_default"}
<div class="form-group group-primary">
<div class="control-input col-sm-5 col-sm-offset-3">
<div class="checkbox">
<label class="control-label" for="{$label_attr.for}">
<input type="checkbox" name="{$name}" id="{$label_attr.for}" value="1"> {$label}
</label>
</div>
</div>
</div>
<!--/.form-group-->
{/form_field}
{hook name="address-create.form-bottom"}
<div class="form-group group-btn">
<div class="control-btn col-sm-5 col-sm-offset-3">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Create"}</button>
</div>
</div>
<!--/.form-group-->
</form>
{/form}
{hook name="address-create.bottom"}
</article>
</div><!-- /.layout -->
{/block}
{block name="stylesheet"}
{hook name="address-create.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="address-create.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="address-create.javascript-initialization"}
{/block}

View File

@@ -1,62 +0,0 @@
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
{default_translation_domain domain='fo.custom'}
{form name="thelia.order.delivery"}
{ifloop rel="deliveries"}
<table class="table table-condensed table-delivery">
<tbody>
{loop type="delivery" name="deliveries" force_return="true" address=$address}
{assign var="isDeliveryMethodChecked" value="0"}
<tr id="delivery-module-{$ID}">
<td>
<div class="radio">
{form_field field='delivery-module'}
{if $isPost}
{if $value == $ID}
{assign var="isDeliveryMethodChecked" value="1"}
{/if}
{elseif $LOOP_COUNT == 1}
{assign var="isDeliveryMethodChecked" value="1"}
{/if}
<label for="delivery-method_{$ID}">
<input type="radio" name="{$name}" id="delivery-method_{$ID}" class="js-change-delivery-method" {if $isDeliveryMethodChecked} checked="checked"{/if} value="{$ID}">
<p>
<strong>{$TITLE}</strong>
<br>
<span class="help-block">{$DESCRIPTION nofilter}</span>
{if $DELIVERY_DATE}
<br>
<span class="help-block">
{intl l="Expected delivery date: %delivery_date" delivery_date={format_date date=$DELIVERY_DATE output="date"}}
</span>
{/if}
</p>
</label>
{/form_field}
</div>
</td>
<td class="image">
{loop type="image" name="deliveryspicture" source="module" source_id=$ID force_return="true" width="100" height="72"}
<img src="{$IMAGE_URL nofilter}" alt="{$TITLE}">
{/loop}
</td>
<td>
<div class="price">
{if $POSTAGE}
{format_money number=$POSTAGE symbol={currency attr='symbol'}}
{else}
&nbsp;
{/if}
</div>
</td>
</tr>
{hook name="order-delivery.extra" module="$ID"}
{hook name="order-delivery.javascript" module="$ID"}
{/loop}
{/ifloop}
{elseloop rel="deliveries"}<div class="alert alert-warning">{intl l="<strong>Sorry!</strong> We are not able to give you a delivery method for your order."}</div>{/elseloop}
{/form}

View File

@@ -1,51 +0,0 @@
{extends file="layout.tpl"}
{* Security *}
{block name="no-return-functions" prepend}
{check_auth role="CUSTOMER" login_tpl="login"}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Redirect to bank service"}]
]}
{/block}
{block name="body-class"}page-gotobankservice{/block}
{block name="main-content"}
<div class="panel panel-default">
<div class="panel-heading clearfix">
{intl l="A problem occured"}.
</div>
<!-- PAYMENT FORM TEMPLATE -->
<div class="panel-body">
<p>
{$msg}<br/>
{loop name="badresponseorder" type="order" id={$order_id}}
{$REF}
{/loop}
<br/>
{intl l="Please try again to order"}
</p>
</div>
</div>
<a class="btn btn-primary" role="button" href="{url path="/"}">
<span>{intl l="Home"}</span>
</a>
{/block}
{block name="stylesheet"}
{hook name="badresponseorder.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="badresponseorder.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="badresponseorder.javascript-initialization"}
{/block}

View File

@@ -1,22 +0,0 @@
{
"name": "Default",
"version": "1.0.0",
"authors": [
"Michael Espeche <mespeche@openstudio.fr>"
],
"description": "Default template for Thelia 2",
"keywords": [
"template",
"default",
"thelia"
],
"license": "LGPL-3.0+",
"dependencies": {
"html5shiv": "~3.7.2",
"respond": "~1.4.2",
"jquery": "~2.1.3",
"bootstrap": "~3.3.4",
"fontawesome": "~4.3.0",
"bootbox": "~4.4.0"
}
}

View File

@@ -1,178 +0,0 @@
{extends file="layout.tpl"}
{block name="init"}
{$brand_id={brand attr="id"}}
{/block}
{* Body Class *}
{block name="body-class"}page-brand{/block}
{* Page Title *}
{block name='no-return-functions' append}
{if $brand_id}
{loop name="brand.seo.title" type="brand" id=$brand_id limit="1"}
{$page_title = $META_TITLE}
{/loop}
{/if}
{/block}
{* Meta *}
{block name="meta"}
{if $brand_id}
{loop name="brand.seo.meta" type="brand" id=$brand_id limit="1"}
{include file="includes/meta-seo.html"}
{/loop}
{/if}
{/block}
{* Feeds *}
{block name="feeds"}
{if $brand_id}
<link rel="alternate" type="application/rss+xml" title="{intl l='All product in brand %title' title={brand attr='title'}}" href="{url path="/feed/brand/%lang/%brand_id" lang={lang attr='locale'} brand_id=$brand_id}"/>
{/if}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{if $brand_id}
{$breadcrumbs = []}
{if $brand_id}
{loop type="brand" name="brand-breadcrumb" id=$brand_id limit="1"}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]}
{/loop}
{else}
{$breadcrumbs[] = ['title' => {intl l="All brands"}, 'url'=> '']}
{/if}
{/if}
{/block}
{block name="main-content"}
{hook name="brand.top" brand="$brand_id"}
{if $brand_id}
<div class="main row">
{$limit={$smarty.get.limit|default:8}}
{$product_page={$smarty.get.page|default:1}}
{$product_order={$smarty.get.order|default:'alpha'}}
{$mode=$smarty.get.mode|default:'grid'}
{hook name="brand.main-top" brand="$brand_id"}
<article class="col-main col-md-9 col-md-push-3 {$mode}" role="main" aria-labelledby="main-label">
{hook name="brand.content-top" brand="$brand_id"}
{loop name="brand.info" type="brand" id=$brand_id limit="1"}
<section class="brand-description">
<h1 id="main-label" class="page-header">{$TITLE}</h1>
{loop name="brand.image" type="image" source="brand" id={$LOGO_IMAGE_ID} width=218 height=146 resize_mode="borders"}
<p><img itemprop="image" src="{$IMAGE_URL nofilter}" alt="{$TITLE}"></p>
{/loop}
{if $CHAPO}
<div class="chapo">
{$CHAPO}
</div>
{/if}
{if $DESCRIPTION}
<div class="description">
{$DESCRIPTION nofilter}
</div>
{/if}
{if $POSTSCRIPTUM}
<small class="postscriptum">
{$POSTSCRIPTUM}
</small>
{/if}
</section>
{ifloop rel="product_list"}
<hr/>
{assign var="amount" value={count type="product" brand=$ID}}
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
<div id="category-products">
<div class="products-content">
<ul class="list-unstyled row">
{loop type="product" name="product_list" brand=$ID limit=$limit page=$product_page order=$product_order}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true hasQuickView=true width="218" height="146"}
{/loop}
</ul>
</div>
</div><!-- /#category-products -->
{include file="includes/toolbar.html" toolbar="bottom" amount={$amount}}
{/ifloop}
{elseloop rel="product_list"}
<div class="alert alert-warning">
{intl l="No products available in this brand"}
</div>
{/elseloop}
{hook name="brand.content-bottom" brand="$brand_id"}
{/loop}
</article>
<aside class="col-left col-md-3 col-md-pull-9" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
{include file="includes/brand-menu.html"}
</aside>
{hook name="brand.main-bottom" brand="$brand_id"}
</div><!-- /.layout -->
{else}
<div class="main" id="brands">
{hook name="brand.main-top"}
<div class="col-main brands" role="main" aria-labelledby="main-label">
{hook name="brand.content-top"}
{ifloop rel="brands"}
<ul class="list-unstyled">
{loop name="brands" type="brand" with_prev_next_info="true"}
<li class="item">
<article class="row">
<div class="brand-info col-sm-7">
{ifloop rel="brand_logo"}
<a href="{$URL nofilter}" tabindex="-1" class="brand-image overlay col-sm-2">
{loop name="brand_logo" type="image" source="brand" id={$LOGO_IMAGE_ID} width=218 height=146 resize_mode="borders" limit="1"}
<img src="{$IMAGE_URL nofilter}" class="img-responsive" alt="{$TITLE}">
{/loop}
</a>
{/ifloop}
<h2 class="name"><a href="{$URL nofilter}">{$TITLE}</a></h2>
{if $CHAPO}
<div class="short-description">
{$CHAPO}
</div>
{/if}
</div>
</article>
</li>
{/loop}
</ul>
{/ifloop}
{elseloop rel="brand_logo"}
{/elseloop}
{hook name="brand.content-bottom"}
</div>
{hook name="brand.main-bottom"}
</div>
{/if}
{hook name="brand.bottom" brand="$brand_id"}
{/block}
{block name="stylesheet"}
{hook name="brand.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="brand.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="brand.javascript-initialization"}
{/block}

View File

@@ -1,297 +0,0 @@
{extends file="layout.tpl"}
{block name="init"}
{$errorStock = "FALSE"}
{/block}
{* Body Class *}
{block name="body-class"}page-cart{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Cart"}, 'url'=>{url path="/cart"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article id="cart" class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Your Cart"}</h1>
{ifloop rel="cartloop"}
{include file="misc/checkout-progress.tpl" step="cart"}
<div id="errorStock" class="alert alert-warning" style="display:none;">{intl l="We apologize but some of the ordered products are not available any more."}</div>
{hook name="cart.top"}
<div class="table-responsive">
<table class="table table-cart table-bordered">
<colgroup>
<col width="150">
<col>
<col width="150">
<col width="150">
<col width="150">
</colgroup>
<thead>
<tr>
<th class="image">&nbsp;</th>
<th class="product">
<span class="hidden-xs">{intl l="Product Name"}</span>
<span class="visible-xs">{intl l="Name"}</span>
</th>
<th class="unitprice">
<span class="hidden-xs">{intl l="Unit Price incl. taxes"}</span>
<span class="visible-xs">{intl l="Price"}</span>
</th>
<th class="qty">
<span class="hidden-xs">{intl l="Quantity"}</span>
<span class="visible-xs">{intl l="Qty"}</span>
</th>
<th class="subprice">
<span class="hidden-xs">{intl l="Total incl. taxes"}</span>
<span class="visible-xs">{intl l="Total"}</span>
</th>
</tr>
</thead>
<tbody>
{loop type="cart" name="cartloop"}
<tr id="cart_item_id_{$ITEM_ID}">
<td class="image">
<a href="{$PRODUCT_URL nofilter}" class="thumbnail">
{assign var="product_image_url" value=null}
{ifloop rel="pse-first-image"}
{loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id=$PRODUCT_SALE_ELEMENTS_ID limit="1"}
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
{assign var="product_image_url" value=$IMAGE_URL}
{/loop}
{/loop}
{/ifloop}
{elseloop rel="pse-first-image"}
{loop type="image" name="product-image" product=$PRODUCT_ID limit="1" width="118" height="85" force_return="true"}
{assign var="product_image_url" value=$IMAGE_URL}
{/loop}
{/elseloop}
{if $product_image_url}
<img itemprop="image" src="{$product_image_url nofilter}" alt="Product #{$LOOP_COUNT}">
{else}
<img itemprop="image" src="{image file='assets/dist/img/product/1/118x85.png'}" alt="Product #{$LOOP_COUNT}">
{/if}
</a>
</td>
<td class="product" >
<h3 class="name"><a href="{$PRODUCT_URL nofilter}">{$TITLE}</a></h3>
<div class="product-options">
<dl class="dl-horizontal">
<dt class="stockView">{intl l="Available"} :</dt>
{if $STOCK > 0}
<dd>{intl l="In Stock"}</dd>
{else}
{$errorStock="TRUE"}
<dd>{intl l="Out of Stock"}</dd>
{/if}
{loop type="product_sale_elements" name="ref" id=$PRODUCT_SALE_ELEMENTS_ID}
<dt class="refView">{intl l="No."}</dt>
<dd>{$REF}</dd>
{/loop}
{loop type="attribute_combination" name="product_options" product_sale_elements="$PRODUCT_SALE_ELEMENTS_ID" order="manual"}
<dt class="attributeView">{$ATTRIBUTE_TITLE}</dt>
<dd>{$ATTRIBUTE_AVAILABILITY_TITLE}</dd>
{/loop}
</dl>
</div>
<a href="{token_url path="/cart/delete/%item_id" item_id=$ITEM_ID success_url={url path='/cart'}}" class="btn btn-link"><i class="fa fa-trash"></i> {intl l="Remove"}</a>
</td>
<td class="unitprice">
<div class="special-price"><span class="price">{format_money number=$REAL_TAXED_PRICE}</span></div>
{if $IS_PROMO == 1}
<small class="old-price">{intl l="instead of"} <span class="price">{format_money number=$TAXED_PRICE}</span></small>
{/if}
</td>
<td class="qty">
<div class="form-group group-qty">
<form action="{token_url path="/cart/update"}" class="form-inline" method="post">
<input type="hidden" name="success_url" value="{url path='/cart'}">
<input type="hidden" name="cart_item" value="{$ITEM_ID}">
<div class="form-group">
{if $STOCK <= 500}
<select name="quantity" class="form-control" >
{for $will=1 to $STOCK}
<option {if $QUANTITY == $will}selected="selected"{/if}>{$will}</option>
{/for}
</select>
{else}
<input name="quantity" class="form-control" type="number" min="1" max="{$STOCK}" value ="{$QUANTITY}">
{/if}
</div>
<button type="submit" title="{intl l="Update Quantity"}" class="btn btn-primary sr-only">{intl l="+"}</button>
</form>
</div>
</td>
<td class="subprice">
<span class="price">{format_money number=$REAL_TOTAL_TAXED_PRICE}</span>
</td>
</tr>
{/loop}
{if {cart attr="is_virtual"} != 1}
{postage}
{assign var="postageAmount" value=$postage }
<tr>
<td class="product" colspan="2">
<form action="{url path="/cart/country"}" class="form-inline" method="post">
<h3>
{intl l="Estimated shipping "}
{if $is_customizable == false}
{loop type="country" name="countryLoop" id="$country_id"}
{intl l="for"} {$TITLE}
{/loop}
{/if}
</h3>
{if $is_customizable}
<div>
<label for="cart-country">{intl l="Select your country:"}</label>
<select id="cart-country" name="country">
{loop type="country" name="countryLoop" with_area="true" order="alpha"}
<option value="{$ID}" {if $ID == $country_id }selected="selected" {/if}>{$TITLE}</option>
{/loop}
</select>
<a class="btn btn-link btn-change-country" href="#"><i class="fa fa-refresh"></i> {intl l="update"}</a>
</div>
{/if}
{if $delivery_id != 0 }
<div>
{intl l="with:"} {loop type="module" name="deliveryLoop" id=$delivery_id}{$TITLE} {/loop}
</div>
{else}
<div class="alert alert-danger">
{intl l="No deliveries available for this cart and this country"}
</div>
{/if}
</form>
</td>
<td class="unitprice">{format_money number=$postage}</td>
<td class="qty">-</td>
<td class="subprice">{format_money number=$postage}</td>
</tr>
{/postage}
{else}
{assign var="postageAmount" value=0 }
{/if}
</tbody>
<tfoot>
<tr>
<td colspan="3" class="empty">&nbsp;</td>
<td colspan="2">
{form name="thelia.order.coupon"}
<form id="form-coupon" action="{url path="/order/coupon"}" method="post" {form_enctype}>
{form_hidden_fields}
{form_field field='success_url'}
<input type="hidden" name="{$name}" value="{url path="/cart"}" />
{/form_field}
{form_field field='error_url'}
<input type="hidden" name="{$name}" value="{url path="/cart"}" />
{/form_field}
{form_field field='coupon-code'}
<div class="{if $form_error}has-error{/if}">
<div class="input-group">
<label class="control-label sr-only" for="code">{intl l='Code :'}</label>
<input id="coupon" class="form-control" type="text" name="{$name}" value="{$value}" placeholder="{intl l='Coupon code'}" required>
<span class="input-group-btn">
<button type="submit" class="btn btn-default">{intl l="Ok"}</button>
</span>
</div>
{if $form_error_message}<span class="help-block">{$form_error_message nofilter}</span>{/if}
</div>
{/form_field}
</form>
{/form}
</td>
</tr>
{$discount={order attr="discount"}}
{if $discount > 0}
<tr>
<td colspan="3" class="empty">&nbsp;</td>
<th class="discount">{intl l="Discount incl. taxes"}</th>
<td><span class="price">-{format_money number=$discount}</span></td>
</tr>
{/if}
<tr>
<td colspan="3" class="empty">&nbsp;</td>
<th class="total">{intl l="Total incl. taxes"}</th>
<td class="total">
<div class="total-price">
<span class="price">{format_money number={cart attr='total_taxed_price'} + $postageAmount}</span>
</div>
</td>
</tr>
</tfoot>
</table>
</div>
<a href="{navigate to="catalog_last"}" role="button" class="btn btn-default"><i class="fa fa-chevron-left"></i> {intl l="Continue Shopping"}</a>
<a href="{url path="/order/delivery"}" class="btn btn-primary pull-right"><i class="fa fa-chevron-right"></i> {intl l="Proceed checkout"}</a>
{/ifloop}
{elseloop rel="cartloop"}
<div class="cart-warning alert alert-warning">
<strong>{intl l="Warning"}!</strong> {intl l="You have no items in your shopping cart."}
</div>
{/elseloop}
{hook name="cart.bottom"}
</article>
{ifloop rel="product_upsell"}
<aside id="products-upsell" class="grid" role="complementary" aria-labelledby="products-upsell-label">
<div class="products-heading">
<h3 id="products-upsell-label">{intl l="Upsell Products"}</h3>
</div>
<div class="products-content">
<ul class="products-grid list-unstyled row">
{loop name="product_upsell" type="product" promo="yes" limit="5"}
{include file="includes/single-product.html" colClass="col-md-2" product_id=$ID hasBtn=false hasDescription=true width="218" height="146"}
{/loop}
</ul>
</div>
</aside><!-- #products-upsell -->
{/ifloop}
</div>
{/block}
{block name="after-javascript-include"}
<script>
$(document).ready(function(){
$("select[name=quantity]").change(function(){
$(this).parents('form').submit();
});
$("input[name=quantity]").change(function(){
$(this).parents('form').submit();
});
$(".btn-change-country").click(function(e){
e.preventDefault();
var $form = $(this).parents('form');
$form.submit();
})
{if $errorStock=="TRUE"}
$("#errorStock").show();
{/if}
});
</script>
{hook name="cart.after-javascript-include"}
{/block}
{block name="stylesheet"}
{hook name="cart.stylesheet"}
{/block}
{block name="javascript-initialization"}
{hook name="cart.javascript-initialization"}
{/block}

View File

@@ -1,149 +0,0 @@
{extends file='layout.tpl'}
{block name="init"}
{$category_id={category attr="id"}}
{/block}
{* Body Class *}
{block name="body-class"}page-category{/block}
{* Page Title *}
{block name='no-return-functions' append}
{if $category_id}
{loop name="category.seo.title" type="category" id=$category_id limit="1"}
{$page_title = $META_TITLE}
{/loop}
{/if}
{/block}
{* Meta *}
{block name="meta"}
{if $category_id}
{loop name="category.seo.meta" type="category" id=$category_id limit="1"}
{include file="includes/meta-seo.html"}
{/loop}
{/if}
{/block}
{* Feeds *}
{block name="feeds"}
{if $category_id}
<link rel="alternate" type="application/rss+xml" title="{intl l='All products in'} {category attr='title'}" href="{url path="/feed/catalog/%lang/%category_id" lang={lang attr="locale"} category_id={category attr="id"}}" />
{/if}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{if $category_id}
{$breadcrumbs = []}
{loop name="category_path" type="category-path" category=$category_id}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]}
{/loop}
{/if}
{/block}
{* Content *}
{block name="main-content"}
{$limit={$smarty.get.limit|default:8}}
{$product_page={$smarty.get.page|default:1}}
{$product_order={$smarty.get.order|default:'alpha'}}
{hook name="category.top" category="$category_id"}
<div class="main row">
{hook name="category.main-top" category="$category_id"}
<article class="col-main col-md-9 col-md-push-3 {$smarty.get.mode|default:"grid"}" role="main">
{hook name="category.content-top" category="$category_id"}
{if #category_display_detail# && $category_id}
<section class="category-description">
{loop name="category.description" type="category" id={$category_id} limit="1" }
<h1 id="main-label" class="page-header">{category attr="title"}</h1>
{loop name="category.image" type="image" source="category" source_id={$ID} width=218 height=146 resize_mode="borders"}
<p><img itemprop="image" src="{$IMAGE_URL nofilter}" alt="{$TITLE}"></p>
{/loop}
{if $DESCRIPTION}
<div class="description">
{$DESCRIPTION nofilter}
</div>
{/if}
{if $POSTSCRIPTUM}
<small class="postscriptum">
{$POSTSCRIPTUM}
</small>
{/if}
{/loop}
</section>
<hr/>
{/if}
{if #category_display_subcategories#}
{ifloop rel="subcategories"}
<div class="block-links">
<div class="block-content">
<ul>
{loop name="subcategories" type="category" parent=$category_id}
<li>
<a href="{$URL}">{$TITLE}</a>
</li>
{/loop}
</ul>
</div>
</div>
{/ifloop}
{/if}
{ifloop rel="product_list"}
{$amount={count type="product" category=$category_id}}
{include file="includes/toolbar.html" toolbar="top" limit=$limit order=$product_order amount={$amount}}
<div id="category-products">
<div class="products-content">
<ul class="list-unstyled row">
{loop type="product" name="product_list" category=$category_id limit=$limit page=$product_page order=$product_order}
{include file="includes/single-product.html" product_id=$ID hasBtn=true hasDescription=true hasQuickView=true width="218" height="146"}
{/loop}
</ul>
</div>
</div><!-- /#category-products -->
{include file="includes/toolbar.html" toolbar="bottom" amount={$amount}}
{/ifloop}
{elseloop rel="product_list"}
<div class="alert alert-warning">
{intl l="No products available in this category"}
</div>
{/elseloop}
{hook name="category.content-bottom" category="$category_id"}
</article>
<aside class="col-left col-md-3 col-md-pull-9" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
{include file="includes/menu.html"}
</aside>
{hook name="category.main-bottom" category="$category_id"}
</div>
{hook name="category.bottom" category="$category_id"}
{/block}
{block name="stylesheet"}
{hook name="category.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="category.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="category.javascript-initialization"}
{/block}

View File

@@ -1,10 +0,0 @@
{
"name": "thelia/frontoffice-default-template",
"type": "thelia-frontoffice-template",
"require": {
"thelia/installer": "~1.1"
},
"extra": {
"installer-name": "default"
}
}

View File

@@ -1,21 +0,0 @@
# Display
category_display_detail = true
category_display_subcategories = false
folder_display_detail = true
folder_display_subfolders = false
# Maximum number of lines in lists
# --------------------------------
max_displayed_orders = 20
max_displayed_customers = 20
# order status - seems ununsed ?
# ------------------------------
order_not_paid = 'warning'
order_paid = 'success'
order_processing = 'primary'
order_sent = 'info'
order_canceled = 'danger'

View File

@@ -1,13 +0,0 @@
{extends file="contact.html"}
{block name="contact-form"}
<div class="contact-success alert alert-success text-center">
{ifhook rel="contact.success"}
{hook name="contact.success"}
{/ifhook}
{elsehook rel="contact.success"}
<h2 class="fa fa-comments">{intl l="Thanks !"}</h2>
<p>{intl l="Thanks for your message, we will contact as soon as possible."}</p>
{/elsehook}
</div>
{/block}

View File

@@ -1,118 +0,0 @@
{extends file="layout.tpl"}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [['title' => {intl l="Contact Us"}, 'url'=>{url path="/contact"}]]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Contact Us"}</h1>
{ifhook rel="contact.top"}
{hook name="contact.top"}
{/ifhook}
{elsehook rel="contact.top"}
<div id="google-map">
{assign var="address" value="{config key="store_address1"} {config key="store_address2"} {config key="store_address3"}, {config key="store_city"}, {config key="store_country"}"}
<iframe class="map" width="100%" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://maps.google.com/maps?f=q&source=s_q&geocode=&q={$address|escape:'url'}&output=embed"></iframe>
</div><!-- / #google-map-->
{/elsehook}
{block name="contact-form"}
{form name="thelia.front.contact"}
<form id="form-contact" action="{url path="/contact"}" method="post">
{form_hidden_fields}
{hook name="contact.form-top"}
<fieldset id="contact-info" class="panel panel-default">
<div class="panel-heading">
{intl l="Send us a message"}
</div>
<div class="panel-body">
<div class="row">
{form_field field="name"}
<div class="form-group group-name col-sm-6{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder contact name"}" value="{$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif $value != "" && !$error}
<span class="help-block"><i class="fa fa-check"></i></span>
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="email"}
<div class="form-group group-email col-sm-6{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<input type="email" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder contact email"}" value="{$value}"{if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
</div>
{form_field field="subject"}
<div class="form-group group-subject{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<input type="text" name="{$name}" id="{$label_attr.for}" class="form-control" maxlength="255" placeholder="{intl l="Placeholder contact subject"}" value="{$value}" {if $required} aria-required="true" required{/if}{if !isset($error_focus) && $error} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
{form_field field="message"}
<div class="form-group group-message{if $error} has-error{/if}">
<label class="control-label" for="{$label_attr.for}">{$label}{if $required} <span class="required">*</span>{/if}</label>
<div class="control-input">
<textarea name="{$name}" id="{$label_attr.for}" placeholder="{intl l="Placeholder contact message"}" rows="6" class="form-control"{if $required} aria-required="true" required{/if}>{$value}</textarea>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{/if}
</div>
</div><!--/.form-group-->
{/form_field}
</div>
</fieldset>
{hook name="contact.form-bottom"}
<div class="form-group group-btn">
<div class="control-btn">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Send"}</button>
</div>
</div><!--/.form-group-->
</form>
{/form}
{/block}
{hook name="contact.bottom"}
</article>
</div>
{/block}
{block name="stylesheet"}
{hook name="contact.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="contact.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="contact.javascript-initialization"}
{/block}

View File

@@ -1,110 +0,0 @@
{extends file="layout.tpl"}
{block name='init'}
{assign var="content_id" value={content attr="id"}}
{/block}
{* Body Class *}
{block name="body-class"}page-content{/block}
{* Page Title *}
{block name='no-return-functions' append}
{if {$content_id}}
{loop name="content.seo.title" type="content" id={$content_id} limit="1"}
{$page_title = $META_TITLE}
{/loop}
{/if}
{/block}
{* Meta *}
{block name="meta"}
{if $content_id}
{loop name="content.seo.meta" type="content" id=$content_id limit="1"}
{include file="includes/meta-seo.html"}
{/loop}
{/if}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{if $content_id}
{$breadcrumbs = []}
{loop type="content" name="content-breadcrumb" id=$content_id limit="1"}
{loop name="folder_path" type="folder-path" folder={$DEFAULT_FOLDER}}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]}
{/loop}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]}
{/loop}
{/if}
{/block}
{block name="main-content"}
{if $content_id}
{hook name="content.top" content="$content_id"}
<div class="main row">
{hook name="content.main-top" content="$content_id"}
<article id="content-main" class="col-main col-md-9 col-md-push-3" role="main" aria-labelledby="main-label">
{hook name="content.content-top" content="$content_id"}
{loop name="blog.content" type="content" id=$content_id limit="1"}
<h1 id="main-label" class="page-header">{$TITLE}</h1>
{if $CHAPO}
<div class="chapo">
{$CHAPO}
</div>
{/if}
{if $DESCRIPTION}
<div class="description">
{$DESCRIPTION nofilter}
</div>
{/if}
{ifloop rel="blog.document"}
<div class="documents">
<ul>
{loop name="blog.document" type="document" content={$ID}}
<li><a href="{$DOCUMENT_URL nofilter}" target="_blank">{$TITLE}</a></li>
{/loop}
</ul>
</div>
{/ifloop}
{if $POSTSCRIPTUM}
<small class="postscriptum">
{$POSTSCRIPTUM}
</small>
{/if}
{/loop}
{hook name="content.content-bottom" content="$content_id"}
</article>
<aside class="col-left col-md-3 col-md-pull-9" role="complementary" itemscope itemtype="http://schema.org/WPSideBar">
{include file="includes/asides/articles.html"}
</aside>
{hook name="content.main-bottom" content="$content_id"}
</div><!-- /.layout -->
{hook name="content.bottom" content="$content_id"}
{else}
<div class="main">
<article id="content-main" class="col-main" role="main" aria-labelledby="main-label">
{include file="includes/empty.html"}
</article>
</div><!-- /.layout -->
{/if}
{/block}
{block name="stylesheet"}
{hook name="content.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="content.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="content.javascript-initialization"}
{/block}

View File

@@ -1,39 +0,0 @@
{extends file="layout.tpl"}
{* Body Class *}
{block name="body-class"}page-currency{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Currency"}, 'url'=>{url path="/currency"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="SELECT YOUR CURRENCY"}</h1>
{hook name="currency.top"}
<ul class="nav nav-tabs nav-justified" style="margin-bottom:60px;">
{loop type="currency" name="currency_available"}
<li{if $ID eq {currency attr="id"}} class="active"{/if}><a href="{url current="1" currency={$ISOCODE}}">{$SYMBOL} - {$NAME}</a></li>
{/loop}
</ul>
{hook name="currency.bottom"}
</article>
</div>
{/block}
{block name="stylesheet"}
{hook name="currency.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="currency.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="currency.javascript-initialization"}
{/block}

View File

@@ -1,36 +0,0 @@
{extends file="layout.tpl"}
{block name="body-class"}page-error{/block}
{block name="main-content"}
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="alert alert-warning">
<h3>{intl l='An error occurred'}</h3>
<p>
{intl
l="We're sorry but an error occured. Please try to contact the site <a href='mailto:%mail'>administrator</a>"
mail={config key='store_email'}
}
</p>
<br/>
<button class="btn btn-default btn-primary btn-error-go-back">
{intl l="Go back to the previous page"}
</button>
</div>
</div>
</div>
</div>
{/block}
{block name="javascript-initialization"}
<script>
$(".btn-error-go-back").click(function() {
history.back();
});
</script>
{/block}

View File

@@ -1,108 +0,0 @@
<?xml version="1.0"?>
<rss version="2.0">
{* @todo order item by create date desc *}
{assign var="store_name" value="{config key="store_name"}"}
{loop type="lang" name="lang" id=$_lang_}
{assign var="locale" value="{$LOCALE}"}
{/loop}
{if $_context_ == "catalog"}
<channel>
{if $_id_ == "" }
<title>{intl l="All products in"} {$store_name}</title>
<link>{url path="/"}</link>
<description>{$store_name}</description>
<language>{$locale|replace:'_':'-'|lower}</language>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{else}
{loop type="category" name="category" id=$_id_ lang=$_lang_ }
<title>{intl l="All products in"} {$TITLE} - {$store_name}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<language>{$LOCALE|replace:'_':'-'|lower}</language>
<pubDate>{format_date date=$UPDATE_DATE format="r"}</pubDate>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{/loop}
{/if}
{loop type="product" name="product" category_default=$_id_ lang=$_lang_ order="id_reverse" }
<item>
<title>{$TITLE}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<pubDate>{format_date date=$CREATE_DATE format="r"}</pubDate>
<guid>{$URL nofilter}</guid>
</item>
{/loop}
</channel>
{elseif $_context_ == "brand"}
<channel>
{if $_id_ == "" }
<title>{intl l="All brands in %store" store="$store_name"}</title>
<link>{url path="/"}</link>
<description>{$store_name}</description>
<language>{$locale|replace:'_':'-'|lower}</language>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{loop type="brand" name="brand-list" lang=$_lang_ order="id-reverse" }
<item>
<title>{$TITLE}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<pubDate>{format_date date=$CREATE_DATE format="r"}</pubDate>
<guid>{$URL nofilter}</guid>
</item>
{/loop}
{else}
{loop type="brand" name="brand-desc" lang=$_lang_ id=$_id_}
<title>{intl l="All products for brand %title in %store" title="{$TITLE}" store="{$store_name}"}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<language>{$locale|replace:'_':'-'|lower}</language>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{/loop}
{/if}
{loop type="product" name="products-in-brand" brand=$_id_ lang=$_lang_ order="id_reverse" }
<item>
<title>{$TITLE}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<pubDate>{format_date date=$CREATE_DATE format="r"}</pubDate>
<guid>{$URL nofilter}</guid>
</item>
{/loop}
</channel>
{else}
<channel>
{if $_id_ == "" }
<title>{intl l="All contents in"} {$store_name}</title>
<link>{url path="/"}</link>
<description>{$store_name}</description>
<language>{$locale|replace:'_':'-'|lower}</language>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{else}
{loop type="folder" name="folder" id=$_id_ lang=$_lang_ }
<title>{intl l="All contents in"} {$TITLE} - {$store_name}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<language>{$LOCALE|replace:'_':'-'|lower}</language>
<pubDate>{format_date date=$UPDATE_DATE format="r"}</pubDate>
<lastBuildDate>{$smarty.now|date_format:'r'}</lastBuildDate>
<generator>Thelia 2.0</generator>
{/loop}
{/if}
{loop type="content" name="content" folder_default=$_id_ lang=$_lang_ }
<item>
<title>{$TITLE}</title>
<link>{$URL nofilter}</link>
<description>{$CHAPO}</description>
<pubDate>{format_date date=$CREATE_DATE format="r"}</pubDate>
<guid>{$URL nofilter}</guid>
</item>
{/loop}
</channel>
{/if}
</rss>

View File

@@ -1,159 +0,0 @@
{extends file="layout.tpl"}
{block name="init"}
{$folder_id={folder attr="id"}}
{/block}
{* Body Class *}
{block name="body-class"}page-folder{/block}
{* Page Title *}
{block name='no-return-functions' append}
{if $folder_id}
{loop name="folder.seo.title" type="folder" id=$folder_id limit="1"}
{$page_title = $META_TITLE}
{/loop}
{/if}
{/block}
{* Meta *}
{block name="meta"}
{if $folder_id}
{loop name="folder.seo.meta" type="folder" id=$folder_id limit="1"}
{include file="includes/meta-seo.html"}
{/loop}
{/if}
{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{if $folder_id}
{$breadcrumbs = []}
{loop name="folder_path" type="folder-path" folder=$folder_id}
{$breadcrumbs[] = ['title' => {$TITLE}, 'url'=> {$URL nofilter}]}
{/loop}
{/if}
{/block}
{block name="feeds"}
<link rel="alternate" type="application/rss+xml" title="{intl l='All contents in'} {folder attr='title'}" href="{url path="/feed/content/%lang/%folder_id" lang={lang attr="locale"} folder_id={folder attr="id"}}" />
{/block}
{* Content *}
{block name="main-content"}
{assign var="$folder_id" value={folder attr="id"}}
{hook name="folder.top" folder="$folder_id"}
<div class="main">
{hook name="folder.main-top" folder="$folder_id"}
<div class="col-main contents-list list-unstyled" role="main" aria-labelledby="main-label">
{hook name="folder.content-top" folder="$folder_id"}
{if $folder_id}
{loop name="folder" type="folder" id=$folder_id limit="1"}
<h1 id="main-label" class="page-header">{$TITLE}</h1>
{if $CHAPO}
<div class="folder-chapo">
{$CHAPO}
</div>
{/if}
{if $DESCRIPTION}
<div class="folder-description">
{$DESCRIPTION nofilter}
</div>
{/if}
<div id="folder-contents">
<div class="contents">
{ifloop rel="folder_content"}
<ul class="list-unstyled">
{loop name="folder_content" type="content" folder="$ID"}
<li class="item">
<article class="row">
{ifloop rel="content_thumbnail"}
<a href="{$URL nofilter}" tabindex="-1" class="content-image overlay col-sm-2">
{loop name="content_thumbnail" type="image" width="369" height="247" content=$ID limit="1"}
<img src="{$IMAGE_URL nofilter}" class="img-responsive" alt="{$TITLE}">
{/loop}
</a>
{/ifloop}
<div class="content-info col-sm-7">
<h3 class="name"><a href="{$URL nofilter}">{$TITLE}</a></h3>
{if $CHAPO}
<div class="short-description">
{$CHAPO}
</div>
{/if}
</div>
</article><!-- /content -->
</li>
{/loop}
</ul>
{/ifloop}
{elseloop rel="folder_content"}
<div class="alert alert-warning">
{intl l="No Contents in this folder."}
</div>
{/elseloop}
</div>
</div><!-- /#category-products -->
{ifloop rel="blog.document"}
<div class="documents">
<ul>
{loop name="blog.document" type="document" folder={$ID}}
<li><a href="{$DOCUMENT_URL nofilter}" target="_blank">{$TITLE}</a></li>
{/loop}
</ul>
</div>
{/ifloop}
{if $POSTSCRIPTUM}
<small class="folder-postscriptum">
{$POSTSCRIPTUM}
</small>
{/if}
{/loop}
{else}
{ifloop rel="folders"}
<ul>
{loop name="folders" type="folder"}
<li class="item">
<article>
<div class="content-info">
<h2 class="name"><a href="{$URL nofilter}">{$TITLE}</a></h2>
{if $CHAPO}
<div class="short-description">
{$CHAPO}
</div>
{/if}
</div>
</article>
</li>
{/loop}
</ul>
{/ifloop}
{/if}
{hook name="folder.content-bottom" folder="$folder_id"}
</div>
{hook name="folder.main-bottom" folder="$folder_id"}
</div>
{hook name="folder.bottom" folder="$folder_id"}
{/block}
{block name="stylesheet"}
{hook name="folder.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="folder.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="folder.javascript-initialization"}
{/block}

View File

@@ -1,63 +0,0 @@
{* This page should not replace the current previous URL *}
{set_previous_url ignore_current="1"}
{default_translation_domain domain='fo.custom'}
{loop type="product" name="add_product_to_cart" id={product attr="id"}}
<div class="clearfix">
<table>
<tr>
<td colspan="3">
<h3 class="text-center">{intl l="The product has been added to your cart" }</h3>
</td>
</tr>
<tr>
<td class="col-md-4">
{ifloop rel="pse-first-image"}
{loop type="product-sale-elements-image" name="pse-first-image" product_sale_elements_id={$smarty.get.pse_id} limit="1"}
{loop type="image" name="product-image" id=$PRODUCT_IMAGE_ID product=$ID limit="1" width="218" height="146" resize_mode="borders"}
<img itemprop="image" src="{$IMAGE_URL nofilter}" alt="Product #{$LOOP_COUNT}">
{/loop}
{/loop}
{/ifloop}
{elseloop rel="pse-first-image"}
{loop type="image" name="product-image" product=$ID limit="1" width="218" height="146" resize_mode="borders"}
<img itemprop="image" src="{$IMAGE_URL nofilter}" alt="Product #{$LOOP_COUNT}">
{/loop}
{/elseloop}
</td>
<td class="col-md-4">
<h2>{$TITLE}</h2>
{loop type="attribute_combination" name="product_options" product_sale_elements={$smarty.get.pse_id} order="manual"}
<p>{$ATTRIBUTE_TITLE} : {$ATTRIBUTE_AVAILABILITY_TITLE}</p>
{/loop}
</td>
<td class="col-md-4">
{loop type="product_sale_elements" name="product_price" id={$smarty.get.pse_id}}
{if $IS_PROMO == 1}
<div class="special-price"><span class="price">{format_money number=$TAXED_PROMO_PRICE}</span></div>
<small class="old-price"> <span class="price">{format_money number=$TAXED_PRICE}</span></small>
{else}
<div class="special-price"><span class="price">{format_money number=$TAXED_PRICE}</span></div>
{/if}
{/loop}
</td>
</tr>
</table>
<a href="{url path="/cart"}" role="button" class="btn btn-primary pull-right"><i class="fa fa-shopping-cart"></i> {intl l="View Cart"}</a>
<button type="button" class="btn btn-default pull-right" data-dismiss="modal"><i class="fa fa-chevron-right"></i> {intl l="Continue Shopping"}</button>
</div>
{ifloop rel="accessories"}
<aside id="products-upsell" class="grid" role="complementary" aria-labelledby="products-upsell-label">
<div class="products-heading">
<h3 id="products-upsell-label">{intl l="Upsell Products"}</h3>
</div>
<div class="products-content">
<ul class="list-unstyled row products-grid">
{loop type="accessory" name="accessories" product="$ID" order="random" limit="3"}
{include file="includes/single-product.html" product_id=$ACCESSORY_ID hasBtn=false hasDescription=false width="218" height="146"}
{/loop}
</ul>
</div>
</aside><!-- #products-upsell -->
{/ifloop}
{/loop}

View File

@@ -1,19 +0,0 @@
{hook name="content.sidebar-top"}
{ifhook rel="content.sidebar-body"}
{hook name="content.sidebar-body"}
{/ifhook}
{elsehook rel="content.sidebar-body"}
<section id="categories" class="block block-nav" role="navigation" aria-labelledby="categories-label">
<div class="block-heading"><h3 class="block-title" >{intl l="Related"}</h3></div>
<div class="block-content">
<nav class="nav-categories">
<ul id="category" class="accordion">
{loop name="blog.article" type="content" current_folder="yes" exclude="{content attr="id"}"}
<li><a href="{$URL nofilter}">{$TITLE}</a></li>
{/loop}
</ul>
</nav>
</div>
</section>
{/elsehook}
{hook name="content.sidebar-bottom"}

View File

@@ -1,20 +0,0 @@
{$brand_id = {brand attr="id"}}
{hook name="brand.sidebar-top" brand=$brand_id}
{ifhook rel="brand.sidebar-body"}
{hook name="brand.sidebar-body" brand=$brand_id}
{/ifhook}
{elsehook rel="brand.sidebar-body"}
<section id="brands" class="block block-nav" role="navigation" aria-labelledby="brands-label">
<div class="block-heading"><h3 class="block-title" id="brands-label">{intl l="Brands"}</h3></div>
<div class="block-content">
<nav class="nav-brands">
<ul id="brand" class="accordion">
{loop name="brands-list" type="brand"}
<li><a href="{$URL nofilter}">{$TITLE} ({count type="product" brand={$ID}})</a></li>
{/loop}
</ul>
</nav>
</div>
</section>
{/elsehook}
{hook name="brand.sidebar-bottom" brand=$brand_id}

View File

@@ -1,10 +0,0 @@
{if ! $title_empty}
{$title={intl l="The page cannot be found"}}
{/if}
<h1 id="main-label" class="page-header">{$title}</h1>
{if ! $message_empty}
<div class="description">
{$message_empty nofilter}
</div>
{/if}

View File

@@ -1,76 +0,0 @@
{$category_id = {category attr="id"}}
{hook name="category.sidebar-top" category=$category_id}
{ifhook rel="category.sidebar-body"}
{hook name="category.sidebar-body" category=$category_id}
{/ifhook}
{elsehook rel="category.sidebar-body"}
<section id="categories" class="block block-nav" role="navigation" aria-labelledby="categories-label">
<div class="block-heading">
<h3 class="block-title" id="categories-label">{intl l="Categories"}</h3>
</div>
<div class="block-content">
<nav class="nav-categories">
{assign var="parent_cat" value={category attr="parent"}}
{assign var="parent_cat_ids" value=[]}
{* While it's not the top level category *}
{while $parent_cat != 0}
{assign var="current_loop_cat" value=$parent_cat}
{loop name="set_parent_category" type="category" id=$parent_cat}
{assign var="parent_cat" value=$PARENT}
{append var="parent_cat_ids" value=$ID}
{/loop}
{/while}
{* define the function *}
{function menu level=0}
{if $level == 0}
<ul id="category" class="accordion">
{else}
{if in_array($parent, $parent_cat_ids)}
<ul id="collapse{$parent}" class="in">
{else}
<ul id="collapse{$parent}" class="collapse">
{/if}
{/if}
{loop name="cat-parent-$level" type="category" parent=$parent need_count_child=1 not_empty="1"}
{if $CHILD_COUNT > 0}
{if in_array($ID, $parent_cat_ids)}
{assign var="collapsed" value=""}
{else}
{assign var="collapsed" value="collapsed"}
{/if}
<li>
<a href="{$URL nofilter}">
{$TITLE} ({count type="product" category=$ID})
</a>
<a href="#collapse{$ID}" class="accordion-toggle {$collapsed}" data-toggle="collapse" data-parent="#collapse{$ID}"></a>
{menu parent=$ID level=$level+1}
</li>
{else}
<li>
<a href="{$URL nofilter}">
{$TITLE} ({count type="product" category=$ID})
</a>
</li>
{/if}
{/loop}
</ul>
{/function}
{menu parent='0'}
</nav>
</div>
</section>
{/elsehook}
{hook name="category.sidebar-bottom" category=$category_id}

View File

@@ -1,6 +0,0 @@
{if $META_DESCRIPTION}
<meta name="description" content="{$META_DESCRIPTION}">
{elseif $CHAPO}
<meta name="description" content="{$CHAPO|truncate:150:""}">
{/if}
{if $META_KEYWORDS}<meta name="keywords" content="{$META_KEYWORDS}">{/if}

View File

@@ -1 +0,0 @@
{hook name="mini-cart"}

View File

@@ -1,34 +0,0 @@
<div class="jumbotron">
<h1>{intl l="Product Empty Title"}</h1>
{intl l="Product Empty Message"}
<p><a href="{url path="/admin"}" class="btn btn-jumbotron btn-lg" role="button">{intl l="Product Empty Button"}</a></p>
</div>
<section id="products-new">
<div class="products-heading">
<h2>{intl l="Latest"}</h2>
</div>
<div class="products-content">
<ul class="list-unstyled row">
{for $count=1 to 4}
<li class="item col-md-3">
<article>
<a href="{url path="/admin"}" tabindex="-1" class="product-image overlay">
<img src="{image file='assets/dist/img/280x196.png'}" class="img-responsive" alt="{intl l="Demo product title"}">
</a>
<a href="{url path="/admin"}" class="product-info">
<h3 class="name">{intl l="Demo product title"}</h3>
<div class="short-description">{intl l="Demo product description"}</div>
<div class="product-price">
<div class="price-container">
<span class="regular-price"><span class="price">{format_money number=99.99}</span></span>
</div>
</div>
</a>
</article><!-- /product -->
</li>
{/for}
</ul>
</div>
</section><!-- #products-new -->

View File

@@ -1,122 +0,0 @@
<li class="item {$colClass|default:"col-md-3"}">
{if $PSE_COUNT > 1}
{assign var="hasSubmit" value = false}
{else}
{assign var="hasSubmit" value = true}
{/if}
{assign var="productTitle" value="{$TITLE}"}
{if not $product_id}
{assign var="product_id" value=$ID}
{/if}
<article class="row" itemscope itemtype="http://schema.org/Product">
{hook name="singleproduct.top" product="{$product_id}"}
<a href="{$URL nofilter}" itemprop="url" tabindex="-1" class="product-image{if $hasQuickView == true} product-quickview{/if} overlay col-sm-3">
{loop name="product_thumbnail" type="image" product=$product_id width="{$width}" height="{$height}" resize_mode="borders" limit="1"}
<img itemprop="image" src="{$IMAGE_URL nofilter}" class="img-responsive" alt="{$productTitle}">
{/loop}
{elseloop rel="product_thumbnail"}
<img itemprop="image" src="{image file='assets/dist/img/218x146.png'}" class="img-responsive" alt="{$productTitle}">
{/elseloop}
</a>
<div class="product-info col-sm-6">
<h2 class="name"><a href="{$URL nofilter}"><span itemprop="name">{$productTitle}</span></a></h2>
{if $hasDescription}
<div class="description" itemprop="description">
<p>{$DESCRIPTION nofilter}</p>
</div>
{/if}
</div>
{* Stock *}
{assign var="current_stock_content" value = "in_stock"}
{assign var="current_stock_href" value = "http://schema.org/InStock"}
{if {config key="check-available-stock"} != 0}
{if $VIRTUAL == 0 && $QUANTITY <= 0}
{assign var="current_stock_content" value = "out_stock"}
{assign var="current_stock_href" value = "http://schema.org/OutOfStock"}
{/if}
{/if}
<div class="product-price col-sm-3">
<div class="price-container row" itemprop="offers" itemscope itemtype="http://schema.org/Offer">
<meta itemprop="category" content="{category attr="title"}">
{* Issue #2525 Remove itemCondition need improvement (not used like this) *}
{* List of condition : NewCondition, DamagedCondition, UsedCondition, RefurbishedCondition *}
{*<meta itemprop="itemCondition" itemscope itemtype="http://schema.org/NewCondition">*}
{* List of currency : The currency used to describe the product price, in three-letter ISO format. *}
<meta itemprop="priceCurrency" content="{currency attr="symbol"}">
<link itemprop="availability" href="{$current_stock_href}" content="{$current_stock_content}" />
{if $IS_PROMO }
{assign var="combination_count" value={count type="product_sale_elements" promo="1" product=$ID}}
<span class="special-price col-xs-6"><span itemprop="price" class="price-label" content="{$BEST_TAXED_PRICE}">{intl l="Special Price:"} </span><span class="price">
{if $combination_count > 1}
{intl l="From %price" price={format_money number=$BEST_TAXED_PRICE}}
{else}
{format_money number=$BEST_TAXED_PRICE}
{/if}
</span></span>
{if $SHOW_ORIGINAL_PRICE}
<span class="old-price col-xs-6"><span class="price-label">{intl l="Regular Price:"} </span><span class="price">{format_money number=$TAXED_PRICE}</span></span>
{/if}
{else}
<span class="regular-price col-xs-12"><span itemprop="price" class="price" content="{$BEST_TAXED_PRICE}">{format_money number=$BEST_TAXED_PRICE}</span></span>
{/if}
</div>
{if $hasBtn == true}
{if $hasSubmit == true && $current_stock_content == "in_stock"}
{form name="thelia.cart.add" }
<form id="form-product-details{$product_id}" action="{url path="/cart/add" }" method="post" class="form-product">
{form_hidden_fields}
<input type="hidden" name="view" value="product">
<input type="hidden" name="product_id" value="{$product_id}">
{form_field field="append"}
<input type="hidden" name="{$name}" value="1">
{/form_field}
{if $form_error}<div class="alert alert-error">{$form_error_message}</div>{/if}
{form_field field='product_sale_elements_id'}
<input type="hidden" class="pse-id" name="{$name}" value="{$PRODUCT_SALE_ELEMENT}" {$attr}>
{/form_field}
{form_field field="product"}
<input id="{$label_attr.for}" type="hidden" name="{$name}" value="{$product_id}" {$attr} >
{/form_field}
<fieldset class="product-cart form-inline">
{form_field field='quantity'}
<div class="form-group group-qty hide {if $error}has-error{elseif $value != "" && !$error}has-success{/if}">
<label for="{$label_attr.for}">{$label}</label>
<input type="number" name="{$name}" id="{$label_attr.for}" class="form-control" value="{$value|default:1}" min="0" required>
{if $error }
<span class="help-block"><i class="fa fa-remove"></i> {$message}</span>
{elseif $value != "" && !$error}
<span class="help-block"><i class="fa fa"></i></span>
{/if}
</div>
{/form_field}
<div>
<div class="product-btn">
<button type="submit" class="btn btn-primary btn-block"><i class="fa fa-shopping-cart"></i> {intl l="Add to cart"}</button>
</div>
</div>
</fieldset>
</form>
{/form}
{else}
<div>
<div class="product-btn">
<a href="{$URL nofilter}" class="btn btn-primary btn-block"><i class="fa fa-eye"></i> {intl l="View product"}</a>
</div>
</div>
{/if}
{/if}
</div>
{hook name="singleproduct.bottom" product={$product_id}}
</article><!-- /product -->
</li>

View File

@@ -1,74 +0,0 @@
<div class="toolbar toolbar-{$toolbar}" role="toolbar">
{if $toolbar == "top" }
<div class="sorter-container clearfix">
<span class="amount">{if ($amount > 1)}{intl l="%nb Items" nb="{$amount}"}{else}{intl l="%nb Item" nb="{$amount}"}{/if}</span>
<span class="limiter">
<label for="limit-top">{intl l="Show"}</label>
<select id="limit-top" name="limit">
<option value="{url current="1" page="1" limit="4"}" {if $limit==4}selected{/if}>4</option>
<option value="{url current="1" page="1" limit="8"}" {if $limit==8}selected{/if}>8</option>
<option value="{url current="1" page="1" limit="12"}" {if $limit==12}selected{/if}>12</option>
<option value="{url current="1" page="1" limit="50"}"{if $limit==50}selected{/if}>50</option>
<option value="{url current="1" page="1" limit="100000"}" {if $limit==100000}selected{/if}>{intl l="All"}</option>
</select>
<span class="per-page">{intl l="per page"}</span>
</span><!-- /.limiter -->
<span class="sort-by">
<label for="sortby-top">{intl l="Sort By"}</label>
<select id="sortby-top" name="sortby">
{*<option value="{url path="{category attr="url"}" order="manual"}">{intl l="Position"}</option>*}
<option value="{url current="1" limit=$limit order="alpha"}" {if $order=="alpha"}selected{/if}>{intl l="Name ascending"}</option>
<option value="{url current="1" limit=$limit order="alpha_reverse"}" {if $order=="alpha_reverse"}selected{/if}>{intl l="Name descending"}</option>
<option value="{url current="1" limit=$limit order="min_price"}" {if $order=="min_price"}selected{/if}>{intl l="Price ascending"}</option>
<option value="{url current="1" limit=$limit order="max_price"}" {if $order=="max_price"}selected{/if}>{intl l="Price descending"}</option>
{*<option value="{url path="{category attr="url"}" order="rating"}">{intl l="Rating"}</option>*}
</select>
</span><!-- /.sort-by -->
<span class="view-mode">
<span class="view-mode-label sr-only">{intl l="View as"}:</span>
<span class="view-mode-btn">
<a href="{url current="1" mode="grid"}" data-toggle="view" role="button" title="{intl l="Grid"}" rel="nofollow" class="btn btn-default btn-grid"><i class="fa fa-th"></i></a>
<a href="{url current="1" mode="list"}" data-toggle="view" role="button" title="{intl l="List"}" rel="nofollow" class="btn btn-default btn-list"><i class="fa fa-th-list"></i></a>
</span>
</span><!-- /.view-mode -->
</div><!-- /.sorter -->
{else}
{if $amount > $limit}
<div class="pagination-container clearfix" role="pagination" aria-labelledby="pagination-label-{$toolbar}">
<strong id="pagination-label-{$toolbar}" class="pagination-label sr-only">{intl l="Pagination"}</strong>
<ul class="pagination pagination-sm">
{if $product_page le 1}
<li class="disabled">
<span class="prev"><i class="fa fa-caret-left"></i></span>
</li>
{else}
<li>
<a href="{url current="1" page={$product_page-1} }" title="{intl l="Previous"}" class="prev"><i class="fa fa-caret-left"></i></a>
</li>
{/if}
{pageloop rel="product_list"}
<li{if $PAGE eq $CURRENT} class="active"{/if}>
<a href="{url current="1" page=$PAGE }"> {$PAGE} </a>
</li>
{if $PAGE eq $END}
{if $CURRENT eq $LAST}
<li class="disabled">
<span class="next"><i class="fa fa-caret-right"></i></span>
</li>
{else}
<li>
<a href="{url current="1" page={$NEXT} }" title="{intl l="Next"}" class="next"><i class="fa fa-caret-right"></i></a>
</li>
{/if}
{/if}
{/pageloop}
</ul>
</div>
{/if}
{/if}
</div>

View File

@@ -1,29 +0,0 @@
{extends file="layout.tpl"}
{* Body Class *}
{block name="body-class"}page-home{/block}
{* Page Title *}
{block name='no-return-functions' append}
{$page_title = {config key="store_name"}}
{/block}
{* Hide breadcrumb *}
{block name='breadcrumb'}{/block}
{* Main content *}
{block name="main-content"}
{hook name="home.body"}
{/block}
{block name="stylesheet"}
{hook name="home.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="home.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="home.javascript-initialization"}
{/block}

View File

@@ -1,39 +0,0 @@
{extends file="layout.tpl"}
{* Body Class *}
{block name="body-class"}page-language{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Language"}, 'url'=>{url path="/language"}]
]}
{/block}
{block name="main-content"}
<div class="main">
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="SELECT YOUR LANGUAGE"}</h1>
{hook name="language.top"}
<ul class="nav nav-tabs nav-justified" style="margin-bottom:60px;">
{loop type="lang" name="lang_available"}
<li{if $ID eq {lang attr="id"}} class="active"{/if}><a href="{url current="1" lang={$CODE}}">{$TITLE}</a></li>
{/loop}
</ul>
{hook name="language.bottom"}
</article>
</div>
{/block}
{block name="stylesheet"}
{hook name="language.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="language.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="language.javascript-initialization"}
{/block}

View File

@@ -1,115 +0,0 @@
{extends file="layout.tpl"}
{* Body Class *}
{block name="body-class"}page-login{/block}
{* Breadcrumb *}
{block name='no-return-functions' append}
{$breadcrumbs = [
['title' => {intl l="Login"}, 'url'=>{url path="/login"}]
]}
{/block}
{block name="main-content"}
{* This page should not replace the current previous URL *}
{set_previous_url ignore_current="1"}
{hook name="login.top"}
<div class="main">
{hook name="login.main-top"}
<article class="col-main" role="main" aria-labelledby="main-label">
<h1 id="main-label" class="page-header">{intl l="Login"}</h1>
{form name="thelia.front.customer.login"}
<form id="form-login" action="{url path="/login"}" method="post" {form_enctype} novalidate>
{if {$smarty.get.validation_done}}
<div class="alert alert-success">{intl l="Your customer account was successfully activated, you can now login."}</div>
{else}
{if $form_error}<div class="alert alert-danger">{$form_error_message}</div>{/if}
{/if}
{form_field field='success_url'}
<input type="hidden" name="{$name}" value="{navigate to="previous"}"> {* the url the user is redirected to on login success *}
{/form_field}
{form_field field='error_message'}
<input type="hidden" name="{$name}" value="{intl l="missing or invalid data"}"> {* the url the user is redirected to on login success *}
{/form_field}
{form_hidden_fields}
{hook name="login.form-top"}
<fieldset>
{form_field field="email"}
<div class="form-group group-email{if $error} has-error{/if}">
<label for="{$label_attr.for}">{$label}</label>
<div class="control-input">
<input type="email" name="{$name}" id="{$label_attr.for}" value="{$value}" class="form-control input-sm" maxlength="255" {$attr} {if $required}aria-required="true" required{/if}{if !$value || $error} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{assign var="error_focus" value="true"}
{elseif !$value}
{assign var="error_focus" value="true"}
{/if}
</div>
</div>
{/form_field}
<fieldset>
{form_field field="account"}
<legend>{intl l="Do you have an account?"}</legend>
{foreach $choices as $choice}
<div class="radio radio-account{$choice->value}">
<label for="{$label_attr.for}{$choice->value}">
<input type="radio" name="{$name}" id="{$label_attr.for}{$choice->value}" data-toggle="password" value="{$choice->value}"{if $value === {$choice->value}} checked{/if}> {$choice->label}
</label>
</div>
{/foreach}
{/form_field}
<div class="group-password">
{form_field field="password"}
<div class="form-group {if $error} has-error{/if}">
<label for="{$label_attr.for}" class="sr-only">{$label}</label>
<div class="control-input">
<input type="password" name="{$name}" id="{$label_attr.for}" class="form-control input-sm" maxlength="255" autocomplete="off"{if !isset($error_focus)} autofocus{/if}>
{if $error}
<span class="help-block">{$message}</span>
{/if}
</div>
<span class="help-block">
<a href="{url path="/password"}" data-toggle="confirmation" class="forgot-password">{intl l="Forgot your Password?"}</a>
</span>
</div>
{/form_field}
{form_field field='remember_me'}
<div class="checkbox pull-right">
<label for="{$label_attr.for}">
<input type="checkbox" name="{$name}" id="{$label_attr.for}" value="{$value}" {$attr} {if $options.checked}checked="checked"{/if}/> {$label}
</label>
</div>
{/form_field}
</div>
</fieldset>
</fieldset>
{hook name="login.form-bottom"}
<div class="group-btn">
<button type="submit" class="btn btn-primary"><i class="fa fa-chevron-right"></i> {intl l="Next"}</button>
</div>
</form>
{/form}
</article>
{hook name="login.main-bottom"}
</div>
{hook name="login.bottom"}
{/block}
{block name="stylesheet"}
{hook name="login.stylesheet"}
{/block}
{block name="after-javascript-include"}
{hook name="login.after-javascript-include"}
{/block}
{block name="javascript-initialization"}
{hook name="login.javascript-initialization"}
{/block}

View File

@@ -1,22 +0,0 @@
<nav class="nav-breadcrumb" role="navigation" aria-labelledby="breadcrumb-label">
<strong id="breadcrumb-label" class="sr-only">{intl l="You are here:"}</strong>
<ul class="breadcrumb" itemscope itemtype="http://schema.org/BreadcrumbList">
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<meta itemprop="position" content="1" />
<a itemprop="item" href="{navigate to="index"}">
<span itemprop="name">{intl l="Home"}</span>
</a>
</li>
{foreach $breadcrumbs as $breadcrumb}
{if $breadcrumb.title}
<li itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"{if $breadcrumb@last} class="active"{/if}>
<meta itemprop="position" content="{$breadcrumb@key+2}" />
<a itemprop="item" href="{$breadcrumb.url|default:'#' nofilter}" title="{$breadcrumb.title|unescape}">
<span itemprop="name">{$breadcrumb.title|unescape}</span>
</a>
</li>
{/if}
{/foreach}
</ul>
</nav><!-- /.nav-breadcrumb -->

View File

@@ -1,28 +0,0 @@
{if $step eq "cart"}
{assign var="step1" value=" active"}
{assign var="step2" value=" disabled"}
{assign var="step3" value=" disabled"}
{assign var="step4" value=" disabled"}
{elseif $step eq "delivery"}
{assign var="step1" value=""}
{assign var="step2" value=" active"}
{assign var="step3" value=" disabled"}
{assign var="step4" value=" disabled"}
{elseif $step eq "invoice"}
{assign var="step1" value=""}
{assign var="step2" value=""}
{assign var="step3" value=" active"}
{assign var="step4" value=" disabled"}
{elseif $step eq "last"}
{assign var="step1" value=" disabled"}
{assign var="step2" value=" disabled"}
{assign var="step3" value=" disabled"}
{assign var="step4" value=" active"}
{/if}
<div class="btn-group checkout-progress">
<a href="{url path="/cart"}" role="button" class="btn btn-step{$step1}"><span class="step-nb">1</span> <span class="step-label">{intl l="Your Cart"}</span></a>
<a href="{url path="/order/delivery"}" role="button" class="btn btn-step{$step2}"><span class="step-nb">2</span> <span class="step-label">{intl l="Billing and delivery"}</span></a>
<a href="{url path="/order/invoice"}" role="button" class="btn btn-step{$step3}"><span class="step-nb">3</span> <span class="step-label">{intl l="Check my order"}</span></a>
<a href="{url path="/order/placed"}" role="button" class="btn btn-step{$step4}"><span class="step-nb">4</span> <span class="step-label">{intl l="Secure payment"}</span></a>
</div>

Some files were not shown because too many files have changed in this diff Show More