On finalise avec un template d'email spécifique.
|
Before Width: | Height: | Size: 50 KiB |
BIN
local/media/images/store/6008522273966-separateur.jpg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
32
templates/email/aomc/I18n/ar_SA.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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',
|
||||
];
|
||||
68
templates/email/aomc/I18n/cs_CZ.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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>',
|
||||
];
|
||||
68
templates/email/aomc/I18n/de_DE.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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> ',
|
||||
];
|
||||
32
templates/email/aomc/I18n/el_GR.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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',
|
||||
];
|
||||
84
templates/email/aomc/I18n/en_US.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?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',
|
||||
);
|
||||
68
templates/email/aomc/I18n/es_ES.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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>',
|
||||
];
|
||||
68
templates/email/aomc/I18n/fa_IR.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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>',
|
||||
];
|
||||
84
templates/email/aomc/I18n/fr_FR.php
Normal file
@@ -0,0 +1,84 @@
|
||||
<?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',
|
||||
);
|
||||
67
templates/email/aomc/I18n/hu_HU.php
Normal file
@@ -0,0 +1,67 @@
|
||||
<?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>',
|
||||
];
|
||||
40
templates/email/aomc/I18n/id_ID.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?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',
|
||||
];
|
||||
20
templates/email/aomc/I18n/it_IT.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?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',
|
||||
];
|
||||
41
templates/email/aomc/I18n/pl_PL.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?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>',
|
||||
];
|
||||
68
templates/email/aomc/I18n/pt_BR.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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>',
|
||||
];
|
||||
5
templates/email/aomc/I18n/pt_PT.php
Normal file
@@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'Copyright' => 'Copyright',
|
||||
];
|
||||
79
templates/email/aomc/I18n/ru_RU.php
Normal file
@@ -0,0 +1,79 @@
|
||||
<?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',
|
||||
);
|
||||
68
templates/email/aomc/I18n/sk_SK.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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>',
|
||||
];
|
||||
68
templates/email/aomc/I18n/tr_TR.php
Normal file
@@ -0,0 +1,68 @@
|
||||
<?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',
|
||||
];
|
||||
165
templates/email/aomc/LICENSE.txt
Normal file
@@ -0,0 +1,165 @@
|
||||
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.
|
||||
71
templates/email/aomc/README
Normal file
@@ -0,0 +1,71 @@
|
||||
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.
|
||||
18
templates/email/aomc/Readme.md
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
------
|
||||
[](https://travis-ci.org/thelia/thelia) [](https://packagist.org/packages/thelia/thelia) [](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
|
||||
31
templates/email/aomc/account_changed_by_admin.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{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}
|
||||
18
templates/email/aomc/account_changed_by_admin.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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"}}
|
||||
|
||||
31
templates/email/aomc/account_created_by_admin.html
Normal file
@@ -0,0 +1,31 @@
|
||||
{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}
|
||||
16
templates/email/aomc/account_created_by_admin.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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"}}
|
||||
|
||||
26
templates/email/aomc/admin_password.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{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}
|
||||
10
templates/email/aomc/admin_password.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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'}
|
||||
BIN
templates/email/aomc/assets/img/header.jpg
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
templates/email/aomc/assets/img/logo.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
templates/email/aomc/assets/img/separateur.jpg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |
10
templates/email/aomc/composer.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"name": "thelia/email-default-template",
|
||||
"type": "thelia-email-template",
|
||||
"require": {
|
||||
"thelia/installer": "~1.1"
|
||||
},
|
||||
"extra": {
|
||||
"installer-name": "default"
|
||||
}
|
||||
}
|
||||
29
templates/email/aomc/customer_confirmation.html
Normal file
@@ -0,0 +1,29 @@
|
||||
{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}
|
||||
11
templates/email/aomc/customer_confirmation.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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}
|
||||
26
templates/email/aomc/default-html-layout.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
{*************************************************************************************/
|
||||
/* 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.aomc'}
|
||||
{default_locale locale={$locale}}
|
||||
|
||||
{block name='message-body'}{$message_body nofilter}{/block}
|
||||
26
templates/email/aomc/default-text-layout.tpl
Normal file
@@ -0,0 +1,26 @@
|
||||
{*************************************************************************************/
|
||||
/* 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.aomc'}
|
||||
{default_locale locale={$locale}}
|
||||
|
||||
{block name='message-body'}{$message_body nofilter}{/block}
|
||||
497
templates/email/aomc/email-layout.tpl
Normal file
@@ -0,0 +1,497 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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;
|
||||
}
|
||||
|
||||
#logo-boutique {
|
||||
height: 80px;
|
||||
}
|
||||
.nom-site {
|
||||
text-align: left;
|
||||
font-family: Geneva;
|
||||
font-size: 32px;
|
||||
color: #545776;
|
||||
position: relative;
|
||||
bottom: 20px;
|
||||
left: 20px;
|
||||
}
|
||||
|
||||
{/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}" id="logo-boutique" 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}
|
||||
<span class="nom-site">Outils 82</span>
|
||||
</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"} © {'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>
|
||||
@@ -0,0 +1,24 @@
|
||||
{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}
|
||||
@@ -0,0 +1,10 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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"}}
|
||||
149
templates/email/aomc/order_confirmation.html
Normal file
@@ -0,0 +1,149 @@
|
||||
{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}
|
||||
54
templates/email/aomc/order_confirmation.txt
Normal file
@@ -0,0 +1,54 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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}
|
||||
129
templates/email/aomc/order_notification.html
Normal file
@@ -0,0 +1,129 @@
|
||||
{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}
|
||||
52
templates/email/aomc/order_notification.txt
Normal file
@@ -0,0 +1,52 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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}
|
||||
26
templates/email/aomc/password.html
Normal file
@@ -0,0 +1,26 @@
|
||||
{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}
|
||||
12
templates/email/aomc/password.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
{default_translation_domain domain='email.aomc'}
|
||||
{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"}}
|
||||
|
||||
43
templates/email/aomc/template.xml
Normal file
@@ -0,0 +1,43 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<template xmlns="http://thelia.net/schema/dic/template"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://thelia.net/schema/dic/template http://thelia.net/schema/dic/template/template-1_0.xsd">
|
||||
<descriptive locale="fr">
|
||||
<title>Template e-mail par défaut</title>
|
||||
</descriptive>
|
||||
<descriptive locale="en">
|
||||
<title>Default email template</title>
|
||||
</descriptive>
|
||||
<languages>
|
||||
<language>ar_SA</language>
|
||||
<language>cs_CZ</language>
|
||||
<language>de_DE</language>
|
||||
<language>el_GR</language>
|
||||
<language>en_US</language>
|
||||
<language>es_ES</language>
|
||||
<language>fa_IR</language>
|
||||
<language>fr_FR</language>
|
||||
<language>hu_HU</language>
|
||||
<language>id_ID</language>
|
||||
<language>it_IT</language>
|
||||
<language>nl_NL</language>
|
||||
<language>pl_PL</language>
|
||||
<language>pt_BR</language>
|
||||
<language>pt_PT</language>
|
||||
<language>ru_RU</language>
|
||||
<language>sk_SK</language>
|
||||
<language>tr_TR</language>
|
||||
<language>uk_UA</language>
|
||||
</languages>
|
||||
<version>1.0.0</version>
|
||||
<authors>
|
||||
<author>
|
||||
<name>Thelia team</name>
|
||||
<company>thelia.net</company>
|
||||
<email>contact@thelia.net</email>
|
||||
<website>thelia.net</website>
|
||||
</author>
|
||||
</authors>
|
||||
<thelia>2.4.3</thelia>
|
||||
<stability>prod</stability>
|
||||
</template>
|
||||
@@ -1,5 +1,5 @@
|
||||
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||
{default_translation_domain domain='fo.default'}
|
||||
{default_translation_domain domain='fo.aomc'}
|
||||
|
||||
{form name="thelia.order.delivery"}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{* This page should not replace the current previous URL *}
|
||||
{set_previous_url ignore_current="1"}
|
||||
|
||||
{default_translation_domain domain='fo.default'}
|
||||
{default_translation_domain domain='fo.aomc'}
|
||||
{loop type="product" name="add_product_to_cart" id={product attr="id"}}
|
||||
<div class="clearfix">
|
||||
<table>
|
||||
|
||||
@@ -20,7 +20,7 @@ GNU General Public License : http://www.gnu.org/licenses/
|
||||
{* Declare assets directory, relative to template base directory *}
|
||||
{declare_assets directory='assets/dist'}
|
||||
{* Set the default translation domain, that will be used by {intl} when the 'd' parameter is not set *}
|
||||
{default_translation_domain domain='fo.default'}
|
||||
{default_translation_domain domain='fo.aomc'}
|
||||
|
||||
{* -- Define some stuff for Smarty ------------------------------------------ *}
|
||||
{config_load file='variables.conf'}
|
||||
|
||||
|
Before Width: | Height: | Size: 5.0 KiB |
|
Before Width: | Height: | Size: 6.0 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 26 KiB |
@@ -1,709 +0,0 @@
|
||||
/*!
|
||||
* bootstrap-select v1.3.1
|
||||
* http://silviomoreto.github.io/bootstrap-select/
|
||||
*
|
||||
* Copyright 2013 bootstrap-select
|
||||
* Licensed under the MIT license
|
||||
*/
|
||||
|
||||
!function($) {
|
||||
|
||||
"use strict";
|
||||
|
||||
$.expr[":"].icontains = $.expr.createPseudo(function(arg) {
|
||||
return function( elem ) {
|
||||
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
|
||||
};
|
||||
});
|
||||
|
||||
var Selectpicker = function(element, options, e) {
|
||||
if (e) {
|
||||
e.stopPropagation();
|
||||
e.preventDefault();
|
||||
}
|
||||
this.$element = $(element);
|
||||
this.$newElement = null;
|
||||
this.$button = null;
|
||||
this.$menu = null;
|
||||
|
||||
//Merge defaults, options and data-attributes to make our options
|
||||
this.options = $.extend({}, $.fn.selectpicker.defaults, this.$element.data(), typeof options == 'object' && options);
|
||||
|
||||
//If we have no title yet, check the attribute 'title' (this is missed by jq as its not a data-attribute
|
||||
if (this.options.title == null) {
|
||||
this.options.title = this.$element.attr('title');
|
||||
}
|
||||
|
||||
//Expose public methods
|
||||
this.val = Selectpicker.prototype.val;
|
||||
this.render = Selectpicker.prototype.render;
|
||||
this.refresh = Selectpicker.prototype.refresh;
|
||||
this.setStyle = Selectpicker.prototype.setStyle;
|
||||
this.selectAll = Selectpicker.prototype.selectAll;
|
||||
this.deselectAll = Selectpicker.prototype.deselectAll;
|
||||
this.init();
|
||||
};
|
||||
|
||||
Selectpicker.prototype = {
|
||||
|
||||
constructor: Selectpicker,
|
||||
|
||||
init: function(e) {
|
||||
this.$element.hide();
|
||||
this.multiple = this.$element.prop('multiple');
|
||||
var id = this.$element.attr('id');
|
||||
this.$newElement = this.createView();
|
||||
this.$element.after(this.$newElement);
|
||||
this.$menu = this.$newElement.find('> .dropdown-menu');
|
||||
this.$button = this.$newElement.find('> button');
|
||||
this.$searchbox = this.$newElement.find('input');
|
||||
|
||||
if (id !== undefined) {
|
||||
var that = this;
|
||||
this.$button.attr('data-id', id);
|
||||
$('label[for="' + id + '"]').click(function(e) {
|
||||
e.preventDefault();
|
||||
that.$button.focus();
|
||||
});
|
||||
}
|
||||
|
||||
this.checkDisabled();
|
||||
this.checkTabIndex();
|
||||
this.clickListener();
|
||||
this.liveSearchListener();
|
||||
this.render();
|
||||
this.liHeight();
|
||||
this.setStyle();
|
||||
this.setWidth();
|
||||
if (this.options.container) {
|
||||
this.selectPosition();
|
||||
}
|
||||
this.$menu.data('this', this);
|
||||
this.$newElement.data('this', this);
|
||||
},
|
||||
|
||||
createDropdown: function() {
|
||||
//If we are multiple, then add the show-tick class by default
|
||||
var multiple = this.multiple ? ' show-tick' : '';
|
||||
var header = this.options.header ? '<h3 class="popover-title">' + this.options.header + '<button type="button" class="close" aria-hidden="true">×</button></h3>' : '';
|
||||
var searchbox = this.options.liveSearch ? '<div class="bootstrap-select-searchbox"><input type="text" class="input-block-level form-control" /></div>' : '';
|
||||
var drop =
|
||||
"<div class='btn-group bootstrap-select" + multiple + "'>" +
|
||||
"<button type='button' class='btn dropdown-toggle' data-toggle='dropdown'>" +
|
||||
"<div class='filter-option pull-left'></div> " +
|
||||
"<div class='caret'></div>" +
|
||||
"</button>" +
|
||||
"<div class='dropdown-menu open'>" +
|
||||
header +
|
||||
searchbox +
|
||||
"<ul class='dropdown-menu inner' role='menu'>" +
|
||||
"</ul>" +
|
||||
"</div>" +
|
||||
"</div>";
|
||||
|
||||
return $(drop);
|
||||
},
|
||||
|
||||
createView: function() {
|
||||
var $drop = this.createDropdown();
|
||||
var $li = this.createLi();
|
||||
$drop.find('ul').append($li);
|
||||
return $drop;
|
||||
},
|
||||
|
||||
reloadLi: function() {
|
||||
//Remove all children.
|
||||
this.destroyLi();
|
||||
//Re build
|
||||
var $li = this.createLi();
|
||||
this.$menu.find('ul').append( $li );
|
||||
},
|
||||
|
||||
destroyLi: function() {
|
||||
this.$menu.find('li').remove();
|
||||
},
|
||||
|
||||
createLi: function() {
|
||||
var that = this,
|
||||
_liA = [],
|
||||
_liHtml = '';
|
||||
|
||||
this.$element.find('option').each(function(index) {
|
||||
var $this = $(this);
|
||||
|
||||
//Get the class and text for the option
|
||||
var optionClass = $this.attr("class") || '';
|
||||
var inline = $this.attr("style") || '';
|
||||
var text = $this.data('content') ? $this.data('content') : $this.html();
|
||||
var subtext = $this.data('subtext') !== undefined ? '<small class="muted">' + $this.data('subtext') + '</small>' : '';
|
||||
var icon = $this.data('icon') !== undefined ? '<i class="glyphicon '+$this.data('icon')+'"></i> ' : '';
|
||||
if (icon !== '' && ($this.is(':disabled') || $this.parent().is(':disabled'))) {
|
||||
icon = '<span>'+icon+'</span>';
|
||||
}
|
||||
|
||||
if (!$this.data('content')) {
|
||||
//Prepend any icon and append any subtext to the main text.
|
||||
text = icon + '<span class="text">' + text + subtext + '</span>';
|
||||
}
|
||||
|
||||
if (that.options.hideDisabled && ($this.is(':disabled') || $this.parent().is(':disabled'))) {
|
||||
_liA.push('<a style="min-height: 0; padding: 0"></a>');
|
||||
} else if ($this.parent().is('optgroup') && $this.data('divider') != true) {
|
||||
if ($this.index() == 0) {
|
||||
//Get the opt group label
|
||||
var label = $this.parent().attr('label');
|
||||
var labelSubtext = $this.parent().data('subtext') !== undefined ? '<small class="muted">'+$this.parent().data('subtext')+'</small>' : '';
|
||||
var labelIcon = $this.parent().data('icon') ? '<i class="'+$this.parent().data('icon')+'"></i> ' : '';
|
||||
label = labelIcon + '<span class="text">' + label + labelSubtext + '</span>';
|
||||
|
||||
if ($this[0].index != 0) {
|
||||
_liA.push(
|
||||
'<div class="div-contain"><div class="divider"></div></div>'+
|
||||
'<dt>'+label+'</dt>'+
|
||||
that.createA(text, "opt " + optionClass, inline )
|
||||
);
|
||||
} else {
|
||||
_liA.push(
|
||||
'<dt>'+label+'</dt>'+
|
||||
that.createA(text, "opt " + optionClass, inline ));
|
||||
}
|
||||
} else {
|
||||
_liA.push(that.createA(text, "opt " + optionClass, inline ));
|
||||
}
|
||||
} else if ($this.data('divider') == true) {
|
||||
_liA.push('<div class="div-contain"><div class="divider"></div></div>');
|
||||
} else if ($(this).data('hidden') == true) {
|
||||
_liA.push('');
|
||||
} else {
|
||||
_liA.push(that.createA(text, optionClass, inline ));
|
||||
}
|
||||
});
|
||||
|
||||
$.each(_liA, function(i, item) {
|
||||
_liHtml += "<li rel=" + i + ">" + item + "</li>";
|
||||
});
|
||||
|
||||
//If we are not multiple, and we dont have a selected item, and we dont have a title, select the first element so something is set in the button
|
||||
if (!this.multiple && this.$element.find('option:selected').length==0 && !this.options.title) {
|
||||
this.$element.find('option').eq(0).prop('selected', true).attr('selected', 'selected');
|
||||
}
|
||||
|
||||
return $(_liHtml);
|
||||
},
|
||||
|
||||
createA: function(text, classes, inline) {
|
||||
return '<a tabindex="0" class="'+classes+'" style="'+inline+'">' +
|
||||
text +
|
||||
'<i class="glyphicon glyphicon-ok icon-ok check-mark"></i>' +
|
||||
'</a>';
|
||||
},
|
||||
|
||||
render: function() {
|
||||
var that = this;
|
||||
|
||||
//Update the LI to match the SELECT
|
||||
this.$element.find('option').each(function(index) {
|
||||
that.setDisabled(index, $(this).is(':disabled') || $(this).parent().is(':disabled') );
|
||||
that.setSelected(index, $(this).is(':selected') );
|
||||
});
|
||||
|
||||
var selectedItems = this.$element.find('option:selected').map(function(index,value) {
|
||||
var $this = $(this);
|
||||
var icon = $this.data('icon') && that.options.showIcon ? '<i class="glyphicon ' + $this.data('icon') + '"></i> ' : '';
|
||||
var subtext;
|
||||
if (that.options.showSubtext && $this.attr('data-subtext') && !that.multiple) {
|
||||
subtext = ' <small class="muted">'+$this.data('subtext') +'</small>';
|
||||
} else {
|
||||
subtext = '';
|
||||
}
|
||||
if ($this.data('content') && that.options.showContent) {
|
||||
return $this.data('content');
|
||||
} else if ($this.attr('title') != undefined) {
|
||||
return $this.attr('title');
|
||||
} else {
|
||||
return icon + $this.html() + subtext;
|
||||
}
|
||||
}).toArray();
|
||||
|
||||
//Fixes issue in IE10 occurring when no default option is selected and at least one option is disabled
|
||||
//Convert all the values into a comma delimited string
|
||||
var title = !this.multiple ? selectedItems[0] : selectedItems.join(", ");
|
||||
|
||||
//If this is multi select, and the selectText type is count, the show 1 of 2 selected etc..
|
||||
if (this.multiple && this.options.selectedTextFormat.indexOf('count') > -1) {
|
||||
var max = this.options.selectedTextFormat.split(">");
|
||||
var notDisabled = this.options.hideDisabled ? ':not([disabled])' : '';
|
||||
if ( (max.length>1 && selectedItems.length > max[1]) || (max.length==1 && selectedItems.length>=2)) {
|
||||
title = this.options.countSelectedText.replace('{0}', selectedItems.length).replace('{1}', this.$element.find('option:not([data-divider="true"]):not([data-hidden="true"])'+notDisabled).length);
|
||||
}
|
||||
}
|
||||
|
||||
//If we dont have a title, then use the default, or if nothing is set at all, use the not selected text
|
||||
if (!title) {
|
||||
title = this.options.title != undefined ? this.options.title : this.options.noneSelectedText;
|
||||
}
|
||||
|
||||
this.$newElement.find('.filter-option').html(title);
|
||||
},
|
||||
|
||||
setStyle: function(style, status) {
|
||||
if (this.$element.attr('class')) {
|
||||
this.$newElement.addClass(this.$element.attr('class').replace(/selectpicker|mobile-device/gi, ''));
|
||||
}
|
||||
|
||||
var buttonClass = style ? style : this.options.style;
|
||||
|
||||
if (status == 'add') {
|
||||
this.$button.addClass(buttonClass);
|
||||
} else if (status == 'remove') {
|
||||
this.$button.removeClass(buttonClass);
|
||||
} else {
|
||||
this.$button.removeClass(this.options.style);
|
||||
this.$button.addClass(buttonClass);
|
||||
}
|
||||
},
|
||||
|
||||
liHeight: function() {
|
||||
var selectClone = this.$newElement.clone();
|
||||
selectClone.appendTo('body');
|
||||
var $menuClone = selectClone.addClass('open').find('> .dropdown-menu');
|
||||
var liHeight = $menuClone.find('li > a').outerHeight();
|
||||
var headerHeight = this.options.header ? $menuClone.find('.popover-title').outerHeight() : 0;
|
||||
selectClone.remove();
|
||||
this.$newElement.data('liHeight', liHeight).data('headerHeight', headerHeight);
|
||||
},
|
||||
|
||||
setSize: function() {
|
||||
var that = this,
|
||||
menu = this.$menu,
|
||||
menuInner = menu.find('.inner'),
|
||||
menuA = menuInner.find('li > a'),
|
||||
selectHeight = this.$newElement.outerHeight(),
|
||||
liHeight = this.$newElement.data('liHeight'),
|
||||
headerHeight = this.$newElement.data('headerHeight'),
|
||||
divHeight = menu.find('li .divider').outerHeight(true),
|
||||
menuPadding = parseInt(menu.css('padding-top')) +
|
||||
parseInt(menu.css('padding-bottom')) +
|
||||
parseInt(menu.css('border-top-width')) +
|
||||
parseInt(menu.css('border-bottom-width')),
|
||||
notDisabled = this.options.hideDisabled ? ':not(.disabled)' : '',
|
||||
$window = $(window),
|
||||
menuExtras = menuPadding + parseInt(menu.css('margin-top')) + parseInt(menu.css('margin-bottom')) + 2,
|
||||
menuHeight,
|
||||
selectOffsetTop,
|
||||
selectOffsetBot,
|
||||
posVert = function() {
|
||||
selectOffsetTop = that.$newElement.offset().top - $window.scrollTop();
|
||||
selectOffsetBot = $window.height() - selectOffsetTop - selectHeight;
|
||||
};
|
||||
posVert();
|
||||
if (this.options.header) menu.css('padding-top', 0);
|
||||
|
||||
if (this.options.size == 'auto') {
|
||||
var getSize = function() {
|
||||
var minHeight;
|
||||
posVert();
|
||||
menuHeight = selectOffsetBot - menuExtras;
|
||||
that.$newElement.toggleClass('dropup', (selectOffsetTop > selectOffsetBot) && (menuHeight - menuExtras) < menu.height() && that.options.dropupAuto);
|
||||
if (that.$newElement.hasClass('dropup')) {
|
||||
menuHeight = selectOffsetTop - menuExtras;
|
||||
}
|
||||
if ((menu.find('li').length + menu.find('dt').length) > 3) {
|
||||
minHeight = liHeight*3 + menuExtras - 2;
|
||||
} else {
|
||||
minHeight = 0;
|
||||
}
|
||||
menu.css({'max-height' : menuHeight + 'px', 'overflow' : 'hidden', 'min-height' : minHeight + 'px'});
|
||||
menuInner.css({'max-height' : menuHeight - headerHeight- menuPadding + 'px', 'overflow-y' : 'auto', 'min-height' : minHeight - menuPadding + 'px'});
|
||||
}
|
||||
getSize();
|
||||
$(window).resize(getSize);
|
||||
$(window).scroll(getSize);
|
||||
} else if (this.options.size && this.options.size != 'auto' && menu.find('li'+notDisabled).length > this.options.size) {
|
||||
var optIndex = menu.find("li"+notDisabled+" > *").filter(':not(.div-contain)').slice(0,this.options.size).last().parent().index();
|
||||
var divLength = menu.find("li").slice(0,optIndex + 1).find('.div-contain').length;
|
||||
menuHeight = liHeight*this.options.size + divLength*divHeight + menuPadding;
|
||||
this.$newElement.toggleClass('dropup', (selectOffsetTop > selectOffsetBot) && menuHeight < menu.height() && this.options.dropupAuto);
|
||||
menu.css({'max-height' : menuHeight + headerHeight + 'px', 'overflow' : 'hidden'});
|
||||
menuInner.css({'max-height' : menuHeight - menuPadding + 'px', 'overflow-y' : 'auto'});
|
||||
}
|
||||
},
|
||||
|
||||
setWidth: function() {
|
||||
if (this.options.width == 'auto') {
|
||||
this.$menu.css('min-width', '0');
|
||||
|
||||
// Get correct width if element hidden
|
||||
var selectClone = this.$newElement.clone().appendTo('body');
|
||||
var ulWidth = selectClone.find('> .dropdown-menu').css('width');
|
||||
selectClone.remove();
|
||||
|
||||
this.$newElement.css('width', ulWidth);
|
||||
} else if (this.options.width == 'fit') {
|
||||
// Remove inline min-width so width can be changed from 'auto'
|
||||
this.$menu.css('min-width', '');
|
||||
this.$newElement.css('width', '').addClass('fit-width');
|
||||
} else if (this.options.width) {
|
||||
// Remove inline min-width so width can be changed from 'auto'
|
||||
this.$menu.css('min-width', '');
|
||||
this.$newElement.css('width', this.options.width);
|
||||
} else {
|
||||
// Remove inline min-width/width so width can be changed
|
||||
this.$menu.css('min-width', '');
|
||||
this.$newElement.css('width', '');
|
||||
}
|
||||
// Remove fit-width class if width is changed programmatically
|
||||
if (this.$newElement.hasClass('fit-width') && this.options.width !== 'fit') {
|
||||
this.$newElement.removeClass('fit-width');
|
||||
}
|
||||
},
|
||||
|
||||
selectPosition: function() {
|
||||
var that = this,
|
||||
drop = "<div />",
|
||||
$drop = $(drop),
|
||||
pos,
|
||||
actualHeight,
|
||||
getPlacement = function($element) {
|
||||
$drop.addClass($element.attr('class')).toggleClass('dropup', $element.hasClass('dropup'));
|
||||
pos = $element.offset();
|
||||
actualHeight = $element.hasClass('dropup') ? 0 : $element[0].offsetHeight;
|
||||
$drop.css({'top' : pos.top + actualHeight, 'left' : pos.left, 'width' : $element[0].offsetWidth, 'position' : 'absolute'});
|
||||
};
|
||||
this.$newElement.on('click', function(e) {
|
||||
getPlacement($(this));
|
||||
$drop.appendTo(that.options.container);
|
||||
$drop.toggleClass('open', !$(this).hasClass('open'));
|
||||
$drop.append(that.$menu);
|
||||
});
|
||||
$(window).resize(function() {
|
||||
getPlacement(that.$newElement);
|
||||
});
|
||||
$(window).on('scroll', function(e) {
|
||||
getPlacement(that.$newElement);
|
||||
});
|
||||
$('html').on('click', function(e) {
|
||||
if ($(e.target).closest(that.$newElement).length < 1) {
|
||||
$drop.removeClass('open');
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
mobile: function() {
|
||||
this.$element.addClass('mobile-device').appendTo(this.$newElement);
|
||||
if (this.options.container) this.$menu.hide();
|
||||
},
|
||||
|
||||
refresh: function() {
|
||||
this.reloadLi();
|
||||
this.render();
|
||||
this.setWidth();
|
||||
this.setStyle();
|
||||
this.checkDisabled();
|
||||
this.liHeight();
|
||||
},
|
||||
|
||||
setSelected: function(index, selected) {
|
||||
this.$menu.find('li').eq(index).toggleClass('selected', selected);
|
||||
},
|
||||
|
||||
setDisabled: function(index, disabled) {
|
||||
if (disabled) {
|
||||
this.$menu.find('li').eq(index).addClass('disabled').find('a').attr('href','#').attr('tabindex',-1);
|
||||
} else {
|
||||
this.$menu.find('li').eq(index).removeClass('disabled').find('a').removeAttr('href').attr('tabindex',0);
|
||||
}
|
||||
},
|
||||
|
||||
isDisabled: function() {
|
||||
return this.$element.is(':disabled');
|
||||
},
|
||||
|
||||
checkDisabled: function() {
|
||||
var that = this;
|
||||
if (this.isDisabled()) {
|
||||
this.$button.addClass('disabled');
|
||||
this.$button.attr('tabindex','-1');
|
||||
} else if (this.$button.hasClass('disabled')) {
|
||||
this.$button.removeClass('disabled');
|
||||
this.$button.removeAttr('tabindex');
|
||||
}
|
||||
this.$button.click(function() {
|
||||
return !that.isDisabled();
|
||||
});
|
||||
},
|
||||
|
||||
checkTabIndex: function() {
|
||||
if (this.$element.is('[tabindex]')) {
|
||||
var tabindex = this.$element.attr("tabindex");
|
||||
this.$button.attr('tabindex', tabindex);
|
||||
}
|
||||
},
|
||||
|
||||
clickListener: function() {
|
||||
var that = this;
|
||||
|
||||
$('body').on('touchstart.dropdown', '.dropdown-menu', function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
this.$newElement.on('click', function() {
|
||||
that.setSize();
|
||||
});
|
||||
|
||||
this.$menu.on('click', 'li a', function(e) {
|
||||
var clickedIndex = $(this).parent().index(),
|
||||
$this = $(this).parent(),
|
||||
prevValue = that.$element.val();
|
||||
|
||||
//Dont close on multi choice menu
|
||||
if (that.multiple) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
//Dont run if we have been disabled
|
||||
if (!that.isDisabled() && !$(this).parent().hasClass('disabled')) {
|
||||
var $options = that.$element.find('option');
|
||||
var $option = $options.eq(clickedIndex);
|
||||
|
||||
//Deselect all others if not multi select box
|
||||
if (!that.multiple) {
|
||||
$options.prop('selected', false);
|
||||
$option.prop('selected', true);
|
||||
}
|
||||
//Else toggle the one we have chosen if we are multi select.
|
||||
else {
|
||||
var state = $option.prop('selected');
|
||||
|
||||
$option.prop('selected', !state);
|
||||
}
|
||||
|
||||
that.$button.focus();
|
||||
|
||||
// Trigger select 'change'
|
||||
if (prevValue != that.$element.val()) {
|
||||
that.$element.change();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
this.$menu.on('click', 'li.disabled a, li dt, li .div-contain, h3.popover-title', function(e) {
|
||||
if (e.target == this) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
that.$button.focus();
|
||||
}
|
||||
});
|
||||
|
||||
this.$searchbox.on('click', function(e) {
|
||||
e.stopPropagation();
|
||||
});
|
||||
|
||||
this.$element.change(function() {
|
||||
that.render()
|
||||
});
|
||||
},
|
||||
|
||||
liveSearchListener: function() {
|
||||
var that = this;
|
||||
|
||||
this.$newElement.on('click.dropdown.data-api', function(e){
|
||||
if(that.options.liveSearch) {
|
||||
setTimeout(function() {
|
||||
that.$searchbox.focus();
|
||||
}, 10);
|
||||
}
|
||||
});
|
||||
|
||||
this.$searchbox.on('input', function() {
|
||||
that.$newElement.find('li').show().not(':icontains(' + that.$searchbox.val() + ')').hide();
|
||||
});
|
||||
},
|
||||
|
||||
val: function(value) {
|
||||
|
||||
if (value != undefined) {
|
||||
this.$element.val( value );
|
||||
|
||||
this.$element.change();
|
||||
return this.$element;
|
||||
} else {
|
||||
return this.$element.val();
|
||||
}
|
||||
},
|
||||
|
||||
selectAll: function() {
|
||||
this.$element.find('option').prop('selected', true).attr('selected', 'selected');
|
||||
this.render();
|
||||
},
|
||||
|
||||
deselectAll: function() {
|
||||
this.$element.find('option').prop('selected', false).removeAttr('selected');
|
||||
this.render();
|
||||
},
|
||||
|
||||
keydown: function(e) {
|
||||
var $this,
|
||||
$items,
|
||||
$parent,
|
||||
index,
|
||||
next,
|
||||
first,
|
||||
last,
|
||||
prev,
|
||||
nextPrev,
|
||||
that;
|
||||
|
||||
$this = $(this);
|
||||
|
||||
$parent = $this.parent();
|
||||
|
||||
that = $parent.data('this');
|
||||
|
||||
if (that.options.container) $parent = that.$menu;
|
||||
|
||||
$items = $('[role=menu] li:not(.divider):visible a', $parent);
|
||||
|
||||
if (!$items.length) return;
|
||||
|
||||
if (/(38|40)/.test(e.keyCode)) {
|
||||
|
||||
index = $items.index($items.filter(':focus'));
|
||||
first = $items.parent(':not(.disabled)').first().index();
|
||||
last = $items.parent(':not(.disabled)').last().index();
|
||||
next = $items.eq(index).parent().nextAll(':not(.disabled)').eq(0).index();
|
||||
prev = $items.eq(index).parent().prevAll(':not(.disabled)').eq(0).index();
|
||||
nextPrev = $items.eq(next).parent().prevAll(':not(.disabled)').eq(0).index();
|
||||
|
||||
if (e.keyCode == 38) {
|
||||
if (index != nextPrev && index > prev) index = prev;
|
||||
if (index < first) index = first;
|
||||
}
|
||||
|
||||
if (e.keyCode == 40) {
|
||||
if (index != nextPrev && index < next) index = next;
|
||||
if (index > last) index = last;
|
||||
if (index == -1) index = 0;
|
||||
}
|
||||
|
||||
$items.eq(index).focus();
|
||||
} else {
|
||||
var keyCodeMap = {
|
||||
48:"0", 49:"1", 50:"2", 51:"3", 52:"4", 53:"5", 54:"6", 55:"7", 56:"8", 57:"9", 59:";",
|
||||
65:"a", 66:"b", 67:"c", 68:"d", 69:"e", 70:"f", 71:"g", 72:"h", 73:"i", 74:"j", 75:"k", 76:"l",
|
||||
77:"m", 78:"n", 79:"o", 80:"p", 81:"q", 82:"r", 83:"s", 84:"t", 85:"u", 86:"v", 87:"w", 88:"x", 89:"y", 90:"z",
|
||||
96:"0", 97:"1", 98:"2", 99:"3", 100:"4", 101:"5", 102:"6", 103:"7", 104:"8", 105:"9"
|
||||
}
|
||||
|
||||
var keyIndex = [];
|
||||
|
||||
$items.each(function() {
|
||||
if ($(this).parent().is(':not(.disabled)')) {
|
||||
if ($.trim($(this).text().toLowerCase()).substring(0,1) == keyCodeMap[e.keyCode]) {
|
||||
keyIndex.push($(this).parent().index());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
var count = $(document).data('keycount');
|
||||
count++;
|
||||
$(document).data('keycount',count);
|
||||
|
||||
var prevKey = $.trim($(':focus').text().toLowerCase()).substring(0,1);
|
||||
|
||||
if (prevKey != keyCodeMap[e.keyCode]) {
|
||||
count = 1;
|
||||
$(document).data('keycount',count);
|
||||
} else if (count >= keyIndex.length) {
|
||||
$(document).data('keycount',0);
|
||||
}
|
||||
|
||||
$items.eq(keyIndex[count - 1]).focus();
|
||||
}
|
||||
|
||||
// select focused option if "Enter" or "Spacebar" are pressed
|
||||
if (/(13|32)/.test(e.keyCode)) {
|
||||
e.preventDefault();
|
||||
$(':focus').click();
|
||||
$(document).data('keycount',0);
|
||||
}
|
||||
},
|
||||
|
||||
hide: function() {
|
||||
this.$newElement.hide();
|
||||
},
|
||||
|
||||
show: function() {
|
||||
this.$newElement.show();
|
||||
},
|
||||
|
||||
destroy: function() {
|
||||
this.$newElement.remove();
|
||||
this.$element.remove();
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.selectpicker = function(option, event) {
|
||||
//get the args of the outer function..
|
||||
var args = arguments;
|
||||
var value;
|
||||
var chain = this.each(function() {
|
||||
if ($(this).is('select')) {
|
||||
var $this = $(this),
|
||||
data = $this.data('selectpicker'),
|
||||
options = typeof option == 'object' && option;
|
||||
|
||||
if (!data) {
|
||||
$this.data('selectpicker', (data = new Selectpicker(this, options, event)));
|
||||
} else if (options) {
|
||||
for(var i in options) {
|
||||
data.options[i] = options[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof option == 'string') {
|
||||
//Copy the value of option, as once we shift the arguments
|
||||
//it also shifts the value of option.
|
||||
var property = option;
|
||||
if (data[property] instanceof Function) {
|
||||
[].shift.apply(args);
|
||||
value = data[property].apply(data, args);
|
||||
} else {
|
||||
value = data.options[property];
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
if (value != undefined) {
|
||||
return value;
|
||||
} else {
|
||||
return chain;
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.selectpicker.defaults = {
|
||||
style: 'btn-default',
|
||||
size: 'auto',
|
||||
title: null,
|
||||
selectedTextFormat : 'values',
|
||||
noneSelectedText : 'Nothing selected',
|
||||
countSelectedText: '{0} of {1} selected',
|
||||
width: false,
|
||||
container: false,
|
||||
hideDisabled: false,
|
||||
showSubtext: false,
|
||||
showIcon: true,
|
||||
showContent: true,
|
||||
dropupAuto: true,
|
||||
header: false,
|
||||
liveSearch: false
|
||||
}
|
||||
|
||||
$(document)
|
||||
.data('keycount', 0)
|
||||
.on('keydown', '[data-toggle=dropdown], [role=menu]' , Selectpicker.prototype.keydown)
|
||||
|
||||
}(window.jQuery);
|
||||
@@ -1,271 +0,0 @@
|
||||
$(function($){
|
||||
// Manage picture upload
|
||||
$.imageUploadManager = {};
|
||||
|
||||
Dropzone.autoDiscover = false;
|
||||
|
||||
// Remove image on click
|
||||
$.imageUploadManager.initImageDropZone = function() {
|
||||
|
||||
$.imageUploadManager.onClickDeleteImage();
|
||||
$.imageUploadManager.onClickModal();
|
||||
$.imageUploadManager.onModalHidden();
|
||||
$.imageUploadManager.sortImage();
|
||||
$.imageUploadManager.onClickToggleVisibilityImage();
|
||||
$.imageUploadManager.onClickBtnDeleteSelectedImages();
|
||||
$.imageUploadManager.onClickBtnSelectDeselectImages();
|
||||
|
||||
var imageDropzone = new Dropzone("#images-dropzone", {
|
||||
dictDefaultMessage : $('.btn-browse').html(),
|
||||
uploadMultiple: false,
|
||||
acceptedFiles: 'image/png, image/gif, image/jpeg'
|
||||
});
|
||||
|
||||
var totalFiles = 0,
|
||||
completedFiles = 0;
|
||||
|
||||
imageDropzone.on("addedfile", function(file){
|
||||
totalFiles += 1;
|
||||
|
||||
if(totalFiles == 1){
|
||||
$('.dz-message').hide();
|
||||
}
|
||||
});
|
||||
|
||||
imageDropzone.on("complete", function(file){
|
||||
completedFiles += 1;
|
||||
|
||||
if (completedFiles === totalFiles){
|
||||
$('.dz-message').slideDown();
|
||||
}
|
||||
});
|
||||
|
||||
imageDropzone.on("success", function(file) {
|
||||
imageDropzone.removeFile(file);
|
||||
$.imageUploadManager.updateImageListAjax();
|
||||
$.imageUploadManager.onClickDeleteImage();
|
||||
$.imageUploadManager.onClickToggleVisibilityImage();
|
||||
});
|
||||
|
||||
|
||||
|
||||
};
|
||||
|
||||
// Update picture list via AJAX call
|
||||
$.imageUploadManager.updateImageListAjax = function() {
|
||||
var $imageListArea = $(".image-manager .existing-image");
|
||||
$imageListArea.html('<div class="loading" ></div>');
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: imageListUrl,
|
||||
data: {
|
||||
successUrl: imageSuccessUrl
|
||||
},
|
||||
statusCode: {
|
||||
404: function() {
|
||||
$imageListArea.html(
|
||||
imageListErrorMessage
|
||||
);
|
||||
}
|
||||
}
|
||||
}).done(function(data) {
|
||||
$imageListArea.html(
|
||||
data
|
||||
);
|
||||
$.imageUploadManager.onClickDeleteImage();
|
||||
$.imageUploadManager.sortImage();
|
||||
$.imageUploadManager.onClickToggleVisibilityImage();
|
||||
});
|
||||
};
|
||||
|
||||
// Remove image on click
|
||||
$.imageUploadManager.onClickDeleteImage = function() {
|
||||
$('.image-manager .image-delete-btn').on('click', function (e) {
|
||||
e.preventDefault();
|
||||
var $btnSubmit = $("#submit-delete-image");
|
||||
$btnSubmit.data("element-id", $(this).attr("id"));
|
||||
$btnSubmit.data("type", "one");
|
||||
$('#modal-body-delete-image').html(imageDeleteOneWarningMessage);
|
||||
$('#image_delete_dialog').modal("show");
|
||||
|
||||
return false;
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.onClickBtnDeleteSelectedImages = function(){
|
||||
$('.btn-delete-selected-images').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
var $btnSubmit = $("#submit-delete-image");
|
||||
var $btnCancel = $("#jsBtnDismissImageDeleteModal");
|
||||
$btnSubmit.data("type", "multiple");
|
||||
var $count = $('.image-select-checkbox:checked').length;
|
||||
var $warning;
|
||||
if($count == 0){
|
||||
$btnSubmit.hide();
|
||||
$btnCancel.html(textBtnDeleteImageModal_Close);
|
||||
$warning = imageDeleteNoImageSelectedMessage;
|
||||
}else{
|
||||
$btnSubmit.show();
|
||||
$btnCancel.html('<span class="glyphicon glyphicon-remove"></span>'+textBtnDeleteImageModal_No);
|
||||
if($count == 1){
|
||||
$warning = imageDeleteOneWarningMessage;
|
||||
} else {
|
||||
$warning = imageDeleteMultipleWarningMessage.replace("%count", $count);
|
||||
}
|
||||
}
|
||||
$('#modal-body-delete-image').html($warning);
|
||||
$('#image_delete_dialog').modal("show");
|
||||
|
||||
return false;
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.onClickBtnSelectDeselectImages = function(){
|
||||
$('.btn-select-all-images').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
$('.image-select-checkbox').prop('checked', true);
|
||||
});
|
||||
|
||||
$('.btn-deselect-all-images').on('click', function(e) {
|
||||
e.preventDefault();
|
||||
$('.image-select-checkbox').prop('checked', false);
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.onModalHidden = function() {
|
||||
$("#image_delete_dialog").on('hidden.bs.modal', function (e) {
|
||||
var $btnSubmit = $("#submit-delete-image");
|
||||
$btnSubmit.data("element-id", "");
|
||||
$btnSubmit.data("type", "");
|
||||
$('#modal-body-delete-image').html('');
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.deleteSelectedImages = function(){
|
||||
$('.image-select-checkbox:checked').each(function(){
|
||||
$.imageUploadManager.deleteImage($(this).data("id"));
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.deleteImage = function($id){
|
||||
var $this = $("#"+$id);
|
||||
var $parent = $this.parent();
|
||||
var $greatParent = $parent.parent();
|
||||
|
||||
$greatParent.append('<div class="loading" ></div>');
|
||||
$greatParent.find('.btn-group').remove();
|
||||
var $url = $this.attr("href");
|
||||
var errorMessage = $this.attr("data-error-message");
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: $url,
|
||||
statusCode: {
|
||||
404: function() {
|
||||
$(".image-manager .message").html(
|
||||
errorMessage
|
||||
);
|
||||
}
|
||||
}
|
||||
}).done(function(data) {
|
||||
$greatParent.parent().remove();
|
||||
$(".image-manager .message").html(
|
||||
data
|
||||
);
|
||||
|
||||
/* refresh position */
|
||||
$( "#js-sort-image").children('li').each(function(position, element) {
|
||||
$(element).find('.js-sorted-position').html(position + 1);
|
||||
});
|
||||
}).always(function(){
|
||||
$('#image_delete_dialog').modal("hide");
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.onClickModal = function() {
|
||||
$("#submit-delete-image").on('click', function(e){
|
||||
var $type = $(this).data("type");
|
||||
if($type == 'one') {
|
||||
var $id = $(this).data("element-id");
|
||||
$.imageUploadManager.deleteImage($id);
|
||||
}else if($type == 'multiple'){
|
||||
$.imageUploadManager.deleteSelectedImages();
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
// toggle document on click
|
||||
$.imageUploadManager.onClickToggleVisibilityImage = function() {
|
||||
$('.image-manager').on('click', '.image-toggle-btn', function (e) {
|
||||
e.preventDefault();
|
||||
var $this = $(this);
|
||||
var $url = $this.attr("href");
|
||||
var errorMessage = $this.attr("data-error-message");
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: $url,
|
||||
statusCode: {
|
||||
404: function() {
|
||||
$(".image-manager .message").html(
|
||||
errorMessage
|
||||
);
|
||||
}
|
||||
}
|
||||
}).done(function(data) {
|
||||
$(".image-manager .message").html(
|
||||
data
|
||||
);
|
||||
|
||||
$this.toggleClass("visibility-visible");
|
||||
});
|
||||
return false;
|
||||
});
|
||||
};
|
||||
|
||||
$.imageUploadManager.sortImage = function() {
|
||||
$( "#js-sort-image" ).sortable({
|
||||
placeholder: "ui-sortable-placeholder col-sm-6 col-md-3",
|
||||
change: function( event, ui ) {
|
||||
/* refresh position */
|
||||
var pickedElement = ui.item;
|
||||
var position = 0;
|
||||
$( "#js-sort-image").children('li').each(function(k, element) {
|
||||
if($(element).data('sort-id') == pickedElement.data('sort-id')) {
|
||||
return true;
|
||||
}
|
||||
position++;
|
||||
if($(element).is('.ui-sortable-placeholder')) {
|
||||
pickedElement.find('.js-sorted-position').html(position);
|
||||
} else {
|
||||
$(element).find('.js-sorted-position').html(position);
|
||||
}
|
||||
});
|
||||
},
|
||||
stop: function( event, ui ) {
|
||||
/* update */
|
||||
var newPosition = ui.item.find('.js-sorted-position').html();
|
||||
var imageId = ui.item.data('sort-id');
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: imageReorder,
|
||||
data: {
|
||||
image_id: imageId,
|
||||
position: newPosition
|
||||
},
|
||||
statusCode: {
|
||||
404: function() {
|
||||
$(".image-manager .message").html(
|
||||
imageReorderErrorMessage
|
||||
);
|
||||
}
|
||||
}
|
||||
}).done(function(data) {
|
||||
$(".image-manager .message").html(
|
||||
data
|
||||
);
|
||||
});
|
||||
}
|
||||
});
|
||||
$( "#js-sort-image" ).disableSelection();
|
||||
};
|
||||
});
|
||||
@@ -0,0 +1 @@
|
||||
819e1a45c318db5fcbfb21b00b453703
|
||||
BIN
web/assets/email/aomc/template-assets/assets/img/header.jpg
Normal file
|
After Width: | Height: | Size: 73 KiB |
BIN
web/assets/email/aomc/template-assets/assets/img/logo.gif
Normal file
|
After Width: | Height: | Size: 2.1 KiB |
BIN
web/assets/email/aomc/template-assets/assets/img/separateur.jpg
Normal file
|
After Width: | Height: | Size: 4.4 KiB |