first commit
This commit is contained in:
449
modules/aapfree/aapfree.php
Normal file
449
modules/aapfree/aapfree.php
Normal file
@@ -0,0 +1,449 @@
|
||||
<?php
|
||||
/**
|
||||
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
|
||||
*
|
||||
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
|
||||
* @copyright 2010-2021 VEKIA
|
||||
* @license This program is not free software and you can't resell and redistribute it
|
||||
*
|
||||
* CONTACT WITH DEVELOPER http://mypresta.eu
|
||||
* support@mypresta.eu
|
||||
*/
|
||||
|
||||
if (!defined('_PS_VERSION_')) {
|
||||
exit;
|
||||
}
|
||||
|
||||
class aapfree extends Module
|
||||
{
|
||||
private $_html = '';
|
||||
private $_postErrors = array();
|
||||
public $context;
|
||||
|
||||
function __construct($dontTranslate = false)
|
||||
{
|
||||
$this->name = 'aapfree';
|
||||
$this->version = '1.3.3';
|
||||
$this->author = 'MyPresta.eu';
|
||||
$this->tab = 'front_office_features';
|
||||
$this->mypresta_link = 'https://mypresta.eu/modules/front-office-features/ask-about-product-free.html';
|
||||
$this->need_instance = 0;
|
||||
$this->bootstrap = 1;
|
||||
$this->secure_key = Tools::encrypt($this->name);
|
||||
|
||||
parent::__construct();
|
||||
|
||||
if (!$dontTranslate) {
|
||||
$this->displayName = $this->l('Ask about product free');
|
||||
$this->description = $this->l('Free module that gives possibility to send questions about products');
|
||||
}
|
||||
$this->ps_versions_compliancy = array(
|
||||
'min' => '1.7',
|
||||
'max' => '2.0'
|
||||
);
|
||||
$this->checkforupdates(0, 0);
|
||||
}
|
||||
|
||||
public function hookactionAdminControllerSetMedia($params)
|
||||
{
|
||||
//for update feature purposes
|
||||
}
|
||||
|
||||
public function checkforupdates($display_msg = 0, $form = 0)
|
||||
{
|
||||
// ---------- //
|
||||
// ---------- //
|
||||
// VERSION 16 //
|
||||
// ---------- //
|
||||
// ---------- //
|
||||
$this->mkey = "nlc";
|
||||
if (@file_exists('../modules/' . $this->name . '/key.php')) {
|
||||
@require_once('../modules/' . $this->name . '/key.php');
|
||||
} else {
|
||||
if (@file_exists(dirname(__FILE__) . $this->name . '/key.php')) {
|
||||
@require_once(dirname(__FILE__) . $this->name . '/key.php');
|
||||
} else {
|
||||
if (@file_exists('modules/' . $this->name . '/key.php')) {
|
||||
@require_once('modules/' . $this->name . '/key.php');
|
||||
}
|
||||
}
|
||||
}
|
||||
if ($form == 1) {
|
||||
return '
|
||||
<div class="panel" id="fieldset_myprestaupdates" style="margin-top:20px;">
|
||||
' . ($this->psversion() == 6 || $this->psversion() == 7 ? '<div class="panel-heading"><i class="icon-wrench"></i> ' . $this->l('MyPresta updates') . '</div>' : '') . '
|
||||
<div class="form-wrapper" style="padding:0px!important;">
|
||||
<div id="module_block_settings">
|
||||
<fieldset id="fieldset_module_block_settings">
|
||||
' . ($this->psversion() == 5 ? '<legend style="">' . $this->l('MyPresta updates') . '</legend>' : '') . '
|
||||
<form action="' . $_SERVER['REQUEST_URI'] . '" method="post">
|
||||
<label>' . $this->l('Check updates') . '</label>
|
||||
<div class="margin-form">' . (Tools::isSubmit('submit_settings_updates_now') ? ($this->inconsistency(0) ? '' : '') . $this->checkforupdates(1) : '') . '
|
||||
<button style="margin: 0px; top: -3px; position: relative;" type="submit" name="submit_settings_updates_now" class="button btn btn-default" />
|
||||
<i class="process-icon-update"></i>
|
||||
' . $this->l('Check now') . '
|
||||
</button>
|
||||
</div>
|
||||
<label>' . $this->l('Updates notifications') . '</label>
|
||||
<div class="margin-form">
|
||||
<select name="mypresta_updates">
|
||||
<option value="-">' . $this->l('-- select --') . '</option>
|
||||
<option value="1" ' . ((int)(Configuration::get('mypresta_updates') == 1) ? 'selected="selected"' : '') . '>' . $this->l('Enable') . '</option>
|
||||
<option value="0" ' . ((int)(Configuration::get('mypresta_updates') == 0) ? 'selected="selected"' : '') . '>' . $this->l('Disable') . '</option>
|
||||
</select>
|
||||
<p class="clear">' . $this->l('Turn this option on if you want to check MyPresta.eu for module updates automatically. This option will display notification about new versions of this addon.') . '</p>
|
||||
</div>
|
||||
<label>' . $this->l('Module page') . '</label>
|
||||
<div class="margin-form">
|
||||
<a style="font-size:14px;" href="' . $this->mypresta_link . '" target="_blank">' . $this->displayName . '</a>
|
||||
<p class="clear">' . $this->l('This is direct link to official addon page, where you can read about changes in the module (changelog)') . '</p>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
<button type="submit" name="submit_settings_updates"class="button btn btn-default pull-right" />
|
||||
<i class="process-icon-save"></i>
|
||||
' . $this->l('Save') . '
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</fieldset>
|
||||
<style>
|
||||
#fieldset_myprestaupdates {
|
||||
display:block;clear:both;
|
||||
float:inherit!important;
|
||||
}
|
||||
</style>
|
||||
</div>
|
||||
</div>
|
||||
</div>';
|
||||
} else {
|
||||
if (defined('_PS_ADMIN_DIR_')) {
|
||||
if (Tools::isSubmit('submit_settings_updates')) {
|
||||
Configuration::updateValue('mypresta_updates', Tools::getValue('mypresta_updates'));
|
||||
}
|
||||
if (Configuration::get('mypresta_updates') != 0 || (bool)Configuration::get('mypresta_updates') != false) {
|
||||
if (Configuration::get('update_' . $this->name) < (date("U") - 259200)) {
|
||||
$actual_version = aapfreeUpdate::verify($this->name, (isset($this->mkey) ? $this->mkey : 'nokey'), $this->version);
|
||||
}
|
||||
if (aapfreeUpdate::version($this->version) < aapfreeUpdate::version(Configuration::get('updatev_' . $this->name)) && Tools::getValue('ajax', 'false') == 'false') {
|
||||
$this->context->controller->warnings[] = '<strong>' . $this->displayName . '</strong>: ' . $this->l('New version available, check http://MyPresta.eu for more informations') . ' <a href="' . $this->mypresta_link . '">' . $this->l('More details in changelog') . '</a>';
|
||||
$this->warning = $this->context->controller->warnings[0];
|
||||
}
|
||||
} else {
|
||||
if (Configuration::get('update_' . $this->name) < (date("U") - 259200)) {
|
||||
$actual_version = aapfreeUpdate::verify($this->name, (isset($this->mkey) ? $this->mkey : 'nokey'), $this->version);
|
||||
}
|
||||
}
|
||||
if ($display_msg == 1) {
|
||||
if (aapfreeUpdate::version($this->version) < aapfreeUpdate::version(aapfreeUpdate::verify($this->name, (isset($this->mkey) ? $this->mkey : 'nokey'), $this->version))) {
|
||||
return "<span style='color:red; font-weight:bold; font-size:16px; margin-right:10px;'>" . $this->l('New version available!') . "</span>";
|
||||
} else {
|
||||
return "<span style='color:green; font-weight:bold; font-size:16px; margin-right:10px;'>" . $this->l('Module is up to date!') . "</span>";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function inconsistency($ret = false)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
public function install()
|
||||
{
|
||||
return (parent::install() &&
|
||||
$this->registerHook('displayProductAdditionalInfo') &&
|
||||
$this->registerHook('actionAdminControllerSetMedia') &&
|
||||
$this->installMailTranslation() &&
|
||||
$this->registerHook('displayHeader'));
|
||||
}
|
||||
|
||||
function installMailTranslation()
|
||||
{
|
||||
$title = array();
|
||||
foreach (Language::getLanguages(true) AS $value) {
|
||||
$title[$value['id_lang']] = 'New inquiry from %1$s about %2$s';
|
||||
}
|
||||
Configuration::updateValue('aapfree_TITLE', $title);
|
||||
return true;
|
||||
}
|
||||
|
||||
public function uninstall()
|
||||
{
|
||||
return (parent::uninstall());
|
||||
}
|
||||
|
||||
public function hookdisplayProductAdditionalInfo($params)
|
||||
{
|
||||
if (Tools::getValue('controller') == 'product' && Tools::getValue('action') == 'quickview') {
|
||||
return;
|
||||
}
|
||||
/* Product informations */
|
||||
$product = new Product((int)Tools::getValue('id_product'), false, $this->context->language->id);
|
||||
$image = Product::getCover((int)$product->id);
|
||||
|
||||
$this->context->smarty->assign(array(
|
||||
'aapfree_link' => $this->context->link,
|
||||
'aapfree_product' => $product,
|
||||
'aapfree_product_cover' => (int)$product->id . '-' . (int)$image['id_image'],
|
||||
'aapfree_GDPR' => (int)Configuration::get('aapfree_GDPR'),
|
||||
'aapfree_GDPRCMS' => (int)Configuration::get('aapfree_GDPRCMS'),
|
||||
'aapfree_SUMMARY' => (int)Configuration::get('aapfree_SUMMARY'),
|
||||
));
|
||||
|
||||
return $this->display(__FILE__, 'views/aapfree-extra.tpl');
|
||||
}
|
||||
|
||||
public function hookdisplayHeader($params)
|
||||
{
|
||||
$this->page_name = Dispatcher::getInstance()->getController();
|
||||
if ($this->page_name == 'product') {
|
||||
$this->context->controller->addCSS($this->_path . 'views/aapfree.css', 'all');
|
||||
$this->context->controller->addJS($this->_path . 'views/aapfree.js');
|
||||
$this->context->controller->addJqueryPlugin('fancybox');
|
||||
Media::addJsDef(array(
|
||||
'aapfree_frontcontroller' => $this->context->link->getModuleLink('aapfree', 'question', array('submitQuestion' => 1)),
|
||||
'aapfree_confirmation' => $this->l('Your e-mail has been sent successfully'),
|
||||
'aapfree_problem' => $this->l('Your e-mail could not be sent. Please check the name and e-mail address and try again.'),
|
||||
'aapfree_title' => $this->l('Question about product'),
|
||||
'aapfree_id_lang' => Context::getContext()->language->id,
|
||||
'aapfree_missingFields' => $this->l('You did not fill required fields'),
|
||||
'aapfree_aapfree_GDPR' => (int)Configuration::get('aapfree_GDPR'),
|
||||
'aapfree_secureKey' => $this->secure_key
|
||||
));
|
||||
}
|
||||
}
|
||||
|
||||
public function _postProcess()
|
||||
{
|
||||
if (Tools::isSubmit('submitSettings')) {
|
||||
Configuration::updateValue('aapfree_SUMMARY', (int)Tools::getValue('aapfree_SUMMARY'));
|
||||
Configuration::updateValue('aapfree_GDPRCMS', (int)Tools::getValue('aapfree_GDPRCMS'));
|
||||
Configuration::updateValue('aapfree_GDPR', (int)Tools::getValue('aapfree_GDPR'));
|
||||
|
||||
$title = array();
|
||||
foreach (Language::getLanguages(true) AS $value) {
|
||||
$title[$value['id_lang']] = Tools::getValue('aapfree_TITLE_' . $value['id_lang']);
|
||||
}
|
||||
Configuration::updateValue('aapfree_TITLE', $title);
|
||||
|
||||
$this->context->controller->confirmations[] = $this->l('settings updated');
|
||||
}
|
||||
}
|
||||
|
||||
public function psversion($part = 1)
|
||||
{
|
||||
$version = _PS_VERSION_;
|
||||
$exp = $explode = explode(".", $version);
|
||||
if ($part == 1) {
|
||||
return $exp[1];
|
||||
}
|
||||
if ($part == 2) {
|
||||
return $exp[2];
|
||||
}
|
||||
if ($part == 3) {
|
||||
return $exp[3];
|
||||
}
|
||||
if ($part == 4) {
|
||||
return $exp[3];
|
||||
}
|
||||
}
|
||||
|
||||
public function advert()
|
||||
{
|
||||
return '<div class="panel">
|
||||
<h3><i class="icon-wrench"></i> ' . $this->l('I am developing this module for free - if you want') . ' <a class="btn button label label-danger" target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=7WE8PTH4ZPYZA">' . $this->l('send me a donation') . '</span></a></h3>
|
||||
<iframe src="//apps.facepages.eu/somestuff/whatsgoingon.html" width="100%" height="150" border="0" style="border:none;"></iframe>
|
||||
</div>';
|
||||
}
|
||||
|
||||
public function getContent()
|
||||
{
|
||||
$this->_postProcess();
|
||||
|
||||
return $this->advert() . $this->renderConfigForm() . $this->checkforupdates(0, 1);
|
||||
}
|
||||
|
||||
public function renderConfigForm()
|
||||
{
|
||||
$fields_form_1 = array(
|
||||
'form' => array(
|
||||
'legend' => array(
|
||||
'title' => $this->l('Configuration'),
|
||||
'icon' => 'icon-cogs',
|
||||
),
|
||||
'input' => array(
|
||||
array(
|
||||
'type' => 'switch',
|
||||
'is_bool' => true,
|
||||
'label' => $this->l('Display product summary inside popup'),
|
||||
'desc' => $this->l('Product summary is a product short description'),
|
||||
'name' => 'aapfree_SUMMARY',
|
||||
'values' => array(
|
||||
array(
|
||||
'id' => 'active_on',
|
||||
'value' => 1,
|
||||
'label' => $this->l('Enabled'),
|
||||
),
|
||||
array(
|
||||
'id' => 'active_off',
|
||||
'value' => 0,
|
||||
'label' => $this->l('Disabled'),
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'switch',
|
||||
'is_bool' => true,
|
||||
'label' => $this->l('GDPR Compliant'),
|
||||
'name' => 'aapfree_GDPR',
|
||||
'values' => array(
|
||||
array(
|
||||
'id' => 'active_on',
|
||||
'value' => 1,
|
||||
'label' => $this->l('Enabled'),
|
||||
),
|
||||
array(
|
||||
'id' => 'active_off',
|
||||
'value' => 0,
|
||||
'label' => $this->l('Disabled'),
|
||||
),
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'select',
|
||||
'label' => $this->l('Privacy policy page'),
|
||||
'desc' => $this->l('Choose a CMS page with privacy policy details for GDPR purposes'),
|
||||
'name' => 'aapfree_GDPRCMS',
|
||||
'class' => 't',
|
||||
'options' => array(
|
||||
'query' => CMS::getCmsPages($this->context->language->id, null, false),
|
||||
'id' => 'id_cms',
|
||||
'name' => 'meta_title'
|
||||
),
|
||||
),
|
||||
array(
|
||||
'type' => 'text',
|
||||
'label' => $this->l('Email title'),
|
||||
'name' => 'aapfree_TITLE',
|
||||
'lang' => true,
|
||||
'desc' => $this->l('Module will use this as a title of email that will be delivered to you (as a shop owner)') .
|
||||
'<br/>' .
|
||||
$this->l('%1$s - will be replaced with logged customer name') .
|
||||
'<br/>' .
|
||||
$this->l('%2$s - will be replaced with product name'),
|
||||
),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
'class' => 'btn btn-default pull-right',
|
||||
'name' => 'submitSettings',
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
$helper = new HelperForm();
|
||||
$helper->show_toolbar = false;
|
||||
$helper->default_form_language = $this->context->language->id;
|
||||
$helper->module = $this;
|
||||
$helper->allow_employee_form_lang = Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') ? Configuration::get('PS_BO_ALLOW_EMPLOYEE_FORM_LANG') : 0;
|
||||
$helper->submit_action = 'submitaapfreeConfiguration';
|
||||
$helper->currentIndex = $this->context->link->getAdminLink('AdminModules', false) . '&configure=' . $this->name . '&tab_module=' . $this->tab . '&module_name=' . $this->name;
|
||||
$helper->token = Tools::getAdminTokenLite('AdminModules');
|
||||
$helper->tpl_vars = array(
|
||||
'fields_value' => $this->getConfigFieldsValues(),
|
||||
'languages' => $this->context->controller->getLanguages(),
|
||||
'id_language' => $this->context->language->id,
|
||||
);
|
||||
|
||||
return $helper->generateForm(array($fields_form_1));
|
||||
}
|
||||
|
||||
|
||||
public function getConfigFieldsValues()
|
||||
{
|
||||
$title = array();
|
||||
foreach (Language::getLanguages(true) AS $value) {
|
||||
$title[$value['id_lang']] = Configuration::get('aapfree_TITLE', $value['id_lang']);
|
||||
}
|
||||
|
||||
return array(
|
||||
'aapfree_SUMMARY' => Tools::getValue('aapfree_SUMMARY', Configuration::get('aapfree_SUMMARY')),
|
||||
'aapfree_GDPRCMS' => Tools::getValue('aapfree_GDPRCMS', Configuration::get('aapfree_GDPRCMS')),
|
||||
'aapfree_GDPR' => Tools::getValue('aapfree_GDPR', Configuration::get('aapfree_GDPR')),
|
||||
'aapfree_TITLE' => $title,
|
||||
);
|
||||
}
|
||||
|
||||
public function isValidName($name)
|
||||
{
|
||||
$isName = Validate::isName($name);
|
||||
$isShortName = $this->isShortName($name);
|
||||
$isNameLikeAnUrl = $this->isNameLikeAnUrl($name);
|
||||
$isValidName = $isName && $isShortName && !$isNameLikeAnUrl;
|
||||
|
||||
return $isValidName;
|
||||
}
|
||||
|
||||
public function isShortName($name)
|
||||
{
|
||||
$isShortName = (strlen($name) <= 50);
|
||||
|
||||
return $isShortName;
|
||||
}
|
||||
|
||||
public function isNameLikeAnUrl($name)
|
||||
{
|
||||
$regex = "/(https?:[\/]*.*)|([\.]*[[[:alnum:]]+\.[^ ]]*.*)/m";
|
||||
$isNameLikeAnUrl = (bool)preg_match_all($regex, $name);
|
||||
|
||||
return $isNameLikeAnUrl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
class aapfreeUpdate extends aapfree
|
||||
{
|
||||
public static function _isCurl()
|
||||
{
|
||||
return function_exists('curl_version');
|
||||
}
|
||||
|
||||
public static function version($version)
|
||||
{
|
||||
$version = (int)str_replace(".", "", $version);
|
||||
if (strlen($version) == 3) {
|
||||
$version = (int)$version . "0";
|
||||
}
|
||||
if (strlen($version) == 2) {
|
||||
$version = (int)$version . "00";
|
||||
}
|
||||
if (strlen($version) == 1) {
|
||||
$version = (int)$version . "000";
|
||||
}
|
||||
if (strlen($version) == 0) {
|
||||
$version = (int)$version . "0000";
|
||||
}
|
||||
|
||||
return (int)$version;
|
||||
}
|
||||
|
||||
public static function verify($module, $key)
|
||||
{
|
||||
if (ini_get("allow_url_fopen")) {
|
||||
if (function_exists("file_get_contents")) {
|
||||
$actual_version = @file_get_contents('http://dev.mypresta.eu/update/get.php?module=' . $module . "&lic=$key&u=" . self::encrypt(_PS_BASE_URL_ . __PS_BASE_URI__));
|
||||
}
|
||||
}
|
||||
Configuration::updateValue("update_" . $module, date("U"));
|
||||
Configuration::updateValue("updatev_" . $module, $actual_version);
|
||||
|
||||
return $actual_version;
|
||||
}
|
||||
|
||||
public static function encrypt($string)
|
||||
{
|
||||
return base64_encode($string);
|
||||
}
|
||||
}
|
||||
12
modules/aapfree/config_pl.xml
Normal file
12
modules/aapfree/config_pl.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<module>
|
||||
<name>aapfree</name>
|
||||
<displayName><![CDATA[Zapytaj o produkt]]></displayName>
|
||||
<version><![CDATA[1.3.3]]></version>
|
||||
<description><![CDATA[Darmowy moduł pozwalający przesyłać zapytania o produkt]]></description>
|
||||
<author><![CDATA[MyPresta.eu]]></author>
|
||||
<tab><![CDATA[front_office_features]]></tab>
|
||||
<is_configurable>1</is_configurable>
|
||||
<need_instance>0</need_instance>
|
||||
<limited_countries></limited_countries>
|
||||
</module>
|
||||
35
modules/aapfree/controllers/front/index.php
Normal file
35
modules/aapfree/controllers/front/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
108
modules/aapfree/controllers/front/question.php
Normal file
108
modules/aapfree/controllers/front/question.php
Normal file
@@ -0,0 +1,108 @@
|
||||
<?php
|
||||
/**
|
||||
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
|
||||
*
|
||||
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
|
||||
* @copyright 2010-2019 VEKIA
|
||||
* @license This program is not free software and you can't resell and redistribute it
|
||||
*
|
||||
* CONTACT WITH DEVELOPER http://mypresta.eu
|
||||
* support@mypresta.eu
|
||||
*/
|
||||
|
||||
include_once(dirname(__FILE__) . '../../../aapfree.php');
|
||||
|
||||
class aapfreequestionModuleFrontController extends ModuleFrontController
|
||||
{
|
||||
public function initContent()
|
||||
{
|
||||
if (Module::isEnabled('aapfree') && Tools::getValue('action') == 'sendQuestion' && Tools::getValue('secure_key') == $this->module->secure_key) {
|
||||
// Retrocompatibilty with old theme
|
||||
|
||||
$customerMail = Tools::getValue('email');
|
||||
$author = Tools::getValue('author');
|
||||
$phone = Tools::getValue('phone');
|
||||
$id_product = Tools::getValue('id_product');
|
||||
$question = Tools::getValue('question');
|
||||
|
||||
if (!$customerMail || !$id_product) {
|
||||
die('0');
|
||||
}
|
||||
|
||||
$isValidEmail = Validate::isEmail($customerMail);
|
||||
if (false === $isValidEmail) {
|
||||
die('0');
|
||||
}
|
||||
|
||||
|
||||
/** check if combination **/
|
||||
$combinations_array = array();
|
||||
$combination_id = 0;
|
||||
if (Tools::getValue('group', 'false') != 'false') {
|
||||
$groups = Tools::getValue('group');
|
||||
if (empty($groups)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
$combination_id = (int)Product::getIdProductAttributeByIdAttributes(
|
||||
Tools::getValue('id_product'),
|
||||
$groups,
|
||||
true
|
||||
);
|
||||
}
|
||||
|
||||
$combination_variable = '';
|
||||
$combination = '';
|
||||
if ($combination_id > 0) {
|
||||
$comb = new Combination($combination_id);
|
||||
if (is_object($comb)) {
|
||||
foreach ($comb->getAttributesName(Tools::getValue('id_lang')) AS $attr) {
|
||||
$attribute = new Attribute($attr['id_attribute'], Tools::getValue('id_lang'));
|
||||
$attribute_group = new AttributeGroup($attribute->id_attribute_group, Tools::getValue('id_lang'));
|
||||
$combinations_array[] = $attribute_group->public_name . ': ' . $attr['name'];
|
||||
}
|
||||
$combination_variable = implode(",", $combinations_array);
|
||||
$combination = '(' . implode(",", $combinations_array) . ')';
|
||||
}
|
||||
}
|
||||
|
||||
/* Email generation */
|
||||
$product = new Product((int)$id_product, false, Tools::getValue('id_lang'));
|
||||
$productLink = Context::getContext()->link->getProductLink($product);
|
||||
|
||||
$templateVars = array(
|
||||
'{product}' => $product->name . $combination,
|
||||
'{combination}' => $combination_variable,
|
||||
'{product_link}' => $productLink,
|
||||
'{productLink}' => $productLink,
|
||||
'{customer}' => $author,
|
||||
'{phone}' => $phone,
|
||||
'{customerMail}' => $customerMail,
|
||||
'{question}' => $question
|
||||
);
|
||||
|
||||
/* Email sending */
|
||||
if (!Mail::Send((int)Tools::getValue('id_lang'),
|
||||
'send_question',
|
||||
sprintf(Configuration::get('aapfree_TITLE', (int)Tools::getValue('id_lang')), $author, $product->name),
|
||||
$templateVars,
|
||||
Configuration::get('PS_SHOP_EMAIL'),
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
null,
|
||||
dirname(__FILE__) . '/mails/',
|
||||
false,
|
||||
Context::getContext()->shop->id,
|
||||
null,
|
||||
$customerMail,
|
||||
$author
|
||||
)) {
|
||||
die('0');
|
||||
}
|
||||
die('1');
|
||||
}
|
||||
die('0');
|
||||
}
|
||||
}
|
||||
35
modules/aapfree/controllers/index.php
Normal file
35
modules/aapfree/controllers/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
35
modules/aapfree/index.php
Normal file
35
modules/aapfree/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
BIN
modules/aapfree/logo.gif
Normal file
BIN
modules/aapfree/logo.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 377 B |
BIN
modules/aapfree/logo.png
Normal file
BIN
modules/aapfree/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 8.6 KiB |
35
modules/aapfree/mails/cs/index.php
Normal file
35
modules/aapfree/mails/cs/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/cs/send_question.html
Normal file
195
modules/aapfree/mails/cs/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/cs/send_question.txt
Normal file
7
modules/aapfree/mails/cs/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/de/index.php
Normal file
35
modules/aapfree/mails/de/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/de/send_question.html
Normal file
195
modules/aapfree/mails/de/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/de/send_question.txt
Normal file
7
modules/aapfree/mails/de/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/en/index.php
Normal file
35
modules/aapfree/mails/en/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/en/send_question.html
Normal file
195
modules/aapfree/mails/en/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/en/send_question.txt
Normal file
7
modules/aapfree/mails/en/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/es/index.php
Normal file
35
modules/aapfree/mails/es/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/es/send_question.html
Normal file
195
modules/aapfree/mails/es/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/es/send_question.txt
Normal file
7
modules/aapfree/mails/es/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/fr/index.php
Normal file
35
modules/aapfree/mails/fr/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/fr/send_question.html
Normal file
195
modules/aapfree/mails/fr/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/fr/send_question.txt
Normal file
7
modules/aapfree/mails/fr/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/index.php
Normal file
35
modules/aapfree/mails/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
35
modules/aapfree/mails/it/index.php
Normal file
35
modules/aapfree/mails/it/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/it/send_question.html
Normal file
195
modules/aapfree/mails/it/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/it/send_question.txt
Normal file
7
modules/aapfree/mails/it/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
{phone}----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/pl/index.php
Normal file
35
modules/aapfree/mails/pl/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/pl/send_question.html
Normal file
195
modules/aapfree/mails/pl/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Witaj,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
Nowe zapytanie o produkt <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/pl/send_question.txt
Normal file
7
modules/aapfree/mails/pl/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Witaj
|
||||
|
||||
Nowe zapytanie o produkt {product} {productLink}
|
||||
{phone----------------
|
||||
{question}
|
||||
35
modules/aapfree/mails/pt/index.php
Normal file
35
modules/aapfree/mails/pt/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
195
modules/aapfree/mails/pt/send_question.html
Normal file
195
modules/aapfree/mails/pt/send_question.html
Normal file
@@ -0,0 +1,195 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
|
||||
<title>Message from {shop_name}</title>
|
||||
|
||||
<style>
|
||||
/****** responsive ********/
|
||||
@media only screen and (max-width: 300px) {
|
||||
body {
|
||||
width: 218px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 195px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
span.title {
|
||||
font-size: 20px !important;
|
||||
line-height: 23px !important
|
||||
}
|
||||
|
||||
span.subtitle {
|
||||
font-size: 14px !important;
|
||||
line-height: 18px !important;
|
||||
padding-top: 10px !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
td.box p {
|
||||
font-size: 12px !important;
|
||||
font-weight: bold !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 200px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 301px) and (max-width: 500px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap table, .table-recap thead, .table-recap tbody, .table-recap th, .table-recap td, .table-recap tr {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 293px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 501px) and (max-width: 768px) {
|
||||
body {
|
||||
width: 478px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 450px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
}
|
||||
|
||||
/* Mobile */
|
||||
@media only screen and (max-device-width: 480px) {
|
||||
body {
|
||||
width: 308px !important;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.table {
|
||||
width: 285px;
|
||||
margin: auto !important;
|
||||
}
|
||||
|
||||
.logo, .titleblock, .linkbelow, .box, .footer, .space_footer {
|
||||
width: auto !important;
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.table-recap {
|
||||
width: 285px !important;
|
||||
}
|
||||
|
||||
.table-recap tr td, .conf_body td {
|
||||
text-align: center !important;
|
||||
}
|
||||
|
||||
.address {
|
||||
display: block !important;
|
||||
margin-bottom: 10px !important;
|
||||
}
|
||||
|
||||
.space_address {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#fff;width:650px;font-family:Open-sans, sans-serif;color:#555454;font-size:13px;line-height:18px;margin:auto">
|
||||
<table class="table table-mail"
|
||||
style="width:100%;margin-top:10px;-moz-box-shadow:0 0 5px #afafaf;-webkit-box-shadow:0 0 5px #afafaf;-o-box-shadow:0 0 5px #afafaf;box-shadow:0 0 5px #afafaf;filter:progid:DXImageTransform.Microsoft.Shadow(color=#afafaf,Direction=134,Strength=5)">
|
||||
<tr>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
<td align="center" style="border:none;padding:7px 0">
|
||||
<table class="table" style="width:100%;background-color:#fff">
|
||||
<tr>
|
||||
<td align="center" class="logo" style="border-bottom:4px solid #333!important;border:none;padding:7px 0">
|
||||
<a title="{shop_name}" href="{shop_url}" style="color:#337ff1">
|
||||
<img src="{shop_logo}" alt="{shop_name}"/>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td align="center" class="titleblock" style="border:none;padding:7px 0">
|
||||
<span class="title" style="font-weight:500;font-size:28px;text-transform:uppercase;line-height:33px">Hi,</span><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="box" style="background-color:#fbfbfb;border:1px solid #d6d4d4!important;padding:10px!important">
|
||||
<p style="margin:3px 0 7px;text-transform:uppercase;font-weight:500;font-size:18px;border-bottom:1px solid #d6d4d4!important;padding-bottom:10px">
|
||||
New inquiry about <a href="{productLink}" target="_blank"><strong>{product}</strong></a></p><br/>Phone: {phone}<br/>Email: {customerMail}<br/><br/>
|
||||
<blockquote>
|
||||
{question}
|
||||
</blockquote>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="space_footer" style="padding:0!important;border:none"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="footer" style="border-top:4px solid #333!important;border:none;padding:7px 0">
|
||||
<span><a href="{shop_url}" style="color:#337ff1">{shop_name}</a></span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="space" style="width:20px;border:none;padding:7px 0"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
7
modules/aapfree/mails/pt/send_question.txt
Normal file
7
modules/aapfree/mails/pt/send_question.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
[{shop_url}]
|
||||
|
||||
Hi,
|
||||
|
||||
New inquiry about {product} {productLink}
|
||||
----------------
|
||||
{question}
|
||||
30
modules/aapfree/translations/ca.php
Normal file
30
modules/aapfree/translations/ca.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Un amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Mòdul d\'Enviar a un amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Permetre als clients enviar un enllaç del producte a un amic.';
|
||||
$_MODULE['<{aapfree}prestashop>product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a un amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'El vostre correu s\'ha enviat correctament';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'El vostre correu no s\'ha enviat. Verifiqueu l\'adreça i proveu-ho de nou.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a un amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_d1f092e79827eaffce4a33fa011fde24'] = 'No heu emplenat algun camp requerit';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Receptor:';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nom del vostre amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Adreça electrònica del vostre amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_70397c4b252a5168c5ec003931cea215'] = 'Camps exigits';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ea4788705e6873b424c65e91c2846b19'] = 'Cancel·lar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'o';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Enviar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a un amic';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_20589174124c25654cac3736e737d2a3'] = 'Enviar aquesta pàgina a un amic que podria estar interessat en aquest tema.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b31afdfa73c89b567778f15180c2dd6c'] = 'El teu email ha estat enviat amb èxit';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e55de03786f359e2b133f2a74612eba6'] = 'Nom del amic:';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_19f41c3d6db934fb2db1840ddefd2c51'] = 'E-mail del amic:';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2541d938b0a58946090d7abdde0d3890'] = 'enviar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_68728c1897e5936032fe21ffb6b10c2e'] = 'Tornar a la pàgina del producte';
|
||||
|
||||
|
||||
return $_MODULE;
|
||||
41
modules/aapfree/translations/de.php
Normal file
41
modules/aapfree/translations/de.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'An einen Freund senden';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Ermöglicht den Kunden, einen Artikellink an einen Freund zu senden';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_57206dc27305060c5c29150d3ad00401'] = 'MyPresta Updates';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d7d90723c19e43735e731a36a2739c8b'] = 'Überprüfen Sie die Verfügbarkeit der Updates';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2c872e677f8b5831f20a66c65e7f8966'] = 'Jetzt prüfen';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_722eb8a4b2d0b1c305d6361bcc7564e7'] = 'Aktualisiert Benachrichtigungen';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_633703a658469b7fab7f42e04e59d27a'] = '-- wählen --';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Aktivieren';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bcfaccebf745acfd5e75351095a5394a'] = 'Deaktivieren';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_cc6fc347e9fd233bddcb7895e307e9a9'] = 'Aktivieren Sie diese Option, wenn Sie MyPresta.eu automatisch nach Modulupdates durchsuchen möchten. Diese Option zeigt Benachrichtigungen über neue Versionen dieses Addons an.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_0d24168598880003b80f9e85b8e1d62a'] = 'Modulseite';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_07ac9eab57de962a9518a7545fd475fe'] = 'Dies ist ein direkter Link zur offiziellen Addon-Seite, auf der Sie über Änderungen im Modul lesen können (changelog)';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_c9cc8cce247e49bae79f15173ce97354'] = 'sparen';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_4c73ce9e52a25c69cf0dce126d548f98'] = 'Neue Version verfügbar, siehe http://MyPresta.eu für weitere Informationen';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_af02b06496e83946e73e69d774782654'] = 'Neue Version verfügbar!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_358a5fcb448d507b41d7c0a83485973a'] = 'Modul ist auf dem neuesten Stand!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_11cbd9ec2e4b628c371094b6361b9c96'] = 'Ihre E-Mail wurde erfolgreich gesendet';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_6cec0d7f95fa3a4b3254ff11c15df8c3'] = 'Ihre E-Mail konnte nicht gesendet werden. Bitte überprüfen Sie den Namen und die E-Mail-Adresse und versuchen Sie es erneut.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'An einen Freund senden';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d1f092e79827eaffce4a33fa011fde24'] = 'Sie haben die erforderlichen Felder nicht ausgefüllt';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_78a7ad1b5b469d19fceabc05b888ab27'] = 'Einstellungen aktualisiert';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_1daca317c1375ca087724663e6fab7ee'] = 'Ich entwickle dieses Modul kostenlos - wenn du willst';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b1167bf6bb5476cd6d7d3065ea8b267b'] = 'Schick mir eine Spende';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_254f642527b45bc260048e30704edb39'] = 'Aufbau';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bfcd2f36dbbe8518a9041346ed4fe9cb'] = 'GDPR konform';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'aktiviert';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b9f5c797ebbf55adccdd8539a65a0241'] = 'behindert';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3b75aac75dc5f26614dab746da7b081d'] = 'Datenschutzrichtlinie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_675dfb16d2ef8de7a0db62a83e39b350'] = 'Wählen Sie eine CMS-Seite mit Daten zu Datenschutzrichtlinien für DSGVO-Zwecke';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Ein Freund';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'An einen Freund senden';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Name Ihrer/es Freundin/es';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'E-Mailadresse Ihres Freundes';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_04c3a66c24f289b415ea9aedc6b95547'] = 'Ich nehme an';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ca0f9a86ca33f1d6baa9051bd7f4ed21'] = 'Datenschutz-Bestimmungen';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_a4f86f7bfc24194b276c22e0ef158197'] = 'Regeln';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Senden';
|
||||
30
modules/aapfree/translations/en.php
Normal file
30
modules/aapfree/translations/en.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'A friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Send to a Friend module';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Allows customers to send a product link to a friend.';
|
||||
$_MODULE['<{aapfree}prestashop>product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Send to a friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'Your e-mail has been sent successfully';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'Your e-mail could not be sent. Please check the e-mail address and try again.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Send to a friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_d1f092e79827eaffce4a33fa011fde24'] = 'You did not fill required fields';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Recipient';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Name of your friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'E-mail address of your friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_70397c4b252a5168c5ec003931cea215'] = 'Required fields';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ea4788705e6873b424c65e91c2846b19'] = 'Cancel';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'or';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Send';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Send to a friend';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_20589174124c25654cac3736e737d2a3'] = 'Send this page to a friend who might be interested in the item below.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b31afdfa73c89b567778f15180c2dd6c'] = 'Your email has been sent successfully';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e55de03786f359e2b133f2a74612eba6'] = 'Friend\'s name';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_19f41c3d6db934fb2db1840ddefd2c51'] = 'Friend\'s email';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2541d938b0a58946090d7abdde0d3890'] = 'send';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_68728c1897e5936032fe21ffb6b10c2e'] = 'Back to product page';
|
||||
|
||||
|
||||
return $_MODULE;
|
||||
41
modules/aapfree/translations/es.php
Normal file
41
modules/aapfree/translations/es.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Módulo enviar a un amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Permite a los clientes enviar un enlace de producto a un amigo.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_57206dc27305060c5c29150d3ad00401'] = 'Actualizaciones de MyPresta';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d7d90723c19e43735e731a36a2739c8b'] = 'Revisa actualizaciones';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2c872e677f8b5831f20a66c65e7f8966'] = 'Revisalo ahora';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_722eb8a4b2d0b1c305d6361bcc7564e7'] = 'Actualiza notificaciones';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_633703a658469b7fab7f42e04e59d27a'] = '- seleccionar -';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Habilitar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bcfaccebf745acfd5e75351095a5394a'] = 'Inhabilitar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_cc6fc347e9fd233bddcb7895e307e9a9'] = 'Active esta opción si desea comprobar MyPresta.eu para actualizaciones de módulos automáticamente. Esta opción mostrará notificación sobre las nuevas versiones de este complemento.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_0d24168598880003b80f9e85b8e1d62a'] = 'Página del módulo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_07ac9eab57de962a9518a7545fd475fe'] = 'Este es un enlace directo a la página de addon oficial, donde puede leer sobre los cambios en el módulo (changelog)';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_c9cc8cce247e49bae79f15173ce97354'] = 'Salvar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_4c73ce9e52a25c69cf0dce126d548f98'] = 'Nueva versión disponible, consulte http://MyPresta.eu para obtener más información';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_af02b06496e83946e73e69d774782654'] = '¡Nueva versión disponible!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_358a5fcb448d507b41d7c0a83485973a'] = 'El módulo está al día!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_11cbd9ec2e4b628c371094b6361b9c96'] = 'Su correo electrónico ha sido enviado existosamente';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_6cec0d7f95fa3a4b3254ff11c15df8c3'] = 'Su correo electrónico no pudo ser enviado. Verifique el nombre y la dirección de correo electrónico y vuelva a intentarlo.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a un amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d1f092e79827eaffce4a33fa011fde24'] = 'No completó los campos obligatorios';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_78a7ad1b5b469d19fceabc05b888ab27'] = 'Ajustes actualizan';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_1daca317c1375ca087724663e6fab7ee'] = 'Estoy desarrollando este módulo de forma gratuita, si quieres';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b1167bf6bb5476cd6d7d3065ea8b267b'] = 'envíame una donacion';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_254f642527b45bc260048e30704edb39'] = 'Configuración';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bfcd2f36dbbe8518a9041346ed4fe9cb'] = 'Compatible con GDPR';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Habilitado';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b9f5c797ebbf55adccdd8539a65a0241'] = 'Discapacitado';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3b75aac75dc5f26614dab746da7b081d'] = 'Página de política de privacidad';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_675dfb16d2ef8de7a0db62a83e39b350'] = 'Elija una página de CMS con detalles de política de privacidad para fines de GDPR';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Un amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a un amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nombre de su amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Dirección de correo electrónico de su amigo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_04c3a66c24f289b415ea9aedc6b95547'] = 'acepto';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ca0f9a86ca33f1d6baa9051bd7f4ed21'] = 'política de privacidad';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_a4f86f7bfc24194b276c22e0ef158197'] = 'reglas';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Enviar';
|
||||
21
modules/aapfree/translations/eu.php
Normal file
21
modules/aapfree/translations/eu.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{aapfree}prestashop>product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Lagun bati bidali';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'Zure e-mail bidali da';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'Zure e- mail ezin izan da bidali . Mesedez egiaztatu e- mail helbidea eta saiatu berriro .';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Lagun bati bidali';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_d1f092e79827eaffce4a33fa011fde24'] = 'Ez zenuen bete beharreko eremuak';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Nori';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Zure lagunaren izena';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Zure lagunaren e-mail helbidea';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ea4788705e6873b424c65e91c2846b19'] = 'Utzi';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Lagun bati bidali';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e55de03786f359e2b133f2a74612eba6'] = 'Lagunaren izena';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_19f41c3d6db934fb2db1840ddefd2c51'] = 'Lagunaren e-mail helbidea';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2541d938b0a58946090d7abdde0d3890'] = 'bidali';
|
||||
|
||||
|
||||
return $_MODULE;
|
||||
30
modules/aapfree/translations/fr.php
Normal file
30
modules/aapfree/translations/fr.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Un ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Module envoyer à un ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Permet à vos clients d\'envoyer des liens à leurs amis';
|
||||
$_MODULE['<{aapfree}prestashop>product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'Votre e-mail a bien été envoyé';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'Votre e-mail n\'a pas pu être envoyé. Veuillez vérifier l\'adresse et réessayer.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_d1f092e79827eaffce4a33fa011fde24'] = 'Vous n\'avez pas rempli les champs requis';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Destinataire';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nom de votre ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Adresse e-mail de votre ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_70397c4b252a5168c5ec003931cea215'] = 'Champs requis';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ea4788705e6873b424c65e91c2846b19'] = 'Annuler';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'OU';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_20589174124c25654cac3736e737d2a3'] = 'Envoyer cette page à un ami susceptible d\'être intéressé par le produit ci-dessous';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b31afdfa73c89b567778f15180c2dd6c'] = 'Votre e-mail a bien été envoyé';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e55de03786f359e2b133f2a74612eba6'] = 'Nom de votre ami :';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_19f41c3d6db934fb2db1840ddefd2c51'] = 'E-mail de votre ami';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2541d938b0a58946090d7abdde0d3890'] = 'Envoyer';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_68728c1897e5936032fe21ffb6b10c2e'] = 'Retour à la fiche produit';
|
||||
|
||||
|
||||
return $_MODULE;
|
||||
30
modules/aapfree/translations/gl.php
Normal file
30
modules/aapfree/translations/gl.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Unha amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Módulo de Enviar a unha Amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Permítelle á clientela envia-la ligazón dun produto a unha amizade.';
|
||||
$_MODULE['<{aapfree}prestashop>product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a unha amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'O teu correo electrónico enviouse correctamente';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'Non puido enviarse o teu correo electrónico. Por favor, comproba o enderezo de correo e inténtao de novo.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a unha amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_d1f092e79827eaffce4a33fa011fde24'] = 'Non encheches os campos obrigatorios';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Destinataria';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nome da túa amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Enderezo de correo electrónico da túa amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_70397c4b252a5168c5ec003931cea215'] = 'Campos obrigatorios';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ea4788705e6873b424c65e91c2846b19'] = 'Cancelar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'ou';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Enviar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Enviar a unha amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_20589174124c25654cac3736e737d2a3'] = 'Enviar esta páxina a unha amiga que poida estar interesada no artigo de embaixo.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b31afdfa73c89b567778f15180c2dd6c'] = 'O teu correo electrónico enviouse correctamente';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e55de03786f359e2b133f2a74612eba6'] = 'Nome da amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_19f41c3d6db934fb2db1840ddefd2c51'] = 'Correo electrónico da amiga';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2541d938b0a58946090d7abdde0d3890'] = 'enviar';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_68728c1897e5936032fe21ffb6b10c2e'] = 'Tornar á páxina do produto';
|
||||
|
||||
|
||||
return $_MODULE;
|
||||
35
modules/aapfree/translations/index.php
Normal file
35
modules/aapfree/translations/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
41
modules/aapfree/translations/it.php
Normal file
41
modules/aapfree/translations/it.php
Normal file
@@ -0,0 +1,41 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2074615eb70699e55b1f9289c6c77c25'] = 'Modulo Invia ad un amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3234e2609dd694d8763c390fe97eba04'] = 'Consente ai clienti di inviare un link prodotto a un amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_57206dc27305060c5c29150d3ad00401'] = 'Aggiornamenti MyPresta';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d7d90723c19e43735e731a36a2739c8b'] = 'Controlla gli aggiornamenti';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2c872e677f8b5831f20a66c65e7f8966'] = 'Controlla ora';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_722eb8a4b2d0b1c305d6361bcc7564e7'] = 'Aggiorna le notifiche';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_633703a658469b7fab7f42e04e59d27a'] = '- seleziona -';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Abilitare';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bcfaccebf745acfd5e75351095a5394a'] = 'Disattivare';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_cc6fc347e9fd233bddcb7895e307e9a9'] = 'Attiva questa opzione se vuoi controllare automaticamente MyPresta.eu per gli aggiornamenti dei moduli. Questa opzione mostrerà la notifica sulle nuove versioni di questo addon.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_0d24168598880003b80f9e85b8e1d62a'] = 'Pagina del modulo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_07ac9eab57de962a9518a7545fd475fe'] = 'Questo è un link diretto alla pagina ufficiale degli addon, dove puoi leggere le modifiche al modulo (changelog)';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_c9cc8cce247e49bae79f15173ce97354'] = 'Salvare';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_4c73ce9e52a25c69cf0dce126d548f98'] = 'Nuova versione disponibile, controlla http://MyPresta.eu per maggiori informazioni';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_af02b06496e83946e73e69d774782654'] = 'Nuova versione disponibile!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_358a5fcb448d507b41d7c0a83485973a'] = 'Il modulo è aggiornato!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_11cbd9ec2e4b628c371094b6361b9c96'] = 'La tua email è stata inviata con successo';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_6cec0d7f95fa3a4b3254ff11c15df8c3'] = 'La tua e-mail non può essere inviata. Si prega di controllare il nome e l\'indirizzo e-mail e riprovare.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Invia ad un amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d1f092e79827eaffce4a33fa011fde24'] = 'Non hai compilato i campi obbligatori';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_78a7ad1b5b469d19fceabc05b888ab27'] = 'Impostazioni aggiornate';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_1daca317c1375ca087724663e6fab7ee'] = 'Sto sviluppando questo modulo gratuitamente - se vuoi';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b1167bf6bb5476cd6d7d3065ea8b267b'] = 'mandami una donazione';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_254f642527b45bc260048e30704edb39'] = 'Configurazione';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bfcd2f36dbbe8518a9041346ed4fe9cb'] = 'GDPR Compliant';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Abilitato';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b9f5c797ebbf55adccdd8539a65a0241'] = 'Disabilitato';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3b75aac75dc5f26614dab746da7b081d'] = 'Pagina politica sulla privacy';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_675dfb16d2ef8de7a0db62a83e39b350'] = 'Scegli una pagina CMS con i dettagli sulla privacy per gli scopi di GDPR';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Un amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Invia ad un amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nome del tuo amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Indirizzo email del tuo amico';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_04c3a66c24f289b415ea9aedc6b95547'] = 'accetto';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ca0f9a86ca33f1d6baa9051bd7f4ed21'] = 'politica sulla riservatezza';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_a4f86f7bfc24194b276c22e0ef158197'] = 'regole';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Invia';
|
||||
50
modules/aapfree/translations/pl.php
Normal file
50
modules/aapfree/translations/pl.php
Normal file
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_dc3945107f6c79c489e6ac4070346651'] = 'Zapytaj o produkt';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ad018a83cb84bfbced2b3f4a76580093'] = 'Darmowy moduł pozwalający przesyłać zapytania o produkt';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_57206dc27305060c5c29150d3ad00401'] = 'Aktualizacje MyPresta';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d7d90723c19e43735e731a36a2739c8b'] = 'Sprawdź aktualizacje';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2c872e677f8b5831f20a66c65e7f8966'] = 'Sprawdź teraz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_722eb8a4b2d0b1c305d6361bcc7564e7'] = 'Notyfikacje';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_633703a658469b7fab7f42e04e59d27a'] = '-- wybierz --';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Włącz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bcfaccebf745acfd5e75351095a5394a'] = 'Wyłacz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_cc6fc347e9fd233bddcb7895e307e9a9'] = 'Włącz tę opcję, jeżeli chcesz otrzymywać powiadomienia o dostępności aktualizacji dla tego modułu.';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_0d24168598880003b80f9e85b8e1d62a'] = 'Strona modułu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_07ac9eab57de962a9518a7545fd475fe'] = 'To jest bezpośredni link do strony modułu na stronach mypresta.eu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_c9cc8cce247e49bae79f15173ce97354'] = 'Zapisz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_4c73ce9e52a25c69cf0dce126d548f98'] = 'Nowa wersja modułu jest dostępna, sprawdź mypresta.eu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_2b2972b182c459cca33e2ad5bc02ffa4'] = 'Więcej w changelogu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_af02b06496e83946e73e69d774782654'] = 'Nowa wersja jest dostępna!';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_358a5fcb448d507b41d7c0a83485973a'] = 'Moduł jest aktualny';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_11cbd9ec2e4b628c371094b6361b9c96'] = 'Email został wysłany poprawnie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_6cec0d7f95fa3a4b3254ff11c15df8c3'] = 'Email nie może zostać wysłany. Proszę sprawdzić wprowadzony adres email i spróbować ponownie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e3b26b08857a2f5bb06e33ec296e9b83'] = 'Pytanie o produkt';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d1f092e79827eaffce4a33fa011fde24'] = 'Nie wypełniono wszystkich niezbędnych pól';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_78a7ad1b5b469d19fceabc05b888ab27'] = 'Ustawienia zapisane';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_1daca317c1375ca087724663e6fab7ee'] = 'Tworzę ten moduł za darmo, jeżeli chcesz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b1167bf6bb5476cd6d7d3065ea8b267b'] = 'możesz przesłać drobną kwotę w ramach dotacji';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_254f642527b45bc260048e30704edb39'] = 'Konfiguracja';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_eac081c9261397801f6ab18ca9866a00'] = 'Wyświetl podsumowanie produktu w wyskakującym okienku';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_d2e5ac9e75f6625f22fb5726eac9e2cf'] = 'Podsumowanie produktu to krótki opis produktu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Włącz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_b9f5c797ebbf55adccdd8539a65a0241'] = 'Wyłącz';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_bfcd2f36dbbe8518a9041346ed4fe9cb'] = 'Zgodność z RODO';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_3b75aac75dc5f26614dab746da7b081d'] = 'Strona z polityką prywatności';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_675dfb16d2ef8de7a0db62a83e39b350'] = 'Wybierz stronę cms ze szczegółami dotyczacymi polityki prywatności w Twoim sklepie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_ef36bf88b2184cd346b1cfd2713f8738'] = 'Tytuł wiadomości';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_4ba6a1a6e8be4727ecde000edb5ecbc2'] = 'Moduł wykorzysta ten tekst jako tytuł wiadomości email jaka zostanie Ci dostarczona';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_7f83595872f22ac228de6be09be9c762'] = '%1$s - będzie zastąpiony nazwą klienta który wysyła zapytanie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree_e7986ed512442d5a194d9b2a51d061ae'] = '%2$s - będzie zastąpione nazwą produktu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_96fe4ac310724dd6c70dbd0a5b6f2255'] = 'Zapytaj o produkt';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_352519cba02e5e9ce17b9477a012e87c'] = 'Twoje pytanie';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_221e705c06e231636fdbccfdd14f4d5c'] = 'Twoje imię';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_e26eb754ed50f821a7eea67214e5cf8e'] = 'Jesteś zalogowany jako klient - dlatego nie musisz uzupełniać tego pola';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_198584454b0ce1101ff5b50323325aa8'] = 'Twój adres email';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_1f8261d17452a959e013666c5df45e07'] = 'Numer telefonu';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_04c3a66c24f289b415ea9aedc6b95547'] = 'Akceptuję';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_ca0f9a86ca33f1d6baa9051bd7f4ed21'] = 'zasady';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_a4f86f7bfc24194b276c22e0ef158197'] = 'polityki prywatności';
|
||||
$_MODULE['<{aapfree}prestashop>aapfree-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Wyślij';
|
||||
87
modules/aapfree/views/aapfree-extra.tpl
Normal file
87
modules/aapfree/views/aapfree-extra.tpl
Normal file
@@ -0,0 +1,87 @@
|
||||
{*
|
||||
*
|
||||
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
|
||||
*
|
||||
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
|
||||
* @copyright 2010-2021 VEKIA
|
||||
* @license This program is not free software and you can't resell and redistribute it
|
||||
*
|
||||
* CONTACT WITH DEVELOPER http://mypresta.eu
|
||||
* support@mypresta.eu
|
||||
*
|
||||
*}
|
||||
<a id="send_aap_button" class="btn btn-primary" href="#send_AAP_form">
|
||||
<i class="material-icons">help_outline</i>{l s='Ask about product' mod='aapfree'}
|
||||
</a>
|
||||
|
||||
<div style="display: none;">
|
||||
<div id="send_AAP_form" class="card">
|
||||
<div class="card-block">
|
||||
<div class="product clearfix col-lg-12">
|
||||
<img src="{$link->getImageLink($aapfree_product->link_rewrite, $aapfree_product_cover, 'home_default')|escape:'html'}" alt="{$aapfree_product->name|escape:html:'UTF-8'}"/>
|
||||
<div class="product_desc">
|
||||
<p class="product_name"><strong>{$aapfree_product->name}</strong></p>
|
||||
{if $aapfree_SUMMARY == true}
|
||||
{$aapfree_product->description_short nofilter}
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-lg-6">
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="question">{l s='Your question' mod='aapfree'}</label>
|
||||
<textarea name="aapfree_question" id="aapfree_question" class="form-control"></textarea>
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<div class="send_AAP_form_content col-lg-6" id="send_AAP_form_content">
|
||||
<div id="send_AAP_form_error" class="alert alert-danger" style="display:none;"></div>
|
||||
<div class="form_container">
|
||||
{if !Context::getContext()->customer->islogged()}
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="author">{l s='Your name' mod='aapfree'}</label>
|
||||
<input id="aapfree_author" name="aapfree_author" type="text" value="" class="form-control"/>
|
||||
</fieldset>
|
||||
{else}
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="author">{l s='Your name' mod='aapfree'}</label>
|
||||
<input disabled id="aapfree_author" name="aapfree_author" type="text" value="{Context::getContext()->customer->firstname} {Context::getContext()->customer->lastname}" class="form-control disabled"/>
|
||||
<p class="small">({l s='You are logged as a customer, we get your name automatically from your account details' mod='aapfree'})</p>
|
||||
</fieldset>
|
||||
{/if}
|
||||
{if !Context::getContext()->customer->islogged()}
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="aapfree_email">{l s='Your email address' mod='aapfree'}</label>
|
||||
<input id="aapfree_email" name="aapfree_email" type="text" value="" class="form-control"/>
|
||||
</fieldset>
|
||||
{else}
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="aapfree_email">{l s='Your email address' mod='aapfree'}</label>
|
||||
<input id="aapfree_email" name="aapfree_email" type="text" value="{Context::getContext()->customer->email}" class="form-control"/>
|
||||
</fieldset>
|
||||
{/if}
|
||||
<fieldset class="form-group">
|
||||
<label class="form-control-label" for="author">{l s='Phone number' mod='aapfree'}</label>
|
||||
<input id="aapfree_phone" name="aapfree_phone" type="text" value="" class="form-control"/>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-12 send_AAP_form_content_button">
|
||||
<p class="submit pull-right">
|
||||
{if $aapfree_GDPR == 1}
|
||||
{literal}
|
||||
<input onchange="if($(this).is(':checked')){$('#sendAAPEmail').removeClass('gdpr_disabled'); $('#sendAAPEmail').removeAttr('disabled'); $('#sendAAPEmail').click(function(){aapfreeEmail();});}else{$('#sendAAPEmail').addClass('gdpr_disabled'); $('#sendAAPEmail').off('click'); $('#sendAAPEmail').attr('disabled', 1); }"
|
||||
id="gdpr_checkbox" type="checkbox">
|
||||
{/literal}
|
||||
{l s='I accept ' mod='aapfree'}
|
||||
<a target="_blank"
|
||||
href="{$link->getCmsLink($aapfree_GDPRCMS)}">{l s='privacy policy' mod='aapfree'}</a>
|
||||
{l s='rules' mod='aapfree'}
|
||||
{/if}
|
||||
<input {if $aapfree_GDPR == 1}disabled{/if} id="sendAAPEmail" class="btn btn-primary {if $aapfree_GDPR == 1}gdpr_disabled{/if}" name="sendAAPEmail" type="submit" value="{l s='Send' mod='aapfree'}"/>
|
||||
<input id="id_product_send" name="id_product" type="hidden" value="{$aapfree_product->id}"/>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
47
modules/aapfree/views/aapfree.css
Normal file
47
modules/aapfree/views/aapfree.css
Normal file
@@ -0,0 +1,47 @@
|
||||
/**
|
||||
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
|
||||
*
|
||||
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
|
||||
* @copyright 2010-2021 VEKIA
|
||||
* @license This program is not free software and you can't resell and redistribute it
|
||||
*
|
||||
* CONTACT WITH DEVELOPER http://mypresta.eu
|
||||
* support@mypresta.eu
|
||||
*/
|
||||
|
||||
#send_AAP_form {
|
||||
max-width: 600px;
|
||||
}
|
||||
|
||||
#send_AAP_form .product {
|
||||
text-align: center;
|
||||
border-bottom: 1px solid #cecece;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#send_AAP_form .pull-right {
|
||||
float: right;
|
||||
}
|
||||
|
||||
#send_AAP_form #gdpr_checkbox {
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
#send_AAP_form .gdpr_disabled {
|
||||
opacity: .5;
|
||||
background: silver !important;
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
#send_AAP_form textarea {
|
||||
height: 260px;
|
||||
}
|
||||
|
||||
.send_AAP_form_content_button {
|
||||
border-top: 1px solid #cecece;
|
||||
padding-top:20px;
|
||||
margin-top:20px;
|
||||
display:block;
|
||||
clear:both;
|
||||
}
|
||||
70
modules/aapfree/views/aapfree.js
Normal file
70
modules/aapfree/views/aapfree.js
Normal file
@@ -0,0 +1,70 @@
|
||||
/**
|
||||
* PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-)
|
||||
*
|
||||
* @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/
|
||||
* @copyright 2010-2021 VEKIA
|
||||
* @license This program is not free software and you can't resell and redistribute it
|
||||
*
|
||||
* CONTACT WITH DEVELOPER http://mypresta.eu
|
||||
* support@mypresta.eu
|
||||
*/
|
||||
|
||||
$('document').ready(function () {
|
||||
$('#send_aap_button').fancybox({
|
||||
'hideOnContentClick': false
|
||||
});
|
||||
|
||||
if (aapfree_aapfree_GDPR != 1) {
|
||||
$('#sendAAPEmail').click(function () {
|
||||
aapfreeEmail();
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
function aapfreeEmail() {
|
||||
var author = $('#aapfree_author').val();
|
||||
var email = $('#aapfree_email').val();
|
||||
var phone = $('#aapfree_phone').val();
|
||||
var question = $('#aapfree_question').val();
|
||||
var id_product = $('#id_product_send').val();
|
||||
if (email && !isNaN(id_product)) {
|
||||
$.ajax({
|
||||
url: aapfree_frontcontroller+'&'+$('#add-to-cart-or-refresh').serialize(),
|
||||
type: "POST",
|
||||
headers: {"cache-control": "no-cache"},
|
||||
data: {
|
||||
action: 'sendQuestion',
|
||||
secure_key: aapfree_secureKey,
|
||||
author: author,
|
||||
phone: phone,
|
||||
question: question,
|
||||
id_lang: aapfree_id_lang,
|
||||
email: email,
|
||||
id_product: id_product
|
||||
},
|
||||
dataType: "json",
|
||||
success: function (result) {
|
||||
$.fancybox.close();
|
||||
var msg = result ? aapfree_confirmation : aapfree_problem;
|
||||
var title = aapfree_title;
|
||||
fancyMsgBoxaapfree(msg, title);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
$('#send_AAP_form_error').show().text(aapfree_missingFields);
|
||||
}
|
||||
}
|
||||
|
||||
function fancyMsgBoxaapfree(msg, title) {
|
||||
if (title) msg = "<h2 style=\"padding-bottom:10px;\">" + title + "</h2><p>" + msg + "</p>";
|
||||
msg += "<br/><p class=\"submit\" style=\"text-align:right; padding-bottom: 0\"><input class=\" btn btn-primary\" type=\"button\" value=\"OK\" onclick=\"$.fancybox.close();\" /></p>";
|
||||
$.fancybox(msg, {
|
||||
'autoDimensions': false,
|
||||
'width': 500,
|
||||
'height': 'auto',
|
||||
'transitionIn': 'none',
|
||||
'transitionOut': 'none'
|
||||
});
|
||||
}
|
||||
|
||||
35
modules/aapfree/views/index.php
Normal file
35
modules/aapfree/views/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2016 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2016 PrestaShop SA
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user