diff --git a/config/.htaccess b/config/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/config/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/config/alias.php b/config/alias.php new file mode 100644 index 00000000..192c29ba --- /dev/null +++ b/config/alias.php @@ -0,0 +1,90 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +function fd($var) +{ + return (Tools::fd($var)); +} + +function p($var) +{ + return (Tools::p($var)); +} + +function d($var) +{ + Tools::d($var); +} + +function ppp($var) +{ + return (Tools::p($var)); +} + +function ddd($var) +{ + Tools::d($var); +} + +function epr($var, $message_type = null, $destination = null, $extra_headers = null) +{ + return Tools::error_log($var, $message_type, $destination, $extra_headers); +} + +/** + * Sanitize data which will be injected into SQL query + * + * @param string $string SQL data which will be injected into SQL query + * @param bool $htmlOK Does data contain HTML code ? (optional) + * @return string Sanitized data + */ +function pSQL($string, $htmlOK = false) +{ + return Db::getInstance()->escape($string, $htmlOK); +} + +function bqSQL($string) +{ + return str_replace('`', '\`', pSQL($string)); +} + +function displayFatalError() +{ + $error = null; + if (function_exists('error_get_last')) + $error = error_get_last(); + if ($error !== NULL && in_array($error['type'], array(E_ERROR, E_PARSE, E_COMPILE_ERROR ))) + echo '[PrestaShop] Fatal error in module file :'.$error['file'].':
'.$error['message']; +} + +/** + * @deprecated + */ +function nl2br2($string) +{ + Tools::displayAsDeprecated(); + return Tools::nl2br($string); +} diff --git a/config/autoload.php b/config/autoload.php new file mode 100644 index 00000000..0b38ab00 --- /dev/null +++ b/config/autoload.php @@ -0,0 +1,32 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +// Include some alias functions +require_once(_PS_CONFIG_DIR_.'alias.php'); +require_once(_PS_CLASS_DIR_.'PrestaShopAutoload.php'); + +spl_autoload_register(array(PrestaShopAutoload::getInstance(), 'load')); + diff --git a/config/bootstrap.php b/config/bootstrap.php new file mode 100644 index 00000000..92497d22 --- /dev/null +++ b/config/bootstrap.php @@ -0,0 +1,29 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$container_builder = new Core_Business_ContainerBuilder; +$container = $container_builder->build(); +Adapter_ServiceLocator::setServiceContainerInstance($container); diff --git a/config/config.inc.php b/config/config.inc.php new file mode 100644 index 00000000..aad5d98c --- /dev/null +++ b/config/config.inc.php @@ -0,0 +1,255 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +require_once(dirname(__FILE__).'/defines.inc.php'); +$start_time = microtime(true); + +/* SSL configuration */ +define('_PS_SSL_PORT_', 443); + +/* Improve PHP configuration to prevent issues */ +ini_set('default_charset', 'utf-8'); +ini_set('magic_quotes_runtime', 0); +ini_set('magic_quotes_sybase', 0); + +/* correct Apache charset (except if it's too late */ +if (!headers_sent()) + header('Content-Type: text/html; charset=utf-8'); + +/* No settings file? goto installer... */ +if (!file_exists(_PS_ROOT_DIR_.'/config/settings.inc.php')) +{ + if (file_exists(dirname(__FILE__).'/../install')) + header('Location: install/'); + elseif (file_exists(dirname(__FILE__).'/../install-dev')) + header('Location: install-dev/'); + else + die('Error: "install" directory is missing'); + exit; +} + +/* include settings file only if we are not in multi-tenancy mode */ +require_once(_PS_ROOT_DIR_.'/config/settings.inc.php'); +require_once(_PS_CONFIG_DIR_.'autoload.php'); + +require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'bootstrap.php'; + +/* Custom config made by users */ +if (is_file(_PS_CUSTOM_CONFIG_FILE_)) + include_once(_PS_CUSTOM_CONFIG_FILE_); + +if (_PS_DEBUG_PROFILING_) +{ + include_once(_PS_TOOL_DIR_.'profiling/Controller.php'); + include_once(_PS_TOOL_DIR_.'profiling/ObjectModel.php'); + include_once(_PS_TOOL_DIR_.'profiling/Db.php'); + include_once(_PS_TOOL_DIR_.'profiling/Tools.php'); +} + +if (Tools::convertBytes(ini_get('upload_max_filesize')) < Tools::convertBytes('100M')) + ini_set('upload_max_filesize', '100M'); + +if (Tools::isPHPCLI() && isset($argc) && isset($argv)) + Tools::argvToGET($argc, $argv); + +/* Redefine REQUEST_URI if empty (on some webservers...) */ +if (!isset($_SERVER['REQUEST_URI']) || empty($_SERVER['REQUEST_URI'])) +{ + if (!isset($_SERVER['SCRIPT_NAME']) && isset($_SERVER['SCRIPT_FILENAME'])) + $_SERVER['SCRIPT_NAME'] = $_SERVER['SCRIPT_FILENAME']; + if (isset($_SERVER['SCRIPT_NAME'])) + { + if (basename($_SERVER['SCRIPT_NAME']) == 'index.php' && empty($_SERVER['QUERY_STRING'])) + $_SERVER['REQUEST_URI'] = dirname($_SERVER['SCRIPT_NAME']).'/'; + else + { + $_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME']; + if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) + $_SERVER['REQUEST_URI'] .= '?'.$_SERVER['QUERY_STRING']; + } + } +} + +/* Trying to redefine HTTP_HOST if empty (on some webservers...) */ +if (!isset($_SERVER['HTTP_HOST']) || empty($_SERVER['HTTP_HOST'])) + $_SERVER['HTTP_HOST'] = @getenv('HTTP_HOST'); + +$context = Context::getContext(); + +/* Initialize the current Shop */ +try +{ + $context->shop = Shop::initialize(); + $context->theme = new Theme((int)$context->shop->id_theme); + if ((Tools::isEmpty($theme_name = $context->shop->getTheme()) || !Validate::isLoadedObject($context->theme)) && !defined('_PS_ADMIN_DIR_')) + throw new PrestaShopException(Tools::displayError('Current theme unselected. Please check your theme configuration.')); +} +catch (PrestaShopException $e) +{ + $e->displayMessage(); +} +define('_THEME_NAME_', $theme_name); +define('__PS_BASE_URI__', $context->shop->getBaseURI()); + +/* Include all defines related to base uri and theme name */ +require_once(dirname(__FILE__).'/defines_uri.inc.php'); + +global $_MODULES; +$_MODULES = array(); + +define('_PS_PRICE_DISPLAY_PRECISION_', Configuration::get('PS_PRICE_DISPLAY_PRECISION')); +define('_PS_PRICE_COMPUTE_PRECISION_', _PS_PRICE_DISPLAY_PRECISION_); + +if (Configuration::get('PS_USE_HTMLPURIFIER')) + require_once (_PS_TOOL_DIR_.'htmlpurifier/HTMLPurifier.standalone.php'); + +/* Load all languages */ +Language::loadLanguages(); + +/* Loading default country */ +$default_country = new Country(Configuration::get('PS_COUNTRY_DEFAULT'), Configuration::get('PS_LANG_DEFAULT')); +$context->country = $default_country; + +/* It is not safe to rely on the system's timezone settings, and this would generate a PHP Strict Standards notice. */ +@date_default_timezone_set(Configuration::get('PS_TIMEZONE')); + +/* Set locales */ +$locale = strtolower(Configuration::get('PS_LOCALE_LANGUAGE')).'_'.strtoupper(Configuration::get('PS_LOCALE_COUNTRY')); +/* Please do not use LC_ALL here http://www.php.net/manual/fr/function.setlocale.php#25041 */ +setlocale(LC_COLLATE, $locale.'.UTF-8', $locale.'.utf8'); +setlocale(LC_CTYPE, $locale.'.UTF-8', $locale.'.utf8'); +setlocale(LC_TIME, $locale.'.UTF-8', $locale.'.utf8'); +setlocale(LC_NUMERIC, 'en_US.UTF-8', 'en_US.utf8'); + +/* Instantiate cookie */ +$cookie_lifetime = defined('_PS_ADMIN_DIR_') ? (int)Configuration::get('PS_COOKIE_LIFETIME_BO') : (int)Configuration::get('PS_COOKIE_LIFETIME_FO'); +if ($cookie_lifetime > 0) + $cookie_lifetime = time() + (max($cookie_lifetime, 1) * 3600); + +if (defined('_PS_ADMIN_DIR_')) + $cookie = new Cookie('psAdmin', '', $cookie_lifetime); +else +{ + $force_ssl = Configuration::get('PS_SSL_ENABLED') && Configuration::get('PS_SSL_ENABLED_EVERYWHERE'); + if ($context->shop->getGroup()->share_order) + $cookie = new Cookie('ps-sg'.$context->shop->getGroup()->id, '', $cookie_lifetime, $context->shop->getUrlsSharedCart(), false, $force_ssl); + else + { + $domains = null; + if ($context->shop->domain != $context->shop->domain_ssl) + $domains = array($context->shop->domain_ssl, $context->shop->domain); + + $cookie = new Cookie('ps-s'.$context->shop->id, '', $cookie_lifetime, $domains, false, $force_ssl); + } +} + +$context->cookie = $cookie; + +/* Create employee if in BO, customer else */ +if (defined('_PS_ADMIN_DIR_')) +{ + $employee = new Employee($cookie->id_employee); + $context->employee = $employee; + + /* Auth on shops are recached after employee assignation */ + if ($employee->id_profile != _PS_ADMIN_PROFILE_) + Shop::cacheShops(true); + + $cookie->id_lang = (int)$employee->id_lang; +} + +/* if the language stored in the cookie is not available language, use default language */ +if (isset($cookie->id_lang) && $cookie->id_lang) + $language = new Language($cookie->id_lang); +if (!isset($language) || !Validate::isLoadedObject($language)) + $language = new Language(Configuration::get('PS_LANG_DEFAULT')); +$context->language = $language; + +if (!defined('_PS_ADMIN_DIR_')) +{ + if (isset($cookie->id_customer) && (int)$cookie->id_customer) + { + $customer = new Customer($cookie->id_customer); + if (!Validate::isLoadedObject($customer)) + $context->cookie->logout(); + else + { + $customer->logged = true; + if ($customer->id_lang != $context->language->id) + { + $customer->id_lang = $context->language->id; + $customer->update(); + } + } + } + + if (!isset($customer) || !Validate::isLoadedObject($customer)) + { + $customer = new Customer(); + + /* Change the default group */ + if (Group::isFeatureActive()) + $customer->id_default_group = (int)Configuration::get('PS_UNIDENTIFIED_GROUP'); + } + $customer->id_guest = $cookie->id_guest; + $context->customer = $customer; +} + +/* Link should also be initialized in the context here for retrocompatibility */ +$https_link = (Tools::usingSecureMode() && Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://'; +$context->link = new Link($https_link, $https_link); + +/** + * @deprecated + * USE : Configuration::get() method in order to getting the id of order status + */ + +define('_PS_OS_CHEQUE_', Configuration::get('PS_OS_CHEQUE')); +define('_PS_OS_PAYMENT_', Configuration::get('PS_OS_PAYMENT')); +define('_PS_OS_PREPARATION_', Configuration::get('PS_OS_PREPARATION')); +define('_PS_OS_SHIPPING_', Configuration::get('PS_OS_SHIPPING')); +define('_PS_OS_DELIVERED_', Configuration::get('PS_OS_DELIVERED')); +define('_PS_OS_CANCELED_', Configuration::get('PS_OS_CANCELED')); +define('_PS_OS_REFUND_', Configuration::get('PS_OS_REFUND')); +define('_PS_OS_ERROR_', Configuration::get('PS_OS_ERROR')); +define('_PS_OS_OUTOFSTOCK_', Configuration::get('PS_OS_OUTOFSTOCK')); +define('_PS_OS_OUTOFSTOCK_PAID_', Configuration::get('PS_OS_OUTOFSTOCK_PAID')); +define('_PS_OS_OUTOFSTOCK_UNPAID_', Configuration::get('PS_OS_OUTOFSTOCK_UNPAID')); +define('_PS_OS_BANKWIRE_', Configuration::get('PS_OS_BANKWIRE')); +define('_PS_OS_PAYPAL_', Configuration::get('PS_OS_PAYPAL')); +define('_PS_OS_WS_PAYMENT_', Configuration::get('PS_OS_WS_PAYMENT')); +define('_PS_OS_COD_VALIDATION_', Configuration::get('PS_OS_COD_VALIDATION')); + +if (!defined('_MEDIA_SERVER_1_')) + define('_MEDIA_SERVER_1_', Configuration::get('PS_MEDIA_SERVER_1')); +if (!defined('_MEDIA_SERVER_2_')) + define('_MEDIA_SERVER_2_', Configuration::get('PS_MEDIA_SERVER_2')); +if (!defined('_MEDIA_SERVER_3_')) + define('_MEDIA_SERVER_3_', Configuration::get('PS_MEDIA_SERVER_3')); + +/* Get smarty */ +require_once(dirname(__FILE__).'/smarty.config.inc.php'); +$context->smarty = $smarty; diff --git a/config/db_slave_server.inc.php b/config/db_slave_server.inc.php new file mode 100644 index 00000000..3732e21b --- /dev/null +++ b/config/db_slave_server.inc.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + + +/* +return array( + array('server' => '192.168.0.15', 'user' => 'rep', 'password' => '123456', 'database' => 'rep'), + array('server' => '192.168.0.3', 'user' => 'myuser', 'password' => 'mypassword', 'database' => 'mydatabase'), + ); +*/ + +return array(); \ No newline at end of file diff --git a/config/defines.inc.php b/config/defines.inc.php new file mode 100644 index 00000000..986da75c --- /dev/null +++ b/config/defines.inc.php @@ -0,0 +1,199 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +/* Debug only */ +if (!defined('_PS_MODE_DEV_')) + define('_PS_MODE_DEV_', false); +/* Compatibility warning */ +define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true); +if (_PS_MODE_DEV_ === true) +{ + @ini_set('display_errors', 'on'); + @error_reporting(E_ALL | E_STRICT); + define('_PS_DEBUG_SQL_', true); +} +else +{ + @ini_set('display_errors', 'off'); + define('_PS_DEBUG_SQL_', false); +} + +define('_PS_DEBUG_PROFILING_', false); +define('_PS_MODE_DEMO_', false); + +$currentDir = dirname(__FILE__); + +if (!defined('PHP_VERSION_ID')) +{ + $version = explode('.', PHP_VERSION); + define('PHP_VERSION_ID', ($version[0] * 10000 + $version[1] * 100 + $version[2])); +} + +if (!defined('_PS_VERSION_') && (getenv('_PS_VERSION_') || getenv('REDIRECT__PS_VERSION_'))) + define('_PS_VERSION_', getenv('_PS_VERSION_') ? getenv('_PS_VERSION_') : getenv('REDIRECT__PS_VERSION_')); + +if (!defined('_PS_HOST_MODE_') && (getenv('_PS_HOST_MODE_') || getenv('REDIRECT__PS_HOST_MODE_'))) + define('_PS_HOST_MODE_', getenv('_PS_HOST_MODE_') ? getenv('_PS_HOST_MODE_') : getenv('REDIRECT__PS_HOST_MODE_')); + +if (!defined('_PS_ROOT_DIR_') && (getenv('_PS_ROOT_DIR_') || getenv('REDIRECT__PS_ROOT_DIR_'))) + define('_PS_ROOT_DIR_', getenv('_PS_ROOT_DIR_') ? getenv('_PS_ROOT_DIR_') : getenv('REDIRECT__PS_ROOT_DIR_')); + +/* Directories */ +if (!defined('_PS_ROOT_DIR_')) + define('_PS_ROOT_DIR_', realpath($currentDir.'/..')); + +if (!defined('_PS_CORE_DIR_')) + define('_PS_CORE_DIR_', realpath($currentDir.'/..')); + +define('_PS_ALL_THEMES_DIR_', _PS_ROOT_DIR_.'/themes/'); +/* BO THEMES */ +if (defined('_PS_ADMIN_DIR_')) + define('_PS_BO_ALL_THEMES_DIR_', _PS_ADMIN_DIR_.'/themes/'); +define('_PS_CACHE_DIR_', _PS_ROOT_DIR_.'/cache/'); +define('_PS_CONFIG_DIR_', _PS_CORE_DIR_.'/config/'); +define('_PS_CUSTOM_CONFIG_FILE_', _PS_CONFIG_DIR_.'settings_custom.inc.php'); +define('_PS_CLASS_DIR_', _PS_CORE_DIR_.'/classes/'); +define('_PS_DOWNLOAD_DIR_', _PS_ROOT_DIR_.'/download/'); +define('_PS_MAIL_DIR_', _PS_CORE_DIR_.'/mails/'); +if (!defined('_PS_MODULE_DIR_')) + define('_PS_MODULE_DIR_', _PS_ROOT_DIR_.'/modules/'); +if (!defined('_PS_OVERRIDE_DIR_')) + define('_PS_OVERRIDE_DIR_', _PS_ROOT_DIR_.'/override/'); +define('_PS_PDF_DIR_', _PS_CORE_DIR_.'/pdf/'); +define('_PS_TRANSLATIONS_DIR_', _PS_ROOT_DIR_.'/translations/'); +define('_PS_UPLOAD_DIR_', _PS_ROOT_DIR_.'/upload/'); + +define('_PS_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/'); +define('_PS_ADMIN_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/admin/'); +define('_PS_FRONT_CONTROLLER_DIR_', _PS_CORE_DIR_.'/controllers/front/'); + +define('_PS_TOOL_DIR_', _PS_CORE_DIR_.'/tools/'); +define('_PS_GEOIP_DIR_', _PS_TOOL_DIR_.'geoip/'); +define('_PS_GEOIP_CITY_FILE_', 'GeoLiteCity.dat'); +define('_PS_PEAR_XML_PARSER_PATH_', _PS_TOOL_DIR_.'pear_xml_parser/'); +define('_PS_SWIFT_DIR_', _PS_TOOL_DIR_.'swift/'); +define('_PS_TAASC_PATH_', _PS_TOOL_DIR_.'taasc/'); +define('_PS_TCPDF_PATH_', _PS_TOOL_DIR_.'tcpdf/'); + +define('_PS_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); + +if (!defined('_PS_HOST_MODE_')) + define('_PS_CORE_IMG_DIR_', _PS_CORE_DIR_.'/img/'); +else + define('_PS_CORE_IMG_DIR_', _PS_ROOT_DIR_.'/img/'); + +define('_PS_CAT_IMG_DIR_', _PS_IMG_DIR_.'c/'); +define('_PS_COL_IMG_DIR_', _PS_IMG_DIR_.'co/'); +define('_PS_EMPLOYEE_IMG_DIR_', _PS_IMG_DIR_.'e/'); +define('_PS_GENDERS_DIR_', _PS_IMG_DIR_.'genders/'); +define('_PS_LANG_IMG_DIR_', _PS_IMG_DIR_.'l/'); +define('_PS_MANU_IMG_DIR_', _PS_IMG_DIR_.'m/'); +define('_PS_ORDER_STATE_IMG_DIR_', _PS_IMG_DIR_.'os/'); +define('_PS_PROD_IMG_DIR_', _PS_IMG_DIR_.'p/'); +define('_PS_SCENE_IMG_DIR_', _PS_IMG_DIR_.'scenes/'); +define('_PS_SCENE_THUMB_IMG_DIR_', _PS_IMG_DIR_.'scenes/thumbs/'); +define('_PS_SHIP_IMG_DIR_', _PS_IMG_DIR_.'s/'); +define('_PS_STORE_IMG_DIR_', _PS_IMG_DIR_.'st/'); +define('_PS_SUPP_IMG_DIR_', _PS_IMG_DIR_.'su/'); +define('_PS_TMP_IMG_DIR_', _PS_IMG_DIR_.'tmp/'); + +/* settings php */ +define('_PS_TRANS_PATTERN_', '(.*[^\\\\])'); +define('_PS_MIN_TIME_GENERATE_PASSWD_', '360'); +if (!defined('_PS_MAGIC_QUOTES_GPC_')) + define('_PS_MAGIC_QUOTES_GPC_', get_magic_quotes_gpc()); + +define('_CAN_LOAD_FILES_', 1); + +/* Order statuses +Order statuses have been moved into config.inc.php file for backward compatibility reasons */ + +/* Tax behavior */ +define('PS_PRODUCT_TAX', 0); +define('PS_STATE_TAX', 1); +define('PS_BOTH_TAX', 2); + +define('PS_TAX_EXC', 1); +define('PS_TAX_INC', 0); + +define('PS_ORDER_PROCESS_STANDARD', 0); +define('PS_ORDER_PROCESS_OPC', 1); + +define('PS_ROUND_UP', 0); +define('PS_ROUND_DOWN', 1); +define('PS_ROUND_HALF_UP', 2); +define('PS_ROUND_HALF_DOWN', 3); +define('PS_ROUND_HALF_EVEN', 4); +define('PS_ROUND_HALF_ODD', 5); + +/* Backward compatibility */ +define('PS_ROUND_HALF', PS_ROUND_HALF_UP); + +/* Registration behavior */ +define('PS_REGISTRATION_PROCESS_STANDARD', 0); +define('PS_REGISTRATION_PROCESS_AIO', 1); + +/* Carrier::getCarriers() filter */ +// these defines are DEPRECATED since 1.4.5 version +define('PS_CARRIERS_ONLY', 1); +define('CARRIERS_MODULE', 2); +define('CARRIERS_MODULE_NEED_RANGE', 3); +define('PS_CARRIERS_AND_CARRIER_MODULES_NEED_RANGE', 4); +define('ALL_CARRIERS', 5); + +/* SQL Replication management */ +define('_PS_USE_SQL_SLAVE_', 0); + +/* PS Technical configuration */ +define('_PS_ADMIN_PROFILE_', 1); + +/* Stock Movement */ +define('_STOCK_MOVEMENT_ORDER_REASON_', 3); +define('_STOCK_MOVEMENT_MISSING_REASON_', 4); + +/** + * @deprecated 1.5.0.1 + * @see Configuration::get('PS_CUSTOMER_GROUP') + */ +define('_PS_DEFAULT_CUSTOMER_GROUP_', 3); + +define('_PS_CACHEFS_DIRECTORY_', _PS_ROOT_DIR_.'/cache/cachefs/'); + +/* Geolocation */ +define('_PS_GEOLOCATION_NO_CATALOG_', 0); +define('_PS_GEOLOCATION_NO_ORDER_', 1); + +define('MIN_PASSWD_LENGTH', 8); + +define('_PS_SMARTY_NO_COMPILE_', 0); +define('_PS_SMARTY_CHECK_COMPILE_', 1); +define('_PS_SMARTY_FORCE_COMPILE_', 2); + +define('_PS_SMARTY_CONSOLE_CLOSE_', 0); +define('_PS_SMARTY_CONSOLE_OPEN_BY_URL_', 1); +define('_PS_SMARTY_CONSOLE_OPEN_', 2); + +define('_PS_JQUERY_VERSION_', '1.11.0'); diff --git a/config/defines_uri.inc.php b/config/defines_uri.inc.php new file mode 100644 index 00000000..fa852272 --- /dev/null +++ b/config/defines_uri.inc.php @@ -0,0 +1,90 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +/* Theme URLs */ +define('_PS_DEFAULT_THEME_NAME_', 'default-bootstrap'); +define('_PS_THEME_DIR_', _PS_ROOT_DIR_.'/themes/'._THEME_NAME_.'/'); +define('_THEMES_DIR_', __PS_BASE_URI__.'themes/'); +define('_THEME_DIR_', _THEMES_DIR_._THEME_NAME_.'/'); +define('_THEME_IMG_DIR_', _THEME_DIR_.'img/'); +define('_THEME_CSS_DIR_', _THEME_DIR_.'css/'); +define('_THEME_JS_DIR_', _THEME_DIR_.'js/'); +define('_PS_THEME_OVERRIDE_DIR_', _PS_THEME_DIR_.'override/'); + +/* For mobile devices */ +if (file_exists(_PS_THEME_DIR_.'mobile/')) +{ + define('_PS_THEME_MOBILE_DIR_', _PS_THEME_DIR_.'mobile/'); + define('_THEME_MOBILE_DIR_', _THEMES_DIR_._THEME_NAME_.'/mobile/'); +} +else +{ + define('_PS_THEME_MOBILE_DIR_', _PS_ROOT_DIR_.'/themes/'._PS_DEFAULT_THEME_NAME_.'/mobile/'); + define('_THEME_MOBILE_DIR_', __PS_BASE_URI__.'themes/'._PS_DEFAULT_THEME_NAME_.'/mobile/'); +} +define('_PS_THEME_MOBILE_OVERRIDE_DIR_', _PS_THEME_MOBILE_DIR_.'override/'); + +define('_THEME_MOBILE_IMG_DIR_', _THEME_MOBILE_DIR_.'img/'); +define('_THEME_MOBILE_CSS_DIR_', _THEME_MOBILE_DIR_.'css/'); +define('_THEME_MOBILE_JS_DIR_', _THEME_MOBILE_DIR_.'js/'); + +/* For touch pad devices */ +define('_PS_THEME_TOUCHPAD_DIR_', _PS_THEME_DIR_.'touchpad/'); +define('_THEME_TOUCHPAD_DIR_', _THEMES_DIR_._THEME_NAME_.'/touchpad/'); +define('_THEME_TOUCHPAD_CSS_DIR_', _THEME_TOUCHPAD_DIR_.'css/'); +define('_THEME_TOUCHPAD_JS_DIR_', _THEME_TOUCHPAD_DIR_.'js/'); + +/* Image URLs */ +define('_PS_IMG_', __PS_BASE_URI__.'img/'); +define('_PS_ADMIN_IMG_', _PS_IMG_.'admin/'); +define('_PS_TMP_IMG_', _PS_IMG_.'tmp/'); +define('_THEME_CAT_DIR_', _PS_IMG_.'c/'); +define('_THEME_PROD_DIR_', _PS_IMG_.'p/'); +define('_THEME_MANU_DIR_', _PS_IMG_.'m/'); +define('_THEME_SCENE_DIR_', _PS_IMG_.'scenes/'); +define('_THEME_SCENE_THUMB_DIR_', _PS_IMG_.'scenes/thumbs'); +define('_THEME_SUP_DIR_', _PS_IMG_.'su/'); +define('_THEME_SHIP_DIR_', _PS_IMG_.'s/'); +define('_THEME_STORE_DIR_', _PS_IMG_.'st/'); +define('_THEME_LANG_DIR_', _PS_IMG_.'l/'); +define('_THEME_COL_DIR_', _PS_IMG_.'co/'); +define('_THEME_GENDERS_DIR_', _PS_IMG_.'genders/'); +define('_SUPP_DIR_', _PS_IMG_.'su/'); +define('_PS_PROD_IMG_', _PS_IMG_.'p/'); + +/* Other URLs */ +define('_PS_JS_DIR_', __PS_BASE_URI__.'js/'); +define('_PS_CSS_DIR_', __PS_BASE_URI__.'css/'); +define('_THEME_PROD_PIC_DIR_', __PS_BASE_URI__.'upload/'); +define('_MAIL_DIR_', __PS_BASE_URI__.'mails/'); +define('_MODULE_DIR_', __PS_BASE_URI__.'modules/'); + +/* Define API URLs if not defined before */ +Tools::safeDefine('_PS_API_DOMAIN_', 'api.prestashop.com'); +Tools::safeDefine('_PS_API_URL_', 'http://'._PS_API_DOMAIN_); +Tools::safeDefine('_PS_TAB_MODULE_LIST_URL_', _PS_API_URL_.'/xml/tab_modules_list.xml'); +Tools::safeDefine('_PS_API_MODULES_LIST_16_', _PS_API_DOMAIN_.'/xml/modules_list_16.xml'); +Tools::safeDefine('_PS_CURRENCY_FEED_URL_', _PS_API_URL_.'/xml/currencies.xml'); diff --git a/config/index.php b/config/index.php new file mode 100644 index 00000000..ffdebb42 --- /dev/null +++ b/config/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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; diff --git a/config/settings.inc.php b/config/settings.inc.php new file mode 100644 index 00000000..eb77c941 --- /dev/null +++ b/config/settings.inc.php @@ -0,0 +1,16 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +define('_PS_SMARTY_DIR_', _PS_TOOL_DIR_.'smarty/'); + +require_once(_PS_SMARTY_DIR_.'Smarty.class.php'); + +global $smarty; +$smarty = new SmartyCustom(); +$smarty->setCompileDir(_PS_CACHE_DIR_.'smarty/compile'); +$smarty->setCacheDir(_PS_CACHE_DIR_.'smarty/cache'); +if (!Tools::getSafeModeStatus()) + $smarty->use_sub_dirs = true; +$smarty->setConfigDir(_PS_SMARTY_DIR_.'configs'); +$smarty->caching = false; +if (Configuration::get('PS_SMARTY_CACHING_TYPE') == 'mysql') +{ + include(_PS_CLASS_DIR_.'/SmartyCacheResourceMysql.php'); + $smarty->caching_type = 'mysql'; +} +$smarty->force_compile = (Configuration::get('PS_SMARTY_FORCE_COMPILE') == _PS_SMARTY_FORCE_COMPILE_) ? true : false; +$smarty->compile_check = (Configuration::get('PS_SMARTY_FORCE_COMPILE') >= _PS_SMARTY_CHECK_COMPILE_) ? true : false; +$smarty->debug_tpl = _PS_ALL_THEMES_DIR_.'debug.tpl'; + +/* Use this constant if you want to load smarty without all PrestaShop functions */ +if (defined('_PS_SMARTY_FAST_LOAD_') && _PS_SMARTY_FAST_LOAD_) + return; + +if (defined('_PS_ADMIN_DIR_')) + require_once (dirname(__FILE__).'/smartyadmin.config.inc.php'); +else + require_once (dirname(__FILE__).'/smartyfront.config.inc.php'); + +smartyRegisterFunction($smarty, 'modifier', 'truncate', 'smarty_modifier_truncate'); +smartyRegisterFunction($smarty, 'modifier', 'secureReferrer', array('Tools', 'secureReferrer')); + +smartyRegisterFunction($smarty, 'function', 't', 'smartyTruncate'); // unused +smartyRegisterFunction($smarty, 'function', 'm', 'smartyMaxWords'); // unused +smartyRegisterFunction($smarty, 'function', 'p', 'smartyShowObject'); // Debug only +smartyRegisterFunction($smarty, 'function', 'd', 'smartyDieObject'); // Debug only +smartyRegisterFunction($smarty, 'function', 'l', 'smartyTranslate', false); +smartyRegisterFunction($smarty, 'function', 'hook', 'smartyHook'); +smartyRegisterFunction($smarty, 'function', 'toolsConvertPrice', 'toolsConvertPrice'); +smartyRegisterFunction($smarty, 'modifier', 'json_encode', array('Tools', 'jsonEncode')); +smartyRegisterFunction($smarty, 'modifier', 'json_decode', array('Tools', 'jsonDecode')); +smartyRegisterFunction($smarty, 'function', 'dateFormat', array('Tools', 'dateFormat')); +smartyRegisterFunction($smarty, 'function', 'convertPrice', array('Product', 'convertPrice')); +smartyRegisterFunction($smarty, 'function', 'convertPriceWithCurrency', array('Product', 'convertPriceWithCurrency')); +smartyRegisterFunction($smarty, 'function', 'displayWtPrice', array('Product', 'displayWtPrice')); +smartyRegisterFunction($smarty, 'function', 'displayWtPriceWithCurrency', array('Product', 'displayWtPriceWithCurrency')); +smartyRegisterFunction($smarty, 'function', 'displayPrice', array('Tools', 'displayPriceSmarty')); +smartyRegisterFunction($smarty, 'modifier', 'convertAndFormatPrice', array('Product', 'convertAndFormatPrice')); // used twice +smartyRegisterFunction($smarty, 'function', 'getAdminToken', array('Tools', 'getAdminTokenLiteSmarty')); +smartyRegisterFunction($smarty, 'function', 'displayAddressDetail', array('AddressFormat', 'generateAddressSmarty')); +smartyRegisterFunction($smarty, 'function', 'getWidthSize', array('Image', 'getWidth')); +smartyRegisterFunction($smarty, 'function', 'getHeightSize', array('Image', 'getHeight')); +smartyRegisterFunction($smarty, 'function', 'addJsDef', array('Media', 'addJsDef')); +smartyRegisterFunction($smarty, 'block', 'addJsDefL', array('Media', 'addJsDefL')); +smartyRegisterFunction($smarty, 'modifier', 'boolval', array('Tools', 'boolval')); +smartyRegisterFunction($smarty, 'modifier', 'cleanHtml', 'smartyCleanHtml'); + +function smartyDieObject($params, &$smarty) +{ + return Tools::d($params['var']); +} + +function smartyShowObject($params, &$smarty) +{ + return Tools::p($params['var']); +} + +function smartyMaxWords($params, &$smarty) +{ + Tools::displayAsDeprecated(); + $params['s'] = str_replace('...', ' ...', html_entity_decode($params['s'], ENT_QUOTES, 'UTF-8')); + $words = explode(' ', $params['s']); + + foreach($words AS &$word) + if(Tools::strlen($word) > $params['n']) + $word = Tools::substr(trim(chunk_split($word, $params['n']-1, '- ')), 0, -1); + + return implode(' ', Tools::htmlentitiesUTF8($words)); +} + +function smartyTruncate($params, &$smarty) +{ + Tools::displayAsDeprecated(); + $text = isset($params['strip']) ? strip_tags($params['text']) : $params['text']; + $length = $params['length']; + $sep = isset($params['sep']) ? $params['sep'] : '...'; + + if (Tools::strlen($text) > $length + Tools::strlen($sep)) + $text = Tools::substr($text, 0, $length).$sep; + + return (isset($params['encode']) ? Tools::htmlentitiesUTF8($text, ENT_NOQUOTES) : $text); +} + +function smarty_modifier_truncate($string, $length = 80, $etc = '...', $break_words = false, $middle = false, $charset = 'UTF-8') +{ + if (!$length) + return ''; + + $string = trim($string); + + if (Tools::strlen($string) > $length) + { + $length -= min($length, Tools::strlen($etc)); + if (!$break_words && !$middle) + $string = preg_replace('/\s+?(\S+)?$/u', '', Tools::substr($string, 0, $length+1, $charset)); + return !$middle ? Tools::substr($string, 0, $length, $charset).$etc : Tools::substr($string, 0, $length/2, $charset).$etc.Tools::substr($string, -$length/2, $length, $charset); + } + else + return $string; +} + +function smarty_modifier_htmlentitiesUTF8($string) +{ + return Tools::htmlentitiesUTF8($string); +} +function smartyMinifyHTML($tpl_output, &$smarty) +{ + $context = Context::getContext(); + if (isset($context->controller) && in_array($context->controller->php_self, array('pdf-invoice', 'pdf-order-return', 'pdf-order-slip'))) + return $tpl_output; + $tpl_output = Media::minifyHTML($tpl_output); + return $tpl_output; +} + +function smartyPackJSinHTML($tpl_output, &$smarty) +{ + $context = Context::getContext(); + if (isset($context->controller) && in_array($context->controller->php_self, array('pdf-invoice', 'pdf-order-return', 'pdf-order-slip'))) + return $tpl_output; + $tpl_output = Media::packJSinHTML($tpl_output); + return $tpl_output; +} + +function smartyRegisterFunction($smarty, $type, $function, $params, $lazy = true) +{ + if (!in_array($type, array('function', 'modifier', 'block'))) + return false; + + // lazy is better if the function is not called on every page + if ($lazy) + { + $lazy_register = SmartyLazyRegister::getInstance(); + $lazy_register->register($params); + + if (is_array($params)) + $params = $params[1]; + + // SmartyLazyRegister allows to only load external class when they are needed + $smarty->registerPlugin($type, $function, array($lazy_register, $params)); + } + else + $smarty->registerPlugin($type, $function, $params); +} + +function smartyHook($params, &$smarty) +{ + if (!empty($params['h'])) + { + $id_module = null; + $hook_params = $params; + $hook_params['smarty'] = $smarty; + if (!empty($params['mod'])) + { + $module = Module::getInstanceByName($params['mod']); + if ($module && $module->id) + $id_module = $module->id; + unset($hook_params['mod']); + } + unset($hook_params['h']); + return Hook::exec($params['h'], $hook_params, $id_module); + } +} + +function smartyCleanHtml($data) +{ + // Prevent xss injection. + if (Validate::isCleanHtml($data)) + return $data; +} + +function toolsConvertPrice($params, &$smarty) +{ + return Tools::convertPrice($params['price'], Context::getContext()->currency); +} + +/** + * Used to delay loading of external classes with smarty->register_plugin + */ +class SmartyLazyRegister +{ + protected $registry = array(); + protected static $instance; + + /** + * Register a function or method to be dynamically called later + * @param string|array $params function name or array(object name, method name) + */ + public function register($params) + { + if (is_array($params)) + $this->registry[$params[1]] = $params; + else + $this->registry[$params] = $params; + } + + /** + * Dynamically call static function or method + * + * @param string $name function name + * @param mixed $arguments function argument + * @return mixed function return + */ + public function __call($name, $arguments) + { + $item = $this->registry[$name]; + + // case 1: call to static method - case 2 : call to static function + if (is_array($item[1])) + return call_user_func_array($item[1].'::'.$item[0], array($arguments[0], &$arguments[1])); + else + { + $args = array(); + + foreach($arguments as $a => $argument) + if($a == 0) + $args[] = $arguments[0]; + else + $args[] = &$arguments[$a]; + + return call_user_func_array($item, $args); + } + } + + public static function getInstance() + { + if (!self::$instance) + self::$instance = new SmartyLazyRegister(); + return self::$instance; + } +} diff --git a/config/smartyadmin.config.inc.php b/config/smartyadmin.config.inc.php new file mode 100644 index 00000000..192ca81f --- /dev/null +++ b/config/smartyadmin.config.inc.php @@ -0,0 +1,85 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +global $smarty; +$smarty->debugging = false; +$smarty->debugging_ctrl = 'NONE'; + +// Let user choose to force compilation +$smarty->force_compile = (Configuration::get('PS_SMARTY_FORCE_COMPILE') == _PS_SMARTY_FORCE_COMPILE_) ? true : false; +// But force compile_check since the performance impact is small and it is better for debugging +$smarty->compile_check = true; + +function smartyTranslate($params, &$smarty) +{ + $htmlentities = !isset($params['js']); + $pdf = isset($params['pdf']); + $addslashes = (isset($params['slashes']) || isset($params['js'])); + $sprintf = isset($params['sprintf']) ? $params['sprintf'] : null; + + if ($pdf) + return Translate::smartyPostProcessTranslation(Translate::getPdfTranslation($params['s'], $sprintf), $params); + + $filename = ((!isset($smarty->compiler_object) || !is_object($smarty->compiler_object->template)) ? $smarty->template_resource : $smarty->compiler_object->template->getTemplateFilepath()); + + // If the template is part of a module + if (!empty($params['mod'])) + return Translate::smartyPostProcessTranslation(Translate::getModuleTranslation($params['mod'], $params['s'], basename($filename, '.tpl'), $sprintf, isset($params['js'])), $params); + + // If the tpl is at the root of the template folder + if (dirname($filename) == '.') + $class = 'index'; + + // If the tpl is used by a Helper + if (strpos($filename, 'helpers') === 0) + $class = 'Helper'; + // If the tpl is used by a Controller + else + { + if (!empty(Context::getContext()->override_controller_name_for_translations)) + $class = Context::getContext()->override_controller_name_for_translations; + elseif (isset(Context::getContext()->controller)) + { + $class_name = get_class(Context::getContext()->controller); + $class = substr($class_name, 0, strpos(Tools::strtolower($class_name), 'controller')); + } + else + { + // Split by \ and / to get the folder tree for the file + $folder_tree = preg_split('#[/\\\]#', $filename); + $key = array_search('controllers', $folder_tree); + + // If there was a match, construct the class name using the child folder name + // Eg. xxx/controllers/customers/xxx => AdminCustomers + if ($key !== false) + $class = 'Admin'.Tools::toCamelCase($folder_tree[$key + 1], true); + elseif (isset($folder_tree[0])) + $class = 'Admin'.Tools::toCamelCase($folder_tree[0], true); + } + } + + return Translate::smartyPostProcessTranslation(Translate::getAdminTranslation($params['s'], $class, $addslashes, $htmlentities, $sprintf), $params); +} diff --git a/config/smartyfront.config.inc.php b/config/smartyfront.config.inc.php new file mode 100644 index 00000000..b77d4e46 --- /dev/null +++ b/config/smartyfront.config.inc.php @@ -0,0 +1,78 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +global $smarty; +$smarty->setTemplateDir(_PS_THEME_DIR_.'tpl'); + +if (Configuration::get('PS_HTML_THEME_COMPRESSION')) + $smarty->registerFilter('output', 'smartyMinifyHTML'); +if (Configuration::get('PS_JS_HTML_THEME_COMPRESSION')) + $smarty->registerFilter('output', 'smartyPackJSinHTML'); + +function smartyTranslate($params, &$smarty) +{ + global $_LANG; + + if (!isset($params['js'])) + $params['js'] = false; + if (!isset($params['pdf'])) + $params['pdf'] = false; + if (!isset($params['mod'])) + $params['mod'] = false; + if (!isset($params['sprintf'])) + $params['sprintf'] = null; + + $string = str_replace('\'', '\\\'', $params['s']); + $filename = ((!isset($smarty->compiler_object) || !is_object($smarty->compiler_object->template)) ? $smarty->template_resource : $smarty->compiler_object->template->getTemplateFilepath()); + + $basename = basename($filename, '.tpl'); + $key = $basename.'_'.md5($string); + + if (isset($smarty->source) && (strpos($smarty->source->filepath, DIRECTORY_SEPARATOR.'override'.DIRECTORY_SEPARATOR) !== false)) + $key = 'override_'.$key; + + if ($params['mod']) + return Translate::smartyPostProcessTranslation(Translate::getModuleTranslation($params['mod'], $params['s'], $basename, $params['sprintf'], $params['js']), $params); + else if ($params['pdf']) + return Translate::smartyPostProcessTranslation(Translate::getPdfTranslation($params['s'], $params['sprintf']), $params); + + if ($_LANG != null && isset($_LANG[$key])) + $msg = $_LANG[$key]; + elseif ($_LANG != null && isset($_LANG[Tools::strtolower($key)])) + $msg = $_LANG[Tools::strtolower($key)]; + else + $msg = $params['s']; + + if ($msg != $params['s'] && !$params['js']) + $msg = stripslashes($msg); + elseif ($params['js']) + $msg = addslashes($msg); + + if ($params['sprintf'] !== null) + $msg = Translate::checkAndReplaceArgs($msg, $params['sprintf']); + + return Translate::smartyPostProcessTranslation($params['js'] ? $msg : Tools::safeOutput($msg), $params); +} diff --git a/config/xml/.htaccess b/config/xml/.htaccess new file mode 100644 index 00000000..93169e4e --- /dev/null +++ b/config/xml/.htaccess @@ -0,0 +1,2 @@ +Order deny,allow +Deny from all diff --git a/config/xml/blog-fr.xml b/config/xml/blog-fr.xml new file mode 100644 index 00000000..d6ac0e01 --- /dev/null +++ b/config/xml/blog-fr.xml @@ -0,0 +1,671 @@ + + + + + FR - Blog ecommerce par PrestaShop + + https://www.prestashop.com/blog/fr + + Fri, 03 Jul 2015 12:30:01 +0000 + fr-FR + hourly + 1 + http://wordpress.org/?v=3.8.1 + + E-commerce français : Des chiffres encourageants + https://www.prestashop.com/blog/fr/e-commerce-francais-chiffres-encourageants/ + https://www.prestashop.com/blog/fr/e-commerce-francais-chiffres-encourageants/#comments + Fri, 03 Jul 2015 12:28:28 +0000 + + + + https://www.prestashop.com/blog/fr/?p=19084 + Pour mieux comprendre l’état actuel de l’e-commerce, ainsi que son évolution en France ces dernières années, nous vous présentons aujourd’hui une infographie conçue par le blog webmarketing strategemarketingweb.com à partir de données compilées par la FEVAD. La FEVAD (Fédération du e-commerce et de la vente à distance) est un organisme qui est notamment en charge [...]

+

Cet article E-commerce français : Des chiffres encourageants est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Pour mieux comprendre l’état actuel de l’e-commerce, ainsi que son évolution en France ces dernières années, nous vous présentons aujourd’hui une infographie conçue par le blog webmarketing strategemarketingweb.com à partir de données compilées par la FEVAD.

+

La FEVAD (Fédération du e-commerce et de la vente à distance) est un organisme qui est notamment en charge de représenter tous les intervenants du commerce électronique en France et de publier des statistiques sur le sujet.

+

Par exemple, saviez-vous que la France occupe le 3e rang parmi les pays européens pour le chiffre d’affaires du commerce en ligne? Il n’y a que l’Allemagne et le Royaume-Uni qui achètent davantage que les français sur internet.

+

Saviez-vous également qu’il y a plus de 35 millions d’individus qui achètent en ligne en France?

+

L’e-commerce en France occupe une place prépondérante avec près de 90 000 emplois qui y sont reliés.

+

Ce ne sera donc probablement pas une surprise si nous vous disons que l’e-commerce français se porte à merveille.

+

Que retient-on des dernières années?

+
    +
  • Les ventes sont en hausse d’année en année depuis 2009. Il est anticipé qu’elles dépasseront les 60 milliards d’euros en 2015.
  • +
  • Le panier moyen continue sa dégringolade depuis 5 ans. Il est passé de 91 € à 79 € entre 2010 et 2015, soit une baisse de 13 %.
  • +
  • Chaque année, depuis 2007, la quantité de sites marchands augmente considérablement. Seulement en 2014, il y a eu plus de 20 000 nouveaux sites e-commerce et nous en comptons maintenant un total de plus de 160 000 en 2015.
  • +
  • Au cours des 5 dernières années, le cyberacheteur moyen a augmenté sa fréquence d’achat d’un peu plus de 65 %, passant ainsi de 12 transactions/an à 20.
  • +
+

Retrouvez toutes ces données dans l’infographie ci-dessous :

+

commerce-electronique-france

+

Auteur : Pierre-Antoine Levesque, blogueur pour le blog Stratège Marketing Web 

+

Cet article E-commerce français : Des chiffres encourageants est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/e-commerce-francais-chiffres-encourageants/feed/ + 0 +
+ + PrestaShop 1.6.1.0 est disponible : découvrez-la maintenant ! + https://www.prestashop.com/blog/fr/prestashop-1-6-1-0-disponible/ + https://www.prestashop.com/blog/fr/prestashop-1-6-1-0-disponible/#comments + Thu, 02 Jul 2015 16:50:30 +0000 + + + + https://www.prestashop.com/blog/fr/?p=19064 + À l’occasion du PrestaShop Day il y a 3 semaines, nous avons dévoilé notre nouvelle mascotte : un macareux nommé Preston. C’est probablement lui que vous remarquerez en premier dans la version 1.6.1.0 de PrestaShop. Toutefois, celle-ci ne se résume pas à un nouvel avatar, puisqu’elle améliore considérablement les performances, respecte toujours mieux les règles [...]

+

Cet article PrestaShop 1.6.1.0 est disponible : découvrez-la maintenant ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ À l’occasion du PrestaShop Day il y a 3 semaines, nous avons dévoilé notre nouvelle mascotte : un macareux nommé Preston. C’est probablement lui que vous remarquerez en premier dans la version 1.6.1.0 de PrestaShop. Toutefois, celle-ci ne se résume pas à un nouvel avatar, puisqu’elle améliore considérablement les performances, respecte toujours mieux les règles européennes, affine les calculs de prix et de taxes et totalise plus de 500 améliorations. Lisez cet article pour tout découvrir !

+

+

Refonte du back-office

+

Les changements apportés au back-office sont principalement esthétiques, et introduisent des améliorations en terme de navigation. Entièrement relooké donc, mais il ressemble toujours au back-office que vous connaissez bien. Parmi les améliorations notables, vous découvrirez l’arrivée du bleu et gris qui facilitent la lisibilité !

+
new-design-B-2
+

Better, faster, stronger !

+

prestashop-release-1.6.1.0-preston01Cette célèbre chanson de Daft Punk reflète parfaitement les avancées significatives des performances du logiciel, notamment ses requêtes SQL. Nous avons multiplié les optimisations pour vous permettre de travailler à la vitesse de l’éclair et toujours supporter plus de trafic sur votre boutique ! À quelle vitesse exactement ? Jusqu’à 200 % plus vite pour les opérations back-office : vous parlez d’un gain de temps ! (Retrouvez toutes les informations concernant nos tests et résultats sur notre blog dédié aux développeurs.)

+

Nouveau standard de développement

+

Cette nouvelle version ouvre un nouveau chapitre de l’histoire de PrestaShop. Parallèlement à notre optimisation constante du logiciel, nous avons adopté une nouvelle structure de développement à respecter dès cette nouvelle version. À l’avenir, tout nouveau code ajouté sur GitHub devra suivre les standards PSR-2. Il est indispensable d’appliquer ces nouvelles règles pour préserver l’intégrité du code et faciliter le processus de test unitaire.

+

Amélioration de la conformité européenne

+

Il a fallu près de dix ans à l’Union européenne pour former une véritable unité. Cette nouvelle union s’accompagne d’un ensemble de règles complexes qui s’est traduit par des défis concrets pour les e-commerçants. Vous avez tous exprimé au sujet des fonctionnalités dont vous avez besoin pour respecter vos réglementations locales et nous vous avons écoutés. Nous avons ajouté 15 options au total que vous pouvez rapidement configurer pour une meilleure conformité juridique.

+

advanced-eu-compliance

+

Calculs des prix et des taxes

+

Pour aller encore plus loin dans l’optimisation des opérations commerciales, nous avons amélioré l’arrondissement des prix et la gestion des taxes. Voici tous les détails sur les nouveautés relatives aux taxes que nous avons introduites.

+

Mais ce n’est pas tout !

+

En plus de ces cinq grandes nouveautés, nous avons optimisé l’installation, le processus de mise à jour ou encore la fonction de recherche. Nous avons également apporté plus de 500 optimisations dans le logiciel et corrigé des bugs subsistants.

+

Par ailleurs, nous profitons de ce nouveau lancement pour adopter une autre pratique inédite : un système de gestion sémantique de version amélioré. Il permet de clarifier chaque nouvelle version du logiciel et indique clairement les types de changements auxquels vous pouvez vous attendre.

+

Dernier point, mais pas le moindre

+

Nous tenons à remercier notre communauté pour toutes ses contributions sur la Forge, GitHub, Crowdin et plus encore. Nous n’en serions jamais arrivés là sans votre aide et votre soutien continus ! Merci à tous les contributeurs :

+

Adonis Karavokyros, Alessandro Corbelli, alexsimple, Antonino Di Bella, Arnaud Lemercier, Benjamin, PONGY, bercik999, Bruno Desprez, Cédric Fontaine, Dan Hlavenka, Danoosh Mir, David-Julian BUCH, Denver Prophit Jr., Desbouche Christophe, Dimitrios Karvounaris, doekia, Dvir-Julius, el-tenkova, eleazar, Eric Rouvier, Etienne Samson, fird, Francis Ramirez, Frédéric BENOIST, Germain Tenthorey, Gordon Coubrough, Guillaume Leseur, Gytis Škėma, indesign47, Jocelyn Fournier, joseantgv, Julien Deniau, Krystian Podemski, Ladel, Léo, MaX3315, natrim, Nicolas Sorosac, nodexpl, oleacorner, Pan P., pbirnzain, Pedro J. Parra, PhpMadman, PrestaEdit, Richard LT, Roland Schütz, Samy Rabih, Sébastien Monterisi, SebSept, Shagshag, Steven Sulley, Tomáš Votruba, tucoinfo, unlocomqx, vitekj, zimmi1, ZiZuu.com

+

Téléchargez la nouvelle version de PrestaShop ou créez votre boutique PrestaShop Cloud dès aujourd’hui pour profiter de cette nouvelle version !

+

Cet article PrestaShop 1.6.1.0 est disponible : découvrez-la maintenant ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/prestashop-1-6-1-0-disponible/feed/ + 2 +
+ + Boostez votre boutique en ligne avec les réseaux sociaux (partie 2 sur 2) + https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-2-2/ + https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-2-2/#comments + Tue, 30 Jun 2015 16:42:18 +0000 + + + + https://www.prestashop.com/blog/fr/?p=19056 + Avez-vous configuré votre tableau de bord et défini l’objectif de vos différents comptes sur les réseaux sociaux comme je vous l’ai conseillé dans l’article précédent ? Oui ? Parfait ! Intéressons-nous maintenant à la dernière étape : rendre votre stratégie de communication sur les réseaux sociaux unique pour vous démarquer des e-commerçants concurrents. 3. Adaptez [...]

+

Cet article Boostez votre boutique en ligne avec les réseaux sociaux (partie 2 sur 2) est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Avez-vous configuré votre tableau de bord et défini l’objectif de vos différents comptes sur les réseaux sociaux comme je vous l’ai conseillé dans l’article précédent ? Oui ? Parfait ! Intéressons-nous maintenant à la dernière étape : rendre votre stratégie de communication sur les réseaux sociaux unique pour vous démarquer des e-commerçants concurrents.
+

+

3. Adaptez votre message en fonction de vos différents comptes sur les réseaux sociaux

+

Le message désigne la façon dont vous vous adressez à vos clients pour donner de l’impact à votre communication. Allez-vous opter pour une approche reposant sur la logique ou l’émotion ? Il existe trois catégories de message :

+
    +
  • Ethos : établit votre crédibilité grâce au partage de témoignages clients, d’échantillons de travail et d’éléments concrets
  • +
  • Logos : mise sur un raisonnement logique appuyé par des faits précis et des statistiques
  • +
  • Pathos : met l’accent sur les émotions ou la motivation par le partage d’expériences personnelles, l’organisation d’évènements, etc.
  • +
+

Créez votre message en fonction du segment que vous souhaitez cibler et des outils de communication dont vous disposez, afin d’inciter vos clients à effectuer une action spécifique (par exemple, commander un produit ou prendre un rendez-vous). À cette étape, un choix judicieux est déterminant. Une récente étude réalisée par HubSpot a en effet confirmé que le message avait une réelle influence sur les interactions éventuelles des visiteurs avec un article.

+

Chaque message est associé à un ensemble d’outils de réseaux sociaux adaptés à votre objectif de communication :

+

tab-fr

+

* Il est fondamental de trouver un écho personnel chez vos clients, par le biais d’expériences individuelles, d’évènements sociaux ou d’actualités, pour les inciter à partager votre contenu avec leurs partenaires commerciaux, leurs collègues, leurs amis et leur famille. Exemple : la success-story de Buzzfeed sur les réseaux sociaux.

+

Il est essentiel que vous vous demandiez si votre message est adapté au segment que vous ciblez : qu’est-ce que mon article apporte à mes clients ? Pour quelle raison doivent-ils AVOIR ENVIE d’interagir ?

+

Dernier conseil : oubliez les années 90 ! Que vous ayez une boutique en ligne ou physique, évitez les couleurs flashy, la musique et les slogans bateau pour attirer l’attention de clients potentiels. C’est démodé ! Choisissez soigneusement une méthode adaptée pour atteindre le public visé et démarquez-vous grâce à la qualité de votre offre plutôt qu’à votre site criard.

+

Ce qu’il faut retenir

+

Oublions un instant la théorie et penchons-nous sur une boutique en ligne qui a appliqué avec succès ces trois étapes : Zalando. Elle est présente sur les réseaux sociaux à l’échelle mondiale et ses messages mettent l’accent sur l’émotion et la motivation. L’entreprise adapte sa stratégie aux cultures locales ainsi qu’aux actualités, ce qui lui permet de trouver un écho personnel chez les clients des segments cibles qu’elle a soigneusement définis. À tout instant et pour chacun de ces segments, Zalando met en place différentes approches, comme on peut le constater sur son site Web. Les images ci-dessous sont extraites de ses comptes Twitter et Facebook. L’entreprise joue sur l’arrivée du printemps et les émotions que la belle saison suscite :

+
+
zalendo1
+
zalendo2
+
+

En plus d’interagir quotidiennement et de manière cohérente avec ses clients potentiels sur les réseaux sociaux, Zalando y diffuse des publicités complémentaires qui s’appuient sur les cookies et les vidéos en ligne. Cette stratégie a permis à l’entreprise de devenir un leader mondial de la vente en ligne, qui propose plus de 1 500 marques depuis sa création en 2008.

+

Comment pouvez-vous, en tant que boutique en ligne, parvenir à un tel niveau d’interaction constante avec votre groupe cible sur une sélection de réseaux sociaux ?

+

Il faut encore une fois regrouper vos outils et intégrer tous les réseaux sociaux sur une seule plateforme !

+

Hootsuite vous permet de gérer simultanément votre présence sur tous les réseaux sociaux via un tableau de bord unique. Grâce à lui, vous pouvez facilement communiquer en permanence et de manière cohérente sur les différents réseaux, y compris sur votre site e-commerce. Comme nous vous l’avons montré un peu plus tôt, une fonction de recherche avancée vous permet de suivre votre public et d’interagir avec lui en temps réel et vous confère un avantage compétitif qui peut faire toute la différence à l’heure où les espaces de marché virtuels évoluent très rapidement.

+

Vous n’êtes pas encore convaincu ? Commencez dès aujourd’hui votre essai gratuit de 30 jours et découvrez par vous-même si Hootsuite est fait pour vous : http://ow.ly/L7QJr

+

Rédigé par

+

Hanna Oeljeschläger (@HootHanna)
+Coach spécialiste des réseaux sociaux pour les pays germanophones et le Royaume-Uni chez Hootsuite

+

Cet article Boostez votre boutique en ligne avec les réseaux sociaux (partie 2 sur 2) est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-2-2/feed/ + 0 +
+ + Découvrez les lauréats des PrestaShop Awards ! + https://www.prestashop.com/blog/fr/decouvrez-les-laureats-prestashop-awards/ + https://www.prestashop.com/blog/fr/decouvrez-les-laureats-prestashop-awards/#comments + Fri, 26 Jun 2015 09:00:19 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18905 + C’est désormais une tradition, lors des Barcamps PrestaShop et plus récemment du PrestaShop Day, nous mettons à l’honneur les membres de la communauté lors d’une cérémonie de remise de prix. Cette cérémonie récompense les nombreux parcours inspirants, success stories et pépites e-commerce qui constituent notre communauté. Découvrez dès maintenant, les boutiques en ligne et contributeurs [...]

+

Cet article Découvrez les lauréats des PrestaShop Awards ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ C’est désormais une tradition, lors des Barcamps PrestaShop et plus récemment du PrestaShop Day, nous mettons à l’honneur les membres de la communauté lors d’une cérémonie de remise de prix. Cette cérémonie récompense les nombreux parcours inspirants, success stories et pépites e-commerce qui constituent notre communauté.

+

Découvrez dès maintenant, les boutiques en ligne et contributeurs distingués dans les différentes catégories.

+

Boutiques en ligne

+

Catégorie Design & Ergonomie

+

Cette catégorie récompense les sites dont les designs originaux, élégants ou innovants incitent les internautes à étudier l’offre de la boutique, mais aussi les sites dont l’ergonomie met en valeur les produits et facilite l’achat.

+

Les nominés 

+

Vicomte A.            Jolis mômes             Easy Peasy         Ma P’tite Culotte     Cook and Joy +Vicomte A +Jolis mômes +Easy Peasy +Ma P'tite Culotte +Cook and Joy +

+

And the winner is…  
+Vicomte A.  Maison française de prêt-à-porter colorée et impertinente.

+

La boutique a été choisie pour son design très agréable et aéré qui facilite la navigation ainsi que les nombreux effets visuels qui valorisent les produits et apportent une touche de dynamisme au site.

+

Vicomte A

+

Catégorie Originalité du Concept

+

Cette catégorie récompense les boutiques PrestaShop les plus innovantes proposant les concepts les plus originaux.

+

Les nominés 

+

My Jolie Candle       Kiezkaufhaus          Ah la vache                 Bloom’s                 Sosav +My Jolie Candle +Kiezkaufhaus +Ah la vache +Blooms +Sosav +

+

And the winner is…
+
Ah la vache Boutique qui propose de la viande de qualité livrée gratuitement à domicile ou au bureau.

+

Proposer du frais, c’est osé (et compliqué), le faire en valorisant les producteurs de proximité avec des tarifs vraiment abordables, on dit bravo.

+

Ah la vache

+

Catégorie Marketing & Communication

+

Cette catégorie récompense les meilleures actions marketing mises en place par une boutique PrestaShop aussi bien sur son site, son blog que sur ses réseaux sociaux.

+

Les nominés 

+

Faguo                      Suncoo                Planet Sushi         Bonne Gueule     Coussin Germain +faguo +Suncoo +Planetsushi +Bonne Gueule +coussin germain +

+

And the winner is…
+
Bonne Gueule est un blog mode homme qui possède sa propre boutique en ligne où est vendue une collection de vêtements qui reflète la vision de la mode de ses deux créateurs. 

+

La boutique a été choisie notamment pour son story telling  très dense  et bien travaillé.

+

Bonne Gueule

+

Catégorie Technique & Intégration

+

Cette catégorie récompense les meilleurs développements spécifiques réalisés avec la solution PrestaShop.

+

Les nominés 

+

Zippo                     Tealer                   Artisan Coutelier            Rotring           SelfPackaging +Zippo +Tealer +Artisan Coutelier +Rotring +Selfpackaging +

+

And the winner is…  
+Artisan Coutelier Fabricant de pièces de coutellerie artisanale haut de gamme.

+

Artisan Coutelier est le lauréat de cette catégorie pour son outil de personnalisation des couteaux.

+

Artisan Coutelier

+

Catégorie Coup de Cœur de la Communauté

+

Les nominés 

+

My Candle           Book n Bike            Todo Bonito          Miraherba          La Folle Adresse +mycandle +Booknbike +Todo Bonito +miraherba +La Folle Adresse +

+

And the winner is… 
+
La Folle Adresse Concept store à l’ambiance décalée présentant des objets de créateurs. 

+

La Folle Adresse

+

Catégorie Meilleur Espoir e-commerce

+

Le lauréat de cette catégorie est le gagnant du concours e-business plan qui a eu lieu en début d’année et qui récompense le meilleur projet e-commerce.

+

Le Franc Marché

+

Le Franc Marché

+

Contributeurs

+

Catégorie Contributeurs Cœur

+
    +
  • Plus grand nombre de lignes de code modifiées : PrestaEdit
  • +
  • Meilleur contributeur qualité (norme, PHPDoc) : GSkema
  • +
  • Plus grand nombre de PR d’amélioration du code : PHPMadMan
  • +
+

Catégorie Contributeurs Addons

+

Les lauréats de cette catégorie sont les gagnants de l’édition Addons Awards qui a eu lieu en décembre 2014.

+ +

Catégorie Contributeurs Forum

+
    +
  • Contributeur forum le plus actif : vekia
  • +
  • Contributeur forum le plus upvoté : nadie
  • +
+

Un grand merci aux jurys, lauréats, nominés et plus généralement à toute la communauté PrestaShop !

+

+

Cet article Découvrez les lauréats des PrestaShop Awards ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/decouvrez-les-laureats-prestashop-awards/feed/ + 1 +
+ + Guide intermédiaire du commerce électronique amélioré + https://www.prestashop.com/blog/fr/guide-intermediaire-du-commerce-electronique-ameliore/ + https://www.prestashop.com/blog/fr/guide-intermediaire-du-commerce-electronique-ameliore/#comments + Thu, 25 Jun 2015 08:30:43 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18837 + Il y a quelque temps, j’expliquais les avantages et le protocole de mesure du commerce électronique amélioré dans l’article Premiers pas avec le commerce électronique amélioré. Nous allons aborder plus en détail la structure du code de suivi relatif au commerce électronique amélioré, qui couvre l’intégralité du cycle de vie produit et permet l’utilisation du [...]

+

Cet article Guide intermédiaire du commerce électronique amélioré est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Il y a quelque temps, j’expliquais les avantages et le protocole de mesure du commerce électronique amélioré dans l’article Premiers pas avec le commerce électronique amélioré. Nous allons aborder plus en détail la structure du code de suivi relatif au commerce électronique amélioré, qui couvre l’intégralité du cycle de vie produit et permet l’utilisation du plug-in de commerce électronique amélioré de Google Analytics.

+

Grâce à ce plug-in, vous pouvez mesurer les interactions des utilisateurs avec les produits sur les sites e-commerce pendant toutes les étapes de leur expérience d’achat :

+
    +
  • les impressions relatives aux produits,
  • +
  • les clics effectués sur les produits,
  • +
  • la consultation des détails des produits,
  • +
  • l’ajout de produits au panier,
  • +
  • les différentes phases du processus de paiement,
  • +
  • et enfin les transactions et remboursements.
  • +
+

+

A. Migration et compatibilité avec le plug-in de commerce électronique

+

Tout d’abord, vous devez activer le suivi du commerce électronique et les rapports de commerce électronique amélioré dans les paramètres de Vue, puis définir les étapes de votre entonnoir, comme expliqué dans la première partie de cet article :

+ +

Vous devez ensuite activer le plug-in de commerce électronique amélioré (en abrégé « ec »), qui nécessite la bibliothèque analytics.js. Pour cela, vous devez transférer votre propriété vers Universal Analytics. Pour plus d’informations sur cette procédure, n’hésitez pas à consulter la documentation Google Developers relative au commerce électronique amélioré.

+

Pour vérifier qu’Universal Analytics est bel et bien activé, l’extrait de code suivant doit être inséré :

+

GA-Int-1

+

Pour charger le plug-in ec.jsle code ci-dessus doit être mis à jour avec l’ajout d’une commande ‘ga (‘require’, ‘ec’)’ spécifique :

+

GA-Int-2

+

Comme illustré ci-dessus, le plug-in de commerce électronique amélioré doit être chargé après la création d’un objet de suivi, mais avant l’envoi de données à Google Analytics. Le plug-in de commerce électronique amélioré ne doit pas être utilisé parallèlement au plug-in de commerce électronique (‘ecommerce.js’) pour la même propriété. Si vous avez déjà configuré le suivi du commerce électronique, mais souhaitez utiliser le suivi du commerce électronique amélioré, deux possibilités s’offrent à vous :

+
    +
  1. Créez une nouvelle propriété et activez le commerce électronique amélioré. Dans ce cas, vous devez activer l’envoi des données d’une seule page vers de multiples propriétés.
  2. +
  3. Migrez le plug-in de commerce électronique classique vers le plug-in de commerce électronique amélioré. Dans ce cas, les utilisateurs actuels d’analytics.js doivent supprimer et remplacer les références par le code du commerce électronique amélioré. Les données relatives aux articles et aux transactions précédemment collectées à l’aide du plug-in ecommerce.js ne seront pas affectées par la migration et resteront accessibles dans les propriétés et profils auxquels elles ont initialement été envoyées.
  4. +
+

B. Mesure des activités liées au commerce électronique

+

À présent, nous allons aborder la mise en œuvre du suivi de commerce électronique amélioré. Pour cela, nous allons détailler les procédures permettant de mesurer chaque étape du cycle de vie des produits par page et par action. Le suivi de commerce électronique amélioré peut mesurer :

+
    +
  1. les impressions relatives à un produit
  2. +
  3. le nombre de clics effectués sur le lien d’un produit
  4. +
  5. les consultations des détails d’un produit
  6. +
  7. les ajouts de produits au panier et les suppressions
  8. +
+

Cette fonctionnalité permet également de suivre :

+
    +
  • le début du processus de paiement pour un groupe de produits
  • +
  • les achats et remboursements
  • +
  • le nombre d’impressions et de clics pour les promotions internes
  • +
+

1. Impressions relatives à un produit

+

Pour mesurer les impressions concernant un produit, utilisez la commande ‘ec:addImpression’. Les détails du produit consulté se rapportent au type de données d’impression et sont enregistrés dans le champ ‘impressionFieldObject’.

+

Par exemple, l’extrait de code ci-dessous mesure les impressions d’un produit en lien avec les résultats de recherche par les utilisateurs qui consultent pour la première fois le produit :

+

GA-Int-3

+

Seule l’une des variables (‘id’ ou ‘name’) doit être configurée, les autres sont facultatives.

+

2. Nombre de clics effectués sur le lien d’un produit

+

Dans un entonnoir de conversion, un utilisateur peut exprimer son intérêt pour un produit particulier en cliquant sur le lien du produit depuis une liste ou une catégorie précise. Le nombre de clics effectués sur un produit est mesuré avec les commandes ‘ec:addProduct’ et ‘ec:setAction’ ; cette dernière permet de préciser le type d’action qui a été accompli. Les données relatives au produit consulté sont enregistrées dans le champ productFieldObject.
+Par exemple, le code suivant mesure un clic effectué sur le lien d’un produit depuis une liste de résultats de recherche :

+

GA-Int-4

+

Un champ productFieldObject doit avoir un nom ou un identifiant ; toutes les autres valeurs sont facultatives.

+

3. Consultation des détails d’un produit

+

En plus des impressions relatives à une liste de produits, le commerce électronique amélioré prend en charge les impressions liées aux pages de détails sur un produit. Vous pouvez ainsi répondre aux questions suivantes :

+
    +
  • Quel pourcentage de visiteurs passe à l’achat après avoir consulté les pages de détails sur un produit ?
  • +
  • En moyenne, combien de produits les utilisateurs consultent-ils avant d’en ajouter au panier ?
  • +
+

Si un visiteur consulte une page de détails sur un produit, une commande ‘ec:addProduct’ est utilisée, de même que ‘ec:setAction’ pour préciser le type d’action accompli. Voici un exemple de code de suivi contenant les commandes requises pour la création d’un objet de suivi et le chargement du plug-in ‘ec.js’.

+

GA-Int-5

+

4. Ajouts de produits au panier et suppressions

+

Après avoir consulté la page d’un produit, un utilisateur peut exprimer son intention d’acheter le (les) produit(s) en l’ajoutant au panier. Les données mesurées vous permettent de répondre à la question suivante :

+
    +
  • Quel pourcentage de visiteurs ajoute des articles au panier après avoir consulté des pages produit ?
  • +
+

GA-Int-6

+

Pour mesurer l’ajout d’un produit au panier ou son retrait, les commandes ‘ec:addProduct’ et ‘ec:setAction’ sont utilisées, et le type d’action est défini comme ‘add’ (ajouter) ou ‘remove’ (supprimer).
+N’oubliez pas que les informations produit et l’action d’ajout doivent être envoyées en même temps qu’un événement dans Google Analytics (l’action de suppression est mesurée de la même manière) :

+

GA-Int-7

+

Vous devez relier la fonction ‘addToCart (product)’ au bouton ajouter/supprimer du panier sur chaque page de détails d’un produit et sur la page de paiement via un gestionnaire d’événements onClick en JavaScript.

+

C. Mesure du processus de paiement

+

L’utilisateur est maintenant prêt à entamer le processus de paiement. Pour en mesurer chaque étape, vous devez :

+
    +
  • ajouter le code de suivi qui mesurera chaque étape du processus de paiement ;
  • +
  • le cas échéant, ajouter le code de suivi visant à mesurer les options de paiement ;
  • +
  • en option, définir des noms d’étapes intelligibles pour le rapport sur le processus de paiement en configurant la page de paramètres du commerce électronique dans la section « Admin » de votre interface Google Analytics.
  • +
+

Pour chaque étape de votre processus de paiement, vous devrez insérer le code de suivi correspondant qui permet d’envoyer les données à Google Analytics.

+

Pour chaque étape de paiement que vous mesurez, vous devez ajouter une valeur ‘step’ (étape). Cette valeur sert à relier vos actions de paiement aux libellés que vous avez configurés à chaque étape sur la page de paramètres du commerce électronique.

+

Assurez-vous que vous avez correctement configuré le processus de paiement sur la page de paramètres du commerce électronique. Si vous disposez d’informations supplémentaires sur une étape de paiement au moment où celle-ci est mesurée, vous pouvez renseigner le champ ‘option’ avec une action ‘checkout’ pour enregistrer ces informations, comme le mode de paiement par défaut pour les utilisateurs (par ex. ‘Visa’).

+

Afin de mesurer une étape de paiement, une commande ‘ec:addProduct’ est utilisée pour chaque produit et la commande ‘ec:setAction’ permet d’indiquer un paiement. Au moment de la mesure, un événement contenant les informations relatives au produit et à l’étape de paiement doit être envoyé à Google Analytics. Cette consigne doit être appliquée au lien qui précède chaque étape de paiement pour marquer le début de chacune d’entre elles. La commande ‘ec:setAction’ nécessite de renseigner un champ ‘actionFieldObject’ avec un numéro et des informations supplémentaires (concernant le mode de paiement par défaut pour cet utilisateur) afin de décrire l’étape de paiement en question.
+L’exemple suivant montre comment mesurer la première étape d’un processus de paiement à partir d’un seul produit et de quelques informations supplémentaires sur le mode de paiement :

+

GA-Int-8

+

Les options de paiement vous permettent de mesurer des informations supplémentaires concernant le statut du paiement. Afin de mesurer une option de paiement, utilisez la commande ‘ec:setAction’ pour indiquer une ‘checkout_option’ (option de paiement) et renseignez le numéro de l’étape, ainsi que la description de l’option en question.

+

Vous voudrez certainement mesurer cette action une fois que l’utilisateur sera passé à la prochaine étape du processus de paiement. Par exemple :

+

GA-Int-9

+

Il est possible de suivre les flux d’utilisateurs à chaque étape du processus de paiement. Lorsque vous définirez le type d’action comme un paiement, vous devrez entrer le numéro de l’étape et le libellé de chaque étape. Les étapes et le libellé apparaîtront dans le rapport GA. Gardez à l’esprit qu’il n’est pas possible d’envoyer simultanément plusieurs étapes de paiement. Si plusieurs étapes apparaissent sur une seule page, chacune d’entre elles devra être envoyée avec une page vue ou un événement distinct.

+

Mesurer le processus de paiement vous permet de répondre aux questions suivantes :

+
    +
  • À quel moment du processus de paiement les utilisateurs renoncent-ils à l’achat ?
  • +
  • Quel est l’impact des options d’envoi sur les taux de ventes abouties ?
  • +
+

D. Mesure des transactions

+

Un utilisateur achève le processus de paiement en effectuant un achat. Afin de mesurer les transactions, utilisez la commande ‘ec:addProduct’ pour chaque produit et choisissez le type d’action ‘purchase’ (acheter) dans la commande ‘ec:setAction’. Les informations relatives aux transactions, comme le montant total des recettes, les taxes, etc., peuvent être précisées par le biais d’un champ ‘actionFieldObject’.

+

Le code de suivi ci-dessous peut être utilisé sur la page de confirmation de la commande :

+

GA-Int-10

+

Mesurer les transactions vous permet de suivre les recettes, les taxes, le montant moyen par transaction, ainsi que le nombre moyen d’articles par transaction.

+

E. Mesure des remboursements

+

Si un client demande un remboursement, les remboursements peuvent être intégraux (remboursement de l’ensemble de la commande) ou partiels (remboursement d’une partie de la commande), par exemple dans le cas du remboursement d’un seul produit. Pour rembourser l’intégralité d’une transaction, ajoutez une action ‘refund’ (rembourser) et entrez l’identifiant de la transaction :

+

GA-Int-11

+

Si aucune transaction correspondante n’est trouvée, la requête ‘refund’ ne sera pas traitée. Les transactions peuvent uniquement être remboursées dans Google Analytics dans les 6 mois suivant la date de transaction initiale déclarée.

+

Afin de mesurer un remboursement partiel, utilisez les commandes ‘ec:setAction’ et ‘ec:addProduct’, entrez ‘refund’ comme type d’action, puis saisissez l’identifiant de la transaction, celui du (des) produit(s) ainsi que les quantités à rembourser :

+

GA-Int-12

+

F. Mesure des promotions internes

+

Le commerce électronique amélioré dans Google Analytics prend en charge la mesure des impressions et clics effectués sur les promotions internes, comme les bannières, les pop-up de sortie (« exit pop-ups »), les annonces de soldes, les offres temporaires et les promotions saisonnières généralement affichées à côté des produits associés ou sur la page d’accueil.

+

Mesurer les promotions internes vous permet de répondre aux questions suivantes :

+
    +
  • Les promotions saisonnières sur la page d’accueil boostent-elles les ventes de catégories de produits spécifiques ?
  • +
  • Les utilisateurs cliquent-ils sur les offres promotionnelles et passent-ils à l’achat ?
  • +
+

1. Impressions relatives aux promotions

+

Les impressions concernant les promotions internes sont généralement mesurées au chargement de la page et envoyées avec la page vue initiale à l’aide de la commande ‘ec:addPromo’. Les détails des promotions sont ajoutés dans un champ ‘promoFieldObject’, qui doit avoir un nom ou un identifiant ; toutes les autres valeurs sont facultatives. Par exemple :

+

GA-Int-13

+

2. Clics relatifs aux promotions

+

Afin de mesurer le nombre de clics effectués sur une campagne promotionnelle interne, utilisez les commandes ‘ec:addPromo’ et ‘ec:setAction’, puis saisissez ‘promo_click’ comme type d’action :

+

GA-Int-14

+

Deux points sont à retenir concernant cette méthode :

+
    +
  1. N’envoyez pas les données des produits en même temps que les clics effectués sur les promotions. Les données des produits doivent être transmises séparément.
  2. +
  3. Les clics effectués sur les campagnes promotionnelles internes doivent être envoyés séparément, après que les données relatives aux impressions ont été transmises.
  4. +
+

Par exemple, pour mesurer une page de détails sur un produit à partir d’une impression et d’un clic sur une promotion, envoyez d’abord les données relatives au produit et à l’impression avec la page vue initiale, puis envoyez les données concernant le clic effectué sur la promotion dans un événement distinct :

+

GA-Int-15

+

Conclusion

+

Le suivi du commerce électronique peut être transmis avec une page vue ou un événement Google Analytics. En général, il est recommandé d’envoyer les informations portant sur les impressions avec une page vue et les actions relatives aux clics avec un événement.

+

Par ailleurs :

+
    +
  1. Si les données de commerce électronique retardent la consultation initiale d’une page, les informations peuvent être transmises avec un événement. Quant aux impressions, il est recommandé de définir les événements comme non interactifs.
  2. +
  3. Lorsque vous envoyez des événements pour des actions de commerce électronique, utilisez un modèle de données pour faciliter l’analyse. Par exemple, la catégorie correspondant à tous les événements de commerce électronique peut être définie comme ‘ecommerce’.
  4. +
  5. Si les données de commerce électronique ne sont jamais transmises avec la page vue initiale, alors la requête dans le plug-in pourra être déplacée après la page vue.
  6. +
  7. Google Analytics comprend une limite de 500 mesures par visite. Lorsque vous envoyez des informations concernant le suivi du commerce électronique, assurez-vous que le nombre total de pages vues et d’événements ne dépasse pas 500 mesures lors d’une visite typique.
  8. +
  9. De plus, il existe une limite de 8 192 octets par mesure : si le nombre total d’impressions relatives aux produits (et de promotions, transactions, etc.) dépasse cette limite, utilisez la fonctionnalité d’élargissement des dimensions pour l’ID produit afin d’envoyer des paramètres de produits facultatifs.
  10. +
+

Pour indiquer comment les informations produit doivent être interprétées, toutes les requêtes ‘ec:addProduct’ doivent être suivies par ‘ec:setAction’.

+

Le commerce électronique amélioré permet de mesurer les interactions utilisateur avec les produits au cours de leur cycle de vie. Il fournit un aperçu exhaustif des schémas comportementaux des visiteurs dans le cadre du processus d’achat.
+Il est crucial de comprendre le comportement des clients potentiels pour gérer efficacement une boutique en ligne. De ce fait, le commerce électronique amélioré doit être soigneusement configuré et ses données correctement interprétées.

+

N’hésitez pas à me faire part de vos progrès concernant la configuration du commerce électronique amélioré sur votre boutique en ligne dans les commentaires ci-dessous.

+

Cet article Guide intermédiaire du commerce électronique amélioré est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/guide-intermediaire-du-commerce-electronique-ameliore/feed/ + 1 +
+ + E-commerce et approvisionnement : quelle approche adopter ? + https://www.prestashop.com/blog/fr/e-commerce-approvisionnement-quelle-approche-adopter/ + https://www.prestashop.com/blog/fr/e-commerce-approvisionnement-quelle-approche-adopter/#comments + Tue, 23 Jun 2015 13:09:55 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18967 + La question de l’approvisionnement est essentielle pour tout e-commerçant. L’approche que vous adopterez aura un impact sur votre business model, vos marges et l’ensemble de votre structure opérationnelle. Dans l’article d’aujourd’hui, nous allons passer en revue plusieurs options d’approvisionnement pour vous aider à choisir la meilleure solution pour votre boutique. Devez-vous opter pour la fabrication, [...]

+

Cet article E-commerce et approvisionnement : quelle approche adopter ? est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ La question de l’approvisionnement est essentielle pour tout e-commerçant. L’approche que vous adopterez aura un impact sur votre business model, vos marges et l’ensemble de votre structure opérationnelle. Dans l’article d’aujourd’hui, nous allons passer en revue plusieurs options d’approvisionnement pour vous aider à choisir la meilleure solution pour votre boutique.
+

+

Devez-vous opter pour la fabrication, la conception, l’achat en gros, le dropshipping ou une combinaison de ces différentes méthodes ?

+

Chacune de ces quatre principales approches d’approvisionnement présente des avantages et des inconvénients. Pour trouver la mieux adaptée à vos besoins, il vous faudra peser le pour et le contre. De façon générale, la fabrication et la conception sont idéales pour maîtriser au mieux l’image de marque, la qualité et les prix. S’ils sont moins risqués, l’achat en gros ou le dropshipping offrent moins de liberté, puisque vous vous trouvez en position de revendeur. Aucune option n’est plus intéressante qu’une autre : tout dépend de ce que vous envisagez pour l’avenir de votre société.

+

Bien qu’il soit probablement plus simple de commencer en adoptant une seule approche d’approvisionnement, ne vous sentez pas obligés de faire appel à un seul fournisseur. En effet, en diversifiant vos partenaires et méthodes d’approvisionnement, vous vous protégez contre les ruptures de stock et les difficultés imprévues qui peuvent toucher tout fournisseur. Dans le cadre de votre stratégie d’approvisionnement, veillez à ne pas mettre tous vos œufs dans le même panier.

+

Gardez le contrôle en choisissant la fabrication ou la conception

+

Intéressons-nous dans un premier temps à la fabrication et à la conception. Ces options conviennent parfaitement aux commerçants qui portent une idée originale ou un concept exclusif et qui ont donc besoin de contrôler au maximum le processus créatif pour établir une marque solide.

+

Fabrication

+

Pourquoi choisir cette approche ?

+

Si vous disposez des compétences et ressources nécessaires pour fabriquer vos propres produits, il s’agit d’une des solutions les moins risquées pour vous lancer dans le commerce en ligne. L’investissement financier initial est faible, puisqu’aucun stock minimal n’est nécessaire. Selon le type de produit que vous vendez, il est même possible que vous puissiez traiter les commandes au fil de l’eau, ce qui vous permettrait d’évaluer la demande et d’ajuster votre processus.

+

En fabriquant vos propres produits, vous bénéficiez d’un contrôle inégalé sur la qualité, l’image de marque et les prix. De plus, cette approche vous offre une grande souplesse puisque vous contrôlez le processus de production de A à Z. Elle est par ailleurs très avantageuse du point de vue des marges, du fait de l’absence d’intermédiaires.

+

Pourquoi éviter cette approche ?

+

Vous êtes humain et avez besoin de dormir. Ainsi, selon la demande, il est possible que vous n’ayez ni le temps ni l’énergie nécessaires pour assurer l’ensemble de la production. C’est là le principal inconvénient de cette méthode. Si la fabrication peut sembler avantageuse en ce qui concerne les matériaux, il ne faut pas oublier de prendre en compte le facteur temps. Quand viendra le moment de vous agrandir, vous devrez établir votre stratégie avec soin pour ne pas décevoir les clients qui auront adopté vos produits faits maison.

+

Avantages

+
    +
  • Maîtrise de la qualité, de la marque et des prix
  • +
  • Possibilité de tester les produits
  • +
  • Faibles coûts initiaux
  • +
  • Marges potentielles élevées
  • +
+

Inconvénients

+
    +
  • Approche chronophage
  • +
  • Ressources qui limitent les perspectives de croissance
  • +
+

Conception

+

Pourquoi choisir cette approche ?

+

La conception est l’option la plus risquée, car elle exige un investissement initial supérieur. Cependant, c’est aussi la plus intéressante en termes de bénéfices. Si vous avez une idée originale, que vous avez testée et pour laquelle il existe un marché, la conception peut être une solution adaptée. Ce modèle d’approvisionnement consiste à concevoir un produit, puis à trouver un fabricant qui se chargera de la fabrication. Les coûts initiaux élevés sont liés au minimum de commande (la création d’un stock peut facilement représenter des milliers ou des dizaines de milliers d’euros). Cependant, les marges potentielles sont importantes, puisqu’il est possible de jouer sur le volume. Par ailleurs, si vous choisissez cette méthode, il vous faudra peut-être plus de temps pour être opérationnel, puisqu’il sera nécessaire d’effectuer un échantillonnage et un prototypage avec votre fournisseur avant de passer commande.

+

Pourquoi éviter cette approche ?

+

Le plus difficile est de trouver des fournisseurs de confiance et d’entretenir avec eux de solides relations. Il vous faudra consacrer beaucoup de temps et d’efforts à cette étape pour éviter des problèmes de qualité, des retards de livraison et des escroqueries, qui pourraient s’avérer désastreux pour votre entreprise, surtout si vous avez beaucoup investi dans le stock initial. Vous pouvez faire appel à des fournisseurs nationaux ou internationaux ; selon votre situation géographique, votre choix pourra influencer grandement vos prix puisque les fabricants américains ou européens sont souvent plus chers que ceux basés en Asie. Les délais de la livraison, la facilité de communication ou la qualité pourront néanmoins compenser.

+

Nous vous conseillons de chercher des fournisseurs dans votre pays et à l’étranger, de demander des devis, de comparer les coûts et d’organiser des rendez-vous sur Skype ou des rencontres en personne. Ne ménagez pas vos efforts pendant cette phase de recherche.

+

Avantages

+
    +
  • Faible coût par article
  • +
  • Maîtrise des prix
  • +
+

Inconvénients

+
    +
  • Coûts initiaux élevés
  • +
  • Risque d’escroquerie
  • +
  • Difficultés liées à la gestion de fournisseurs internationaux
  • +
+

Jouez la carte de la sécurité et choisissez l’achat en gros ou le dropshipping

+

Tous les e-commerçants ne peuvent pas vendre leurs propres produits. Il n’y a rien de mal à ça. L’achat en gros et le dropshipping conviennent bien aux commerçants qui souhaitent proposer une sélection de produits spécifiques dans un secteur de leur choix.

+

Achat en gros

+

Pourquoi choisir cette approche ?

+

L’achat en gros consiste à acheter des produits directement auprès d’un fabricant ou d’un grossiste (généralement, des marques existantes), puis à les revendre plus cher. Cette approche est moins risquée que la fabrication, car vous pouvez choisir des produits connus qui bénéficient d’une solide réputation. Vous pouvez généralement faire 50 % de marge en revendant au détail des produits achetés en gros. En consacrant du temps à l’établissement de bonnes relations avec vos fournisseurs, vous devriez pouvoir négocier des tarifs avantageux.

+

Pourquoi éviter cette approche ?

+

Sans business plan bien défini, il peut être contre-productif de vendre des produits de marques établies, d’autant plus qu’il est très difficile de se distinguer de la concurrence. Vous aurez un contrôle limité sur les prix, puisque les marques définissent généralement des contraintes tarifaires en fonction de leur propre modèle économique.

+

Avantages

+
    +
  • Démarrage rapide
  • +
  • Variété de produits
  • +
  • Produits de marques reconnues
  • +
+

Inconvénients

+
    +
  • Faible maîtrise des prix
  • +
  • Stock important
  • +
+

Dropshipping

+

Pourquoi choisir cette approche ?

+

Peu risqué financièrement, le dropshipping permet aux commerçants d’être opérationnels rapidement. Néanmoins, ce modèle n’est pas toujours avantageux en termes de rentabilité. Dans le cadre d’une collaboration avec un dropshipper, lorsqu’un client effectue une commande sur votre boutique en ligne, vous transmettez l’information à votre partenaire qui se charge de traiter et d’expédier la commande. Vous n’avez pas de stock à gérer et vous ne vous occupez pas des expéditions. C’est là le principal avantage. Vous pouvez donc strp,travailler n’importe où et vous lancer avec un investissement minimal. De nombreuses entreprises utilisent le dropshipping pour tester les nouveaux produits qu’elles souhaitent ajouter à leur offre.

+

Pourquoi éviter cette approche ?

+

Le dropshipping étant relativement peu risqué, beaucoup d’entrepreneurs optent pour cette approche, y compris de grandes marques. Cela peut être un inconvénient comme une opportunité, selon le point de vue. Vous ne vous démarquerez pas avec vos prix, mais en créant de la valeur. Vous pouvez par exemple proposer des produits de niche ou concevoir un contenu éditorial riche pour accompagner votre offre. En vous appuyant également sur un service client exceptionnel, vous avez une chance de vous distinguer.

+

Il est important d’entretenir de solides relations avec différents dropshippers pour éviter les ruptures de stock et ne pas risquer de décevoir les clients. En cas d’article indisponible, profitez de l’occasion pour renforcer la fidélité du client en proposant gratuitement un produit de remplacement, si possible de qualité supérieure.

+

Dans le cadre du dropshipping, vous n’aurez probablement pas accès aux produits que vous vendez. C’est un élément à prendre en compte. Vous pouvez envisager de commander vous-même quelques produits pour les examiner de près. Il sera toujours possible de les revendre s’ils sont reconditionnés ou peu usés.

+

Avantages

+
    +
  • Investissement financier faible
  • +
  • Possibilité de travailler n’importe où
  • +
  • Modèle fiable
  • +
  • Pas de frais de gestion de stock
  • +
+

Inconvénients

+
    +
  • Forte concurrence
  • +
  • Impossibilité de voir les produits avant de les acheter
  • +
  • Relations longue distance avec les dropshippers
  • +
+

Nous espérons que cet article vous aura aidés à y voir plus clair concernant les différentes méthodes d’approvisionnement. Quelle approche avez-vous adoptée ? Quel a été votre principal défi ? Dites-nous tout dans les commentaires ! Vous ne connaissez pas PrestaShop ? Découvrez dès aujourd’hui notre logiciel dédié à la création de boutiques en ligne.

+

Cet article E-commerce et approvisionnement : quelle approche adopter ? est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/e-commerce-approvisionnement-quelle-approche-adopter/feed/ + 0 +
+ + #PrestaShopDay : retour sur une journée exceptionnelle ! + https://www.prestashop.com/blog/fr/prestashopday-retour-journee-exceptionnelle/ + https://www.prestashop.com/blog/fr/prestashopday-retour-journee-exceptionnelle/#comments + Thu, 18 Jun 2015 13:44:39 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18822 + Nous vous attendions nombreux au PrestaShop Day, et nous ne nous sommes pas trompés ! Vous étiez plus de 2 000 à nous rejoindre jeudi dernier au Carreau du Temple et nous vous en remercions ! Cette journée n’aurait pas été un tel succès sans votre présence, ni sans celle des intervenants, partenaires et experts [...]

+

Cet article #PrestaShopDay : retour sur une journée exceptionnelle ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Nous vous attendions nombreux au PrestaShop Day, et nous ne nous sommes pas trompés ! Vous étiez plus de 2 000 à nous rejoindre jeudi dernier au Carreau du Temple et nous vous en remercions ! Cette journée n’aurait pas été un tel succès sans votre présence, ni sans celle des intervenants, partenaires et experts de qualité qui se sont joints à cette belle aventure à nos côtés. Ce fut une journée mémorable, pleine de rencontres et de partage d’expériences, autour d’un thème qui nous fédère et nous passionne tous : l’e-commerce !

+

Grâce aux ateliers, audits, tables rondes & conférences, nous espérons que vous êtes repartis avec des idées et des projets plein la tête !

+

+

La Keynote PrestaShop par Bruno Lévêque, fondateur de PrestaShop

+

Le PrestaShop Day a démarré en beauté avec la Keynote de PrestaShop, en compagnie d’Octave Klaba, fondateur d’OVH, Nicolas Ferrary DG France d’Airbnb et de Charles Wells, notre Chief Product Officer. Lancement du Fonds d’Intégration d’un million de dollars pour les développeurs du monde entier, nouvelle identité visuelle, programme ambassadeurs, updates produit… Retrouvez toutes ces annonces en consultant la présentation.

+

PrestaShop Keynote « WeCommerce is better e-commerce » By Bruno Lévêque

+

+
> Retrouvez  toutes les présentations de la journée, ateliers, masterclass, keynote, sur SlideShare.
+

Les photos

+
Revivez en images les temps forts de cette journée sur notre album Facebook PrestaShop Day 2015 !
+
+

Infographie : les chiffres officiels du PrestaShop Day

+

infography-11,6mb

+

Merci

+
Un grand merci à nos sponsors, PayPal, So Colissimo, Twenga Solutions et HiPay !
+
+

Ainsi qu’à nos partenaires presse Maddyness, FrenchWeb.fr, Viuz, Widoobiz, Devmag.Fr, ecommercemag.fr et eMarketing.fr.

+

 

+
+

Cet article #PrestaShopDay : retour sur une journée exceptionnelle ! est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/prestashopday-retour-journee-exceptionnelle/feed/ + 0 +
+ + Fixer le prix d’un nouveau produit : le top 6 des questions à se poser + https://www.prestashop.com/blog/fr/fixer-prix-dun-nouveau-produit-top-6-questions-se-poser/ + https://www.prestashop.com/blog/fr/fixer-prix-dun-nouveau-produit-top-6-questions-se-poser/#comments + Thu, 18 Jun 2015 08:30:47 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18814 + Comment réussir le lancement d’un nouveau produit ? Entre un flop et un best-seller, plusieurs facteurs entrent en jeu, du marketing à la stratégie de prix. Dans cet article, nous avons demandé à la responsable Content Marketing chez Wiser, Angelica, de nous faire part de ses conseils pour fixer le prix d’un nouveau produit. Elle [...]

+

Cet article Fixer le prix d’un nouveau produit : le top 6 des questions à se poser est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Comment réussir le lancement d’un nouveau produit ? Entre un flop et un best-seller, plusieurs facteurs entrent en jeu, du marketing à la stratégie de prix. Dans cet article, nous avons demandé à la responsable Content Marketing chez Wiser, Angelica, de nous faire part de ses conseils pour fixer le prix d’un nouveau produit. Elle vous en apprendra plus sur les stratégies à mettre en œuvre pour réussir le lancement de votre nouveau produit.

+

+

Il peut être difficile de définir le prix d’un produit qui n’est pas encore présent sur le marché. Plusieurs questions traversent l’esprit des marchands : les consommateurs trouveront-ils ce produit utile ? Penseront-ils que son prix est justifié ? Voici quelques suggestions pour vous aider à déterminer le prix juste, à chaque fois.

+

1. Quelle est la tarification de vos autres produits ?

+

Votre nouveau produit doit être cohérent avec votre gamme actuelle et votre stratégie de tarification globale. À moins, bien sûr, que vous ne souhaitiez tester une nouvelle direction pour votre boutique. Mais, en général, si vous avez créé une marque élégante et accessible, la tarification de votre nouveau produit doit correspondre à celle des produits que vous proposez déjà. Vous susciterez ainsi l’intérêt de vos clients actuels et de nouveaux clients.

+

2. Quelles sont les alternatives à ce nouveau produit ?

+

Il s’agit souvent d’un bon point de départ : les marchands ont ainsi une idée des prix que les acheteurs sont enclins à payer. Si vous commercialisez une gourde haut de gamme fabriquée à partir d’un matériau innovant et durable qui maintient les boissons froides pendant 20 heures, étudiez le prix des thermos. L’idée ici est de réaliser une veille concurrentielle pour identifier les produits disponibles sur le marché.

+

Les données de la concurrence sont particulièrement importantes lorsque d’autres marchands commencent à vendre le même produit. Même si vous entretenez des relations d’exclusivité avec le fabricant, des copies peuvent tout de même apparaître sur le marché si votre produit s’avère être un succès. En vous informant sur les tarifs des produits identiques et similaires dès leur apparition sur le marché, vous pouvez continuer d’afficher des prix compétitifs.

+

3. Combien coûte la fabrication du produit ?

+

Le coût de production doit avoir un impact sur le prix minimal de vente du produit. Il est important de connaître le coût de votre produit : si vous fixez son prix à un montant inférieur, vous vendez à perte. Votre prix minimal doit toujours être égal ou supérieur au coût.

+

4. Quelle est l’élasticité du prix ?

+

Autrement dit, quelle est la variation du prix de votre produit ? Les produits qui connaissent une demande soutenue à plusieurs niveaux de prix sont dits élastiques. Au contraire, les produits affichant de petites différences de prix sont inélastiques. Le prix des produits inélastiques est plus simple à déterminer, car il ne varie pas beaucoup. En revanche, les produits élastiques ont des prix qui peuvent varier considérablement en fonction des conditions d’approvisionnement et de marché.

+

Le tarif idéal n’est pas toujours le même, il est par conséquent difficile de déterminer le « meilleur prix » pour votre nouvel article. Il est important de surveiller la réaction du marché pour plusieurs niveaux de prix. Vous pouvez surveiller les prix de la concurrence manuellement, ou opter pour un processus automatisé grâce à un logiciel de réajustement des prix (repricer).

+

Les logiciels de réajustement des prix regroupent l’historique des ventes, les données de veille commerciale et concurrentielle, et les prix minimaux et maximaux. Ils vous permettent de modifier vos tarifs en temps réel, en toute connaissance de cause. Ils peuvent vous aider à déterminer le prix d’un nouveau produit de manière efficace, en l’actualisant de façon continue pour l’adapter à la réaction du marché.

+

5. S’agit-il d’un produit saisonnier ?

+

Revenons à notre exemple de gourde. En la lançant au printemps, lorsque les sportifs recherchent de nouveaux équipements pour leurs prochaines randonnées, vous pouvez fixer un prix plus élevé que si vous la lancez en plein hiver. Mais lorsque la saison est terminée, il n’est peut-être pas judicieux de conserver le même prix.

+

Les logiciels de réajustement des prix peuvent là aussi vous aider en se basant sur les indicateurs les plus pertinents, comme le trafic et les conversions. Si le taux de conversion chute à l’automne, baissez les prix pour le faire rebondir.

+

6. Quel est l’état de votre stock ?

+

Surveillez vos stocks et jouez sur les prix pour éviter les ruptures ou les excès de stock. Dans le premier cas, augmentez les prix lorsque les quantités sont faibles. Dans le second cas, baissez les prix pour faire de la place pour d’autres produits.

+

Pour résumer

+

Vous vous demandez peut-être s’il existe une méthode bien définie pour déterminer le prix de vos nouveaux produits. Sans vouloir vous décevoir, la réponse est non. Un si grand nombre de facteurs entrent en ligne de compte qu’il n’existe pas de solution universelle. En fait, ce n’est pas plus mal de ne pas suivre de méthode spécifique : vous menez votre propre stratégie et pouvez ainsi la personnaliser pour l’adapter à votre marque actuelle et à votre stratégie de tarification.

+

Quelles stratégies utilisez-vous pour la tarification de vos nouveaux produits ? Faites-nous part de votre expérience et de vos techniques dans les commentaires ci-dessous.

+

À propos de l’auteur

+

Angelica Valentine
+Angelica Valentine est responsable Content Marketing chez Wiser leader des solutions de tarification. Wiser aide les e-commerçants à réajuster les prix de leurs produits existants et nouveaux en temps réel pour optimiser leur chiffre d’affaires et leurs bénéfices.

+

Les principales fonctionnalités de Wiser sont les suivantes :

+
    +
  • Développement facile d’une stratégie de tarification optimisée qui s’adapte au marché
  • +
  • Parfaitement compatible avec les boutiques PrestaShop
  • +
  • Accès à des analyses détaillées pour vérifier votre retour sur investissement
  • +
+

Cet article Fixer le prix d’un nouveau produit : le top 6 des questions à se poser est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/fixer-prix-dun-nouveau-produit-top-6-questions-se-poser/feed/ + 0 +
+ + Boostez votre boutique en ligne avec les réseaux sociaux (Partie 1 sur 2) + https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-1-2/ + https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-1-2/#comments + Tue, 16 Jun 2015 10:26:33 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18798 + Aujourd’hui, nous accueillons Hanna Oeljeschlaeger, coach spécialiste des réseaux sociaux pour les pays germanophones et le Royaume-Uni chez HootSuite. L’univers des réseaux sociaux est complexe, mais n’a plus de secrets pour elle. Véritable experte en la matière, Hanna va partager ses stratégies pour permettre aux e-commerçants d’identifier les réseaux sociaux les plus efficaces pour améliorer [...]

+

Cet article Boostez votre boutique en ligne avec les réseaux sociaux (Partie 1 sur 2) est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Aujourd’hui, nous accueillons Hanna Oeljeschlaeger, coach spécialiste des réseaux sociaux pour les pays germanophones et le Royaume-Uni chez HootSuite. L’univers des réseaux sociaux est complexe, mais n’a plus de secrets pour elle. Véritable experte en la matière, Hanna va partager ses stratégies pour permettre aux e-commerçants d’identifier les réseaux sociaux les plus efficaces pour améliorer leur trafic Web et leur communication client, sans dépenser de l’argent ou du temps qui pourrait être consacré à développer leur activité principale.

+

Il y a environ dix ans, les réseaux sociaux étaient le « petit plus original » des business plans. Aujourd’hui indispensables, ils proposent de fabuleux outils, complets et pratiques, qui permettent aux e-commerçants d’entrer en relation avec leurs clients potentiels. Grâce à eux, il est possible d’effectuer des recherches approfondies sur des segments cibles identifiés, de créer des messages personnalisés, d’interagir directement avec la clientèle et de réagir en temps réel aux évolutions du marché. La question n’est donc plus d’inclure ou non les réseaux sociaux à son business plan, mais de déterminer comment.
+

+

Se démarquer

+

L’espace de marché de votre boutique en ligne se situe sur une ou plusieurs plateformes virtuelles. Il est « noyé » parmi de multiples concurrents, leaders d’opinion et autres acteurs du marché tels que les blogueurs, qui peuvent influencer votre image en ligne en partageant leurs bonnes comme leurs mauvaises expériences avec votre marque. En vous démarquant, vous donnerez de la visibilité à votre marque, vous vous construirez une réputation en ligne positive et durable et vous alignerez votre image en ligne sur votre image de marque.

+

Mais comment atteindre ces objectifs sans perdre du temps ou des ressources qui devraient être consacrés à développer votre activité principale ? Dans cet article, je vais vous présenter une stratégie en 3 étapes pour identifier les réseaux sociaux les mieux adaptés à votre activité et pour mettre en place une stratégie de communication proactive, en utilisant uniquement les supports de réseaux sociaux les plus pertinents.

+

1. Divisez votre groupe cible en segments cibles précis grâce aux « personas »

+

Tout d’abord, vous devez déterminer précisément le public en ligne que vous souhaitez atteindre. L’anonymat étant roi sur les espaces de marché virtuels, il vous faut connaître de manière approfondie le profil de votre groupe cible afin de faire entendre votre message et donc d’atteindre plus facilement les segments qui vous intéressent. L’élaboration de « personas » est une stratégie qui a fait ses preuves. Elle permet de représenter le profil des acheteurs cibles et simplifie le processus d’identification de segments spécifiques au sein de votre groupe cible global. Mais comment faire ?

+

Vous pouvez par exemple utiliser l’onglet de recherche Twitter de votre tableau de bord Hootsuite, une fonctionnalité simple et efficace pour configurer des flux de recherche. Ces flux vous aident à identifier le profil de votre groupe cible et à le diviser en segments précis, à partir de données démographiques et psychographiques. Pour en savoir plus, contactez notre coach spécialiste des réseaux sociaux en cliquant ici.

+

personas

+

Guide rapide pour configurer vos flux de recherche

+

Pour illustrer la façon dont les flux de recherche peuvent vous aider dans votre processus de segmentation, penchons-nous sur l’exemple de Sutter Home. Le vignoble a récemment ouvert une boutique en ligne, en plus de ses magasins physiques. Pour réussir cette expansion en ligne, les gérants ont tout d’abord dû diviser le groupe cible correspondant à leurs magasins physiques en segments plus petits, cohérents avec les profils des acheteurs en ligne.

+

Grâce à des recherches approfondies à partir de mots clés sectoriels, incluant des sondages et l’analyse de conversations en ligne, ils ont développé un persona précis. Les résultats de ces recherches ont été regroupés en sections, caractérisées par un avatar, un nom et un âge moyen, compris entre 21 et 30 ans. Tous ces éléments reflétaient le profil de la majorité des prospects du segment cible. Le persona ci-dessous représentait le segment cible le plus lucratif du groupe cible global de l’entreprise.

+
+
+

Groupe cible en ligne (flou)

+

target-group +

+
+

Segment cible (précis)

+

target-segment +

+
+

Il est essentiel d’élaborer des personas avant de passer aux deux étapes suivantes : identifier les outils de communication les plus performants, puis le message le plus efficace, en fonction des caractéristiques du segment cible. Ces choix détermineront les réseaux sociaux les plus pertinents pour votre boutique en ligne.

+

2. Choisissez l’ensemble des réseaux sociaux sur lesquels vous êtes présent en fonction de votre produit ou service phare

+

Une fois votre cible identifiée, vous devez définir les outils de communication dont votre boutique en ligne a besoin, en fonction de votre produit ou service phare. Le tableau ci-dessous présente différents types de commerces et leur offre principale. Pour chacun d’entre eux sont suggérés un objectif de communication ainsi que les réseaux sociaux les plus efficaces pour transmettre un message.

+

Support your ecommerce business with social media

+

Cette sélection a été effectuée à partir des réseaux sociaux les plus importants à l’échelle mondiale (Facebook, Twitter, LinkedIn, Google+, Pinterest, Instagram et YouTube). Vous pouvez vous en inspirer, mais également l’adapter à votre marché. Demandez-vous s’il existe d’autres réseaux sociaux spécifiques à votre pays dont vous devez tenir compte. Exemples : Viadeo en France et Xing en Allemagne.

+

Le tableau présente les trois réseaux sociaux les plus efficaces pour faire la promotion de votre produit ou service phare à l’échelle mondiale. Avec le tableau de bord Hootsuite vous pouvez connecter l’ensemble de vos comptes pour communiquer simultanément et de manière cohérente sur tous les réseaux sociaux, suivre toutes les activités et réagir en temps réel aux évolutions du marché

+

+ Tout va bien jusqu’ici ? Parfait !
+ Faisons une petite pause, le temps que vous élaboriez votre stratégie de communication sur les réseaux sociaux, avant d’aborder la dernière étape cruciale dans le prochain article. Je vous expliquerai comment vous démarquer de vos concurrents en utilisant les bons outils sur les réseaux sociaux les plus pertinents.
+ Préparez-vous en débutant votre essai gratuit de 30 jours: http://ow.ly/L7QJr +

+

Rédigé par Hanna Oeljeschläger (@HootHanna)
+Coach spécialiste des réseaux sociaux pour les pays germanophones et le Royaume-Uni chez Hootsuite

+

Cet article Boostez votre boutique en ligne avec les réseaux sociaux (Partie 1 sur 2) est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/boostez-boutique-en-ligne-les-reseaux-sociaux-partie-1-2/feed/ + 3 +
+ + 3 astuces pour augmenter vos ventes grâce au développement durable + https://www.prestashop.com/blog/fr/3-astuces-augmenter-vos-ventes-grace-au-developpement-durable/ + https://www.prestashop.com/blog/fr/3-astuces-augmenter-vos-ventes-grace-au-developpement-durable/#comments + Mon, 15 Jun 2015 10:10:21 +0000 + + + + https://www.prestashop.com/blog/fr/?p=18806 + Faire rimer environnement et développement des ventes sur votre site de e-commerce, c’est possible. Voici 3 astuces pour y parvenir. Saviez-vous que près de deux tiers des consommateurs disent éprouver un « sentiment de fierté quand ils achètent un produit bon pour l’environnement ou socialement responsable » ? C’est certain, aujourd’hui le développement durable n’est [...]

+

Cet article 3 astuces pour augmenter vos ventes grâce au développement durable est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ Faire rimer environnement et développement des ventes sur votre site de e-commerce, c’est possible. Voici 3 astuces pour y parvenir.

+

Saviez-vous que près de deux tiers des consommateurs disent éprouver un « sentiment de fierté quand ils achètent un produit bon pour l’environnement ou socialement responsable » ? C’est certain, aujourd’hui le développement durable n’est plus une simple mode, il s’est clairement ancré dans l’esprit des consommateurs. Mieux ! Il oriente même leurs décisions d’achat.

+

Autrement dit, l’engagement environnemental est pour un site de e-commerce un vrai facteur différenciant lui permettant de booster ses ventes. En tant qu’e-commerçants vous avez donc tout intérêt à développer une démarche éco-responsable pour attirer de nouveaux clients et les fidéliser. Les 3 astuces suivantes vous permettront de débuter ou progresser sur la voix de l’éco-responsabilité.
+

+

1) Module « Achat Responsable » : optez pour la solution la plus simple et efficace

+

Il est gratuit et s’installe en 5 minutes. Le module Achat Responsable de Reforest’Action permet à vos clients de planter un arbre en ajoutant 0,99 € à leur panier afin de compenser les émissions de CO2 liées à la fabrication de leurs achats. Ils peuvent ensuite le faire savoir sur les réseaux sociaux et vous gagnez ainsi en visibilité sur internet. En clair, ce module partenaire PrestaShop est la solution éco-responsable la plus simple et pratique pour votre site de e-commerce.

+

2) Livraisons : misez sur un transporteur adapté à votre clientèle

+

Autre astuce pour réduire l’impact environnemental de votre activité : choisissez un transporteur dont les options de livraison sont adaptées à votre type clientèle. Par exemple, si la majorité de vos clients sont des urbains, proposez-leur une livraison en points relais. Ils pourront aisément se déplacer en transports ou à vélo et éviter ainsi une livraison en fourgonnette.

+

De plus, en se rendant au point relais à l’heure de leur choix, la réception du colis est garantie dès le 1er coup pour votre clientèle citadine. Exit les seconds passages de livreur dus à l’absence du client à son domicile. Et donc moins d’émissions de CO2 à la clef.

+

3) Fournisseurs : préférez les produits locaux, bio et éco-conçus

+

Moins facile à mettre en place, le choix de fournisseurs locaux s’avère aussi rudement malin pour limiter votre empreinte environnementale. En renforçant votre gamme de produits « made in France », vous contribuerez directement à réduire les émissions de CO2 liées aux transports.

+

Côté qualité des produits, le bio a de plus en plus la cote. Alors pourquoi, là aussi, ne pas augmenter le nombre de vos produits estampillés d’un label vert et blanc ou éco-conçus ? Alimentation, cosmétiques, prêt-à-porter de nombreux secteurs sont concernés. A vous de jouer !

+

Cet article 3 astuces pour augmenter vos ventes grâce au développement durable est apparu en premier sur FR - Blog ecommerce par PrestaShop.

+]]>
+ https://www.prestashop.com/blog/fr/3-astuces-augmenter-vos-ventes-grace-au-developpement-durable/feed/ + 0 +
+
+
diff --git a/config/xml/default_country_modules_list.xml b/config/xml/default_country_modules_list.xml new file mode 100644 index 00000000..1cf1ba8d --- /dev/null +++ b/config/xml/default_country_modules_list.xml @@ -0,0 +1,2 @@ + + diff --git a/config/xml/index.php b/config/xml/index.php new file mode 100644 index 00000000..ffdebb42 --- /dev/null +++ b/config/xml/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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; diff --git a/config/xml/modules_list.xml b/config/xml/modules_list.xml new file mode 100644 index 00000000..b92ca99d --- /dev/null +++ b/config/xml/modules_list.xml @@ -0,0 +1,199 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/xml/modules_native_addons.xml b/config/xml/modules_native_addons.xml new file mode 100644 index 00000000..0f4ebcd8 --- /dev/null +++ b/config/xml/modules_native_addons.xml @@ -0,0 +1,2 @@ + + diff --git a/config/xml/must_have_modules_list.xml b/config/xml/must_have_modules_list.xml new file mode 100644 index 00000000..36c65a95 --- /dev/null +++ b/config/xml/must_have_modules_list.xml @@ -0,0 +1,2 @@ + + la redirection est bien active ! - Vert => Redirection possible pour un produit désactivé ou supprimé, mais la redirection n'est pas active. - Orange => Redirection possible pour un produit désactivé ou supprimé, mais la redirection n'est pas active et aucun lien n'est renseigné pour la redirection. - Gris => la redirection est inactive car la page a été réactivé. - Rouge => Redirection activé, mais pas de lien ! Donc page 404 habituelle ! Vous bénéficiez également d'un système de filtre en fonction de l'état (Liens cassé, redirection en erreur, redirection à faire, etc...) afin de pouvoir agir rapidement en conséquence. Grâce à ce module plus aucuns liens cassés sur votre site ! Two other augmented versions of the modules exist : -  one with category pages mor: http://addons.prestashop.com/en/seo-prestashop-modules/11258-seo-404-301-product-and-category-delete-or-disable.html - The other pages with categories, brands, founisseurs, cms and specific urls! http://addons.prestashop.com/en/seo-prestashop-modules/18272-301-seo-automatic-redirection-of-all-your-404.html  ]]> diff --git a/config/xml/tab_modules_list.xml b/config/xml/tab_modules_list.xml new file mode 100644 index 00000000..d3df6094 --- /dev/null +++ b/config/xml/tab_modules_list.xml @@ -0,0 +1,360 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/xml/themes/default.xml b/config/xml/themes/default.xml new file mode 100644 index 00000000..5d523e9a --- /dev/null +++ b/config/xml/themes/default.xml @@ -0,0 +1,329 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/config/xml/themes/index.php b/config/xml/themes/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/config/xml/themes/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/config/xml/trusted_modules_list.xml b/config/xml/trusted_modules_list.xml new file mode 100644 index 00000000..222d25e6 --- /dev/null +++ b/config/xml/trusted_modules_list.xml @@ -0,0 +1,2 @@ + + diff --git a/config/xml/untrusted_modules_list.xml b/config/xml/untrusted_modules_list.xml new file mode 100644 index 00000000..e546a37e --- /dev/null +++ b/config/xml/untrusted_modules_list.xml @@ -0,0 +1,2 @@ + + diff --git a/modules/gamification/views/css/advice-1.6.1.0_321.css b/modules/gamification/views/css/advice-1.6.1.0_321.css new file mode 100644 index 00000000..57e8d3d3 --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_321.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_321 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/gamification/views/css/advice-1.6.1.0_352.css b/modules/gamification/views/css/advice-1.6.1.0_352.css new file mode 100644 index 00000000..75f833fe --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_352.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_352 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/gamification/views/css/advice-1.6.1.0_500.css b/modules/gamification/views/css/advice-1.6.1.0_500.css new file mode 100644 index 00000000..83a0912d --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_500.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_500 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/gamification/views/css/advice-1.6.1.0_534.css b/modules/gamification/views/css/advice-1.6.1.0_534.css new file mode 100644 index 00000000..ff41b5b0 --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_534.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_534 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/gamification/views/css/advice-1.6.1.0_541.css b/modules/gamification/views/css/advice-1.6.1.0_541.css new file mode 100644 index 00000000..5522b654 --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_541.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_541 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/gamification/views/css/advice-1.6.1.0_602.css b/modules/gamification/views/css/advice-1.6.1.0_602.css new file mode 100644 index 00000000..6f448274 --- /dev/null +++ b/modules/gamification/views/css/advice-1.6.1.0_602.css @@ -0,0 +1,27 @@ +#advice-16 .hide { display: none; } +#advice-16 .text-right { text-align: right; } +#advice-16 .text-left { text-align: left; } +#advice-16 .text-center { text-align: center; } +#advice-16 .gamification-tip, #advice-16 .gamification2-tip { display: table; width: 100%; margin: 0 0 20px 0; position: relative; background-color: #f8f8f8; border-bottom: none; } +#advice-16 .gamification-tip div.gamification-tip-title, #advice-16 .gamification-tip div.gamification2-tip-title, #advice-16 .gamification2-tip div.gamification-tip-title, #advice-16 .gamification2-tip div.gamification2-tip-title { width: 90px; position: absolute; top: 0; left: 0; height: 40px; padding: 0 0 0 40px; line-height: 40px; color: #556e26; font-size: 14px; font-weight: bold; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') 10px 5px no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container, #advice-16 .gamification-tip div.gamification2-tip-description-container, #advice-16 .gamification2-tip div.gamification-tip-description-container, #advice-16 .gamification2-tip div.gamification2-tip-description-container { display: table-cell; width: 100%; height: 43px; padding: 0 130px; vertical-align: middle; border-bottom: solid 3px #d7d7d7; font-size: 13px; color: #666666; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAgJJREFUeNqclU1LAmEQx8f1BUXxXbt1FqIORR2K7tEXqEtRx4g+QIcIIqJzBF6D6tIHCIKuRURE1MWzEIivqKj43oz4xLBttc/84e+6s/Jj5nFm1lGpVIa5XA6Y1tA3YFOpVOr7u+Hz+SAYDPLnl+hZEMigj2g0Cm63W8U86LQY5nA4IJlMjq5jLaB3RbBROh4PhMNh/uwcvSiCkQjm9Xp5KC2GkRKJBBjGd3gGfSSGuVwuiMViPHSAXhHBSIFAAPx+Pw9doKdFMFI8Hgen06luJ+yc368wOjc6P6Yl9LoIRrKYjmv0nAimpoN6kP0+LYbRVFC5bDrm0XsimJqOSCTCQ2foZRGMFAqF/p0OQ2dcTNMxhT4RwyymYz+TyayKYGo6yFblGpIlSNlRlmNNYnaTYpi4z6xULBah1+up2yy+VLIiWL1eh0ajwUM7osy63S6Uy2UeOsKsbrVhw+EQCoUCDAYDFXpDH4rODF/W0G63LcvTgrVaLahWqzy0jX7ShlFZVB7T43iN67cGgfr9vrrNW5VnC0Zt0Gw2eWgT/a4NozYolUrmV96d9gRQG+Tz+dF1rFf0sWicqA06nc6fbWALZtEGG+hnbRj9a6Y2eEBfibYGbQPWBp92y/sBq9Vq5jbYQn9ow+iwTdtgH32vvRzVNmBt8II+FW1aykjSBlb6EmAAzDOrDeos+tYAAAAASUVORK5CYII=') 100px top no-repeat; } +#advice-16 .gamification-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification-tip div.gamification2-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification-tip-description-container span.gamification2-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification-tip-description, #advice-16 .gamification2-tip div.gamification2-tip-description-container span.gamification2-tip-description { display: block; max-height: 30px; overflow: hidden; font-size: 0.9em; line-height: 15px; margin-right: 6px;} +#advice-16 .gamification-tip span.gamification-tip-cta, #advice-16 .gamification-tip span.gamification2-tip-cta, #advice-16 .gamification2-tip span.gamification-tip-cta, #advice-16 .gamification2-tip span.gamification2-tip-cta { position: absolute; width: auto; height: 43px; top: 0; right: 0; padding: 0 10px 0 30px; margin-right: 40px; line-height: 43px; border-bottom: solid 3px #8fbb39; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAAoCAYAAAAc7cGiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAohJREFUeNpivP3s6P+tl2sZGBj+M0BBOBCvYiAS5Lvtg7OZZIWMGXSkfZHlFwOxEQMZgAlEWCglMwhyycHE2IB4OtmGsTCxMThrljIwMbLAxM2AOJssw0BAhEeFwVQhFlluChBbkWUYCBjIhjBICegiC00n2zBGRiYGR/ViBjZmLpiQHhA3kWUYCPByiDPYqGYhC4HSjQdZhoGAmrgzg7KoHbLQAiDWJcswELBTy2HgZheGccWJCT+chrGz8DI4qZeAQhImZA3EEWQZBgLSggYMejL+yEJLgdiYLMNAwFwxkUGIWwFZ/XSyDWMG544yIM0KEzIF4lyyDAMBYW5FBjOFeGShSUBsS5Zh4NQrG8QgLaCPN3cQbRgjEDpqFANjmQcmpA3EbWQZBgI87KLouaNy4i4nL7IMAwFVMUcwxuZdJnIKQRvVbKArxWBcOaDr5Mg2DKm+YCA7zGDg0K1JDF9+voJxHwErlUdkGXbjxS6Gu68PIwtlkuWyj9+fMhy9MwNZqAnoqm0kG/bv/x+GPdc7GX7//Q4TugDE9WSF2en7ixhef76N1XskGfb0w0WGC4/XIAslAvEJkg378fsTw74b3cDEAE8Ox6DFOOlJ4+CtCQxff76FcV9h8x5Rhl17vo3h/pvjyEJxQHyJZMM+fHvMcOzOLPQqbyfJdQAkGXQw/Pn3EyZ0DohbyKqdTtybz/Dmyz28yYAowx6/O8tw6cl6ZCFQa+YUyYZ9//2BYf/NXuRS4SgQLyGjrfGf4cDNCQzffr2Hp1VivYdh2JWnmxkevj2JLJcAxJdJNuzd1wcMx+/NRSnbgXgPyS3Hv/9+gUsDEA0FZ4C4g6w2LchFIJeRmgywAYAAAwB2TrDDSSzajQAAAABJRU5ErkJggg==') left top no-repeat #a6c964; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification2_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_fancybox, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification2_fancybox { display: inline-block; width: 100%; padding: 0 35px 0 0; font-size: 14px; text-transform: uppercase; font-weight: 500; color: #556e26; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlxJREFUeNpifPh5/yMGBgY+BuzgExBrAvFXKN8FiHcB8R8g/oZLjzyvoxwTkCELxPw4sGyAY5YhUCETVNOet28+5ANpVnx6gNgIpOEjDpsZ/v///+/3nz9sQCYjTExYRGDy3VuPEnHp+fv33xcgxcaCLLh3x/Haa5fvPoTxf//6/e/OzUff0TUrq8ktuHTu5lNdQ7VtjIyMLNjMRxFcNm/L2T3bj50CMn8gOxwYD3/RdeoZqcsy4AEoBhuYaooADf4ENOg3A35QCsRd+BQwYRFjI2BoDrKhf37/eXP14u0ZSPHyH5fByAAUadxAzAPFWUA8GW7on7+f2+tmZXvZpM0BGp4CDgIWZl6Q+SwEDOYC4uvQZPQfSsNc+r6qoD9p5aJtT4Dcq0DDz56+vYZXTEK4H2Q+IRfD0jkfsqE/f/x6WZLVlQA09DGQexkW2aaqIROuXLgdhBF52JIyNJ3zI4Xh36aKqdnrV+wGGXoViH8ha/C2TVsPcggxYcyPIsDIyLxl3f7nQOY1YOr5hStbE+PiV//+/ReEshmBLv6pb6zBd3DPabihQAsYob4H0f+BRcBvQgZ/fXj/mW5L5TQ9YApgBgn8A5p88uglUPAwQwsjEFAC4iNQg0EFlzpBF8srSr3atfXoAeTyApob/yDxOYBYAsoWB2J9QgbDvPqHgJI/aIUQB0rkXblw6x0DeeA53kLIP9RZu6Wv4D5IglgTgb75Dw1j1OQElPiAnqQoAaCgUBJwdmKipqEgwMzMxAPLeY+BtghB0ymlgPHvn7+gyGOGJSEjaLqkWogABBgAw5HvoD2BxTAAAAAASUVORK5CYII=') right 10px no-repeat; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close { position: absolute; height: 43px; width: 40px; right: -40px; top: 0; display: inline-block; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAG2YAABzjgAA+r4AAIMvAABwNwAA6xcAADAYAAAP9iLCCJ8AAAC2SURBVHjajJGxDYQwDEUfTMAot0KWIC3XMgLUjAAttEzBChnlNvA1CZcYg85SpMj2+5a/ERH+fcPcNulfE2Nc/DoufuUmYu0YF98AVCKSkl3s2aZ+fxtQqgfA1VHhlfV1+WQFnZEmNsChBLYklOUC4KZ+/1QikpQtGAsCfubEhIsNj1ABZrAJ5tAFvDNCG1aABhTU9AKuHyBn7HzC1TC32s3CCMPtADh9R7R7CubujmhIwWf9OwCrkpcROY/nCwAAAABJRU5ErkJggg==') center center no-repeat #a6c964; text-indent: -9000px; border-bottom: solid 3px #8fbb39; } +#advice-16 .gamification-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification-tip span.gamification2-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification-tip-cta a.gamification_close:hover, #advice-16 .gamification2-tip span.gamification2-tip-cta a.gamification_close:hover { background-color: #8fbb39; border-bottom: solid 3px #799653; } + +.gamification-tip-infobox, .gamification2-tip-infobox { padding: 0; position: relative; } +.gamification-tip-infobox .gamification-tip-infobox-title, .gamification-tip-infobox .gamification2-tip-infobox-title, .gamification2-tip-infobox .gamification-tip-infobox-title, .gamification2-tip-infobox .gamification2-tip-infobox-title { display: block; margin: 0 0 20px; padding: 10px 20px 5px; border-bottom: solid 3px #739334; font: 800 18px/20px arial; text-transform: uppercase; color: #556e26; background-color: #e7f0d6; } +.gamification-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification-tip-infobox-title span.gamification2-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification-tip-infobox-title-prefix, .gamification2-tip-infobox .gamification2-tip-infobox-title span.gamification2-tip-infobox-title-prefix { display: inline-block; height: 40px; padding-left: 30px; margin-right: 10px; line-height: 40px; text-transform: none; color: #90b941; font-size: 16px; font-weight: 500; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAmlJREFUeNqclV9oj1EYx3+/+R9iF26Ii8Wam63GmCyyG1tLiV0oic2fUqjlgiu/olxMDUu7UFwQStiN/CR/4gLLJiyRf2t3hNUPvyi2+Rx93zrenXPel6c+Pae3c77vc85znudkj+cbMgk2HnrgI4yZvKchP2ZykpVCdSallaSYM07+expBE+EqLbrpmVOUnxIS6rzeWIebZgRv69s66HbM/Qr18j6xFbi70Zb36vsV2OBZcwd6PWKNkRh20Ah2wD59aLPmmqg64SmMildwWruJbKt8OxnPRUlph+WwDMoU0S3YDZXW4gXQApfhGSxFpNmsxf8JKhu7h/MUxSR4Czl4CAUYgTn66Q5YpDU1iPW6rs0MeCmxUzAfzkn4EwxBP5yExXBM6x5xjrNcgkd0NS7BNpgIX6DPkyhz3hc1zsUFJ8N2jVusrE+H14Hrt0u+lShLbMEa+QfwDWZCE/yAjQFBU98D2lm5LVgh/1i+Tv4aDCdUW7/8bFctj1gNwdhgivLNuprDi9jWn8uvTCEYXZ8BW7BH0dXCVG29qLa1OSBWqa2+5y7+JfhTJWjsgtUsjB0NCJ6VP+S6hweU4TWwE24ow+s9Yh2K8B3RdbkETQNdrXGXMn9edR23JquR1Ic69n04rPH+wFY/m5Iz50t0g0lPwFX5soCgaRhL4IzrCYjbL/lqLRh1vENF1e+HNIJ96ncmGZsCUd7TGScKmvvYrKTM9byUQzrDTBrBqC63wASrHG3BghpxIa1glfXO+KzbagyJgnld2grrgbIbwRN48y9bNrZWZ5mNfTfiJ/5HcGHsxbOt3LfotwADANuWkQvTgVooAAAAAElFTkSuQmCC') left top no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content, .gamification-tip-infobox .gamification2-tip-infobox-content, .gamification2-tip-infobox .gamification-tip-infobox-content, .gamification2-tip-infobox .gamification2-tip-infobox-content { display: block; width: 100%; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-image, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-image { float: left; width: 215px; height: 200px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAD2CAYAAAAanJ1vAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAsdJREFUeNrEmYmS2jAMhpey23Z73wV633e77/9iS+wEChlboyj2l2CabmY8MPksWzbBkv6cnBxzzaaB16aBc5q3HJ4SPCOnjoNZp64Xwxu0HIQ3yWOE50Mwety7bhXBWYCNalsNb+9anYN3AqwJRsuNhneN5Xh4LwBPMLYOvG8smxTU8wp8oCwRNuG7wIcJy22EjwLIwlp16MDHxrJOQT2vwCfKsgef7poLN10KWstNhM+CRRZ60wQ+Dzec3V8NvXJI4MLM6S30ZmiBS3WzB1fhpl2OQG86CHyhAELtcQtfZiy3e/hq1yqCzjSBr41lFuqNaOGbhKXAtwFWZtiNhk59dqBLLKeF7xKWHejMvALfG1Bp+EFBPW8Wtk/DHn5UYE1QD9vCT8oqC/WwAj8by7iUehB+CSAJvyagOwja5bTwW8bSj4KV6SDwuwJJWJkO4tAPAzrw565dJpwSuFYdktAO2zr0ywzbg6lhW/hbgUsN5+Hsa9SZJ9EwWq4Ty2mH/RNAD87DwaiHjCd1E2FjomAT4dKAWsOFiZ/ibW5OgUuyHA2bgyxX/2RO3KHa7lA5XJlIL/C47H9lcoRxw9rt8ylvcSl1bimz/1wCXQUc9WOPgtmNL/s9J3jAJvo7HAQlGR38Zy8SOfXhZ4Ifbbl/2i9MAOgc4xdjjvHeJsQAsFbWEn11dNBzOguTcQWDziBMBrrBEInBFcPyYEDPpgKYRGD6gYkLpjzlmRQmaOV5H6aT5VkqJr+YNmPCjak6JvlYHmBhgSUJFjNYBg0WUNnSC4s2LPewUMQSE4tTLGuxIMZSGotwLN+x8EfJAMUGlClQ4EBpBEUVlGNQyEEJCMUjlJ1QsEKpC0UylNdQmENJD8VAlBFRgCzXNVEuRaEVJdqsuFuuGQ9K0efF8jfCcj2+/B3A2RCc4HXG6TRvZuZXUGFN9Eqs7PorwADqneV3jhuYDAAAAABJRU5ErkJggg==') no-repeat right center; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description { float: left; width: 335px; padding: 0 0 10px 25px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p { line-height: 20px; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-description p ul li, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-description p ul li { padding: 0 0 0 20px; line-height: 25px; background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAMCAYAAAC9QufkAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAOpJREFUeNpiLN7PQApQB+JqIC4F4pcsJGhUBuJtQKwExEZAHEisZi0gBrlRDMrXBhnARIRGHSA+gKQRBNKAeC1Msw8QF2LRCHLePiAWhfL/AnECEM8G4j8gZ0cC8TKo5CsgXgplmwPxDiAWgPI/A3EiyEaYySDNfkg2LQHiG0D8C2ojF1T8LRBHAfEuZGeBNMcAMTcQ+0LFDgIxyDucUP4TIA4B4pPofmKC+gNk+ymoGDeSxntA7IVNI0wzDHgD8X0k/j2ojZdxRQOy5jdA7Az1L4gdCMTn8cUheiIB2ewAxGxAfIlQAgAIMAD2kykMxixl4gAAAABJRU5ErkJggg==') left center no-repeat; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls { padding: 20px 0 0 0; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button { display: inline-block; height: 45px; padding: 0 20px; margin-right: 10px; border: none; line-height: 45px; font-weight: 400; text-transform: uppercase; color: #929292; font-size: 1.2em; border-radius: 3px; background: #d2d2d2; text-decoration: none; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button.success, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button.success { color: white; background: #00a4e7; border-color: #739334; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:hover, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:hover { color: #f8f8f8; background: #5f5f5f; border-color: #2c2c2c; } +.gamification-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification-tip-infobox-content-controls a.button:active, .gamification2-tip-infobox .gamification2-tip-infobox-content .gamification2-tip-infobox-content-controls a.button:active { color: white; background: #2c2c2c; border-color: black; } + #wrap_id_advice_602 hr { margin: 0!important; } \ No newline at end of file diff --git a/modules/themeconfigurator b/modules/themeconfigurator deleted file mode 160000 index a4c07029..00000000 --- a/modules/themeconfigurator +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a4c07029fdfecff680849b0d9b20aedf60da6b45 diff --git a/themes/toutpratique/404.tpl b/themes/toutpratique/404.tpl new file mode 100644 index 00000000..e31aea20 --- /dev/null +++ b/themes/toutpratique/404.tpl @@ -0,0 +1,45 @@ +{capture name=path}{l s='404'}{/capture} +
+
+
+ {if !$content_only} + + {/if} +
+

{l s='oops'}

+

+ {l s='Oh, weeee, oh noooo...'}
+ {l s='We\'re sorry, but the Web address you\'ve entered is no longer available.'} +

+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+
+
+
+ + {if $banner} + + {/if} +
+
\ No newline at end of file diff --git a/themes/toutpratique/address.tpl b/themes/toutpratique/address.tpl new file mode 100644 index 00000000..923dba9d --- /dev/null +++ b/themes/toutpratique/address.tpl @@ -0,0 +1,143 @@ +{capture name=path}{l s='Your addresses'}{/capture} +
+
+
+ {if !$content_only} + + {/if} +
+

{l s='Your addresses'}

+

+ {if isset($id_address) && (isset($smarty.post.alias) || isset($address->alias))} + {l s='Modify address'} + {if isset($smarty.post.alias)} + "{$smarty.post.alias}" + {else} + {if isset($address->alias)}"{$address->alias|escape:'html':'UTF-8'}"{/if} + {/if} + {else} + {l s='To add a new address, please fill out the form below.'} + {/if} +

+
+
+ + {include file="$tpl_dir./errors.tpl"} + + +
+ + {strip} + {if isset($smarty.post.id_state) && $smarty.post.id_state} + {addJsDef idSelectedState=$smarty.post.id_state|intval} + {else if isset($address->id_state) && $address->id_state} + {addJsDef idSelectedState=$address->id_state|intval} + {else} + {addJsDef idSelectedState=false} + {/if} + {if isset($smarty.post.id_country) && $smarty.post.id_country} + {addJsDef idSelectedCountry=$smarty.post.id_country|intval} + {else if isset($address->id_country) && $address->id_country} + {addJsDef idSelectedCountry=$address->id_country|intval} + {else} + {addJsDef idSelectedCountry=false} + {/if} + {if isset($countries)} + {addJsDef countries=$countries} + {/if} + {if isset($vatnumber_ajax_call) && $vatnumber_ajax_call} + {addJsDef vatnumber_ajax_call=$vatnumber_ajax_call} + {/if} + {/strip} + +
diff --git a/themes/toutpratique/addresses.tpl b/themes/toutpratique/addresses.tpl new file mode 100644 index 00000000..a4bb6927 --- /dev/null +++ b/themes/toutpratique/addresses.tpl @@ -0,0 +1,72 @@ +{capture name=path} + {l s='My account'} + {l s='My addresses'} +{/capture} +
+
+
+ {if !$content_only} + + {/if} +
+

{l s='My addresses'}

+
+

{l s='Please configure your default billing and delivery addresses when placing an order. You may also add additional addresses, which can be useful for sending gifts or receiving an order at your office.'}

+

{l s='Be sure to update your personal information if it has changed.'}

+
+
+
+ + +
+
\ No newline at end of file diff --git a/themes/toutpratique/ajax-order-carrier.tpl b/themes/toutpratique/ajax-order-carrier.tpl new file mode 100644 index 00000000..4d8cc2c4 --- /dev/null +++ b/themes/toutpratique/ajax-order-carrier.tpl @@ -0,0 +1,64 @@ +
+ {if isset($virtual_cart) && $virtual_cart} + + {else} + {if isset($delivery_option_list)} + {foreach $delivery_option_list as $id_address => $option_list} +
+ {foreach $option_list as $key => $option} +
+
+ {foreach $option.carrier_list as $carrier} + {if $carrier.logo} + + {/if} + {/foreach} + + + +
+ +
+ {if isset($carrier.instance->delay[$cookie->id_lang])} + {$carrier.instance->delay[$cookie->id_lang]|escape:'htmlall':'UTF-8'} + {/if} +
+ +
+ {if $option.total_price_with_tax && !$option.is_free && (!isset($free_shipping) || (isset($free_shipping) && !$free_shipping))} + {if $use_taxes == 1} + {if $priceDisplay == 1} + {convertPrice price=$option.total_price_without_tax} + {else} + {convertPrice price=$option.total_price_with_tax} + {/if} + {else} + {convertPrice price=$option.total_price_without_tax} + {/if} + {else} + {l s='Free'} + {/if} +
+
+ {/foreach} +
+ {foreachelse} +

+ {foreach $cart->getDeliveryAddressesWithoutCarriers(true) as $address} + {if empty($address->alias)} + {l s='No carriers available.'} + {else} + {l s='No carriers available for the address "%s".' sprintf=$address->alias} + {/if} + {if !$address@last} +
+ {/if} + {foreachelse} + {l s='No carriers available.'} + {/foreach} +

+ {/foreach} + {/if} + {/if} +
+ diff --git a/themes/toutpratique/authentication.tpl b/themes/toutpratique/authentication.tpl new file mode 100644 index 00000000..ea616fba --- /dev/null +++ b/themes/toutpratique/authentication.tpl @@ -0,0 +1,391 @@ +{capture name=path} + {if !isset($email_create)}{l s='Authentication'}{else} + {l s='Authentication'} + {l s='Create your account'} + {/if} +{/capture} + +{assign var='stateExist' value=false} +{assign var="postCodeExist" value=false} +{assign var="dniExist" value=false} + +
+
+
+ +
+

+ {if !isset($email_create)}{l s='Authentication'}{else}{l s='Create an account'}{/if} +

+ {if isset($back) && preg_match("/^http/", $back) && !$fromWeModule}{assign var='current_step' value='login'}{include file="$tpl_dir./order-steps.tpl"}{/if} + {if $fromWeModule} +
+ +
+ {/if} +
+
+ + {include file="$tpl_dir./errors.tpl"} + +
+ + {if !isset($email_create)} +
+ +
+
+

{l s='Already registered?'}

+
+
+ + +
+
+ + +
+ + {l s='Forgot your password?'} + + + {if isset($back)}{/if} + +
+
+
+ + {if !$fromWeModule} + +
+
+

{l s='Create an account'}

+
+

{l s='Please enter your email address to create an account.'}

+ +
+ + +
+
+ {if isset($back)}{/if} + + +
+
+
+
+ {else} + + {/if} +
+ {else} +
+ {$HOOK_CREATE_ACCOUNT_TOP} +

{l s='Required field'}

+ + + {if isset($PS_REGISTRATION_PROCESS_TYPE) && $PS_REGISTRATION_PROCESS_TYPE} + + + + {/if} + + +
+ {/if} + +
+
+
+ + +{strip} +{if isset($smarty.post.id_state) && $smarty.post.id_state} + {addJsDef idSelectedState=$smarty.post.id_state|intval} +{else if isset($address->id_state) && $address->id_state} + {addJsDef idSelectedState=$address->id_state|intval} +{else} + {addJsDef idSelectedState=false} +{/if} +{if isset($smarty.post.id_state_invoice) && isset($smarty.post.id_state_invoice) && $smarty.post.id_state_invoice} + {addJsDef idSelectedStateInvoice=$smarty.post.id_state_invoice|intval} +{else} + {addJsDef idSelectedStateInvoice=false} +{/if} +{if isset($smarty.post.id_country) && $smarty.post.id_country} + {addJsDef idSelectedCountry=$smarty.post.id_country|intval} +{else if isset($address->id_country) && $address->id_country} + {addJsDef idSelectedCountry=$address->id_country|intval} +{else} + {addJsDef idSelectedCountry=false} +{/if} +{if isset($smarty.post.id_country_invoice) && isset($smarty.post.id_country_invoice) && $smarty.post.id_country_invoice} + {addJsDef idSelectedCountryInvoice=$smarty.post.id_country_invoice|intval} +{else} + {addJsDef idSelectedCountryInvoice=false} +{/if} +{if isset($countries)} + {addJsDef countries=$countries} +{/if} +{if isset($vatnumber_ajax_call) && $vatnumber_ajax_call} + {addJsDef vatnumber_ajax_call=$vatnumber_ajax_call} +{/if} +{if isset($email_create) && $email_create} + {addJsDef email_create=$email_create|boolval} +{else} + {addJsDef email_create=false} +{/if} +{/strip} diff --git a/themes/toutpratique/best-sales.tpl b/themes/toutpratique/best-sales.tpl new file mode 100644 index 00000000..3feeca6f --- /dev/null +++ b/themes/toutpratique/best-sales.tpl @@ -0,0 +1,38 @@ +{capture name=path}{l s='Top sellers'}{/capture} +
+
+
+ +
+
+
+

{l s='Top sellers'}

+
+ {if $category->id_image} +
+ +
+ {/if} +
+
+
+ + {include file="$tpl_dir./errors.tpl"} + +
+ {if $products} +
+ {hook h='displayFilters'} +
+ {include file="./product-list.tpl" products=$products} +
+
+ {/if} +
+
+
+ \ No newline at end of file diff --git a/themes/toutpratique/breadcrumb.tpl b/themes/toutpratique/breadcrumb.tpl new file mode 100644 index 00000000..cd558420 --- /dev/null +++ b/themes/toutpratique/breadcrumb.tpl @@ -0,0 +1,25 @@ + +{if isset($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} + +{l s='Home'} +{if isset($path) AND $path} + {if $path|strpos:'span' !== false} + + {$path|@replace:'>': ''} + + {else} + {$path} + {/if} +{/if} + +{if isset($smarty.get.search_query) && isset($smarty.get.results) && $smarty.get.results > 1 && isset($smarty.server.HTTP_REFERER)} +
+ + {capture}{if isset($smarty.get.HTTP_REFERER) && $smarty.get.HTTP_REFERER}{$smarty.get.HTTP_REFERER}{elseif isset($smarty.server.HTTP_REFERER) && $smarty.server.HTTP_REFERER}{$smarty.server.HTTP_REFERER}{/if}{/capture} + + {l s='Back to Search results for "%s" (%d other results)' sprintf=[$smarty.get.search_query,$smarty.get.results]} + + +
+{/if} + diff --git a/themes/toutpratique/cache/index.php b/themes/toutpratique/cache/index.php new file mode 100644 index 00000000..fac8d61a --- /dev/null +++ b/themes/toutpratique/cache/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/category-cms-tree-branch.tpl b/themes/toutpratique/category-cms-tree-branch.tpl new file mode 100644 index 00000000..8c9c6b4c --- /dev/null +++ b/themes/toutpratique/category-cms-tree-branch.tpl @@ -0,0 +1,52 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
  • + {$node.name|escape:'html':'UTF-8'} + {if isset($node.children) && $node.children|@count > 0} + + {elseif isset($node.cms) && $node.cms|@count > 0} + + {/if} +
  • diff --git a/themes/toutpratique/category-count.tpl b/themes/toutpratique/category-count.tpl new file mode 100644 index 00000000..ab098d43 --- /dev/null +++ b/themes/toutpratique/category-count.tpl @@ -0,0 +1,38 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{strip} + +{if (isset($category) && $category->id == 1) OR (isset($nb_products) && $nb_products == 0)} + {l s='There are no products in this category.'} +{else} + {if isset($nb_products) && $nb_products == 1} + {l s='There is 1 product.'} + {elseif isset($nb_products)} + {l s='There are %d products.' sprintf=$nb_products} + {/if} +{/if} + +{/strip} diff --git a/themes/toutpratique/category-tree-branch.tpl b/themes/toutpratique/category-tree-branch.tpl new file mode 100644 index 00000000..7f55c816 --- /dev/null +++ b/themes/toutpratique/category-tree-branch.tpl @@ -0,0 +1,41 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
  • + + {$node.name|escape:'html':'UTF-8'} + + {if $node.children|@count > 0} +
      + {foreach from=$node.children item=child name=categoryTreeBranch} + {if $smarty.foreach.categoryTreeBranch.last} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} + {else} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'} + {/if} + {/foreach} +
    + {/if} +
  • \ No newline at end of file diff --git a/themes/toutpratique/category.tpl b/themes/toutpratique/category.tpl new file mode 100644 index 00000000..d16bc577 --- /dev/null +++ b/themes/toutpratique/category.tpl @@ -0,0 +1,82 @@ +
    +
    + {if isset($category)} + {if $category->id AND $category->active} + {if $category->description || $category->id_image} +
    + +
    +
    +
    +

    + {$category->name|escape:'html':'UTF-8'} +

    +
    + {$category->description} +
    +
    + {if $category->id_image} +
    + +
    + {/if} +
    +
    +
    + {/if} + + {include file="$tpl_dir./errors.tpl"} + + + {if isset($relatedCategories)} + {if (isset($display_subcategories) && $display_subcategories eq 1) || !isset($display_subcategories) } + + {/if} + {/if} + + {if $products} +
    +
    + {hook h='displayFilters'} +
    + {include file="./product-list.tpl" products=$products} +
    +
    +
    + {include file="./pagination.tpl" paginationId='bottom'} + {/if} + + {elseif $category->id} +

    {l s='This category is currently unavailable.'}

    + {/if} + + {if $category->id} + + {/if} + {/if} +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/cms.tpl b/themes/toutpratique/cms.tpl new file mode 100644 index 00000000..b66f66e4 --- /dev/null +++ b/themes/toutpratique/cms.tpl @@ -0,0 +1,68 @@ +{capture name=path}{$cms->meta_title}{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {$cms->meta_title}

    +
    +
    + + {if !isset($cms)} +
    +
    + {l s='This page does not exist.'} +
    +
    + {/if} + + {if isset($cms)} +
    +
    + + {if isset($cms_pages) && !empty($cms_pages)} +
    + +
    + {/if} + + +
    + {$cms->content} +
    +
    +
    + {/if} +
    +
    + +{strip} +{if isset($smarty.get.ad) && $smarty.get.ad} +{addJsDefL name=ad}{$base_dir|cat:$smarty.get.ad|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{if isset($smarty.get.adtoken) && $smarty.get.adtoken} +{addJsDefL name=adtoken}{$smarty.get.adtoken|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/config.rb b/themes/toutpratique/config.rb new file mode 100644 index 00000000..bc7e156c --- /dev/null +++ b/themes/toutpratique/config.rb @@ -0,0 +1,25 @@ +# Require any additional compass plugins here. + +# Set this to the root of your project when deployed: +http_path = "/" +css_dir = "css" +sass_dir = "sass" +images_dir = "img" +javascripts_dir = "js" +fonts_dir = "font" + +output_style = :nested +environment = :development + +# To enable relative paths to assets via compass helper functions. Uncomment: +# relative_assets = true + +# To disable debugging comments that display the original location of your selectors. Uncomment: +line_comments = false +color_output = false + +# If you prefer the indented syntax, you might want to regenerate this +# project again passing --syntax sass, or you can uncomment this: +# preferred_syntax = :sass +# and then run: +# sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass \ No newline at end of file diff --git a/themes/toutpratique/config.xml b/themes/toutpratique/config.xml new file mode 100644 index 00000000..98e1ec50 --- /dev/null +++ b/themes/toutpratique/config.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/themes/toutpratique/contact-form.tpl b/themes/toutpratique/contact-form.tpl new file mode 100644 index 00000000..09143c70 --- /dev/null +++ b/themes/toutpratique/contact-form.tpl @@ -0,0 +1,158 @@ +{capture name=path}{l s='Contact'}{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='Customer service'}

    +

    {l s='Toute l\'équipe WE est à votre écoute pour toujours mieux vous satisfaire'}

    +
    +
    + + {if isset($confirmation)} +
    +

    {l s='Your message has been successfully sent to our team.'}

    +
    + + {elseif isset($alreadySent)} +
    +

    {l s='Your message has already been sent.'}

    +
    + + {else} + + {include file="$tpl_dir./errors.tpl"} + + +
    + +
    + + {/if} + + + {if $banner} + + {/if} +
    +
    +{addJsDefL name='filePlaceHolder'}{l s='No file selected' js=1}{/addJsDefL} +{addJsDefL name='filePlaceHolderButton'}{l s='Choose File' js=1}{/addJsDefL} \ No newline at end of file diff --git a/themes/toutpratique/css/autoload/fancybox.css b/themes/toutpratique/css/autoload/fancybox.css new file mode 100644 index 00000000..d30634ae --- /dev/null +++ b/themes/toutpratique/css/autoload/fancybox.css @@ -0,0 +1,274 @@ +/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */ +.fancybox-wrap, +.fancybox-skin, +.fancybox-outer, +.fancybox-inner, +.fancybox-image, +.fancybox-wrap iframe, +.fancybox-wrap object, +.fancybox-nav, +.fancybox-nav span, +.fancybox-tmp +{ + padding: 0; + margin: 0; + border: 0; + outline: none; + vertical-align: top; +} + +.fancybox-wrap { + position: absolute; + top: 0; + left: 0; + z-index: 8020; +} + +.fancybox-skin { + position: relative; + background: #f9f9f9; + color: #444; + text-shadow: none; + -webkit-border-radius: 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} + +.fancybox-opened { + z-index: 8030; +} + +.fancybox-opened .fancybox-skin { + -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); + box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5); +} + +.fancybox-outer, .fancybox-inner { + position: relative; +} + +.fancybox-inner { + overflow: hidden; +} + +.fancybox-type-iframe .fancybox-inner { + -webkit-overflow-scrolling: touch; +} + +.fancybox-error { + color: #444; + font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + margin: 0; + padding: 15px; + white-space: nowrap; +} + +.fancybox-image, .fancybox-iframe { + display: block; + width: 100%; + height: 100%; +} + +.fancybox-image { + max-width: 100%; + max-height: 100%; +} + +#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url('../../img/jquery/fancybox_sprite.png'); +} + +#fancybox-loading { + position: fixed; + top: 50%; + left: 50%; + margin-top: -22px; + margin-left: -22px; + background-position: 0 -108px; + opacity: 0.8; + cursor: pointer; + z-index: 8060; +} + +#fancybox-loading div { + width: 44px; + height: 44px; + background: url('../../img/jquery/fancybox_loading.gif') center center no-repeat; +} + +.fancybox-close { + position: absolute; + top: -18px; + right: -18px; + width: 36px; + height: 36px; + cursor: pointer; + z-index: 8040; +} + +.fancybox-nav { + position: absolute; + top: 0; + width: 40%; + height: 100%; + cursor: pointer; + text-decoration: none; + background: transparent url('blank.gif'); /* helps IE */ + -webkit-tap-highlight-color: rgba(0,0,0,0); + z-index: 8040; +} + +.fancybox-prev { + left: 0; +} + +.fancybox-next { + right: 0; +} + +.fancybox-nav span { + position: absolute; + top: 50%; + width: 36px; + height: 34px; + margin-top: -18px; + cursor: pointer; + z-index: 8040; + visibility: hidden; +} + +.fancybox-prev span { + left: 10px; + background-position: 0 -36px; +} + +.fancybox-next span { + right: 10px; + background-position: 0 -72px; +} + +.fancybox-nav:hover span { + visibility: visible; +} + +.fancybox-tmp { + position: absolute; + top: -99999px; + left: -99999px; + visibility: hidden; + max-width: 99999px; + max-height: 99999px; + overflow: visible !important; +} + +/* Overlay helper */ + +.fancybox-lock { + overflow: hidden !important; + width: auto; +} + +.fancybox-lock body { + overflow: hidden !important; +} + +.fancybox-lock-test { + overflow-y: hidden !important; +} + +.fancybox-overlay { + position: absolute; + top: 0; + left: 0; + overflow: hidden; + display: none; + z-index: 8010; + background: url('fancybox_overlay.png'); +} + +.fancybox-overlay-fixed { + position: fixed; + bottom: 0; + right: 0; +} + +.fancybox-lock .fancybox-overlay { + overflow: auto; + overflow-y: scroll; +} + +/* Title helper */ + +.fancybox-title { + visibility: hidden; + font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif; + position: relative; + text-shadow: none; + z-index: 8050; +} + +.fancybox-opened .fancybox-title { + visibility: visible; +} + +.fancybox-title-float-wrap { + position: absolute; + bottom: 0; + right: 50%; + margin-bottom: -35px; + z-index: 8050; + text-align: center; +} + +.fancybox-title-float-wrap .child { + display: inline-block; + margin-right: -100%; + padding: 2px 20px; + background: transparent; /* Fallback for web browsers that doesn't support RGBa */ + background: rgba(0, 0, 0, 0.8); + -webkit-border-radius: 15px; + -moz-border-radius: 15px; + border-radius: 15px; + text-shadow: 0 1px 2px #222; + color: #FFF; + font-weight: bold; + line-height: 24px; + white-space: nowrap; +} + +.fancybox-title-outside-wrap { + position: relative; + margin-top: 10px; + color: #fff; +} + +.fancybox-title-inside-wrap { + padding-top: 10px; +} + +.fancybox-title-over-wrap { + position: absolute; + bottom: 0; + left: 0; + color: #fff; + padding: 10px; + background: #000; + background: rgba(0, 0, 0, .8); +} + +/*Retina graphics!*/ +@media only screen and (-webkit-min-device-pixel-ratio: 1.5), + only screen and (min--moz-device-pixel-ratio: 1.5), + only screen and (min-device-pixel-ratio: 1.5){ + + #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span { + background-image: url('fancybox_sprite@2x.png'); + background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/ + } + + #fancybox-loading div { + background-image: url('fancybox_loading@2x.gif'); + background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/ + } +} \ No newline at end of file diff --git a/themes/toutpratique/css/autoload/highdpi.css b/themes/toutpratique/css/autoload/highdpi.css new file mode 100644 index 00000000..6f06e936 --- /dev/null +++ b/themes/toutpratique/css/autoload/highdpi.css @@ -0,0 +1,12 @@ +@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) { + .replace-2x { + font-size: 1px; + } + .example { + background-image: url(../images/example2x.png); + -webkit-background-size:13px 13px; + -moz-background-size:13px 13px; + -o-background-size:13px 13px; + background-size:13px 13px; + } +} \ No newline at end of file diff --git a/themes/toutpratique/css/autoload/images/animated-overlay.gif b/themes/toutpratique/css/autoload/images/animated-overlay.gif new file mode 100644 index 00000000..d441f75e Binary files /dev/null and b/themes/toutpratique/css/autoload/images/animated-overlay.gif differ diff --git a/themes/toutpratique/css/autoload/images/index.php b/themes/toutpratique/css/autoload/images/index.php new file mode 100644 index 00000000..ffdebb42 --- /dev/null +++ b/themes/toutpratique/css/autoload/images/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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; diff --git a/themes/toutpratique/css/autoload/images/ui-bg_flat_0_aaaaaa_40x100.png b/themes/toutpratique/css/autoload/images/ui-bg_flat_0_aaaaaa_40x100.png new file mode 100644 index 00000000..89ee1f10 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_flat_0_aaaaaa_40x100.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_flat_75_ffffff_40x100.png b/themes/toutpratique/css/autoload/images/ui-bg_flat_75_ffffff_40x100.png new file mode 100644 index 00000000..af7f4851 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_flat_75_ffffff_40x100.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_glass_55_fbf9ee_1x400.png b/themes/toutpratique/css/autoload/images/ui-bg_glass_55_fbf9ee_1x400.png new file mode 100644 index 00000000..14ebfd7e Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_glass_55_fbf9ee_1x400.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_glass_65_ffffff_1x400.png b/themes/toutpratique/css/autoload/images/ui-bg_glass_65_ffffff_1x400.png new file mode 100644 index 00000000..5c1e17f8 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_glass_65_ffffff_1x400.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_glass_75_dadada_1x400.png b/themes/toutpratique/css/autoload/images/ui-bg_glass_75_dadada_1x400.png new file mode 100644 index 00000000..c712254c Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_glass_75_dadada_1x400.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_glass_75_e6e6e6_1x400.png b/themes/toutpratique/css/autoload/images/ui-bg_glass_75_e6e6e6_1x400.png new file mode 100644 index 00000000..ca4ad16e Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_glass_75_e6e6e6_1x400.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_glass_95_fef1ec_1x400.png b/themes/toutpratique/css/autoload/images/ui-bg_glass_95_fef1ec_1x400.png new file mode 100644 index 00000000..cf3abc31 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_glass_95_fef1ec_1x400.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-bg_highlight-soft_75_cccccc_1x100.png b/themes/toutpratique/css/autoload/images/ui-bg_highlight-soft_75_cccccc_1x100.png new file mode 100644 index 00000000..a54ca8c8 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-bg_highlight-soft_75_cccccc_1x100.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-icons_222222_256x240.png b/themes/toutpratique/css/autoload/images/ui-icons_222222_256x240.png new file mode 100644 index 00000000..ac7af265 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-icons_222222_256x240.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-icons_2e83ff_256x240.png b/themes/toutpratique/css/autoload/images/ui-icons_2e83ff_256x240.png new file mode 100644 index 00000000..ba21c477 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-icons_2e83ff_256x240.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-icons_454545_256x240.png b/themes/toutpratique/css/autoload/images/ui-icons_454545_256x240.png new file mode 100644 index 00000000..56ffa9e6 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-icons_454545_256x240.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-icons_888888_256x240.png b/themes/toutpratique/css/autoload/images/ui-icons_888888_256x240.png new file mode 100644 index 00000000..b00025a2 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-icons_888888_256x240.png differ diff --git a/themes/toutpratique/css/autoload/images/ui-icons_cd0a0a_256x240.png b/themes/toutpratique/css/autoload/images/ui-icons_cd0a0a_256x240.png new file mode 100644 index 00000000..f6acecb1 Binary files /dev/null and b/themes/toutpratique/css/autoload/images/ui-icons_cd0a0a_256x240.png differ diff --git a/themes/toutpratique/css/autoload/index.php b/themes/toutpratique/css/autoload/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/css/autoload/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/css/autoload/jquery.jqzoom.css b/themes/toutpratique/css/autoload/jquery.jqzoom.css new file mode 100644 index 00000000..cafb6363 --- /dev/null +++ b/themes/toutpratique/css/autoload/jquery.jqzoom.css @@ -0,0 +1,120 @@ +.zoomPad{ + position:relative; + float:left; + z-index:99; + cursor:crosshair; +} + + +.zoomPreload{ + -moz-opacity:0.8; + opacity: 0.8; + filter: alpha(opacity = 80); + color: #333; + font-size: 12px; + font-family: Tahoma; + text-decoration: none; + border: 1px solid #CCC; + background-color: white; + padding: 8px; + text-align:center; + background-image: url(zoomloader.gif); + background-repeat: no-repeat; + background-position: 43px 30px; + z-index:110; + width:90px; + height:43px; + position:absolute; + top:0px; + left:0px; + * width:100px; + * height:49px; +} + + +.zoomPup{ + overflow:hidden; + background-color: #FFF; + -moz-opacity:0.6; + opacity: 0.6; + filter: alpha(opacity = 60); + z-index:120; + position:absolute; + border:1px solid #CCC; + z-index:101; + cursor:crosshair; +} + +.zoomOverlay{ + position:absolute; + left:0px; + top:0px; + background:#FFF; + /*opacity:0.5;*/ + z-index:5000; + width:100%; + height:100%; + display:none; + z-index:101; +} + +.zoomWindow{ + position:absolute; + left:110%; + top:40px; + background:#FFF; + z-index:6000; + height:auto; + z-index:10000; + z-index:110; +} +.zoomWrapper{ + position:relative; + border:1px solid #999; + z-index:110; +} +.zoomWrapperTitle{ + display:block; + background:#999; + color:#FFF; + height:18px; + line-height:18px; + width:100%; + overflow:hidden; + text-align:center; + font-size:10px; + position:absolute; + top:0px; + left:0px; + z-index:120; + -moz-opacity:0.6; + opacity: 0.6; + filter: alpha(opacity = 60); +} +.zoomWrapperImage{ + display:block; + position:relative; + overflow:hidden; + z-index:110; + +} +.zoomWrapperImage img{ + border:0px; + display:block; + position:absolute; + z-index:101; +} + +.zoomIframe{ + z-index: -1; + filter:alpha(opacity=0); + -moz-opacity: 0.80; + opacity: 0.80; + position:absolute; + display:block; +} + +/********************************************************* +/ When clicking on thumbs jqzoom will add the class +/ "zoomThumbActive" on the anchor selected +/*********************************************************/ \ No newline at end of file diff --git a/themes/toutpratique/css/autoload/jquery.ui.core.css b/themes/toutpratique/css/autoload/jquery.ui.core.css new file mode 100644 index 00000000..04d60522 --- /dev/null +++ b/themes/toutpratique/css/autoload/jquery.ui.core.css @@ -0,0 +1,93 @@ +/*! + * jQuery UI CSS Framework 1.10.3 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + */ + +/* Layout helpers +----------------------------------*/ +.ui-helper-hidden { + display: none; +} +.ui-helper-hidden-accessible { + border: 0; + clip: rect(0 0 0 0); + height: 1px; + margin: -1px; + overflow: hidden; + padding: 0; + position: absolute; + width: 1px; +} +.ui-helper-reset { + margin: 0; + padding: 0; + border: 0; + outline: 0; + line-height: 1.3; + text-decoration: none; + font-size: 100%; + list-style: none; +} +.ui-helper-clearfix:before, +.ui-helper-clearfix:after { + content: ""; + display: table; + border-collapse: collapse; +} +.ui-helper-clearfix:after { + clear: both; +} +.ui-helper-clearfix { + min-height: 0; /* support: IE7 */ +} +.ui-helper-zfix { + width: 100%; + height: 100%; + top: 0; + left: 0; + position: absolute; + opacity: 0; + filter:Alpha(Opacity=0); +} + +.ui-front { + z-index: 100; +} + + +/* Interaction Cues +----------------------------------*/ +.ui-state-disabled { + cursor: default !important; +} + + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + display: block; + text-indent: -99999px; + overflow: hidden; + background-repeat: no-repeat; +} + + +/* Misc visuals +----------------------------------*/ + +/* Overlays */ +.ui-widget-overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} diff --git a/themes/toutpratique/css/autoload/jquery.ui.slider.css b/themes/toutpratique/css/autoload/jquery.ui.slider.css new file mode 100644 index 00000000..7513c6bb --- /dev/null +++ b/themes/toutpratique/css/autoload/jquery.ui.slider.css @@ -0,0 +1,73 @@ +/*! + * jQuery UI Slider 1.10.3 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Slider#theming + */ +.ui-slider { + position: relative; + text-align: left; +} +.ui-slider .ui-slider-handle { + position: absolute; + z-index: 2; + width: 1.2em; + height: 1.2em; + cursor: default; +} +.ui-slider .ui-slider-range { + position: absolute; + z-index: 1; + font-size: .7em; + display: block; + border: 0; + background-position: 0 0; +} + +/* For IE8 - See #6727 */ +.ui-slider.ui-state-disabled .ui-slider-handle, +.ui-slider.ui-state-disabled .ui-slider-range { + filter: inherit; +} + +.ui-slider-horizontal { + height: .8em; +} +.ui-slider-horizontal .ui-slider-handle { + top: -6px; + margin-left: -.6em; +} +.ui-slider-horizontal .ui-slider-range { + top: 0; + height: 100%; +} +.ui-slider-horizontal .ui-slider-range-min { + left: 0; +} +.ui-slider-horizontal .ui-slider-range-max { + right: 0; +} + +.ui-slider-vertical { + width: .8em; + height: 100px; +} +.ui-slider-vertical .ui-slider-handle { + left: -.3em; + margin-left: 0; + margin-bottom: -.6em; +} +.ui-slider-vertical .ui-slider-range { + left: 0; + width: 100%; +} +.ui-slider-vertical .ui-slider-range-min { + bottom: 0; +} +.ui-slider-vertical .ui-slider-range-max { + top: 0; +} diff --git a/themes/toutpratique/css/autoload/jquery.ui.theme.css b/themes/toutpratique/css/autoload/jquery.ui.theme.css new file mode 100644 index 00000000..1ab41720 --- /dev/null +++ b/themes/toutpratique/css/autoload/jquery.ui.theme.css @@ -0,0 +1,405 @@ +/*! + * jQuery UI CSS Framework 1.10.3 + * http://jqueryui.com + * + * Copyright 2013 jQuery Foundation and other contributors + * Released under the MIT license. + * http://jquery.org/license + * + * http://docs.jquery.com/UI/Theming/API + * + * To view and modify this theme, visit http://jqueryui.com/themeroller/ + */ + + +/* Component containers +----------------------------------*/ +.ui-widget { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1.1em/*{fsDefault}*/; +} +.ui-widget .ui-widget { + font-size: 1em; +} +.ui-widget input, +.ui-widget select, +.ui-widget textarea, +.ui-widget button { + font-family: Verdana,Arial,sans-serif/*{ffDefault}*/; + font-size: 1em; +} +.ui-widget-content { + border: 2px solid #dbdbdb/*{borderColorContent}*/; + background: #ffffff/*{bgColorContent}*/ url(images/ui-bg_flat_75_ffffff_40x100.png)/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/; + color: #222222/*{fcContent}*/; +} +.ui-widget-content a { + color: #222222/*{fcContent}*/; +} +.ui-widget-header { + border: 1px solid #aaaaaa; + background: #fff; + color: #222222; + font-weight: bold; +} +.ui-widget-header a { + color: #222222/*{fcHeader}*/; +} + +/* Interaction states +----------------------------------*/ +.ui-state-default, +.ui-widget-content .ui-state-default, +.ui-widget-header .ui-state-default { + border: 1px solid #d3d3d3/*{borderColorDefault}*/; + background: #e6e6e6; + cursor: pointer; + font-weight: normal/*{fwDefault}*/; + color: #555555/*{fcDefault}*/; +} +.ui-state-default a, +.ui-state-default a:link, +.ui-state-default a:visited { + color: #555555/*{fcDefault}*/; + text-decoration: none; +} +.ui-state-hover, +.ui-widget-content .ui-state-hover, +.ui-widget-header .ui-state-hover, +.ui-state-focus, +.ui-widget-content .ui-state-focus, +.ui-widget-header .ui-state-focus { + border: 1px solid #999999/*{borderColorHover}*/; + background: #dadada; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcHover}*/; +} +.ui-state-hover a, +.ui-state-hover a:hover, +.ui-state-hover a:link, +.ui-state-hover a:visited { + color: #212121/*{fcHover}*/; + text-decoration: none; +} +.ui-state-active, +.ui-widget-content .ui-state-active, +.ui-widget-header .ui-state-active { + border: 1px solid #aaaaaa/*{borderColorActive}*/; + background: #ffffff/*{bgColorActive}*/ url(images/ui-bg_glass_65_ffffff_1x400.png)/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/; + font-weight: normal/*{fwDefault}*/; + color: #212121/*{fcActive}*/; +} +.ui-state-active a, +.ui-state-active a:link, +.ui-state-active a:visited { + color: #212121/*{fcActive}*/; + text-decoration: none; +} + +/* Interaction Cues +----------------------------------*/ +.ui-state-highlight, +.ui-widget-content .ui-state-highlight, +.ui-widget-header .ui-state-highlight { + border: 1px solid #fcefa1/*{borderColorHighlight}*/; + background: #fbf9ee/*{bgColorHighlight}*/ url(images/ui-bg_glass_55_fbf9ee_1x400.png)/*{bgImgUrlHighlight}*/ 50%/*{bgHighlightXPos}*/ 50%/*{bgHighlightYPos}*/ repeat-x/*{bgHighlightRepeat}*/; + color: #363636/*{fcHighlight}*/; +} +.ui-state-highlight a, +.ui-widget-content .ui-state-highlight a, +.ui-widget-header .ui-state-highlight a { + color: #363636/*{fcHighlight}*/; +} +.ui-state-error, +.ui-widget-content .ui-state-error, +.ui-widget-header .ui-state-error { + border: 1px solid #cd0a0a/*{borderColorError}*/; + background: #fef1ec/*{bgColorError}*/ url(images/ui-bg_glass_95_fef1ec_1x400.png)/*{bgImgUrlError}*/ 50%/*{bgErrorXPos}*/ 50%/*{bgErrorYPos}*/ repeat-x/*{bgErrorRepeat}*/; + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error a, +.ui-widget-content .ui-state-error a, +.ui-widget-header .ui-state-error a { + color: #cd0a0a/*{fcError}*/; +} +.ui-state-error-text, +.ui-widget-content .ui-state-error-text, +.ui-widget-header .ui-state-error-text { + color: #cd0a0a/*{fcError}*/; +} +.ui-priority-primary, +.ui-widget-content .ui-priority-primary, +.ui-widget-header .ui-priority-primary { + font-weight: bold; +} +.ui-priority-secondary, +.ui-widget-content .ui-priority-secondary, +.ui-widget-header .ui-priority-secondary { + opacity: .7; + filter:Alpha(Opacity=70); + font-weight: normal; +} +.ui-state-disabled, +.ui-widget-content .ui-state-disabled, +.ui-widget-header .ui-state-disabled { + opacity: .35; + filter:Alpha(Opacity=35); + background-image: none; +} +.ui-state-disabled .ui-icon { + filter:Alpha(Opacity=35); /* For IE8 - See #6059 */ +} + +/* Icons +----------------------------------*/ + +/* states and images */ +.ui-icon { + width: 16px; + height: 16px; +} +.ui-icon, +.ui-widget-content .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsContent}*/; +} +.ui-widget-header .ui-icon { + background-image: url(images/ui-icons_222222_256x240.png)/*{iconsHeader}*/; +} +.ui-state-default .ui-icon { + background-image: url(images/ui-icons_888888_256x240.png)/*{iconsDefault}*/; +} +.ui-state-hover .ui-icon, +.ui-state-focus .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsHover}*/; +} +.ui-state-active .ui-icon { + background-image: url(images/ui-icons_454545_256x240.png)/*{iconsActive}*/; +} +.ui-state-highlight .ui-icon { + background-image: url(images/ui-icons_2e83ff_256x240.png)/*{iconsHighlight}*/; +} +.ui-state-error .ui-icon, +.ui-state-error-text .ui-icon { + background-image: url(images/ui-icons_cd0a0a_256x240.png)/*{iconsError}*/; +} + +/* positioning */ +.ui-icon-blank { background-position: 16px 16px; } +.ui-icon-carat-1-n { background-position: 0 0; } +.ui-icon-carat-1-ne { background-position: -16px 0; } +.ui-icon-carat-1-e { background-position: -32px 0; } +.ui-icon-carat-1-se { background-position: -48px 0; } +.ui-icon-carat-1-s { background-position: -64px 0; } +.ui-icon-carat-1-sw { background-position: -80px 0; } +.ui-icon-carat-1-w { background-position: -96px 0; } +.ui-icon-carat-1-nw { background-position: -112px 0; } +.ui-icon-carat-2-n-s { background-position: -128px 0; } +.ui-icon-carat-2-e-w { background-position: -144px 0; } +.ui-icon-triangle-1-n { background-position: 0 -16px; } +.ui-icon-triangle-1-ne { background-position: -16px -16px; } +.ui-icon-triangle-1-e { background-position: -32px -16px; } +.ui-icon-triangle-1-se { background-position: -48px -16px; } +.ui-icon-triangle-1-s { background-position: -64px -16px; } +.ui-icon-triangle-1-sw { background-position: -80px -16px; } +.ui-icon-triangle-1-w { background-position: -96px -16px; } +.ui-icon-triangle-1-nw { background-position: -112px -16px; } +.ui-icon-triangle-2-n-s { background-position: -128px -16px; } +.ui-icon-triangle-2-e-w { background-position: -144px -16px; } +.ui-icon-arrow-1-n { background-position: 0 -32px; } +.ui-icon-arrow-1-ne { background-position: -16px -32px; } +.ui-icon-arrow-1-e { background-position: -32px -32px; } +.ui-icon-arrow-1-se { background-position: -48px -32px; } +.ui-icon-arrow-1-s { background-position: -64px -32px; } +.ui-icon-arrow-1-sw { background-position: -80px -32px; } +.ui-icon-arrow-1-w { background-position: -96px -32px; } +.ui-icon-arrow-1-nw { background-position: -112px -32px; } +.ui-icon-arrow-2-n-s { background-position: -128px -32px; } +.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; } +.ui-icon-arrow-2-e-w { background-position: -160px -32px; } +.ui-icon-arrow-2-se-nw { background-position: -176px -32px; } +.ui-icon-arrowstop-1-n { background-position: -192px -32px; } +.ui-icon-arrowstop-1-e { background-position: -208px -32px; } +.ui-icon-arrowstop-1-s { background-position: -224px -32px; } +.ui-icon-arrowstop-1-w { background-position: -240px -32px; } +.ui-icon-arrowthick-1-n { background-position: 0 -48px; } +.ui-icon-arrowthick-1-ne { background-position: -16px -48px; } +.ui-icon-arrowthick-1-e { background-position: -32px -48px; } +.ui-icon-arrowthick-1-se { background-position: -48px -48px; } +.ui-icon-arrowthick-1-s { background-position: -64px -48px; } +.ui-icon-arrowthick-1-sw { background-position: -80px -48px; } +.ui-icon-arrowthick-1-w { background-position: -96px -48px; } +.ui-icon-arrowthick-1-nw { background-position: -112px -48px; } +.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; } +.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; } +.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; } +.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; } +.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; } +.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; } +.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; } +.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; } +.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; } +.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; } +.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; } +.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; } +.ui-icon-arrowreturn-1-w { background-position: -64px -64px; } +.ui-icon-arrowreturn-1-n { background-position: -80px -64px; } +.ui-icon-arrowreturn-1-e { background-position: -96px -64px; } +.ui-icon-arrowreturn-1-s { background-position: -112px -64px; } +.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; } +.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; } +.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; } +.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; } +.ui-icon-arrow-4 { background-position: 0 -80px; } +.ui-icon-arrow-4-diag { background-position: -16px -80px; } +.ui-icon-extlink { background-position: -32px -80px; } +.ui-icon-newwin { background-position: -48px -80px; } +.ui-icon-refresh { background-position: -64px -80px; } +.ui-icon-shuffle { background-position: -80px -80px; } +.ui-icon-transfer-e-w { background-position: -96px -80px; } +.ui-icon-transferthick-e-w { background-position: -112px -80px; } +.ui-icon-folder-collapsed { background-position: 0 -96px; } +.ui-icon-folder-open { background-position: -16px -96px; } +.ui-icon-document { background-position: -32px -96px; } +.ui-icon-document-b { background-position: -48px -96px; } +.ui-icon-note { background-position: -64px -96px; } +.ui-icon-mail-closed { background-position: -80px -96px; } +.ui-icon-mail-open { background-position: -96px -96px; } +.ui-icon-suitcase { background-position: -112px -96px; } +.ui-icon-comment { background-position: -128px -96px; } +.ui-icon-person { background-position: -144px -96px; } +.ui-icon-print { background-position: -160px -96px; } +.ui-icon-trash { background-position: -176px -96px; } +.ui-icon-locked { background-position: -192px -96px; } +.ui-icon-unlocked { background-position: -208px -96px; } +.ui-icon-bookmark { background-position: -224px -96px; } +.ui-icon-tag { background-position: -240px -96px; } +.ui-icon-home { background-position: 0 -112px; } +.ui-icon-flag { background-position: -16px -112px; } +.ui-icon-calendar { background-position: -32px -112px; } +.ui-icon-cart { background-position: -48px -112px; } +.ui-icon-pencil { background-position: -64px -112px; } +.ui-icon-clock { background-position: -80px -112px; } +.ui-icon-disk { background-position: -96px -112px; } +.ui-icon-calculator { background-position: -112px -112px; } +.ui-icon-zoomin { background-position: -128px -112px; } +.ui-icon-zoomout { background-position: -144px -112px; } +.ui-icon-search { background-position: -160px -112px; } +.ui-icon-wrench { background-position: -176px -112px; } +.ui-icon-gear { background-position: -192px -112px; } +.ui-icon-heart { background-position: -208px -112px; } +.ui-icon-star { background-position: -224px -112px; } +.ui-icon-link { background-position: -240px -112px; } +.ui-icon-cancel { background-position: 0 -128px; } +.ui-icon-plus { background-position: -16px -128px; } +.ui-icon-plusthick { background-position: -32px -128px; } +.ui-icon-minus { background-position: -48px -128px; } +.ui-icon-minusthick { background-position: -64px -128px; } +.ui-icon-close { background-position: -80px -128px; } +.ui-icon-closethick { background-position: -96px -128px; } +.ui-icon-key { background-position: -112px -128px; } +.ui-icon-lightbulb { background-position: -128px -128px; } +.ui-icon-scissors { background-position: -144px -128px; } +.ui-icon-clipboard { background-position: -160px -128px; } +.ui-icon-copy { background-position: -176px -128px; } +.ui-icon-contact { background-position: -192px -128px; } +.ui-icon-image { background-position: -208px -128px; } +.ui-icon-video { background-position: -224px -128px; } +.ui-icon-script { background-position: -240px -128px; } +.ui-icon-alert { background-position: 0 -144px; } +.ui-icon-info { background-position: -16px -144px; } +.ui-icon-notice { background-position: -32px -144px; } +.ui-icon-help { background-position: -48px -144px; } +.ui-icon-check { background-position: -64px -144px; } +.ui-icon-bullet { background-position: -80px -144px; } +.ui-icon-radio-on { background-position: -96px -144px; } +.ui-icon-radio-off { background-position: -112px -144px; } +.ui-icon-pin-w { background-position: -128px -144px; } +.ui-icon-pin-s { background-position: -144px -144px; } +.ui-icon-play { background-position: 0 -160px; } +.ui-icon-pause { background-position: -16px -160px; } +.ui-icon-seek-next { background-position: -32px -160px; } +.ui-icon-seek-prev { background-position: -48px -160px; } +.ui-icon-seek-end { background-position: -64px -160px; } +.ui-icon-seek-start { background-position: -80px -160px; } +/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */ +.ui-icon-seek-first { background-position: -80px -160px; } +.ui-icon-stop { background-position: -96px -160px; } +.ui-icon-eject { background-position: -112px -160px; } +.ui-icon-volume-off { background-position: -128px -160px; } +.ui-icon-volume-on { background-position: -144px -160px; } +.ui-icon-power { background-position: 0 -176px; } +.ui-icon-signal-diag { background-position: -16px -176px; } +.ui-icon-signal { background-position: -32px -176px; } +.ui-icon-battery-0 { background-position: -48px -176px; } +.ui-icon-battery-1 { background-position: -64px -176px; } +.ui-icon-battery-2 { background-position: -80px -176px; } +.ui-icon-battery-3 { background-position: -96px -176px; } +.ui-icon-circle-plus { background-position: 0 -192px; } +.ui-icon-circle-minus { background-position: -16px -192px; } +.ui-icon-circle-close { background-position: -32px -192px; } +.ui-icon-circle-triangle-e { background-position: -48px -192px; } +.ui-icon-circle-triangle-s { background-position: -64px -192px; } +.ui-icon-circle-triangle-w { background-position: -80px -192px; } +.ui-icon-circle-triangle-n { background-position: -96px -192px; } +.ui-icon-circle-arrow-e { background-position: -112px -192px; } +.ui-icon-circle-arrow-s { background-position: -128px -192px; } +.ui-icon-circle-arrow-w { background-position: -144px -192px; } +.ui-icon-circle-arrow-n { background-position: -160px -192px; } +.ui-icon-circle-zoomin { background-position: -176px -192px; } +.ui-icon-circle-zoomout { background-position: -192px -192px; } +.ui-icon-circle-check { background-position: -208px -192px; } +.ui-icon-circlesmall-plus { background-position: 0 -208px; } +.ui-icon-circlesmall-minus { background-position: -16px -208px; } +.ui-icon-circlesmall-close { background-position: -32px -208px; } +.ui-icon-squaresmall-plus { background-position: -48px -208px; } +.ui-icon-squaresmall-minus { background-position: -64px -208px; } +.ui-icon-squaresmall-close { background-position: -80px -208px; } +.ui-icon-grip-dotted-vertical { background-position: 0 -224px; } +.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; } +.ui-icon-grip-solid-vertical { background-position: -32px -224px; } +.ui-icon-grip-solid-horizontal { background-position: -48px -224px; } +.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; } +.ui-icon-grip-diagonal-se { background-position: -80px -224px; } + + +/* Misc visuals +----------------------------------*/ +/* Corner radius */ +.ui-corner-all, +.ui-corner-top, +.ui-corner-left, +.ui-corner-tl { + border-top-left-radius: 2px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-top, +.ui-corner-right, +.ui-corner-tr { + border-top-right-radius: 2px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-left, +.ui-corner-bl { + border-bottom-left-radius: 2px/*{cornerRadius}*/; +} +.ui-corner-all, +.ui-corner-bottom, +.ui-corner-right, +.ui-corner-br { + border-bottom-right-radius: 2px/*{cornerRadius}*/; +} +/* Overlays */ +.ui-widget-overlay { + background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; + opacity: .3/*{opacityOverlay}*/; + filter: Alpha(Opacity=30)/*{opacityFilterOverlay}*/; +} +.ui-widget-shadow { + margin: -8px/*{offsetTopShadow}*/ 0 0 -8px/*{offsetLeftShadow}*/; + padding: 8px/*{thicknessShadow}*/; + background: #aaaaaa/*{bgColorShadow}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlShadow}*/ 50%/*{bgShadowXPos}*/ 50%/*{bgShadowYPos}*/ repeat-x/*{bgShadowRepeat}*/; + opacity: .3/*{opacityShadow}*/; + filter: Alpha(Opacity=30)/*{opacityFilterShadow}*/; + border-radius: 8px/*{cornerRadiusShadow}*/; +} diff --git a/themes/toutpratique/css/bootstrap.css b/themes/toutpratique/css/bootstrap.css new file mode 100644 index 00000000..b61fcb33 --- /dev/null +++ b/themes/toutpratique/css/bootstrap.css @@ -0,0 +1,5 @@ +/*! + * Bootstrap v3.3.2 (http://getbootstrap.com) + * Copyright 2011-2015 Twitter, Inc. + * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) + *//*! normalize.css v3.0.2 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{margin:.67em 0;font-size:2em}mark{color:#000;background:#ff0}small{font-size:80%}sub,sup{position:relative;font-size:75%;line-height:0;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid silver}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-spacing:0;border-collapse:collapse}td,th{padding:0}/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */@media print{*,:after,:before{color:#000;text-shadow:none!important;background:0 0!important;-webkit-box-shadow:none!important;box-shadow:none!important}a,a:visited{text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}a[href^="javascript:"]:after,a[href^="#"]:after{content:""}blockquote,pre{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}img,tr{page-break-inside:avoid}img{max-width:100%!important}h2,h3,p{orphans:3;widows:3}h2,h3{page-break-after:avoid}select{background:#fff!important}.navbar{display:none}.btn>.caret,.dropup>.btn>.caret{border-top-color:#000!important}.label{border:1px solid #000}.table{border-collapse:collapse!important}.table td,.table th{background-color:#fff!important}.table-bordered td,.table-bordered th{border:1px solid #ddd!important}}@font-face{font-family:'Glyphicons Halflings';src:url(../fonts/glyphicons-halflings-regular.eot);src:url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'),url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'),url(../fonts/glyphicons-halflings-regular.woff) format('woff'),url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'),url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg')}.glyphicon{position:relative;top:1px;display:inline-block;font-family:'Glyphicons Halflings';font-style:normal;font-weight:400;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.glyphicon-asterisk:before{content:"\2a"}.glyphicon-plus:before{content:"\2b"}.glyphicon-eur:before,.glyphicon-euro:before{content:"\20ac"}.glyphicon-minus:before{content:"\2212"}.glyphicon-cloud:before{content:"\2601"}.glyphicon-envelope:before{content:"\2709"}.glyphicon-pencil:before{content:"\270f"}.glyphicon-glass:before{content:"\e001"}.glyphicon-music:before{content:"\e002"}.glyphicon-search:before{content:"\e003"}.glyphicon-heart:before{content:"\e005"}.glyphicon-star:before{content:"\e006"}.glyphicon-star-empty:before{content:"\e007"}.glyphicon-user:before{content:"\e008"}.glyphicon-film:before{content:"\e009"}.glyphicon-th-large:before{content:"\e010"}.glyphicon-th:before{content:"\e011"}.glyphicon-th-list:before{content:"\e012"}.glyphicon-ok:before{content:"\e013"}.glyphicon-remove:before{content:"\e014"}.glyphicon-zoom-in:before{content:"\e015"}.glyphicon-zoom-out:before{content:"\e016"}.glyphicon-off:before{content:"\e017"}.glyphicon-signal:before{content:"\e018"}.glyphicon-cog:before{content:"\e019"}.glyphicon-trash:before{content:"\e020"}.glyphicon-home:before{content:"\e021"}.glyphicon-file:before{content:"\e022"}.glyphicon-time:before{content:"\e023"}.glyphicon-road:before{content:"\e024"}.glyphicon-download-alt:before{content:"\e025"}.glyphicon-download:before{content:"\e026"}.glyphicon-upload:before{content:"\e027"}.glyphicon-inbox:before{content:"\e028"}.glyphicon-play-circle:before{content:"\e029"}.glyphicon-repeat:before{content:"\e030"}.glyphicon-refresh:before{content:"\e031"}.glyphicon-list-alt:before{content:"\e032"}.glyphicon-lock:before{content:"\e033"}.glyphicon-flag:before{content:"\e034"}.glyphicon-headphones:before{content:"\e035"}.glyphicon-volume-off:before{content:"\e036"}.glyphicon-volume-down:before{content:"\e037"}.glyphicon-volume-up:before{content:"\e038"}.glyphicon-qrcode:before{content:"\e039"}.glyphicon-barcode:before{content:"\e040"}.glyphicon-tag:before{content:"\e041"}.glyphicon-tags:before{content:"\e042"}.glyphicon-book:before{content:"\e043"}.glyphicon-bookmark:before{content:"\e044"}.glyphicon-print:before{content:"\e045"}.glyphicon-camera:before{content:"\e046"}.glyphicon-font:before{content:"\e047"}.glyphicon-bold:before{content:"\e048"}.glyphicon-italic:before{content:"\e049"}.glyphicon-text-height:before{content:"\e050"}.glyphicon-text-width:before{content:"\e051"}.glyphicon-align-left:before{content:"\e052"}.glyphicon-align-center:before{content:"\e053"}.glyphicon-align-right:before{content:"\e054"}.glyphicon-align-justify:before{content:"\e055"}.glyphicon-list:before{content:"\e056"}.glyphicon-indent-left:before{content:"\e057"}.glyphicon-indent-right:before{content:"\e058"}.glyphicon-facetime-video:before{content:"\e059"}.glyphicon-picture:before{content:"\e060"}.glyphicon-map-marker:before{content:"\e062"}.glyphicon-adjust:before{content:"\e063"}.glyphicon-tint:before{content:"\e064"}.glyphicon-edit:before{content:"\e065"}.glyphicon-share:before{content:"\e066"}.glyphicon-check:before{content:"\e067"}.glyphicon-move:before{content:"\e068"}.glyphicon-step-backward:before{content:"\e069"}.glyphicon-fast-backward:before{content:"\e070"}.glyphicon-backward:before{content:"\e071"}.glyphicon-play:before{content:"\e072"}.glyphicon-pause:before{content:"\e073"}.glyphicon-stop:before{content:"\e074"}.glyphicon-forward:before{content:"\e075"}.glyphicon-fast-forward:before{content:"\e076"}.glyphicon-step-forward:before{content:"\e077"}.glyphicon-eject:before{content:"\e078"}.glyphicon-chevron-left:before{content:"\e079"}.glyphicon-chevron-right:before{content:"\e080"}.glyphicon-plus-sign:before{content:"\e081"}.glyphicon-minus-sign:before{content:"\e082"}.glyphicon-remove-sign:before{content:"\e083"}.glyphicon-ok-sign:before{content:"\e084"}.glyphicon-question-sign:before{content:"\e085"}.glyphicon-info-sign:before{content:"\e086"}.glyphicon-screenshot:before{content:"\e087"}.glyphicon-remove-circle:before{content:"\e088"}.glyphicon-ok-circle:before{content:"\e089"}.glyphicon-ban-circle:before{content:"\e090"}.glyphicon-arrow-left:before{content:"\e091"}.glyphicon-arrow-right:before{content:"\e092"}.glyphicon-arrow-up:before{content:"\e093"}.glyphicon-arrow-down:before{content:"\e094"}.glyphicon-share-alt:before{content:"\e095"}.glyphicon-resize-full:before{content:"\e096"}.glyphicon-resize-small:before{content:"\e097"}.glyphicon-exclamation-sign:before{content:"\e101"}.glyphicon-gift:before{content:"\e102"}.glyphicon-leaf:before{content:"\e103"}.glyphicon-fire:before{content:"\e104"}.glyphicon-eye-open:before{content:"\e105"}.glyphicon-eye-close:before{content:"\e106"}.glyphicon-warning-sign:before{content:"\e107"}.glyphicon-plane:before{content:"\e108"}.glyphicon-calendar:before{content:"\e109"}.glyphicon-random:before{content:"\e110"}.glyphicon-comment:before{content:"\e111"}.glyphicon-magnet:before{content:"\e112"}.glyphicon-chevron-up:before{content:"\e113"}.glyphicon-chevron-down:before{content:"\e114"}.glyphicon-retweet:before{content:"\e115"}.glyphicon-shopping-cart:before{content:"\e116"}.glyphicon-folder-close:before{content:"\e117"}.glyphicon-folder-open:before{content:"\e118"}.glyphicon-resize-vertical:before{content:"\e119"}.glyphicon-resize-horizontal:before{content:"\e120"}.glyphicon-hdd:before{content:"\e121"}.glyphicon-bullhorn:before{content:"\e122"}.glyphicon-bell:before{content:"\e123"}.glyphicon-certificate:before{content:"\e124"}.glyphicon-thumbs-up:before{content:"\e125"}.glyphicon-thumbs-down:before{content:"\e126"}.glyphicon-hand-right:before{content:"\e127"}.glyphicon-hand-left:before{content:"\e128"}.glyphicon-hand-up:before{content:"\e129"}.glyphicon-hand-down:before{content:"\e130"}.glyphicon-circle-arrow-right:before{content:"\e131"}.glyphicon-circle-arrow-left:before{content:"\e132"}.glyphicon-circle-arrow-up:before{content:"\e133"}.glyphicon-circle-arrow-down:before{content:"\e134"}.glyphicon-globe:before{content:"\e135"}.glyphicon-wrench:before{content:"\e136"}.glyphicon-tasks:before{content:"\e137"}.glyphicon-filter:before{content:"\e138"}.glyphicon-briefcase:before{content:"\e139"}.glyphicon-fullscreen:before{content:"\e140"}.glyphicon-dashboard:before{content:"\e141"}.glyphicon-paperclip:before{content:"\e142"}.glyphicon-heart-empty:before{content:"\e143"}.glyphicon-link:before{content:"\e144"}.glyphicon-phone:before{content:"\e145"}.glyphicon-pushpin:before{content:"\e146"}.glyphicon-usd:before{content:"\e148"}.glyphicon-gbp:before{content:"\e149"}.glyphicon-sort:before{content:"\e150"}.glyphicon-sort-by-alphabet:before{content:"\e151"}.glyphicon-sort-by-alphabet-alt:before{content:"\e152"}.glyphicon-sort-by-order:before{content:"\e153"}.glyphicon-sort-by-order-alt:before{content:"\e154"}.glyphicon-sort-by-attributes:before{content:"\e155"}.glyphicon-sort-by-attributes-alt:before{content:"\e156"}.glyphicon-unchecked:before{content:"\e157"}.glyphicon-expand:before{content:"\e158"}.glyphicon-collapse-down:before{content:"\e159"}.glyphicon-collapse-up:before{content:"\e160"}.glyphicon-log-in:before{content:"\e161"}.glyphicon-flash:before{content:"\e162"}.glyphicon-log-out:before{content:"\e163"}.glyphicon-new-window:before{content:"\e164"}.glyphicon-record:before{content:"\e165"}.glyphicon-save:before{content:"\e166"}.glyphicon-open:before{content:"\e167"}.glyphicon-saved:before{content:"\e168"}.glyphicon-import:before{content:"\e169"}.glyphicon-export:before{content:"\e170"}.glyphicon-send:before{content:"\e171"}.glyphicon-floppy-disk:before{content:"\e172"}.glyphicon-floppy-saved:before{content:"\e173"}.glyphicon-floppy-remove:before{content:"\e174"}.glyphicon-floppy-save:before{content:"\e175"}.glyphicon-floppy-open:before{content:"\e176"}.glyphicon-credit-card:before{content:"\e177"}.glyphicon-transfer:before{content:"\e178"}.glyphicon-cutlery:before{content:"\e179"}.glyphicon-header:before{content:"\e180"}.glyphicon-compressed:before{content:"\e181"}.glyphicon-earphone:before{content:"\e182"}.glyphicon-phone-alt:before{content:"\e183"}.glyphicon-tower:before{content:"\e184"}.glyphicon-stats:before{content:"\e185"}.glyphicon-sd-video:before{content:"\e186"}.glyphicon-hd-video:before{content:"\e187"}.glyphicon-subtitles:before{content:"\e188"}.glyphicon-sound-stereo:before{content:"\e189"}.glyphicon-sound-dolby:before{content:"\e190"}.glyphicon-sound-5-1:before{content:"\e191"}.glyphicon-sound-6-1:before{content:"\e192"}.glyphicon-sound-7-1:before{content:"\e193"}.glyphicon-copyright-mark:before{content:"\e194"}.glyphicon-registration-mark:before{content:"\e195"}.glyphicon-cloud-download:before{content:"\e197"}.glyphicon-cloud-upload:before{content:"\e198"}.glyphicon-tree-conifer:before{content:"\e199"}.glyphicon-tree-deciduous:before{content:"\e200"}.glyphicon-cd:before{content:"\e201"}.glyphicon-save-file:before{content:"\e202"}.glyphicon-open-file:before{content:"\e203"}.glyphicon-level-up:before{content:"\e204"}.glyphicon-copy:before{content:"\e205"}.glyphicon-paste:before{content:"\e206"}.glyphicon-alert:before{content:"\e209"}.glyphicon-equalizer:before{content:"\e210"}.glyphicon-king:before{content:"\e211"}.glyphicon-queen:before{content:"\e212"}.glyphicon-pawn:before{content:"\e213"}.glyphicon-bishop:before{content:"\e214"}.glyphicon-knight:before{content:"\e215"}.glyphicon-baby-formula:before{content:"\e216"}.glyphicon-tent:before{content:"\26fa"}.glyphicon-blackboard:before{content:"\e218"}.glyphicon-bed:before{content:"\e219"}.glyphicon-apple:before{content:"\f8ff"}.glyphicon-erase:before{content:"\e221"}.glyphicon-hourglass:before{content:"\231b"}.glyphicon-lamp:before{content:"\e223"}.glyphicon-duplicate:before{content:"\e224"}.glyphicon-piggy-bank:before{content:"\e225"}.glyphicon-scissors:before{content:"\e226"}.glyphicon-bitcoin:before{content:"\e227"}.glyphicon-yen:before{content:"\00a5"}.glyphicon-ruble:before{content:"\20bd"}.glyphicon-scale:before{content:"\e230"}.glyphicon-ice-lolly:before{content:"\e231"}.glyphicon-ice-lolly-tasted:before{content:"\e232"}.glyphicon-education:before{content:"\e233"}.glyphicon-option-horizontal:before{content:"\e234"}.glyphicon-option-vertical:before{content:"\e235"}.glyphicon-menu-hamburger:before{content:"\e236"}.glyphicon-modal-window:before{content:"\e237"}.glyphicon-oil:before{content:"\e238"}.glyphicon-grain:before{content:"\e239"}.glyphicon-sunglasses:before{content:"\e240"}.glyphicon-text-size:before{content:"\e241"}.glyphicon-text-color:before{content:"\e242"}.glyphicon-text-background:before{content:"\e243"}.glyphicon-object-align-top:before{content:"\e244"}.glyphicon-object-align-bottom:before{content:"\e245"}.glyphicon-object-align-horizontal:before{content:"\e246"}.glyphicon-object-align-left:before{content:"\e247"}.glyphicon-object-align-vertical:before{content:"\e248"}.glyphicon-object-align-right:before{content:"\e249"}.glyphicon-triangle-right:before{content:"\e250"}.glyphicon-triangle-left:before{content:"\e251"}.glyphicon-triangle-bottom:before{content:"\e252"}.glyphicon-triangle-top:before{content:"\e253"}.glyphicon-console:before{content:"\e254"}.glyphicon-superscript:before{content:"\e255"}.glyphicon-subscript:before{content:"\e256"}.glyphicon-menu-left:before{content:"\e257"}.glyphicon-menu-right:before{content:"\e258"}.glyphicon-menu-down:before{content:"\e259"}.glyphicon-menu-up:before{content:"\e260"}*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}:after,:before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}html{font-size:10px;-webkit-tap-highlight-color:rgba(0,0,0,0)}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}a:focus,a:hover{color:#23527c;text-decoration:underline}a:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}figure{margin:0}img{vertical-align:middle}.carousel-inner>.item>a>img,.carousel-inner>.item>img,.img-responsive,.thumbnail a>img,.thumbnail>img{display:block;max-width:100%;height:auto}.img-rounded{border-radius:6px}.img-thumbnail{display:inline-block;max-width:100%;height:auto;padding:4px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.img-circle{border-radius:50%}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.sr-only-focusable:active,.sr-only-focusable:focus{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto}.h1,.h2,.h3,.h4,.h5,.h6,h1,h2,h3,h4,h5,h6{font-family:inherit;font-weight:500;line-height:1.1;color:inherit}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-weight:400;line-height:1;color:#777}.h1,.h2,.h3,h1,h2,h3{margin-top:20px;margin-bottom:10px}.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small{font-size:65%}.h4,.h5,.h6,h4,h5,h6{margin-top:10px;margin-bottom:10px}.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{font-size:75%}.h1,h1{font-size:36px}.h2,h2{font-size:30px}.h3,h3{font-size:24px}.h4,h4{font-size:18px}.h5,h5{font-size:14px}.h6,h6{font-size:12px}p{margin:0 0 10px}.lead{margin-bottom:20px;font-size:16px;font-weight:300;line-height:1.4}@media (min-width:768px){.lead{font-size:21px}}.small,small{font-size:85%}.mark,mark{padding:.2em;background-color:#fcf8e3}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.text-justify{text-align:justify}.text-nowrap{white-space:nowrap}.text-lowercase{text-transform:lowercase}.text-uppercase{text-transform:uppercase}.text-capitalize{text-transform:capitalize}.text-muted{color:#777}.text-primary{color:#337ab7}a.text-primary:hover{color:#286090}.text-success{color:#3c763d}a.text-success:hover{color:#2b542c}.text-info{color:#31708f}a.text-info:hover{color:#245269}.text-warning{color:#8a6d3b}a.text-warning:hover{color:#66512c}.text-danger{color:#a94442}a.text-danger:hover{color:#843534}.bg-primary{color:#fff;background-color:#337ab7}a.bg-primary:hover{background-color:#286090}.bg-success{background-color:#dff0d8}a.bg-success:hover{background-color:#c1e2b3}.bg-info{background-color:#d9edf7}a.bg-info:hover{background-color:#afd9ee}.bg-warning{background-color:#fcf8e3}a.bg-warning:hover{background-color:#f7ecb5}.bg-danger{background-color:#f2dede}a.bg-danger:hover{background-color:#e4b9b9}.page-header{padding-bottom:9px;margin:40px 0 20px;border-bottom:1px solid #eee}ol,ul{margin-top:0;margin-bottom:10px}ol ol,ol ul,ul ol,ul ul{margin-bottom:0}.list-unstyled{padding-left:0;list-style:none}.list-inline{padding-left:0;margin-left:-5px;list-style:none}.list-inline>li{display:inline-block;padding-right:5px;padding-left:5px}dl{margin-top:0;margin-bottom:20px}dd,dt{line-height:1.42857143}dt{font-weight:700}dd{margin-left:0}@media (min-width:768px){.dl-horizontal dt{float:left;width:160px;overflow:hidden;clear:left;text-align:right;text-overflow:ellipsis;white-space:nowrap}.dl-horizontal dd{margin-left:180px}}abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #777}.initialism{font-size:90%;text-transform:uppercase}blockquote{padding:10px 20px;margin:0 0 20px;font-size:17.5px;border-left:5px solid #eee}blockquote ol:last-child,blockquote p:last-child,blockquote ul:last-child{margin-bottom:0}blockquote .small,blockquote footer,blockquote small{display:block;font-size:80%;line-height:1.42857143;color:#777}blockquote .small:before,blockquote footer:before,blockquote small:before{content:'\2014 \00A0'}.blockquote-reverse,blockquote.pull-right{padding-right:15px;padding-left:0;text-align:right;border-right:5px solid #eee;border-left:0}.blockquote-reverse .small:before,.blockquote-reverse footer:before,.blockquote-reverse small:before,blockquote.pull-right .small:before,blockquote.pull-right footer:before,blockquote.pull-right small:before{content:''}.blockquote-reverse .small:after,.blockquote-reverse footer:after,.blockquote-reverse small:after,blockquote.pull-right .small:after,blockquote.pull-right footer:after,blockquote.pull-right small:after{content:'\00A0 \2014'}address{margin-bottom:20px;font-style:normal;line-height:1.42857143}code,kbd,pre,samp{font-family:Menlo,Monaco,Consolas,"Courier New",monospace}code{padding:2px 4px;font-size:90%;color:#c7254e;background-color:#f9f2f4;border-radius:4px}kbd{padding:2px 4px;font-size:90%;color:#fff;background-color:#333;border-radius:3px;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.25);box-shadow:inset 0 -1px 0 rgba(0,0,0,.25)}kbd kbd{padding:0;font-size:100%;font-weight:700;-webkit-box-shadow:none;box-shadow:none}pre{display:block;padding:9.5px;margin:0 0 10px;font-size:13px;line-height:1.42857143;color:#333;word-break:break-all;word-wrap:break-word;background-color:#f5f5f5;border:1px solid #ccc;border-radius:4px}pre code{padding:0;font-size:inherit;color:inherit;white-space:pre-wrap;background-color:transparent;border-radius:0}.pre-scrollable{max-height:340px;overflow-y:scroll}.container{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}@media (min-width:768px){.container{width:750px}}@media (min-width:1052px){.container{width:970px}}@media (min-width:1260px){.container{width:1170px}}.container-fluid{padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto}.row{margin-right:-15px;margin-left:-15px}.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{position:relative;min-height:1px;padding-right:15px;padding-left:15px}.col-xs-1,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9{float:left}.col-xs-12{width:100%}.col-xs-11{width:91.66666667%}.col-xs-10{width:83.33333333%}.col-xs-9{width:75%}.col-xs-8{width:66.66666667%}.col-xs-7{width:58.33333333%}.col-xs-6{width:50%}.col-xs-5{width:41.66666667%}.col-xs-4{width:33.33333333%}.col-xs-3{width:25%}.col-xs-2{width:16.66666667%}.col-xs-1{width:8.33333333%}.col-xs-pull-12{right:100%}.col-xs-pull-11{right:91.66666667%}.col-xs-pull-10{right:83.33333333%}.col-xs-pull-9{right:75%}.col-xs-pull-8{right:66.66666667%}.col-xs-pull-7{right:58.33333333%}.col-xs-pull-6{right:50%}.col-xs-pull-5{right:41.66666667%}.col-xs-pull-4{right:33.33333333%}.col-xs-pull-3{right:25%}.col-xs-pull-2{right:16.66666667%}.col-xs-pull-1{right:8.33333333%}.col-xs-pull-0{right:auto}.col-xs-push-12{left:100%}.col-xs-push-11{left:91.66666667%}.col-xs-push-10{left:83.33333333%}.col-xs-push-9{left:75%}.col-xs-push-8{left:66.66666667%}.col-xs-push-7{left:58.33333333%}.col-xs-push-6{left:50%}.col-xs-push-5{left:41.66666667%}.col-xs-push-4{left:33.33333333%}.col-xs-push-3{left:25%}.col-xs-push-2{left:16.66666667%}.col-xs-push-1{left:8.33333333%}.col-xs-push-0{left:auto}.col-xs-offset-12{margin-left:100%}.col-xs-offset-11{margin-left:91.66666667%}.col-xs-offset-10{margin-left:83.33333333%}.col-xs-offset-9{margin-left:75%}.col-xs-offset-8{margin-left:66.66666667%}.col-xs-offset-7{margin-left:58.33333333%}.col-xs-offset-6{margin-left:50%}.col-xs-offset-5{margin-left:41.66666667%}.col-xs-offset-4{margin-left:33.33333333%}.col-xs-offset-3{margin-left:25%}.col-xs-offset-2{margin-left:16.66666667%}.col-xs-offset-1{margin-left:8.33333333%}.col-xs-offset-0{margin-left:0}@media (min-width:768px){.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9{float:left}.col-sm-12{width:100%}.col-sm-11{width:91.66666667%}.col-sm-10{width:83.33333333%}.col-sm-9{width:75%}.col-sm-8{width:66.66666667%}.col-sm-7{width:58.33333333%}.col-sm-6{width:50%}.col-sm-5{width:41.66666667%}.col-sm-4{width:33.33333333%}.col-sm-3{width:25%}.col-sm-2{width:16.66666667%}.col-sm-1{width:8.33333333%}.col-sm-pull-12{right:100%}.col-sm-pull-11{right:91.66666667%}.col-sm-pull-10{right:83.33333333%}.col-sm-pull-9{right:75%}.col-sm-pull-8{right:66.66666667%}.col-sm-pull-7{right:58.33333333%}.col-sm-pull-6{right:50%}.col-sm-pull-5{right:41.66666667%}.col-sm-pull-4{right:33.33333333%}.col-sm-pull-3{right:25%}.col-sm-pull-2{right:16.66666667%}.col-sm-pull-1{right:8.33333333%}.col-sm-pull-0{right:auto}.col-sm-push-12{left:100%}.col-sm-push-11{left:91.66666667%}.col-sm-push-10{left:83.33333333%}.col-sm-push-9{left:75%}.col-sm-push-8{left:66.66666667%}.col-sm-push-7{left:58.33333333%}.col-sm-push-6{left:50%}.col-sm-push-5{left:41.66666667%}.col-sm-push-4{left:33.33333333%}.col-sm-push-3{left:25%}.col-sm-push-2{left:16.66666667%}.col-sm-push-1{left:8.33333333%}.col-sm-push-0{left:auto}.col-sm-offset-12{margin-left:100%}.col-sm-offset-11{margin-left:91.66666667%}.col-sm-offset-10{margin-left:83.33333333%}.col-sm-offset-9{margin-left:75%}.col-sm-offset-8{margin-left:66.66666667%}.col-sm-offset-7{margin-left:58.33333333%}.col-sm-offset-6{margin-left:50%}.col-sm-offset-5{margin-left:41.66666667%}.col-sm-offset-4{margin-left:33.33333333%}.col-sm-offset-3{margin-left:25%}.col-sm-offset-2{margin-left:16.66666667%}.col-sm-offset-1{margin-left:8.33333333%}.col-sm-offset-0{margin-left:0}}@media (min-width:1052px){.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9{float:left}.col-md-12{width:100%}.col-md-11{width:91.66666667%}.col-md-10{width:83.33333333%}.col-md-9{width:75%}.col-md-8{width:66.66666667%}.col-md-7{width:58.33333333%}.col-md-6{width:50%}.col-md-5{width:41.66666667%}.col-md-4{width:33.33333333%}.col-md-3{width:25%}.col-md-2{width:16.66666667%}.col-md-1{width:8.33333333%}.col-md-pull-12{right:100%}.col-md-pull-11{right:91.66666667%}.col-md-pull-10{right:83.33333333%}.col-md-pull-9{right:75%}.col-md-pull-8{right:66.66666667%}.col-md-pull-7{right:58.33333333%}.col-md-pull-6{right:50%}.col-md-pull-5{right:41.66666667%}.col-md-pull-4{right:33.33333333%}.col-md-pull-3{right:25%}.col-md-pull-2{right:16.66666667%}.col-md-pull-1{right:8.33333333%}.col-md-pull-0{right:auto}.col-md-push-12{left:100%}.col-md-push-11{left:91.66666667%}.col-md-push-10{left:83.33333333%}.col-md-push-9{left:75%}.col-md-push-8{left:66.66666667%}.col-md-push-7{left:58.33333333%}.col-md-push-6{left:50%}.col-md-push-5{left:41.66666667%}.col-md-push-4{left:33.33333333%}.col-md-push-3{left:25%}.col-md-push-2{left:16.66666667%}.col-md-push-1{left:8.33333333%}.col-md-push-0{left:auto}.col-md-offset-12{margin-left:100%}.col-md-offset-11{margin-left:91.66666667%}.col-md-offset-10{margin-left:83.33333333%}.col-md-offset-9{margin-left:75%}.col-md-offset-8{margin-left:66.66666667%}.col-md-offset-7{margin-left:58.33333333%}.col-md-offset-6{margin-left:50%}.col-md-offset-5{margin-left:41.66666667%}.col-md-offset-4{margin-left:33.33333333%}.col-md-offset-3{margin-left:25%}.col-md-offset-2{margin-left:16.66666667%}.col-md-offset-1{margin-left:8.33333333%}.col-md-offset-0{margin-left:0}}@media (min-width:1260px){.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9{float:left}.col-lg-12{width:100%}.col-lg-11{width:91.66666667%}.col-lg-10{width:83.33333333%}.col-lg-9{width:75%}.col-lg-8{width:66.66666667%}.col-lg-7{width:58.33333333%}.col-lg-6{width:50%}.col-lg-5{width:41.66666667%}.col-lg-4{width:33.33333333%}.col-lg-3{width:25%}.col-lg-2{width:16.66666667%}.col-lg-1{width:8.33333333%}.col-lg-pull-12{right:100%}.col-lg-pull-11{right:91.66666667%}.col-lg-pull-10{right:83.33333333%}.col-lg-pull-9{right:75%}.col-lg-pull-8{right:66.66666667%}.col-lg-pull-7{right:58.33333333%}.col-lg-pull-6{right:50%}.col-lg-pull-5{right:41.66666667%}.col-lg-pull-4{right:33.33333333%}.col-lg-pull-3{right:25%}.col-lg-pull-2{right:16.66666667%}.col-lg-pull-1{right:8.33333333%}.col-lg-pull-0{right:auto}.col-lg-push-12{left:100%}.col-lg-push-11{left:91.66666667%}.col-lg-push-10{left:83.33333333%}.col-lg-push-9{left:75%}.col-lg-push-8{left:66.66666667%}.col-lg-push-7{left:58.33333333%}.col-lg-push-6{left:50%}.col-lg-push-5{left:41.66666667%}.col-lg-push-4{left:33.33333333%}.col-lg-push-3{left:25%}.col-lg-push-2{left:16.66666667%}.col-lg-push-1{left:8.33333333%}.col-lg-push-0{left:auto}.col-lg-offset-12{margin-left:100%}.col-lg-offset-11{margin-left:91.66666667%}.col-lg-offset-10{margin-left:83.33333333%}.col-lg-offset-9{margin-left:75%}.col-lg-offset-8{margin-left:66.66666667%}.col-lg-offset-7{margin-left:58.33333333%}.col-lg-offset-6{margin-left:50%}.col-lg-offset-5{margin-left:41.66666667%}.col-lg-offset-4{margin-left:33.33333333%}.col-lg-offset-3{margin-left:25%}.col-lg-offset-2{margin-left:16.66666667%}.col-lg-offset-1{margin-left:8.33333333%}.col-lg-offset-0{margin-left:0}}table{background-color:transparent}caption{padding-top:8px;padding-bottom:8px;color:#777;text-align:left}th{text-align:left}.table{width:100%;max-width:100%;margin-bottom:20px}.table>tbody>tr>td,.table>tbody>tr>th,.table>tfoot>tr>td,.table>tfoot>tr>th,.table>thead>tr>td,.table>thead>tr>th{padding:8px;line-height:1.42857143;vertical-align:top;border-top:1px solid #ddd}.table>thead>tr>th{vertical-align:bottom;border-bottom:2px solid #ddd}.table>caption+thead>tr:first-child>td,.table>caption+thead>tr:first-child>th,.table>colgroup+thead>tr:first-child>td,.table>colgroup+thead>tr:first-child>th,.table>thead:first-child>tr:first-child>td,.table>thead:first-child>tr:first-child>th{border-top:0}.table>tbody+tbody{border-top:2px solid #ddd}.table .table{background-color:#fff}.table-condensed>tbody>tr>td,.table-condensed>tbody>tr>th,.table-condensed>tfoot>tr>td,.table-condensed>tfoot>tr>th,.table-condensed>thead>tr>td,.table-condensed>thead>tr>th{padding:5px}.table-bordered{border:1px solid #ddd}.table-bordered>tbody>tr>td,.table-bordered>tbody>tr>th,.table-bordered>tfoot>tr>td,.table-bordered>tfoot>tr>th,.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border:1px solid #ddd}.table-bordered>thead>tr>td,.table-bordered>thead>tr>th{border-bottom-width:2px}.table-striped>tbody>tr:nth-of-type(odd){background-color:#f9f9f9}.table-hover>tbody>tr:hover{background-color:#f5f5f5}table col[class*=col-]{position:static;display:table-column;float:none}table td[class*=col-],table th[class*=col-]{position:static;display:table-cell;float:none}.table>tbody>tr.active>td,.table>tbody>tr.active>th,.table>tbody>tr>td.active,.table>tbody>tr>th.active,.table>tfoot>tr.active>td,.table>tfoot>tr.active>th,.table>tfoot>tr>td.active,.table>tfoot>tr>th.active,.table>thead>tr.active>td,.table>thead>tr.active>th,.table>thead>tr>td.active,.table>thead>tr>th.active{background-color:#f5f5f5}.table-hover>tbody>tr.active:hover>td,.table-hover>tbody>tr.active:hover>th,.table-hover>tbody>tr:hover>.active,.table-hover>tbody>tr>td.active:hover,.table-hover>tbody>tr>th.active:hover{background-color:#e8e8e8}.table>tbody>tr.success>td,.table>tbody>tr.success>th,.table>tbody>tr>td.success,.table>tbody>tr>th.success,.table>tfoot>tr.success>td,.table>tfoot>tr.success>th,.table>tfoot>tr>td.success,.table>tfoot>tr>th.success,.table>thead>tr.success>td,.table>thead>tr.success>th,.table>thead>tr>td.success,.table>thead>tr>th.success{background-color:#dff0d8}.table-hover>tbody>tr.success:hover>td,.table-hover>tbody>tr.success:hover>th,.table-hover>tbody>tr:hover>.success,.table-hover>tbody>tr>td.success:hover,.table-hover>tbody>tr>th.success:hover{background-color:#d0e9c6}.table>tbody>tr.info>td,.table>tbody>tr.info>th,.table>tbody>tr>td.info,.table>tbody>tr>th.info,.table>tfoot>tr.info>td,.table>tfoot>tr.info>th,.table>tfoot>tr>td.info,.table>tfoot>tr>th.info,.table>thead>tr.info>td,.table>thead>tr.info>th,.table>thead>tr>td.info,.table>thead>tr>th.info{background-color:#d9edf7}.table-hover>tbody>tr.info:hover>td,.table-hover>tbody>tr.info:hover>th,.table-hover>tbody>tr:hover>.info,.table-hover>tbody>tr>td.info:hover,.table-hover>tbody>tr>th.info:hover{background-color:#c4e3f3}.table>tbody>tr.warning>td,.table>tbody>tr.warning>th,.table>tbody>tr>td.warning,.table>tbody>tr>th.warning,.table>tfoot>tr.warning>td,.table>tfoot>tr.warning>th,.table>tfoot>tr>td.warning,.table>tfoot>tr>th.warning,.table>thead>tr.warning>td,.table>thead>tr.warning>th,.table>thead>tr>td.warning,.table>thead>tr>th.warning{background-color:#fcf8e3}.table-hover>tbody>tr.warning:hover>td,.table-hover>tbody>tr.warning:hover>th,.table-hover>tbody>tr:hover>.warning,.table-hover>tbody>tr>td.warning:hover,.table-hover>tbody>tr>th.warning:hover{background-color:#faf2cc}.table>tbody>tr.danger>td,.table>tbody>tr.danger>th,.table>tbody>tr>td.danger,.table>tbody>tr>th.danger,.table>tfoot>tr.danger>td,.table>tfoot>tr.danger>th,.table>tfoot>tr>td.danger,.table>tfoot>tr>th.danger,.table>thead>tr.danger>td,.table>thead>tr.danger>th,.table>thead>tr>td.danger,.table>thead>tr>th.danger{background-color:#f2dede}.table-hover>tbody>tr.danger:hover>td,.table-hover>tbody>tr.danger:hover>th,.table-hover>tbody>tr:hover>.danger,.table-hover>tbody>tr>td.danger:hover,.table-hover>tbody>tr>th.danger:hover{background-color:#ebcccc}.table-responsive{min-height:.01%;overflow-x:auto}@media screen and (max-width:767px){.table-responsive{width:100%;margin-bottom:15px;overflow-y:hidden;-ms-overflow-style:-ms-autohiding-scrollbar;border:1px solid #ddd}.table-responsive>.table{margin-bottom:0}.table-responsive>.table>tbody>tr>td,.table-responsive>.table>tbody>tr>th,.table-responsive>.table>tfoot>tr>td,.table-responsive>.table>tfoot>tr>th,.table-responsive>.table>thead>tr>td,.table-responsive>.table>thead>tr>th{white-space:nowrap}.table-responsive>.table-bordered{border:0}.table-responsive>.table-bordered>tbody>tr>td:first-child,.table-responsive>.table-bordered>tbody>tr>th:first-child,.table-responsive>.table-bordered>tfoot>tr>td:first-child,.table-responsive>.table-bordered>tfoot>tr>th:first-child,.table-responsive>.table-bordered>thead>tr>td:first-child,.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.table-responsive>.table-bordered>tbody>tr>td:last-child,.table-responsive>.table-bordered>tbody>tr>th:last-child,.table-responsive>.table-bordered>tfoot>tr>td:last-child,.table-responsive>.table-bordered>tfoot>tr>th:last-child,.table-responsive>.table-bordered>thead>tr>td:last-child,.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.table-responsive>.table-bordered>tbody>tr:last-child>td,.table-responsive>.table-bordered>tbody>tr:last-child>th,.table-responsive>.table-bordered>tfoot>tr:last-child>td,.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}}fieldset{min-width:0;padding:0;margin:0;border:0}legend{display:block;width:100%;padding:0;margin-bottom:20px;font-size:21px;line-height:inherit;color:#333;border:0;border-bottom:1px solid #e5e5e5}label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700}input[type=search]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}input[type=checkbox],input[type=radio]{margin:4px 0 0;margin-top:1px \9;line-height:normal}input[type=file]{display:block}input[type=range]{display:block;width:100%}select[multiple],select[size]{height:auto}input[type=file]:focus,input[type=checkbox]:focus,input[type=radio]:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}output{display:block;padding-top:7px;font-size:14px;line-height:1.42857143;color:#555}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075);-webkit-transition:border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;-o-transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s;transition:border-color ease-in-out .15s,box-shadow ease-in-out .15s}.form-control:focus{border-color:#66afe9;outline:0;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6)}.form-control::-moz-placeholder{color:#999;opacity:1}.form-control:-ms-input-placeholder{color:#999}.form-control::-webkit-input-placeholder{color:#999}.form-control[disabled],.form-control[readonly],fieldset[disabled] .form-control{cursor:not-allowed;background-color:#eee;opacity:1}textarea.form-control{height:auto}input[type=search]{-webkit-appearance:none}@media screen and (-webkit-min-device-pixel-ratio:0){input[type=date],input[type=time],input[type=datetime-local],input[type=month]{line-height:34px}.input-group-sm input[type=date],.input-group-sm input[type=time],.input-group-sm input[type=datetime-local],.input-group-sm input[type=month],input[type=date].input-sm,input[type=time].input-sm,input[type=datetime-local].input-sm,input[type=month].input-sm{line-height:30px}.input-group-lg input[type=date],.input-group-lg input[type=time],.input-group-lg input[type=datetime-local],.input-group-lg input[type=month],input[type=date].input-lg,input[type=time].input-lg,input[type=datetime-local].input-lg,input[type=month].input-lg{line-height:46px}}.form-group{margin-bottom:15px}.checkbox,.radio{position:relative;display:block;margin-top:10px;margin-bottom:10px}.checkbox label,.radio label{min-height:20px;padding-left:20px;margin-bottom:0;font-weight:400;cursor:pointer}.radio+.radio{margin-top:-5px}.checkbox-inline,.radio-inline{display:inline-block;padding-left:20px;margin-bottom:0;font-weight:400;vertical-align:middle;cursor:pointer}.checkbox-inline+.checkbox-inline,.radio-inline+.radio-inline{margin-top:0;margin-left:10px}fieldset[disabled] input[type=checkbox],fieldset[disabled] input[type=radio],input[type=checkbox].disabled,input[type=checkbox][disabled],input[type=radio].disabled,input[type=radio][disabled]{cursor:not-allowed}.checkbox-inline.disabled,.radio-inline.disabled,fieldset[disabled] .checkbox-inline,fieldset[disabled] .radio-inline{cursor:not-allowed}.checkbox.disabled label,.radio.disabled label,fieldset[disabled] .checkbox label,fieldset[disabled] .radio label{cursor:not-allowed}.form-control-static{padding-top:7px;padding-bottom:7px;margin-bottom:0}.form-control-static.input-lg,.form-control-static.input-sm{padding-right:0;padding-left:0}.input-sm{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-sm{height:30px;line-height:30px}select[multiple].input-sm,textarea.input-sm{height:auto}.form-group-sm .form-control{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.form-group-sm .form-control{height:30px;line-height:30px}select[multiple].form-group-sm .form-control,textarea.form-group-sm .form-control{height:auto}.form-group-sm .form-control-static{height:30px;padding:5px 10px;font-size:12px;line-height:1.5}.input-lg{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-lg{height:46px;line-height:46px}select[multiple].input-lg,textarea.input-lg{height:auto}.form-group-lg .form-control{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.form-group-lg .form-control{height:46px;line-height:46px}select[multiple].form-group-lg .form-control,textarea.form-group-lg .form-control{height:auto}.form-group-lg .form-control-static{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333}.has-feedback{position:relative}.has-feedback .form-control{padding-right:42.5px}.form-control-feedback{position:absolute;top:0;right:0;z-index:2;display:block;width:34px;height:34px;line-height:34px;text-align:center;pointer-events:none}.input-lg+.form-control-feedback{width:46px;height:46px;line-height:46px}.input-sm+.form-control-feedback{width:30px;height:30px;line-height:30px}.has-success .checkbox,.has-success .checkbox-inline,.has-success .control-label,.has-success .help-block,.has-success .radio,.has-success .radio-inline,.has-success.checkbox label,.has-success.checkbox-inline label,.has-success.radio label,.has-success.radio-inline label{color:#3c763d}.has-success .form-control{border-color:#3c763d;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-success .form-control:focus{border-color:#2b542c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #67b168}.has-success .input-group-addon{color:#3c763d;background-color:#dff0d8;border-color:#3c763d}.has-success .form-control-feedback{color:#3c763d}.has-warning .checkbox,.has-warning .checkbox-inline,.has-warning .control-label,.has-warning .help-block,.has-warning .radio,.has-warning .radio-inline,.has-warning.checkbox label,.has-warning.checkbox-inline label,.has-warning.radio label,.has-warning.radio-inline label{color:#8a6d3b}.has-warning .form-control{border-color:#8a6d3b;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-warning .form-control:focus{border-color:#66512c;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #c0a16b}.has-warning .input-group-addon{color:#8a6d3b;background-color:#fcf8e3;border-color:#8a6d3b}.has-warning .form-control-feedback{color:#8a6d3b}.has-error .checkbox,.has-error .checkbox-inline,.has-error .control-label,.has-error .help-block,.has-error .radio,.has-error .radio-inline,.has-error.checkbox label,.has-error.checkbox-inline label,.has-error.radio label,.has-error.radio-inline label{color:#a94442}.has-error .form-control{border-color:#a94442;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075);box-shadow:inset 0 1px 1px rgba(0,0,0,.075)}.has-error .form-control:focus{border-color:#843534;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483;box-shadow:inset 0 1px 1px rgba(0,0,0,.075),0 0 6px #ce8483}.has-error .input-group-addon{color:#a94442;background-color:#f2dede;border-color:#a94442}.has-error .form-control-feedback{color:#a94442}.has-feedback label~.form-control-feedback{top:25px}.has-feedback label.sr-only~.form-control-feedback{top:0}.help-block{display:block;margin-top:5px;margin-bottom:10px;color:#737373}@media (min-width:768px){.form-inline .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.form-inline .form-control{display:inline-block;width:auto;vertical-align:middle}.form-inline .form-control-static{display:inline-block}.form-inline .input-group{display:inline-table;vertical-align:middle}.form-inline .input-group .form-control,.form-inline .input-group .input-group-addon,.form-inline .input-group .input-group-btn{width:auto}.form-inline .input-group>.form-control{width:100%}.form-inline .control-label{margin-bottom:0;vertical-align:middle}.form-inline .checkbox,.form-inline .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.form-inline .checkbox label,.form-inline .radio label{padding-left:0}.form-inline .checkbox input[type=checkbox],.form-inline .radio input[type=radio]{position:relative;margin-left:0}.form-inline .has-feedback .form-control-feedback{top:0}}.form-horizontal .checkbox,.form-horizontal .checkbox-inline,.form-horizontal .radio,.form-horizontal .radio-inline{padding-top:7px;margin-top:0;margin-bottom:0}.form-horizontal .checkbox,.form-horizontal .radio{min-height:27px}.form-horizontal .form-group{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.form-horizontal .control-label{padding-top:7px;margin-bottom:0;text-align:right}}.form-horizontal .has-feedback .form-control-feedback{right:15px}@media (min-width:768px){.form-horizontal .form-group-lg .control-label{padding-top:14.33px}}@media (min-width:768px){.form-horizontal .form-group-sm .control-label{padding-top:6px}}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn.active.focus,.btn.active:focus,.btn.focus,.btn:active.focus,.btn:active:focus,.btn:focus{outline:thin dotted;outline:5px auto -webkit-focus-ring-color;outline-offset:-2px}.btn.focus,.btn:focus,.btn:hover{color:#333;text-decoration:none}.btn.active,.btn:active{background-image:none;outline:0;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn.disabled,.btn[disabled],fieldset[disabled] .btn{pointer-events:none;cursor:not-allowed;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none;opacity:.65}.btn-default{color:#333;background-color:#fff;border-color:#ccc}.btn-default.active,.btn-default.focus,.btn-default:active,.btn-default:focus,.btn-default:hover,.open>.dropdown-toggle.btn-default{color:#333;background-color:#e6e6e6;border-color:#adadad}.btn-default.active,.btn-default:active,.open>.dropdown-toggle.btn-default{background-image:none}.btn-default.disabled,.btn-default.disabled.active,.btn-default.disabled.focus,.btn-default.disabled:active,.btn-default.disabled:focus,.btn-default.disabled:hover,.btn-default[disabled],.btn-default[disabled].active,.btn-default[disabled].focus,.btn-default[disabled]:active,.btn-default[disabled]:focus,.btn-default[disabled]:hover,fieldset[disabled] .btn-default,fieldset[disabled] .btn-default.active,fieldset[disabled] .btn-default.focus,fieldset[disabled] .btn-default:active,fieldset[disabled] .btn-default:focus,fieldset[disabled] .btn-default:hover{background-color:#fff;border-color:#ccc}.btn-default .badge{color:#fff;background-color:#333}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary.active,.btn-primary.focus,.btn-primary:active,.btn-primary:focus,.btn-primary:hover,.open>.dropdown-toggle.btn-primary{color:#fff;background-color:#286090;border-color:#204d74}.btn-primary.active,.btn-primary:active,.open>.dropdown-toggle.btn-primary{background-image:none}.btn-primary.disabled,.btn-primary.disabled.active,.btn-primary.disabled.focus,.btn-primary.disabled:active,.btn-primary.disabled:focus,.btn-primary.disabled:hover,.btn-primary[disabled],.btn-primary[disabled].active,.btn-primary[disabled].focus,.btn-primary[disabled]:active,.btn-primary[disabled]:focus,.btn-primary[disabled]:hover,fieldset[disabled] .btn-primary,fieldset[disabled] .btn-primary.active,fieldset[disabled] .btn-primary.focus,fieldset[disabled] .btn-primary:active,fieldset[disabled] .btn-primary:focus,fieldset[disabled] .btn-primary:hover{background-color:#337ab7;border-color:#2e6da4}.btn-primary .badge{color:#337ab7;background-color:#fff}.btn-success{color:#fff;background-color:#5cb85c;border-color:#4cae4c}.btn-success.active,.btn-success.focus,.btn-success:active,.btn-success:focus,.btn-success:hover,.open>.dropdown-toggle.btn-success{color:#fff;background-color:#449d44;border-color:#398439}.btn-success.active,.btn-success:active,.open>.dropdown-toggle.btn-success{background-image:none}.btn-success.disabled,.btn-success.disabled.active,.btn-success.disabled.focus,.btn-success.disabled:active,.btn-success.disabled:focus,.btn-success.disabled:hover,.btn-success[disabled],.btn-success[disabled].active,.btn-success[disabled].focus,.btn-success[disabled]:active,.btn-success[disabled]:focus,.btn-success[disabled]:hover,fieldset[disabled] .btn-success,fieldset[disabled] .btn-success.active,fieldset[disabled] .btn-success.focus,fieldset[disabled] .btn-success:active,fieldset[disabled] .btn-success:focus,fieldset[disabled] .btn-success:hover{background-color:#5cb85c;border-color:#4cae4c}.btn-success .badge{color:#5cb85c;background-color:#fff}.btn-info{color:#fff;background-color:#5bc0de;border-color:#46b8da}.btn-info.active,.btn-info.focus,.btn-info:active,.btn-info:focus,.btn-info:hover,.open>.dropdown-toggle.btn-info{color:#fff;background-color:#31b0d5;border-color:#269abc}.btn-info.active,.btn-info:active,.open>.dropdown-toggle.btn-info{background-image:none}.btn-info.disabled,.btn-info.disabled.active,.btn-info.disabled.focus,.btn-info.disabled:active,.btn-info.disabled:focus,.btn-info.disabled:hover,.btn-info[disabled],.btn-info[disabled].active,.btn-info[disabled].focus,.btn-info[disabled]:active,.btn-info[disabled]:focus,.btn-info[disabled]:hover,fieldset[disabled] .btn-info,fieldset[disabled] .btn-info.active,fieldset[disabled] .btn-info.focus,fieldset[disabled] .btn-info:active,fieldset[disabled] .btn-info:focus,fieldset[disabled] .btn-info:hover{background-color:#5bc0de;border-color:#46b8da}.btn-info .badge{color:#5bc0de;background-color:#fff}.btn-warning{color:#fff;background-color:#f0ad4e;border-color:#eea236}.btn-warning.active,.btn-warning.focus,.btn-warning:active,.btn-warning:focus,.btn-warning:hover,.open>.dropdown-toggle.btn-warning{color:#fff;background-color:#ec971f;border-color:#d58512}.btn-warning.active,.btn-warning:active,.open>.dropdown-toggle.btn-warning{background-image:none}.btn-warning.disabled,.btn-warning.disabled.active,.btn-warning.disabled.focus,.btn-warning.disabled:active,.btn-warning.disabled:focus,.btn-warning.disabled:hover,.btn-warning[disabled],.btn-warning[disabled].active,.btn-warning[disabled].focus,.btn-warning[disabled]:active,.btn-warning[disabled]:focus,.btn-warning[disabled]:hover,fieldset[disabled] .btn-warning,fieldset[disabled] .btn-warning.active,fieldset[disabled] .btn-warning.focus,fieldset[disabled] .btn-warning:active,fieldset[disabled] .btn-warning:focus,fieldset[disabled] .btn-warning:hover{background-color:#f0ad4e;border-color:#eea236}.btn-warning .badge{color:#f0ad4e;background-color:#fff}.btn-danger{color:#fff;background-color:#d9534f;border-color:#d43f3a}.btn-danger.active,.btn-danger.focus,.btn-danger:active,.btn-danger:focus,.btn-danger:hover,.open>.dropdown-toggle.btn-danger{color:#fff;background-color:#c9302c;border-color:#ac2925}.btn-danger.active,.btn-danger:active,.open>.dropdown-toggle.btn-danger{background-image:none}.btn-danger.disabled,.btn-danger.disabled.active,.btn-danger.disabled.focus,.btn-danger.disabled:active,.btn-danger.disabled:focus,.btn-danger.disabled:hover,.btn-danger[disabled],.btn-danger[disabled].active,.btn-danger[disabled].focus,.btn-danger[disabled]:active,.btn-danger[disabled]:focus,.btn-danger[disabled]:hover,fieldset[disabled] .btn-danger,fieldset[disabled] .btn-danger.active,fieldset[disabled] .btn-danger.focus,fieldset[disabled] .btn-danger:active,fieldset[disabled] .btn-danger:focus,fieldset[disabled] .btn-danger:hover{background-color:#d9534f;border-color:#d43f3a}.btn-danger .badge{color:#d9534f;background-color:#fff}.btn-link{font-weight:400;color:#337ab7;border-radius:0}.btn-link,.btn-link.active,.btn-link:active,.btn-link[disabled],fieldset[disabled] .btn-link{background-color:transparent;-webkit-box-shadow:none;box-shadow:none}.btn-link,.btn-link:active,.btn-link:focus,.btn-link:hover{border-color:transparent}.btn-link:focus,.btn-link:hover{color:#23527c;text-decoration:underline;background-color:transparent}.btn-link[disabled]:focus,.btn-link[disabled]:hover,fieldset[disabled] .btn-link:focus,fieldset[disabled] .btn-link:hover{color:#777;text-decoration:none}.btn-group-lg>.btn,.btn-lg{padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}.btn-group-sm>.btn,.btn-sm{padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}.btn-group-xs>.btn,.btn-xs{padding:1px 5px;font-size:12px;line-height:1.5;border-radius:3px}.btn-block{display:block;width:100%}.btn-block+.btn-block{margin-top:5px}input[type=button].btn-block,input[type=reset].btn-block,input[type=submit].btn-block{width:100%}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.fade.in{opacity:1}.collapse{display:none;visibility:hidden}.collapse.in{display:block;visibility:visible}tr.collapse.in{display:table-row}tbody.collapse.in{display:table-row-group}.collapsing{position:relative;height:0;overflow:hidden;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;-webkit-transition-duration:.35s;-o-transition-duration:.35s;transition-duration:.35s;-webkit-transition-property:height,visibility;-o-transition-property:height,visibility;transition-property:height,visibility}.caret{display:inline-block;width:0;height:0;margin-left:2px;vertical-align:middle;border-top:4px solid;border-right:4px solid transparent;border-left:4px solid transparent}.dropdown,.dropup{position:relative}.dropdown-toggle:focus{outline:0}.dropdown-menu{position:absolute;top:100%;left:0;z-index:1000;display:none;float:left;min-width:160px;padding:5px 0;margin:2px 0 0;font-size:14px;text-align:left;list-style:none;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.15);border-radius:4px;-webkit-box-shadow:0 6px 12px rgba(0,0,0,.175);box-shadow:0 6px 12px rgba(0,0,0,.175)}.dropdown-menu.pull-right{right:0;left:auto}.dropdown-menu .divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.dropdown-menu>li>a{display:block;padding:3px 20px;clear:both;font-weight:400;line-height:1.42857143;color:#333;white-space:nowrap}.dropdown-menu>li>a:focus,.dropdown-menu>li>a:hover{color:#262626;text-decoration:none;background-color:#f5f5f5}.dropdown-menu>.active>a,.dropdown-menu>.active>a:focus,.dropdown-menu>.active>a:hover{color:#fff;text-decoration:none;background-color:#337ab7;outline:0}.dropdown-menu>.disabled>a,.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{color:#777}.dropdown-menu>.disabled>a:focus,.dropdown-menu>.disabled>a:hover{text-decoration:none;cursor:not-allowed;background-color:transparent;background-image:none;filter:progid:DXImageTransform.Microsoft.gradient(enabled=false)}.open>.dropdown-menu{display:block}.open>a{outline:0}.dropdown-menu-right{right:0;left:auto}.dropdown-menu-left{right:auto;left:0}.dropdown-header{display:block;padding:3px 20px;font-size:12px;line-height:1.42857143;color:#777;white-space:nowrap}.dropdown-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:990}.pull-right>.dropdown-menu{right:0;left:auto}.dropup .caret,.navbar-fixed-bottom .dropdown .caret{content:"";border-top:0;border-bottom:4px solid}.dropup .dropdown-menu,.navbar-fixed-bottom .dropdown .dropdown-menu{top:auto;bottom:100%;margin-bottom:2px}@media (min-width:768px){.navbar-right .dropdown-menu{right:0;left:auto}.navbar-right .dropdown-menu-left{right:auto;left:0}}.btn-group,.btn-group-vertical{position:relative;display:inline-block;vertical-align:middle}.btn-group-vertical>.btn,.btn-group>.btn{position:relative;float:left}.btn-group-vertical>.btn.active,.btn-group-vertical>.btn:active,.btn-group-vertical>.btn:focus,.btn-group-vertical>.btn:hover,.btn-group>.btn.active,.btn-group>.btn:active,.btn-group>.btn:focus,.btn-group>.btn:hover{z-index:2}.btn-group .btn+.btn,.btn-group .btn+.btn-group,.btn-group .btn-group+.btn,.btn-group .btn-group+.btn-group{margin-left:-1px}.btn-toolbar{margin-left:-5px}.btn-toolbar .btn-group,.btn-toolbar .input-group{float:left}.btn-toolbar>.btn,.btn-toolbar>.btn-group,.btn-toolbar>.input-group{margin-left:5px}.btn-group>.btn:not(:first-child):not(:last-child):not(.dropdown-toggle){border-radius:0}.btn-group>.btn:first-child{margin-left:0}.btn-group>.btn:first-child:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn:last-child:not(:first-child),.btn-group>.dropdown-toggle:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.btn-group>.btn-group{float:left}.btn-group>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-top-right-radius:0;border-bottom-right-radius:0}.btn-group>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-bottom-left-radius:0}.btn-group .dropdown-toggle:active,.btn-group.open .dropdown-toggle{outline:0}.btn-group>.btn+.dropdown-toggle{padding-right:8px;padding-left:8px}.btn-group>.btn-lg+.dropdown-toggle{padding-right:12px;padding-left:12px}.btn-group.open .dropdown-toggle{-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.btn-group.open .dropdown-toggle.btn-link{-webkit-box-shadow:none;box-shadow:none}.btn .caret{margin-left:0}.btn-lg .caret{border-width:5px 5px 0;border-bottom-width:0}.dropup .btn-lg .caret{border-width:0 5px 5px}.btn-group-vertical>.btn,.btn-group-vertical>.btn-group,.btn-group-vertical>.btn-group>.btn{display:block;float:none;width:100%;max-width:100%}.btn-group-vertical>.btn-group>.btn{float:none}.btn-group-vertical>.btn+.btn,.btn-group-vertical>.btn+.btn-group,.btn-group-vertical>.btn-group+.btn,.btn-group-vertical>.btn-group+.btn-group{margin-top:-1px;margin-left:0}.btn-group-vertical>.btn:not(:first-child):not(:last-child){border-radius:0}.btn-group-vertical>.btn:first-child:not(:last-child){border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn:last-child:not(:first-child){border-top-left-radius:0;border-top-right-radius:0;border-bottom-left-radius:4px}.btn-group-vertical>.btn-group:not(:first-child):not(:last-child)>.btn{border-radius:0}.btn-group-vertical>.btn-group:first-child:not(:last-child)>.btn:last-child,.btn-group-vertical>.btn-group:first-child:not(:last-child)>.dropdown-toggle{border-bottom-right-radius:0;border-bottom-left-radius:0}.btn-group-vertical>.btn-group:last-child:not(:first-child)>.btn:first-child{border-top-left-radius:0;border-top-right-radius:0}.btn-group-justified{display:table;width:100%;table-layout:fixed;border-collapse:separate}.btn-group-justified>.btn,.btn-group-justified>.btn-group{display:table-cell;float:none;width:1%}.btn-group-justified>.btn-group .btn{width:100%}.btn-group-justified>.btn-group .dropdown-menu{left:auto}[data-toggle=buttons]>.btn input[type=checkbox],[data-toggle=buttons]>.btn input[type=radio],[data-toggle=buttons]>.btn-group>.btn input[type=checkbox],[data-toggle=buttons]>.btn-group>.btn input[type=radio]{position:absolute;clip:rect(0,0,0,0);pointer-events:none}.input-group{position:relative;display:table;border-collapse:separate}.input-group[class*=col-]{float:none;padding-right:0;padding-left:0}.input-group .form-control{position:relative;z-index:2;float:left;width:100%;margin-bottom:0}.input-group-lg>.form-control,.input-group-lg>.input-group-addon,.input-group-lg>.input-group-btn>.btn{height:46px;padding:10px 16px;font-size:18px;line-height:1.3333333;border-radius:6px}select.input-group-lg>.form-control,select.input-group-lg>.input-group-addon,select.input-group-lg>.input-group-btn>.btn{height:46px;line-height:46px}select[multiple].input-group-lg>.form-control,select[multiple].input-group-lg>.input-group-addon,select[multiple].input-group-lg>.input-group-btn>.btn,textarea.input-group-lg>.form-control,textarea.input-group-lg>.input-group-addon,textarea.input-group-lg>.input-group-btn>.btn{height:auto}.input-group-sm>.form-control,.input-group-sm>.input-group-addon,.input-group-sm>.input-group-btn>.btn{height:30px;padding:5px 10px;font-size:12px;line-height:1.5;border-radius:3px}select.input-group-sm>.form-control,select.input-group-sm>.input-group-addon,select.input-group-sm>.input-group-btn>.btn{height:30px;line-height:30px}select[multiple].input-group-sm>.form-control,select[multiple].input-group-sm>.input-group-addon,select[multiple].input-group-sm>.input-group-btn>.btn,textarea.input-group-sm>.form-control,textarea.input-group-sm>.input-group-addon,textarea.input-group-sm>.input-group-btn>.btn{height:auto}.input-group .form-control,.input-group-addon,.input-group-btn{display:table-cell}.input-group .form-control:not(:first-child):not(:last-child),.input-group-addon:not(:first-child):not(:last-child),.input-group-btn:not(:first-child):not(:last-child){border-radius:0}.input-group-addon,.input-group-btn{width:1%;white-space:nowrap;vertical-align:middle}.input-group-addon{padding:6px 12px;font-size:14px;font-weight:400;line-height:1;color:#555;text-align:center;background-color:#eee;border:1px solid #ccc;border-radius:4px}.input-group-addon.input-sm{padding:5px 10px;font-size:12px;border-radius:3px}.input-group-addon.input-lg{padding:10px 16px;font-size:18px;border-radius:6px}.input-group-addon input[type=checkbox],.input-group-addon input[type=radio]{margin-top:0}.input-group .form-control:first-child,.input-group-addon:first-child,.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group>.btn,.input-group-btn:first-child>.dropdown-toggle,.input-group-btn:last-child>.btn-group:not(:last-child)>.btn,.input-group-btn:last-child>.btn:not(:last-child):not(.dropdown-toggle){border-top-right-radius:0;border-bottom-right-radius:0}.input-group-addon:first-child{border-right:0}.input-group .form-control:last-child,.input-group-addon:last-child,.input-group-btn:first-child>.btn-group:not(:first-child)>.btn,.input-group-btn:first-child>.btn:not(:first-child),.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group>.btn,.input-group-btn:last-child>.dropdown-toggle{border-top-left-radius:0;border-bottom-left-radius:0}.input-group-addon:last-child{border-left:0}.input-group-btn{position:relative;font-size:0;white-space:nowrap}.input-group-btn>.btn{position:relative}.input-group-btn>.btn+.btn{margin-left:-1px}.input-group-btn>.btn:active,.input-group-btn>.btn:focus,.input-group-btn>.btn:hover{z-index:2}.input-group-btn:first-child>.btn,.input-group-btn:first-child>.btn-group{margin-right:-1px}.input-group-btn:last-child>.btn,.input-group-btn:last-child>.btn-group{margin-left:-1px}.nav{padding-left:0;margin-bottom:0;list-style:none}.nav>li{position:relative;display:block}.nav>li>a{position:relative;display:block;padding:10px 15px}.nav>li>a:focus,.nav>li>a:hover{text-decoration:none;background-color:#eee}.nav>li.disabled>a{color:#777}.nav>li.disabled>a:focus,.nav>li.disabled>a:hover{color:#777;text-decoration:none;cursor:not-allowed;background-color:transparent}.nav .open>a,.nav .open>a:focus,.nav .open>a:hover{background-color:#eee;border-color:#337ab7}.nav .nav-divider{height:1px;margin:9px 0;overflow:hidden;background-color:#e5e5e5}.nav>li>a>img{max-width:none}.nav-tabs{border-bottom:1px solid #ddd}.nav-tabs>li{float:left;margin-bottom:-1px}.nav-tabs>li>a{margin-right:2px;line-height:1.42857143;border:1px solid transparent;border-radius:4px 4px 0 0}.nav-tabs>li>a:hover{border-color:#eee #eee #ddd}.nav-tabs>li.active>a,.nav-tabs>li.active>a:focus,.nav-tabs>li.active>a:hover{color:#555;cursor:default;background-color:#fff;border:1px solid #ddd;border-bottom-color:transparent}.nav-tabs.nav-justified{width:100%;border-bottom:0}.nav-tabs.nav-justified>li{float:none}.nav-tabs.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-tabs.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-tabs.nav-justified>li{display:table-cell;width:1%}.nav-tabs.nav-justified>li>a{margin-bottom:0}}.nav-tabs.nav-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs.nav-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs.nav-justified>.active>a,.nav-tabs.nav-justified>.active>a:focus,.nav-tabs.nav-justified>.active>a:hover{border-bottom-color:#fff}}.nav-pills>li{float:left}.nav-pills>li>a{border-radius:4px}.nav-pills>li+li{margin-left:2px}.nav-pills>li.active>a,.nav-pills>li.active>a:focus,.nav-pills>li.active>a:hover{color:#fff;background-color:#337ab7}.nav-stacked>li{float:none}.nav-stacked>li+li{margin-top:2px;margin-left:0}.nav-justified{width:100%}.nav-justified>li{float:none}.nav-justified>li>a{margin-bottom:5px;text-align:center}.nav-justified>.dropdown .dropdown-menu{top:auto;left:auto}@media (min-width:768px){.nav-justified>li{display:table-cell;width:1%}.nav-justified>li>a{margin-bottom:0}}.nav-tabs-justified{border-bottom:0}.nav-tabs-justified>li>a{margin-right:0;border-radius:4px}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border:1px solid #ddd}@media (min-width:768px){.nav-tabs-justified>li>a{border-bottom:1px solid #ddd;border-radius:4px 4px 0 0}.nav-tabs-justified>.active>a,.nav-tabs-justified>.active>a:focus,.nav-tabs-justified>.active>a:hover{border-bottom-color:#fff}}.tab-content>.tab-pane{display:none;visibility:hidden}.tab-content>.active{display:block;visibility:visible}.nav-tabs .dropdown-menu{margin-top:-1px;border-top-left-radius:0;border-top-right-radius:0}.navbar{position:relative;min-height:50px;margin-bottom:20px;border:1px solid transparent}@media (min-width:768px){.navbar{border-radius:4px}}@media (min-width:768px){.navbar-header{float:left}}.navbar-collapse{padding-right:15px;padding-left:15px;overflow-x:visible;-webkit-overflow-scrolling:touch;border-top:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1)}.navbar-collapse.in{overflow-y:auto}@media (min-width:768px){.navbar-collapse{width:auto;border-top:0;-webkit-box-shadow:none;box-shadow:none}.navbar-collapse.collapse{display:block!important;height:auto!important;padding-bottom:0;overflow:visible!important;visibility:visible!important}.navbar-collapse.in{overflow-y:visible}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse,.navbar-static-top .navbar-collapse{padding-right:0;padding-left:0}}.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:340px}@media (max-device-width:480px) and (orientation:landscape){.navbar-fixed-bottom .navbar-collapse,.navbar-fixed-top .navbar-collapse{max-height:200px}}.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:-15px;margin-left:-15px}@media (min-width:768px){.container-fluid>.navbar-collapse,.container-fluid>.navbar-header,.container>.navbar-collapse,.container>.navbar-header{margin-right:0;margin-left:0}}.navbar-static-top{z-index:1000;border-width:0 0 1px}@media (min-width:768px){.navbar-static-top{border-radius:0}}.navbar-fixed-bottom,.navbar-fixed-top{position:fixed;right:0;left:0;z-index:1030}@media (min-width:768px){.navbar-fixed-bottom,.navbar-fixed-top{border-radius:0}}.navbar-fixed-top{top:0;border-width:0 0 1px}.navbar-fixed-bottom{bottom:0;margin-bottom:0;border-width:1px 0 0}.navbar-brand{float:left;height:50px;padding:15px 15px;font-size:18px;line-height:20px}.navbar-brand:focus,.navbar-brand:hover{text-decoration:none}.navbar-brand>img{display:block}@media (min-width:768px){.navbar>.container .navbar-brand,.navbar>.container-fluid .navbar-brand{margin-left:-15px}}.navbar-toggle{position:relative;float:right;padding:9px 10px;margin-top:8px;margin-right:15px;margin-bottom:8px;background-color:transparent;background-image:none;border:1px solid transparent;border-radius:4px}.navbar-toggle:focus{outline:0}.navbar-toggle .icon-bar{display:block;width:22px;height:2px;border-radius:1px}.navbar-toggle .icon-bar+.icon-bar{margin-top:4px}@media (min-width:768px){.navbar-toggle{display:none}}.navbar-nav{margin:7.5px -15px}.navbar-nav>li>a{padding-top:10px;padding-bottom:10px;line-height:20px}@media (max-width:767px){.navbar-nav .open .dropdown-menu{position:static;float:none;width:auto;margin-top:0;background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none}.navbar-nav .open .dropdown-menu .dropdown-header,.navbar-nav .open .dropdown-menu>li>a{padding:5px 15px 5px 25px}.navbar-nav .open .dropdown-menu>li>a{line-height:20px}.navbar-nav .open .dropdown-menu>li>a:focus,.navbar-nav .open .dropdown-menu>li>a:hover{background-image:none}}@media (min-width:768px){.navbar-nav{float:left;margin:0}.navbar-nav>li{float:left}.navbar-nav>li>a{padding-top:15px;padding-bottom:15px}}.navbar-form{padding:10px 15px;margin-top:8px;margin-right:-15px;margin-bottom:8px;margin-left:-15px;border-top:1px solid transparent;border-bottom:1px solid transparent;-webkit-box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1);box-shadow:inset 0 1px 0 rgba(255,255,255,.1),0 1px 0 rgba(255,255,255,.1)}@media (min-width:768px){.navbar-form .form-group{display:inline-block;margin-bottom:0;vertical-align:middle}.navbar-form .form-control{display:inline-block;width:auto;vertical-align:middle}.navbar-form .form-control-static{display:inline-block}.navbar-form .input-group{display:inline-table;vertical-align:middle}.navbar-form .input-group .form-control,.navbar-form .input-group .input-group-addon,.navbar-form .input-group .input-group-btn{width:auto}.navbar-form .input-group>.form-control{width:100%}.navbar-form .control-label{margin-bottom:0;vertical-align:middle}.navbar-form .checkbox,.navbar-form .radio{display:inline-block;margin-top:0;margin-bottom:0;vertical-align:middle}.navbar-form .checkbox label,.navbar-form .radio label{padding-left:0}.navbar-form .checkbox input[type=checkbox],.navbar-form .radio input[type=radio]{position:relative;margin-left:0}.navbar-form .has-feedback .form-control-feedback{top:0}}@media (max-width:767px){.navbar-form .form-group{margin-bottom:5px}.navbar-form .form-group:last-child{margin-bottom:0}}@media (min-width:768px){.navbar-form{width:auto;padding-top:0;padding-bottom:0;margin-right:0;margin-left:0;border:0;-webkit-box-shadow:none;box-shadow:none}}.navbar-nav>li>.dropdown-menu{margin-top:0;border-top-left-radius:0;border-top-right-radius:0}.navbar-fixed-bottom .navbar-nav>li>.dropdown-menu{margin-bottom:0;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-right-radius:0;border-bottom-left-radius:0}.navbar-btn{margin-top:8px;margin-bottom:8px}.navbar-btn.btn-sm{margin-top:10px;margin-bottom:10px}.navbar-btn.btn-xs{margin-top:14px;margin-bottom:14px}.navbar-text{margin-top:15px;margin-bottom:15px}@media (min-width:768px){.navbar-text{float:left;margin-right:15px;margin-left:15px}}@media (min-width:768px){.navbar-left{float:left!important}.navbar-right{float:right!important;margin-right:-15px}.navbar-right~.navbar-right{margin-right:0}}.navbar-default{background-color:#f8f8f8;border-color:#e7e7e7}.navbar-default .navbar-brand{color:#777}.navbar-default .navbar-brand:focus,.navbar-default .navbar-brand:hover{color:#5e5e5e;background-color:transparent}.navbar-default .navbar-text{color:#777}.navbar-default .navbar-nav>li>a{color:#777}.navbar-default .navbar-nav>li>a:focus,.navbar-default .navbar-nav>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav>.active>a,.navbar-default .navbar-nav>.active>a:focus,.navbar-default .navbar-nav>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav>.disabled>a,.navbar-default .navbar-nav>.disabled>a:focus,.navbar-default .navbar-nav>.disabled>a:hover{color:#ccc;background-color:transparent}.navbar-default .navbar-toggle{border-color:#ddd}.navbar-default .navbar-toggle:focus,.navbar-default .navbar-toggle:hover{background-color:#ddd}.navbar-default .navbar-toggle .icon-bar{background-color:#888}.navbar-default .navbar-collapse,.navbar-default .navbar-form{border-color:#e7e7e7}.navbar-default .navbar-nav>.open>a,.navbar-default .navbar-nav>.open>a:focus,.navbar-default .navbar-nav>.open>a:hover{color:#555;background-color:#e7e7e7}@media (max-width:767px){.navbar-default .navbar-nav .open .dropdown-menu>li>a{color:#777}.navbar-default .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>li>a:hover{color:#333;background-color:transparent}.navbar-default .navbar-nav .open .dropdown-menu>.active>a,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.active>a:hover{color:#555;background-color:#e7e7e7}.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-default .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#ccc;background-color:transparent}}.navbar-default .navbar-link{color:#777}.navbar-default .navbar-link:hover{color:#333}.navbar-default .btn-link{color:#777}.navbar-default .btn-link:focus,.navbar-default .btn-link:hover{color:#333}.navbar-default .btn-link[disabled]:focus,.navbar-default .btn-link[disabled]:hover,fieldset[disabled] .navbar-default .btn-link:focus,fieldset[disabled] .navbar-default .btn-link:hover{color:#ccc}.navbar-inverse{background-color:#222;border-color:#080808}.navbar-inverse .navbar-brand{color:#9d9d9d}.navbar-inverse .navbar-brand:focus,.navbar-inverse .navbar-brand:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-text{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav>li>a:focus,.navbar-inverse .navbar-nav>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav>.active>a,.navbar-inverse .navbar-nav>.active>a:focus,.navbar-inverse .navbar-nav>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav>.disabled>a,.navbar-inverse .navbar-nav>.disabled>a:focus,.navbar-inverse .navbar-nav>.disabled>a:hover{color:#444;background-color:transparent}.navbar-inverse .navbar-toggle{border-color:#333}.navbar-inverse .navbar-toggle:focus,.navbar-inverse .navbar-toggle:hover{background-color:#333}.navbar-inverse .navbar-toggle .icon-bar{background-color:#fff}.navbar-inverse .navbar-collapse,.navbar-inverse .navbar-form{border-color:#101010}.navbar-inverse .navbar-nav>.open>a,.navbar-inverse .navbar-nav>.open>a:focus,.navbar-inverse .navbar-nav>.open>a:hover{color:#fff;background-color:#080808}@media (max-width:767px){.navbar-inverse .navbar-nav .open .dropdown-menu>.dropdown-header{border-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu .divider{background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a{color:#9d9d9d}.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>li>a:hover{color:#fff;background-color:transparent}.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.active>a:hover{color:#fff;background-color:#080808}.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:focus,.navbar-inverse .navbar-nav .open .dropdown-menu>.disabled>a:hover{color:#444;background-color:transparent}}.navbar-inverse .navbar-link{color:#9d9d9d}.navbar-inverse .navbar-link:hover{color:#fff}.navbar-inverse .btn-link{color:#9d9d9d}.navbar-inverse .btn-link:focus,.navbar-inverse .btn-link:hover{color:#fff}.navbar-inverse .btn-link[disabled]:focus,.navbar-inverse .btn-link[disabled]:hover,fieldset[disabled] .navbar-inverse .btn-link:focus,fieldset[disabled] .navbar-inverse .btn-link:hover{color:#444}.breadcrumb{padding:8px 15px;margin-bottom:20px;list-style:none;background-color:#f5f5f5;border-radius:4px}.breadcrumb>li{display:inline-block}.breadcrumb>li+li:before{padding:0 5px;color:#ccc;content:"/\00a0"}.breadcrumb>.active{color:#777}.pagination{display:inline-block;padding-left:0;margin:20px 0;border-radius:4px}.pagination>li{display:inline}.pagination>li>a,.pagination>li>span{position:relative;float:left;padding:6px 12px;margin-left:-1px;line-height:1.42857143;color:#337ab7;text-decoration:none;background-color:#fff;border:1px solid #ddd}.pagination>li:first-child>a,.pagination>li:first-child>span{margin-left:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.pagination>li:last-child>a,.pagination>li:last-child>span{border-top-right-radius:4px;border-bottom-right-radius:4px}.pagination>li>a:focus,.pagination>li>a:hover,.pagination>li>span:focus,.pagination>li>span:hover{color:#23527c;background-color:#eee;border-color:#ddd}.pagination>.active>a,.pagination>.active>a:focus,.pagination>.active>a:hover,.pagination>.active>span,.pagination>.active>span:focus,.pagination>.active>span:hover{z-index:2;color:#fff;cursor:default;background-color:#337ab7;border-color:#337ab7}.pagination>.disabled>a,.pagination>.disabled>a:focus,.pagination>.disabled>a:hover,.pagination>.disabled>span,.pagination>.disabled>span:focus,.pagination>.disabled>span:hover{color:#777;cursor:not-allowed;background-color:#fff;border-color:#ddd}.pagination-lg>li>a,.pagination-lg>li>span{padding:10px 16px;font-size:18px}.pagination-lg>li:first-child>a,.pagination-lg>li:first-child>span{border-top-left-radius:6px;border-bottom-left-radius:6px}.pagination-lg>li:last-child>a,.pagination-lg>li:last-child>span{border-top-right-radius:6px;border-bottom-right-radius:6px}.pagination-sm>li>a,.pagination-sm>li>span{padding:5px 10px;font-size:12px}.pagination-sm>li:first-child>a,.pagination-sm>li:first-child>span{border-top-left-radius:3px;border-bottom-left-radius:3px}.pagination-sm>li:last-child>a,.pagination-sm>li:last-child>span{border-top-right-radius:3px;border-bottom-right-radius:3px}.pager{padding-left:0;margin:20px 0;text-align:center;list-style:none}.pager li{display:inline}.pager li>a,.pager li>span{display:inline-block;padding:5px 14px;background-color:#fff;border:1px solid #ddd;border-radius:15px}.pager li>a:focus,.pager li>a:hover{text-decoration:none;background-color:#eee}.pager .next>a,.pager .next>span{float:right}.pager .previous>a,.pager .previous>span{float:left}.pager .disabled>a,.pager .disabled>a:focus,.pager .disabled>a:hover,.pager .disabled>span{color:#777;cursor:not-allowed;background-color:#fff}.label{display:inline;padding:.2em .6em .3em;font-size:75%;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;border-radius:.25em}a.label:focus,a.label:hover{color:#fff;text-decoration:none;cursor:pointer}.label:empty{display:none}.btn .label{position:relative;top:-1px}.label-default{background-color:#777}.label-default[href]:focus,.label-default[href]:hover{background-color:#5e5e5e}.label-primary{background-color:#337ab7}.label-primary[href]:focus,.label-primary[href]:hover{background-color:#286090}.label-success{background-color:#5cb85c}.label-success[href]:focus,.label-success[href]:hover{background-color:#449d44}.label-info{background-color:#5bc0de}.label-info[href]:focus,.label-info[href]:hover{background-color:#31b0d5}.label-warning{background-color:#f0ad4e}.label-warning[href]:focus,.label-warning[href]:hover{background-color:#ec971f}.label-danger{background-color:#d9534f}.label-danger[href]:focus,.label-danger[href]:hover{background-color:#c9302c}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:baseline;background-color:#777;border-radius:10px}.badge:empty{display:none}.btn .badge{position:relative;top:-1px}.btn-xs .badge{top:0;padding:1px 5px}a.badge:focus,a.badge:hover{color:#fff;text-decoration:none;cursor:pointer}.list-group-item.active>.badge,.nav-pills>.active>a>.badge{color:#337ab7;background-color:#fff}.list-group-item>.badge{float:right}.list-group-item>.badge+.badge{margin-right:5px}.nav-pills>li>a>.badge{margin-left:3px}.jumbotron{padding:30px 15px;margin-bottom:30px;color:inherit;background-color:#eee}.jumbotron .h1,.jumbotron h1{color:inherit}.jumbotron p{margin-bottom:15px;font-size:21px;font-weight:200}.jumbotron>hr{border-top-color:#d5d5d5}.container .jumbotron,.container-fluid .jumbotron{border-radius:6px}.jumbotron .container{max-width:100%}@media screen and (min-width:768px){.jumbotron{padding:48px 0}.container .jumbotron,.container-fluid .jumbotron{padding-right:60px;padding-left:60px}.jumbotron .h1,.jumbotron h1{font-size:63px}}.thumbnail{display:block;padding:4px;margin-bottom:20px;line-height:1.42857143;background-color:#fff;border:1px solid #ddd;border-radius:4px;-webkit-transition:border .2s ease-in-out;-o-transition:border .2s ease-in-out;transition:border .2s ease-in-out}.thumbnail a>img,.thumbnail>img{margin-right:auto;margin-left:auto}a.thumbnail.active,a.thumbnail:focus,a.thumbnail:hover{border-color:#337ab7}.thumbnail .caption{padding:9px;color:#333}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:4px}.alert h4{margin-top:0;color:inherit}.alert .alert-link{font-weight:700}.alert>p,.alert>ul{margin-bottom:0}.alert>p+p{margin-top:5px}.alert-dismissable,.alert-dismissible{padding-right:35px}.alert-dismissable .close,.alert-dismissible .close{position:relative;top:-2px;right:-21px;color:inherit}.alert-success{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.alert-success hr{border-top-color:#c9e2b3}.alert-success .alert-link{color:#2b542c}.alert-info{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.alert-info hr{border-top-color:#a6e1ec}.alert-info .alert-link{color:#245269}.alert-warning{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.alert-warning hr{border-top-color:#f7e1b5}.alert-warning .alert-link{color:#66512c}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.alert-danger hr{border-top-color:#e4b9c0}.alert-danger .alert-link{color:#843534}@-webkit-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@-o-keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}@keyframes progress-bar-stripes{from{background-position:40px 0}to{background-position:0 0}}.progress{height:20px;margin-bottom:20px;overflow:hidden;background-color:#f5f5f5;border-radius:4px;-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,.1);box-shadow:inset 0 1px 2px rgba(0,0,0,.1)}.progress-bar{float:left;width:0;height:100%;font-size:12px;line-height:20px;color:#fff;text-align:center;background-color:#337ab7;-webkit-box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);box-shadow:inset 0 -1px 0 rgba(0,0,0,.15);-webkit-transition:width .6s ease;-o-transition:width .6s ease;transition:width .6s ease}.progress-bar-striped,.progress-striped .progress-bar{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);-webkit-background-size:40px 40px;background-size:40px 40px}.progress-bar.active,.progress.active .progress-bar{-webkit-animation:progress-bar-stripes 2s linear infinite;-o-animation:progress-bar-stripes 2s linear infinite;animation:progress-bar-stripes 2s linear infinite}.progress-bar-success{background-color:#5cb85c}.progress-striped .progress-bar-success{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-info{background-color:#5bc0de}.progress-striped .progress-bar-info{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-warning{background-color:#f0ad4e}.progress-striped .progress-bar-warning{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.progress-bar-danger{background-color:#d9534f}.progress-striped .progress-bar-danger{background-image:-webkit-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:-o-linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent);background-image:linear-gradient(45deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%,transparent)}.media{margin-top:15px}.media:first-child{margin-top:0}.media,.media-body{overflow:hidden;zoom:1}.media-body{width:10000px}.media-object{display:block}.media-right,.media>.pull-right{padding-left:10px}.media-left,.media>.pull-left{padding-right:10px}.media-body,.media-left,.media-right{display:table-cell;vertical-align:top}.media-middle{vertical-align:middle}.media-bottom{vertical-align:bottom}.media-heading{margin-top:0;margin-bottom:5px}.media-list{padding-left:0;list-style:none}.list-group{padding-left:0;margin-bottom:20px}.list-group-item{position:relative;display:block;padding:10px 15px;margin-bottom:-1px;background-color:#fff;border:1px solid #ddd}.list-group-item:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.list-group-item:last-child{margin-bottom:0;border-bottom-right-radius:4px;border-bottom-left-radius:4px}a.list-group-item{color:#555}a.list-group-item .list-group-item-heading{color:#333}a.list-group-item:focus,a.list-group-item:hover{color:#555;text-decoration:none;background-color:#f5f5f5}.list-group-item.disabled,.list-group-item.disabled:focus,.list-group-item.disabled:hover{color:#777;cursor:not-allowed;background-color:#eee}.list-group-item.disabled .list-group-item-heading,.list-group-item.disabled:focus .list-group-item-heading,.list-group-item.disabled:hover .list-group-item-heading{color:inherit}.list-group-item.disabled .list-group-item-text,.list-group-item.disabled:focus .list-group-item-text,.list-group-item.disabled:hover .list-group-item-text{color:#777}.list-group-item.active,.list-group-item.active:focus,.list-group-item.active:hover{z-index:2;color:#fff;background-color:#337ab7;border-color:#337ab7}.list-group-item.active .list-group-item-heading,.list-group-item.active .list-group-item-heading>.small,.list-group-item.active .list-group-item-heading>small,.list-group-item.active:focus .list-group-item-heading,.list-group-item.active:focus .list-group-item-heading>.small,.list-group-item.active:focus .list-group-item-heading>small,.list-group-item.active:hover .list-group-item-heading,.list-group-item.active:hover .list-group-item-heading>.small,.list-group-item.active:hover .list-group-item-heading>small{color:inherit}.list-group-item.active .list-group-item-text,.list-group-item.active:focus .list-group-item-text,.list-group-item.active:hover .list-group-item-text{color:#c7ddef}.list-group-item-success{color:#3c763d;background-color:#dff0d8}a.list-group-item-success{color:#3c763d}a.list-group-item-success .list-group-item-heading{color:inherit}a.list-group-item-success:focus,a.list-group-item-success:hover{color:#3c763d;background-color:#d0e9c6}a.list-group-item-success.active,a.list-group-item-success.active:focus,a.list-group-item-success.active:hover{color:#fff;background-color:#3c763d;border-color:#3c763d}.list-group-item-info{color:#31708f;background-color:#d9edf7}a.list-group-item-info{color:#31708f}a.list-group-item-info .list-group-item-heading{color:inherit}a.list-group-item-info:focus,a.list-group-item-info:hover{color:#31708f;background-color:#c4e3f3}a.list-group-item-info.active,a.list-group-item-info.active:focus,a.list-group-item-info.active:hover{color:#fff;background-color:#31708f;border-color:#31708f}.list-group-item-warning{color:#8a6d3b;background-color:#fcf8e3}a.list-group-item-warning{color:#8a6d3b}a.list-group-item-warning .list-group-item-heading{color:inherit}a.list-group-item-warning:focus,a.list-group-item-warning:hover{color:#8a6d3b;background-color:#faf2cc}a.list-group-item-warning.active,a.list-group-item-warning.active:focus,a.list-group-item-warning.active:hover{color:#fff;background-color:#8a6d3b;border-color:#8a6d3b}.list-group-item-danger{color:#a94442;background-color:#f2dede}a.list-group-item-danger{color:#a94442}a.list-group-item-danger .list-group-item-heading{color:inherit}a.list-group-item-danger:focus,a.list-group-item-danger:hover{color:#a94442;background-color:#ebcccc}a.list-group-item-danger.active,a.list-group-item-danger.active:focus,a.list-group-item-danger.active:hover{color:#fff;background-color:#a94442;border-color:#a94442}.list-group-item-heading{margin-top:0;margin-bottom:5px}.list-group-item-text{margin-bottom:0;line-height:1.3}.panel{margin-bottom:20px;background-color:#fff;border:1px solid transparent;border-radius:4px;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.05);box-shadow:0 1px 1px rgba(0,0,0,.05)}.panel-body{padding:15px}.panel-heading{padding:10px 15px;border-bottom:1px solid transparent;border-top-left-radius:3px;border-top-right-radius:3px}.panel-heading>.dropdown .dropdown-toggle{color:inherit}.panel-title{margin-top:0;margin-bottom:0;font-size:16px;color:inherit}.panel-title>.small,.panel-title>.small>a,.panel-title>a,.panel-title>small,.panel-title>small>a{color:inherit}.panel-footer{padding:10px 15px;background-color:#f5f5f5;border-top:1px solid #ddd;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.list-group,.panel>.panel-collapse>.list-group{margin-bottom:0}.panel>.list-group .list-group-item,.panel>.panel-collapse>.list-group .list-group-item{border-width:1px 0;border-radius:0}.panel>.list-group:first-child .list-group-item:first-child,.panel>.panel-collapse>.list-group:first-child .list-group-item:first-child{border-top:0;border-top-left-radius:3px;border-top-right-radius:3px}.panel>.list-group:last-child .list-group-item:last-child,.panel>.panel-collapse>.list-group:last-child .list-group-item:last-child{border-bottom:0;border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel-heading+.list-group .list-group-item:first-child{border-top-width:0}.list-group+.panel-footer{border-top-width:0}.panel>.panel-collapse>.table,.panel>.table,.panel>.table-responsive>.table{margin-bottom:0}.panel>.panel-collapse>.table caption,.panel>.table caption,.panel>.table-responsive>.table caption{padding-right:15px;padding-left:15px}.panel>.table-responsive:first-child>.table:first-child,.panel>.table:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child,.panel>.table:first-child>thead:first-child>tr:first-child{border-top-left-radius:3px;border-top-right-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:first-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:first-child,.panel>.table:first-child>thead:first-child>tr:first-child td:first-child,.panel>.table:first-child>thead:first-child>tr:first-child th:first-child{border-top-left-radius:3px}.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table-responsive:first-child>.table:first-child>thead:first-child>tr:first-child th:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child td:last-child,.panel>.table:first-child>tbody:first-child>tr:first-child th:last-child,.panel>.table:first-child>thead:first-child>tr:first-child td:last-child,.panel>.table:first-child>thead:first-child>tr:first-child th:last-child{border-top-right-radius:3px}.panel>.table-responsive:last-child>.table:last-child,.panel>.table:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child{border-bottom-right-radius:3px;border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:first-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:first-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:first-child{border-bottom-left-radius:3px}.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table-responsive:last-child>.table:last-child>tfoot:last-child>tr:last-child th:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child td:last-child,.panel>.table:last-child>tbody:last-child>tr:last-child th:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child td:last-child,.panel>.table:last-child>tfoot:last-child>tr:last-child th:last-child{border-bottom-right-radius:3px}.panel>.panel-body+.table,.panel>.panel-body+.table-responsive,.panel>.table+.panel-body,.panel>.table-responsive+.panel-body{border-top:1px solid #ddd}.panel>.table>tbody:first-child>tr:first-child td,.panel>.table>tbody:first-child>tr:first-child th{border-top:0}.panel>.table-bordered,.panel>.table-responsive>.table-bordered{border:0}.panel>.table-bordered>tbody>tr>td:first-child,.panel>.table-bordered>tbody>tr>th:first-child,.panel>.table-bordered>tfoot>tr>td:first-child,.panel>.table-bordered>tfoot>tr>th:first-child,.panel>.table-bordered>thead>tr>td:first-child,.panel>.table-bordered>thead>tr>th:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:first-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:first-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:first-child,.panel>.table-responsive>.table-bordered>thead>tr>td:first-child,.panel>.table-responsive>.table-bordered>thead>tr>th:first-child{border-left:0}.panel>.table-bordered>tbody>tr>td:last-child,.panel>.table-bordered>tbody>tr>th:last-child,.panel>.table-bordered>tfoot>tr>td:last-child,.panel>.table-bordered>tfoot>tr>th:last-child,.panel>.table-bordered>thead>tr>td:last-child,.panel>.table-bordered>thead>tr>th:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>td:last-child,.panel>.table-responsive>.table-bordered>tbody>tr>th:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>td:last-child,.panel>.table-responsive>.table-bordered>tfoot>tr>th:last-child,.panel>.table-responsive>.table-bordered>thead>tr>td:last-child,.panel>.table-responsive>.table-bordered>thead>tr>th:last-child{border-right:0}.panel>.table-bordered>tbody>tr:first-child>td,.panel>.table-bordered>tbody>tr:first-child>th,.panel>.table-bordered>thead>tr:first-child>td,.panel>.table-bordered>thead>tr:first-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:first-child>th,.panel>.table-responsive>.table-bordered>thead>tr:first-child>td,.panel>.table-responsive>.table-bordered>thead>tr:first-child>th{border-bottom:0}.panel>.table-bordered>tbody>tr:last-child>td,.panel>.table-bordered>tbody>tr:last-child>th,.panel>.table-bordered>tfoot>tr:last-child>td,.panel>.table-bordered>tfoot>tr:last-child>th,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>td,.panel>.table-responsive>.table-bordered>tbody>tr:last-child>th,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>td,.panel>.table-responsive>.table-bordered>tfoot>tr:last-child>th{border-bottom:0}.panel>.table-responsive{margin-bottom:0;border:0}.panel-group{margin-bottom:20px}.panel-group .panel{margin-bottom:0;border-radius:4px}.panel-group .panel+.panel{margin-top:5px}.panel-group .panel-heading{border-bottom:0}.panel-group .panel-heading+.panel-collapse>.list-group,.panel-group .panel-heading+.panel-collapse>.panel-body{border-top:1px solid #ddd}.panel-group .panel-footer{border-top:0}.panel-group .panel-footer+.panel-collapse .panel-body{border-bottom:1px solid #ddd}.panel-default{border-color:#ddd}.panel-default>.panel-heading{color:#333;background-color:#f5f5f5;border-color:#ddd}.panel-default>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ddd}.panel-default>.panel-heading .badge{color:#f5f5f5;background-color:#333}.panel-default>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ddd}.panel-primary{border-color:#337ab7}.panel-primary>.panel-heading{color:#fff;background-color:#337ab7;border-color:#337ab7}.panel-primary>.panel-heading+.panel-collapse>.panel-body{border-top-color:#337ab7}.panel-primary>.panel-heading .badge{color:#337ab7;background-color:#fff}.panel-primary>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#337ab7}.panel-success{border-color:#d6e9c6}.panel-success>.panel-heading{color:#3c763d;background-color:#dff0d8;border-color:#d6e9c6}.panel-success>.panel-heading+.panel-collapse>.panel-body{border-top-color:#d6e9c6}.panel-success>.panel-heading .badge{color:#dff0d8;background-color:#3c763d}.panel-success>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#d6e9c6}.panel-info{border-color:#bce8f1}.panel-info>.panel-heading{color:#31708f;background-color:#d9edf7;border-color:#bce8f1}.panel-info>.panel-heading+.panel-collapse>.panel-body{border-top-color:#bce8f1}.panel-info>.panel-heading .badge{color:#d9edf7;background-color:#31708f}.panel-info>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#bce8f1}.panel-warning{border-color:#faebcc}.panel-warning>.panel-heading{color:#8a6d3b;background-color:#fcf8e3;border-color:#faebcc}.panel-warning>.panel-heading+.panel-collapse>.panel-body{border-top-color:#faebcc}.panel-warning>.panel-heading .badge{color:#fcf8e3;background-color:#8a6d3b}.panel-warning>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#faebcc}.panel-danger{border-color:#ebccd1}.panel-danger>.panel-heading{color:#a94442;background-color:#f2dede;border-color:#ebccd1}.panel-danger>.panel-heading+.panel-collapse>.panel-body{border-top-color:#ebccd1}.panel-danger>.panel-heading .badge{color:#f2dede;background-color:#a94442}.panel-danger>.panel-footer+.panel-collapse>.panel-body{border-bottom-color:#ebccd1}.embed-responsive{position:relative;display:block;height:0;padding:0;overflow:hidden}.embed-responsive .embed-responsive-item,.embed-responsive embed,.embed-responsive iframe,.embed-responsive object,.embed-responsive video{position:absolute;top:0;bottom:0;left:0;width:100%;height:100%;border:0}.embed-responsive.embed-responsive-16by9{padding-bottom:56.25%}.embed-responsive.embed-responsive-4by3{padding-bottom:75%}.well{min-height:20px;padding:19px;margin-bottom:20px;background-color:#f5f5f5;border:1px solid #e3e3e3;border-radius:4px;-webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,.05);box-shadow:inset 0 1px 1px rgba(0,0,0,.05)}.well blockquote{border-color:#ddd;border-color:rgba(0,0,0,.15)}.well-lg{padding:24px;border-radius:6px}.well-sm{padding:9px;border-radius:3px}.close{float:right;font-size:21px;font-weight:700;line-height:1;color:#000;text-shadow:0 1px 0 #fff;filter:alpha(opacity=20);opacity:.2}.close:focus,.close:hover{color:#000;text-decoration:none;cursor:pointer;filter:alpha(opacity=50);opacity:.5}button.close{-webkit-appearance:none;padding:0;cursor:pointer;background:0 0;border:0}.modal-open{overflow:hidden}.modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1040;display:none;overflow:hidden;-webkit-overflow-scrolling:touch;outline:0}.modal.fade .modal-dialog{-webkit-transition:-webkit-transform .3s ease-out;-o-transition:-o-transform .3s ease-out;transition:transform .3s ease-out;-webkit-transform:translate(0,-25%);-ms-transform:translate(0,-25%);-o-transform:translate(0,-25%);transform:translate(0,-25%)}.modal.in .modal-dialog{-webkit-transform:translate(0,0);-ms-transform:translate(0,0);-o-transform:translate(0,0);transform:translate(0,0)}.modal-open .modal{overflow-x:hidden;overflow-y:auto}.modal-dialog{position:relative;width:auto;margin:10px}.modal-content{position:relative;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #999;border:1px solid rgba(0,0,0,.2);border-radius:6px;outline:0;-webkit-box-shadow:0 3px 9px rgba(0,0,0,.5);box-shadow:0 3px 9px rgba(0,0,0,.5)}.modal-backdrop{position:absolute;top:0;right:0;left:0;background-color:#000}.modal-backdrop.fade{filter:alpha(opacity=0);opacity:0}.modal-backdrop.in{filter:alpha(opacity=50);opacity:.5}.modal-header{min-height:16.43px;padding:15px;border-bottom:1px solid #e5e5e5}.modal-header .close{margin-top:-2px}.modal-title{margin:0;line-height:1.42857143}.modal-body{position:relative;padding:15px}.modal-footer{padding:15px;text-align:right;border-top:1px solid #e5e5e5}.modal-footer .btn+.btn{margin-bottom:0;margin-left:5px}.modal-footer .btn-group .btn+.btn{margin-left:-1px}.modal-footer .btn-block+.btn-block{margin-left:0}.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}@media (min-width:768px){.modal-dialog{width:600px;margin:30px auto}.modal-content{-webkit-box-shadow:0 5px 15px rgba(0,0,0,.5);box-shadow:0 5px 15px rgba(0,0,0,.5)}.modal-sm{width:300px}}@media (min-width:1052px){.modal-lg{width:900px}}.tooltip{position:absolute;z-index:1070;display:block;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:12px;font-weight:400;line-height:1.4;visibility:visible;filter:alpha(opacity=0);opacity:0}.tooltip.in{filter:alpha(opacity=90);opacity:.9}.tooltip.top{padding:5px 0;margin-top:-3px}.tooltip.right{padding:0 5px;margin-left:3px}.tooltip.bottom{padding:5px 0;margin-top:3px}.tooltip.left{padding:0 5px;margin-left:-3px}.tooltip-inner{max-width:200px;padding:3px 8px;color:#fff;text-align:center;text-decoration:none;background-color:#000;border-radius:4px}.tooltip-arrow{position:absolute;width:0;height:0;border-color:transparent;border-style:solid}.tooltip.top .tooltip-arrow{bottom:0;left:50%;margin-left:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-left .tooltip-arrow{right:5px;bottom:0;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.top-right .tooltip-arrow{bottom:0;left:5px;margin-bottom:-5px;border-width:5px 5px 0;border-top-color:#000}.tooltip.right .tooltip-arrow{top:50%;left:0;margin-top:-5px;border-width:5px 5px 5px 0;border-right-color:#000}.tooltip.left .tooltip-arrow{top:50%;right:0;margin-top:-5px;border-width:5px 0 5px 5px;border-left-color:#000}.tooltip.bottom .tooltip-arrow{top:0;left:50%;margin-left:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-left .tooltip-arrow{top:0;right:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.tooltip.bottom-right .tooltip-arrow{top:0;left:5px;margin-top:-5px;border-width:0 5px 5px;border-bottom-color:#000}.popover{position:absolute;top:0;left:0;z-index:1060;display:none;max-width:276px;padding:1px;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;font-weight:400;line-height:1.42857143;text-align:left;white-space:normal;background-color:#fff;-webkit-background-clip:padding-box;background-clip:padding-box;border:1px solid #ccc;border:1px solid rgba(0,0,0,.2);border-radius:6px;-webkit-box-shadow:0 5px 10px rgba(0,0,0,.2);box-shadow:0 5px 10px rgba(0,0,0,.2)}.popover.top{margin-top:-10px}.popover.right{margin-left:10px}.popover.bottom{margin-top:10px}.popover.left{margin-left:-10px}.popover-title{padding:8px 14px;margin:0;font-size:14px;background-color:#f7f7f7;border-bottom:1px solid #ebebeb;border-radius:5px 5px 0 0}.popover-content{padding:9px 14px}.popover>.arrow,.popover>.arrow:after{position:absolute;display:block;width:0;height:0;border-color:transparent;border-style:solid}.popover>.arrow{border-width:11px}.popover>.arrow:after{content:"";border-width:10px}.popover.top>.arrow{bottom:-11px;left:50%;margin-left:-11px;border-top-color:#999;border-top-color:rgba(0,0,0,.25);border-bottom-width:0}.popover.top>.arrow:after{bottom:1px;margin-left:-10px;content:" ";border-top-color:#fff;border-bottom-width:0}.popover.right>.arrow{top:50%;left:-11px;margin-top:-11px;border-right-color:#999;border-right-color:rgba(0,0,0,.25);border-left-width:0}.popover.right>.arrow:after{bottom:-10px;left:1px;content:" ";border-right-color:#fff;border-left-width:0}.popover.bottom>.arrow{top:-11px;left:50%;margin-left:-11px;border-top-width:0;border-bottom-color:#999;border-bottom-color:rgba(0,0,0,.25)}.popover.bottom>.arrow:after{top:1px;margin-left:-10px;content:" ";border-top-width:0;border-bottom-color:#fff}.popover.left>.arrow{top:50%;right:-11px;margin-top:-11px;border-right-width:0;border-left-color:#999;border-left-color:rgba(0,0,0,.25)}.popover.left>.arrow:after{right:1px;bottom:-10px;content:" ";border-right-width:0;border-left-color:#fff}.carousel{position:relative}.carousel-inner{position:relative;width:100%;overflow:hidden}.carousel-inner>.item{position:relative;display:none;-webkit-transition:.6s ease-in-out left;-o-transition:.6s ease-in-out left;transition:.6s ease-in-out left}.carousel-inner>.item>a>img,.carousel-inner>.item>img{line-height:1}@media all and (transform-3d),(-webkit-transform-3d){.carousel-inner>.item{-webkit-transition:-webkit-transform .6s ease-in-out;-o-transition:-o-transform .6s ease-in-out;transition:transform .6s ease-in-out;-webkit-backface-visibility:hidden;backface-visibility:hidden;-webkit-perspective:1000;perspective:1000}.carousel-inner>.item.active.right,.carousel-inner>.item.next{left:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}.carousel-inner>.item.active.left,.carousel-inner>.item.prev{left:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}.carousel-inner>.item.active,.carousel-inner>.item.next.left,.carousel-inner>.item.prev.right{left:0;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}}.carousel-inner>.active,.carousel-inner>.next,.carousel-inner>.prev{display:block}.carousel-inner>.active{left:0}.carousel-inner>.next,.carousel-inner>.prev{position:absolute;top:0;width:100%}.carousel-inner>.next{left:100%}.carousel-inner>.prev{left:-100%}.carousel-inner>.next.left,.carousel-inner>.prev.right{left:0}.carousel-inner>.active.left{left:-100%}.carousel-inner>.active.right{left:100%}.carousel-control{position:absolute;top:0;bottom:0;left:0;width:15%;font-size:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6);filter:alpha(opacity=50);opacity:.5}.carousel-control.left{background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);background-repeat:repeat-x}.carousel-control.right{right:0;left:auto;background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);background-repeat:repeat-x}.carousel-control:focus,.carousel-control:hover{color:#fff;text-decoration:none;filter:alpha(opacity=90);outline:0;opacity:.9}.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{position:absolute;top:50%;z-index:5;display:inline-block}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{left:50%;margin-left:-10px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{right:50%;margin-right:-10px}.carousel-control .icon-next,.carousel-control .icon-prev{width:20px;height:20px;margin-top:-10px;font-family:serif;line-height:1}.carousel-control .icon-prev:before{content:'\2039'}.carousel-control .icon-next:before{content:'\203a'}.carousel-indicators{position:absolute;bottom:10px;left:50%;z-index:15;width:60%;padding-left:0;margin-left:-30%;text-align:center;list-style:none}.carousel-indicators li{display:inline-block;width:10px;height:10px;margin:1px;text-indent:-999px;cursor:pointer;background-color:#000 \9;background-color:rgba(0,0,0,0);border:1px solid #fff;border-radius:10px}.carousel-indicators .active{width:12px;height:12px;margin:0;background-color:#fff}.carousel-caption{position:absolute;right:15%;bottom:20px;left:15%;z-index:10;padding-top:20px;padding-bottom:20px;color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,.6)}.carousel-caption .btn{text-shadow:none}@media screen and (min-width:768px){.carousel-control .glyphicon-chevron-left,.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next,.carousel-control .icon-prev{width:30px;height:30px;margin-top:-15px;font-size:30px}.carousel-control .glyphicon-chevron-left,.carousel-control .icon-prev{margin-left:-15px}.carousel-control .glyphicon-chevron-right,.carousel-control .icon-next{margin-right:-15px}.carousel-caption{right:20%;left:20%;padding-bottom:30px}.carousel-indicators{bottom:20px}}.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{display:table;content:" "}.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.form-horizontal .form-group:after,.modal-footer:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after{clear:both}.center-block{display:block;margin-right:auto;margin-left:auto}.pull-right{float:right!important}.pull-left{float:left!important}.hide{display:none!important}.show{display:block!important}.invisible{visibility:hidden}.text-hide{font:0/0 a;color:transparent;text-shadow:none;background-color:transparent;border:0}.hidden{display:none!important;visibility:hidden!important}.affix{position:fixed}@-ms-viewport{width:device-width}.visible-lg,.visible-md,.visible-sm,.visible-xs{display:none!important}.visible-lg-block,.visible-lg-inline,.visible-lg-inline-block,.visible-md-block,.visible-md-inline,.visible-md-inline-block,.visible-sm-block,.visible-sm-inline,.visible-sm-inline-block,.visible-xs-block,.visible-xs-inline,.visible-xs-inline-block{display:none!important}@media (max-width:767px){.visible-xs{display:block!important}table.visible-xs{display:table}tr.visible-xs{display:table-row!important}td.visible-xs,th.visible-xs{display:table-cell!important}}@media (max-width:767px){.visible-xs-block{display:block!important}}@media (max-width:767px){.visible-xs-inline{display:inline!important}}@media (max-width:767px){.visible-xs-inline-block{display:inline-block!important}}@media (min-width:768px) and (max-width:1051px){.visible-sm{display:block!important}table.visible-sm{display:table}tr.visible-sm{display:table-row!important}td.visible-sm,th.visible-sm{display:table-cell!important}}@media (min-width:768px) and (max-width:1051px){.visible-sm-block{display:block!important}}@media (min-width:768px) and (max-width:1051px){.visible-sm-inline{display:inline!important}}@media (min-width:768px) and (max-width:991px){.visible-sm-inline-block{display:inline-block!important}}@media (min-width:1052px) and (max-width:1259px){.visible-md{display:block!important}table.visible-md{display:table}tr.visible-md{display:table-row!important}td.visible-md,th.visible-md{display:table-cell!important}}@media (min-width:1052px) and (max-width:1259px){.visible-md-block{display:block!important}}@media (min-width:1052px) and (max-width:1259px){.visible-md-inline{display:inline!important}}@media (min-width:1052px) and (max-width:1259px){.visible-md-inline-block{display:inline-block!important}}@media (min-width:1260px){.visible-lg{display:block!important}table.visible-lg{display:table}tr.visible-lg{display:table-row!important}td.visible-lg,th.visible-lg{display:table-cell!important}}@media (min-width:1260px){.visible-lg-block{display:block!important}}@media (min-width:1260px){.visible-lg-inline{display:inline!important}}@media (min-width:1260px){.visible-lg-inline-block{display:inline-block!important}}@media (max-width:767px){.hidden-xs{display:none!important}}@media (min-width:768px) and (max-width:1051px){.hidden-sm{display:none!important}}@media (min-width:1052px) and (max-width:1259px){.hidden-md{display:none!important}}@media (min-width:1260px){.hidden-lg{display:none!important}}.visible-print{display:none!important}@media print{.visible-print{display:block!important}table.visible-print{display:table}tr.visible-print{display:table-row!important}td.visible-print,th.visible-print{display:table-cell!important}}.visible-print-block{display:none!important}@media print{.visible-print-block{display:block!important}}.visible-print-inline{display:none!important}@media print{.visible-print-inline{display:inline!important}}.visible-print-inline-block{display:none!important}@media print{.visible-print-inline-block{display:inline-block!important}}@media print{.hidden-print{display:none!important}} \ No newline at end of file diff --git a/themes/toutpratique/css/global.css b/themes/toutpratique/css/global.css new file mode 100644 index 00000000..86cb9ce5 --- /dev/null +++ b/themes/toutpratique/css/global.css @@ -0,0 +1,2903 @@ +html { background: #ffffff } +body { background: #ffffff; font-family: 'GothamRndLight'; font-size: 16px; margin: 0 } +body.content_only { margin: 0 } +.container.main, +.container.account { min-height: 300px; padding: 30px 15px } +.container.products { padding: 30px 15px 0 15px } + +.bg-pink { background: #e4535d } + +/************************************************************************************************************* +**************************************** INDEX ****************************************** +**************************************************************************************************************/ + +#header { + background: #0e0e0e; + position: relative; + z-index: 1000; +} + #header #header_logo { + float: left; + position: relative; + z-index: 12; + } + #header #mainmenu { + float: left; + margin-left: 10px; + } + #header #mainmenu > ul { + list-style: none; + padding: 0; + margin: 46px 0 0 0; + } + #header #mainmenu > ul > li > ul { display: none } + #header #mainmenu > ul > li:first-child > a { font-family: 'GothamRndMedium' } + #header #mainmenu > ul > li { + float: left; + font-size: 18px; + padding: 0 25px 9px 25px; + } + #header #mainmenu li a { + color: #fff; + } + +/* Sous-menu LG-MD */ +@media (min-width: 1052px) { + #header #mainmenu > ul > li:first-child .submenu { + background: #f0f0f0; + box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); + left: 50%; + margin: 9px 0 0 -570px; + min-height: 0; + max-height: 0; + overflow: hidden; + position: absolute; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + width: 1140px; + } + #header #mainmenu > ul > li:first-child:hover .submenu { min-height: 350px; max-height: 500px } + #header #mainmenu li .submenu ul { + padding: 35px 40px; + } + #header #mainmenu li ul li { + display: block; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + width: 260px; + z-index: 1; + } + header #mainmenu li ul li:hover { padding-left: 20px; z-index: 2 } + #header #mainmenu li ul li a { + color: #1c1c1c; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 9px 0 9px 30px; + position: relative; + } + #header #mainmenu li ul li:hover a { color: #b4293c; text-decoration: none; } + #header #mainmenu li ul li a i { + background-position: -112px -40px; + height: 25px; + left: 0; + position: absolute; + top: 6px; + width: 25px; + } + #header #mainmenu li ul li:hover a i { background-position: -216px -40px } + header #mainmenu li ul li div { + left: 300px; + opacity: 0; + position: absolute; + right: 40px; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + top: 35px; + z-index: 1; + } + header #mainmenu li ul li:hover div { opacity: 1; z-index: 2; } + header #mainmenu li ul li div p { + color: #333; + float: left; + font-size: 36px; + text-transform: uppercase; + width: 40%; + } + header #mainmenu li ul li div img { + float: left; + margin-left: 5%; + width: 50%; + } +} + + #languages, #header-cart, #infos-client, #header-search { + float: right; + } + #header-cart { + margin: 11px 0 0 15px; + } + #infos-client .logout { + background: url('../img/sprite-icons.png') no-repeat -250px -110px; + } + #infos-client .logout, + #header-cart > span { + background-color: #b4293c; + border-radius: 50%; + color: #fff; + display: block; + height: 26px; + line-height: 26px; + margin: 0 0 0 4px; + text-align: center; + width: 26px; + } + #header-cart > span { margin-bottom: 1px } + #header-cart > a { + text-decoration: none; + } + #header-cart > a .icon { + background-position: 0 0; + } + #header-cart .cart_block { + box-shadow: 0 0 6px rgba(0, 0, 0, 0.2); + display: none; + margin-right: -570px; + position: absolute; + right: 50%; + top: 73px; + width: 300px; + z-index: 100; + } + #header-cart .cart_block .block_content { background: #b4293c; margin: 8px 0 0 0 } + #header-cart .cart_block .products { + background: #f0f0f0; + margin: 8px 0 0 0; + } + #header-cart .cart_block .products dt { + border-bottom: 1px solid #e5e5e5; + font-size: 0; + padding: 15px 0; + position: relative; + overflow: hidden; + } + #header-cart .cart_block .products dt a.cart-images { + display: inline-block; + padding: 0 0 0 15px; + vertical-align: top; + width: 25%; + } + #header-cart .cart_block .products dt a.cart-images img { + display: block; + width: 100%; + } + #header-cart .cart_block .products dt .cart-info { + font-family: 'GothamRndBook'; + font-size: 14px; + font-weight: normal; + display: inline-block; + padding: 0 15px; + vertical-align: middle; + width: 75%; + } + #header-cart .cart_block .products dt .cart-info .product-name { + margin-bottom: 5px; + } + #header-cart .cart_block .products dt .cart-info .product-name a { + color: #2d2b33 + } + #header-cart .cart_block .products dt .cart-info .product-atributes a { + color: #999; + } + #header-cart .cart_block .products dt .cart-info .price { + color: #000; + font-family: 'GothamRndLight'; + font-size: 20px; + } + #header-cart .cart_block .products dt .remove_link { + bottom: 15px; + position: absolute; + right: 5px; + } + #header-cart .cart_block .products dt .remove_link a { background-position: -34px -36px; } + #header-cart .cart_block .cart-prices { + overflow: hidden; + padding: 15px 0; + } + #header-cart .cart_block .cart-prices .cart-prices-line { + clear: both; + color: #fff; + margin-left: 25%; + padding: 0 15px; + width: 75%; + } + #header-cart .cart_block .cart-prices .cart-prices-line span { + font-size: 14px; + float: left; + padding: 5px 0 0 0; + } + #header-cart .cart_block .cart-prices .cart-prices-line span.price { + font-size: 20px; + float: right; + padding: 0; + } + #header-cart .cart_block .cart-prices .cart-prices-line span.ajax_cart_shipping_cost { font-size: 14px } + #header-cart .cart_block .cart-prices .cart-prices-line span.ajax_cart_shipping_cost + span { padding: 0; } + #header-cart .cart_block .cart-buttons { + margin: 0 0 0 25%; + padding: 0 15px; + } + #header-cart .cart_block .cart-buttons .btn { + border: 2px solid #fff; + border-radius: 2px; + font-size: 18px; + height: auto; + margin: 0 0 15px 0; + padding: 8px 65px 9px 15px; + text-align: left; + width: 100%; + } + #header-cart .cart_block .cart-buttons .btn i { background-position: 0 0 } + #header-cart .cart_block .cart-buttons .btn:hover i { background-position: -34px 0 } + #infos-client { + margin: 37px 0 0 15px; + } + #infos-client.logged { margin: 11px 0 0 15px; } + #infos-client a { + text-decoration: none; + } + #infos-client a .icon { + background-position: -210px -209px + } + #infos-client .account-links { + display: none; + } + #header-search { + margin: 37px 0 0 15px; + position: relative; + } + #header-search > a { + text-decoration: none; + } + #header-search > a .icon { + background-position: -70px 0px + } + #header-search #searchbox { + display: none; + position: absolute; + right: 0; + top: 43px; + width: 580px; + z-index: 5; + } + #header-search #searchbox input { + background: #000; + border: 0; + border-radius: 0; + color: #fff; + font-size: 18px; + float: left; + height: 55px; + padding: 15px; + width: 500px; + } + #header-search #searchbox button { + background: #000; + border: 0; + border-radius: 0; + color: #fff; + cursor: pointer; + float: left; + height: 55px; + text-transform: uppercase; + width: 80px; + } + body .ac_results { + border: 0; + display: block; + z-index: 5; + } + body .ac_results li { + color: #2d2b33; + font-size: 18px; + padding: 15px 30px 15px 30px; + } + body .ac_results li.ac_odd { background: #ebebeb; } + body .ac_results li.ac_even { background: #dfdedd; } + body .ac_results li.ac_over { background: #333; color: #fff; cursor: pointer } + #languages ul { + font-size: 14px; + list-style: none; + margin: 0; + padding: 0; + text-transform: uppercase; + } + #languages li { + float: left; + } + #languages li span { + color: #fff; + display: block; + padding: 7px 13px; + } + #languages li.selected span, + #languages li:hover span { + background: #fff; + color: #000; + } + #languages li a { + text-decoration: none; + } + +#homepage-slider { + overflow: hidden; + position: relative; +} + +@media screen and (max-width: 767px) { + .flex-direction-nav .flex-prev { + display: none; + } + .flex-direction-nav .flex-next { + display: none; + } +} + + #homepage-slider .homeslider-description { + top: 50%; + color: #fff; + font-size: 24px; + left: 50%; + margin: -200px 0 0 -575px; + position: absolute; + width: 520px; + } + #homepage-slider .homeslider-description .homeslider-title span { + color: #fff; + display: block; + font-size: 66px; + line-height: 78px; + text-transform: uppercase; + } + #homepage-slider .homeslider-description .homeslider-title span.bold { + font-family: 'GothamBold'; + font-size: 57px; + } + #homepage-slider .homeslider-description a.btn { + margin: 40px 0 0 0; + } + #homepage-slider .flex-direction-nav { + height: 64px; + left: 0; + margin: -32px 0 0 0; + position: absolute; + right: 0; + top: 50%; + } + #homepage-slider .flex-direction-nav a { + background-color: #000; + height: 64px; + margin: -32px 0 0 0; + opacity: 0.7; + position: absolute; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + width: 64px; + z-index: 99; + } + #homepage-slider .flex-direction-nav a:hover { opacity: 1 } + #homepage-slider .flex-direction-nav a.flex-prev { left: 0 } + #homepage-slider .flex-direction-nav a.flex-next { right: 0 } + #homepage-slider .flex-direction-nav a i { + margin: 15px auto 0 auto; + } + #homepage-slider .flex-direction-nav a.flex-prev i { background-position: -106px 0 } + #homepage-slider .flex-direction-nav a.flex-next i { background-position: -140px 0 } + +#index main { + clear: both; + padding: 30px 15px 0 15px; +} +#index .bloc-link .link:hover { text-decoration: none } + #index .single { + padding: 0 15px 30px 15px; + } + #index .single .bg { + height: 420px; + position: relative; + } + #index .single .bg { + color: #fff; + padding: 25px; + } + #index .single .bg .title-bloc { + font-size: 36px; + margin: 0 0 10px 0; + text-transform: uppercase; + } + #index .single .bg .subtitle-bloc { + font-size: 14px; + } + #index .single .bg .link { + bottom: 15px; + color: #fff; + position: absolute; + right: 15px; + } + + #index .multi { + padding: 0 0 30px 0; + } + #index .multi .left > div { + color: #333; + height: 210px; + padding: 20px; + position: relative; + } + #index .multi .left .first { + display: inline-block; + padding: 0 0 30px 0; + width: 100%; + } + /* FIRST */ + #index .multi .left .first a, + #index .multi .left .first span { + color: #fff; + display: inline-block; + font-size: 24px; + height: 100%; + text-align: center; + vertical-align: middle; + width: 100%; + } + + + #index .multi .left .first a { padding-top: 70px; } + #index .multi .left .first span { padding-top: 55px; } + + /* NORMAL */ + #index .multi .left > div .title-bloc { + font-family: 'GothamRndMedium'; + font-size: 16px; + margin: 0 0 20px 0; + } + #index .multi .left > div .subtitle-bloc { + font-size: 14px; + width: 50%; + } + #index .multi .left > div .link { + bottom: 20px; + color: #333; + font-family: 'GothamRndMedium'; + font-size: 16px; + position: absolute; + left: 20px; + } + + #index .multi .right > div { + color: #333; + display: inline-block; + height: 420px; + padding: 20px; + position: relative; + width: 100%; + } + + #index .multi .right > div .title-bloc { + font-size: 36px; + margin: 0 0 10px 0; + } + #index .multi .right > div .subtitle-bloc { + font-size: 14px; + } + #index .multi .right > div .link { + bottom: 20px; + color: #333; + font-family: 'GothamRndMedium'; + font-size: 16px; + position: absolute; + right: 20px; + } +#footer { + background: #ebebeb; +} + #footer > .container { padding: 30px 15px } + #footer #reinsurance { + background: #b4293c; + color: #fff; + padding: 15px 0; + } + #footer #reinsurance .border { + border: 1px solid #da949e; + margin: 15px 0; + padding: 10px; + text-align: center; + } + #footer #reinsurance .border img { + display: block; + margin: 0 auto; + } + #footer h5 { + color: #141414; + font-family: 'GothamRndMedium'; + font-size: 16px; + margin: 0 0 6px 0; + } + #footer .categories, + #footer .links, + #footer .social { + margin: 0 0 30px 0; + } + #footer .categories ul, + #footer .links ul, + #footer .social ul { + font-size: 14px; + list-style: none; + margin: 0 0 px 0; + padding: 0; + } + #footer .categories li, + #footer .links li { + padding: 3px 0; + } + #footer .categories li a, + #footer .links li a { + color: #141414; + } + #footer .newsletter p { + color: #141414; + font-size: 14px; + line-height: 25px; + margin: 0 0 10px 0; + } + #footer .newsletter form { + margin: 14px 0 25px 0; + overflow: hidden; + } + #footer .newsletter .form-group input { + border: 1px solid #2b2b2b; + border-radius: 2px 0 0 2px; + color: #666; + float: left; + font-size: 14px; + height: 42px; + line-height: unset; + padding: 10px; + width: 60%; + } + #footer .newsletter .form-group button { + background: #000; + border-radius: 0 2px 2px 0; + float: left; + font-family: 'GothamRndBook'; + font-size: 14px; + height: 42px; + padding: 10px 5px; + margin: 0 0 0 -3px; + width: 40%; + } + #footer .social li { + float: left; + margin: 5px 0 0 13px; + } + #footer .social li:first-child { margin: 5px 0 0 0; } + #footer .social li a { + background: url('../img/sprite-icons.png') no-repeat -14px -151px; + display: block; + height: 46px; + width: 46px; + } + #footer .social li.facebook a:hover { background-position: -14px -82px } + #footer .social li.twitter a { background-position: -82px -152px } + #footer .social li.twitter a:hover { background-position: -82px -82px } + #footer .social li.google-plus a { background-position: -152px -152px } + #footer .social li.google-plus a:hover { background-position: -152px -82px } + +@media (max-width: 1260px) { + #header #mainmenu > ul > li { float: left; font-size: 16px; padding: 0 15px } + #header-cart { margin: 12px 0 0 10px } + #header-cart .cart_block { margin-right: -470px; } + #infos-client, #search { margin: 37px 0 0 10px } + + #homepage-slider .homeslider-description { font-size: 16px; margin: -140px 0 0 -470px; width: 400px } + #homepage-slider .homeslider-description .homeslider-title span { font-size: 50px; line-height: 39px } + #homepage-slider .homeslider-description .homeslider-title span.bold { font-size: 32px } +} +@media (max-width: 1052px) { + body { margin: 0 } + #header #menu-mobile { float: left; margin: 36px 0 0 10px; position: relative; z-index: 12 } + #header #menu-mobile i { background-position: -210px -105px } + #header #menu-mobile.open i { background-position: -245px -70px } + #header #mainmenu { background: rgba(0, 0, 0, 0); bottom: 0; left: -101%; margin: 0; position: fixed; width: 100%; top: 0; transition: background 0.3s ease 0s; z-index: 0; } + #header #mainmenu.open { background: rgba(0, 0, 0, 0.5);left: 0; z-index: 10; } + #header #mainmenu > ul { background: #0e0e0e; height: 100%; left: -101%; margin: 0; padding-top: 80px; position: absolute; transition: all 0.3s ease 0s; width: 50% } + #header #mainmenu.open > ul { left: 0 } + #header #mainmenu.scrolled { top: 0 } + #header #mainmenu.scrolled > ul { padding-top: 0; } + #header #mainmenu li { width: 100% } + #header #mainmenu > ul > li > a { border-bottom: 1px solid rgba(255, 255, 255, 0.3); color: #fff; display: block; font-size: 18px; padding: 20px 70px 20px 20px; position: relative; width: 100%; } + #header #mainmenu > ul > li > a:after { background: url('../img/sprite-icons.png') no-repeat -140px -5px; content: ""; height: 35px; margin: -12px 0 0 0; position: absolute; right: 20px; top: 50%; width: 35px; } + #header #mainmenu > ul > li:first-child > a:after { background: url('../img/sprite-icons.png') no-repeat -210px -145px; } + #header #mainmenu > ul > li:first-child > a.open:after { background: url('../img/sprite-icons.png') no-repeat -246px -145px; } + #header #mainmenu > ul > li > a:hover { background: #b4293c; text-decoration: none; } + #header #mainmenu > ul > li > a + .submenu { max-height: 0; overflow: hidden; transition: all 0.3s ease 0s } + #header #mainmenu > ul > li > a.open { background: #b4293c; text-decoration: none; } + #header #mainmenu > ul > li > a.open + .submenu { max-height: 500px; overflow: hidden } + #header #mainmenu > ul > li li a { display: block; padding: 15px 0 5px 50px } + #header #mainmenu > ul > li li a i { display: none } + #header #mainmenu li ul li div { display: none } + #languages { margin: 0 0 0 -90px; position: fixed; bottom: -100px; left: 50%; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s; transition: all 0.3s ease 0s; z-index: 100 } + #languages.open { bottom: 10px } + #header-cart .cart_block { margin-right: -360px; } + #header-cart .arrow-up { right: 9px } + #header-search { position: static } + #header-search #searchbox { left: 0; top: auto; width: 100% } + #header-search #searchbox input { width: 80% } + #header-search #searchbox button { width: 20% } + body .ac_results { width: 100% !important } + #homepage-slider .homeslider-description { margin: -140px 0 0 -360px; width: 350px } + + #index .single, #index .multi { float: left; width: 100%; } + + #footer #reinsurance { font-size: 14px } + #footer .newsletter p { display: none; } + #footer .social li { display: inline-block; float: none; margin-left: 10px; } +} +@media (max-width: 767px) { + + #header #mainmenu ul { width: 80% } + + #homepage-slider { overflow: hidden; } + #homepage-slider .bx-wrapper { min-width: 400px } + #homepage-slider .homeslider-description { font-size: 14px; left: 20px; margin: 0; top: 80px; width: 285px } + #homepage-slider .homeslider-description .homeslider-title span { font-size: 34px; line-height: 30px } + #homepage-slider .homeslider-description .homeslider-title span.bold { font-size: 22px } + #homepage-slider .homeslider-description > div { display: none } + #homepage-slider .homeslider-description a.btn { margin: 10px 0 0 0; padding: 10px 50px 10px 20px;} + #homepage-slider .bx-controls { display: none } + + #header-cart .cart_block { margin-right: 0; right: 0px } + #header-cart .arrow-up { right: 22px } + #index main { padding: 15px 15px 0 15px } + #index .single, #index .multi, #index .multi .left, #index .multi .left .first { padding-bottom: 15px } + + #footer #reinsurance { font-size: 16px; padding: 0; } +} + +@media (max-width: 500px) { + #infos-client, #infos-client.logged, #header-search, #header-cart { margin-left: 10px } + + #header-cart .cart_block { width: 100% } + #header #mainmenu > ul > li > a { padding: 15px 70px 15px 20px; } + #homepage-slider .homeslider-description { top: 30px } + #homepage-slider .homeslider-description .homeslider-title span { font-size: 28px } + #homepage-slider .homeslider-description .homeslider-title span.bold { font-size: 18px } + #homepage-slider .homeslider-description a.btn { font-size: 18px; height: auto; margin: 0; padding: 5px 50px 5px 15px; } + #footer { text-align: center } +} + + +/************************************************************************************************************* +*************************************** CATEGORY **************************************** +**************************************************************************************************************/ +#category { + +} + #category header.page-heading h1 { + margin: 60px 0 20px 0; + text-transform: uppercase + } + #category header.page-heading .description { + color: #fff; + font-family: 'GothamRndBook'; + font-size: 16px; + } + #category header.page-heading .category-img img { + float: right; + } + #subcategories { + background: #f6f6f6; + } + #subcategories ul { + list-style: none; + } + #subcategories li { + float: left; + margin: 0 10px 0 0; + padding: 15px; + } + #subcategories li.active, + #subcategories li:hover { background: #fff } + #subcategories h2 { + margin: 0; + } + #subcategories a { + color: #333; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + text-align: center; + width: 100px; + } + #subcategories a { text-decoration: none } + #subcategories img { + display: block; + } + + .products #filters { + + } + .products #layered_form { + margin: 0 0 25px 0; + } + .products #enabled_filters ul { + list-style: none; + margin: 0; + padding: 0; + } + .products #enabled_filters.active ul { margin-top: 10px } + .products #enabled_filters ul li { + color: #333; + font-family: 'GothamRndBook'; + font-size: 14px; + float: left; + margin: 0 30px 0 0; + padding: 5px 50px 5px 0; + position: relative; + } + .products #enabled_filters ul li a { + background:url('../img/sprite-icons.png') no-repeat -36px -38px; + height: 30px; + margin: -15px 0 0 0; + position: absolute; + right: 10px; + top: 50%; + width: 30px; + } + + #pagination_bottom .showall { + clear: both; + float: right; + } + #pagination_bottom button { + border: 0; + background: none; + } + #pagination_bottom ul { + clear: both; + font-family: "GothamRndMedium"; + font-size: 16px; + font-weight: normal; + margin: 15px 0; + } + #pagination_bottom ul li { + float: left; + margin: 0 5px; + } + #pagination_bottom ul li.active span, #pagination_bottom ul li:hover a { background: #b4293c; border-color: #b4293c; color: #fff; text-decoration: none; } + #pagination_bottom ul li > a, #pagination_bottom ul li > span { + border: 1px solid #e5e5e5; + color: #333; + display: block; + height: 100%; + padding: 10px 12px; + text-align: center; + width: 38px; + } + #pagination_bottom ul li.pagination_previous > a, #pagination_bottom ul li.pagination_previous > span, + #pagination_bottom ul li.pagination_next > a, #pagination_bottom ul li.pagination_next > span { width: auto; } + #pagination_bottom ul li.active a { color: #b4293c } + #pagination_bottom ul li b { + font-weight: normal; + } + .banner { + color: #fff; + padding: 160px 0; + text-align: center; + } + .banner h4 { + font-size: 48px; + margin-top: 50px; + } + +@media (max-width: 1052px) { + header.page-heading h1 { font-size: 36px; margin: 20px 0 } + header.page-heading .sub-heading { margin: -10px 0 0 } + #category header.page-heading .category-img img { float: none; margin: 0 auto } + .products #filters .layered_filter { margin-top: 15px } +} +@media (max-width: 767px) { + header.page-heading h1 { font-size: 28px } +} + +/************************************************************************************************************* +*************************************** PRODUCT ***************************************** +**************************************************************************************************************/ + +#product .content { + +} +#product .frame { + padding: 25px; +} + +#product .frame .container { padding: 0; width: 100% } + #product h1 { + color: #000; + font-size: 48px; + } + #product .frame h1 { margin: 0 0 10px 0 } + #product #image-block { + padding: 15px; + position: relative; + } + #product #image-block .zoomPad { + width: 90%; + } + #product .extension #image-block img, + #product #image-block img { + display: block; + height: auto; + width: 100%; + } + #product #image-block .zoomPad .zoomWindow img { + margin: 600px 0 0 600px; + } + #product #image-block #thumbs_list { + clear: both; + float: left; + } + #product #image-block #thumbs_list li { + display: inline-block; + margin: 0 20px 0 0; + } + #product #image-block #thumbs_list li a img { + border: 1px solid #fff; + } + #product #image-block #thumbs_list li a.zoomThumbActive img, + #product #image-block #thumbs_list li a:hover img { border: 1px solid #b4293c } + #product #main-info { + padding: 15px; + } + #product #main-info .resume { + color: #000; + font-family: 'GothamRndMedium'; + font-size: 18px; + margin: 0 0 60px 0; + } + #product .extension #main-info .resume { margin: 0 } + #product .extension #main-info .full { + color: #333; + font-family: 'GothamRndBook'; + font-size: 14px; + } + #product #main-info #attributes label { + font-family: 'GothamRndBook'; + font-size: 14px; + font-weight: normal; + } + #product #main-info #attributes label { + font-family: 'GothamRndBook'; + font-size: 14px; + font-weight: normal; + } + #product #main-info #attributes fieldset { + margin-bottom: 30px; + padding: 0; + } + #product #main-info #attributes .color li { + border: 3px solid #fff; + border-radius: 50%; + float: left; + margin: 0 4px; + overflow: hidden; + height: 46px; + width: 46px; + } + #product #main-info #attributes .color li a { + box-shadow: inset 4px 4px 4px rgba(0, 0, 0, 0.2); + border-radius: 50%; + display: block; + height: 40px; + width: 40px; + } + #product #main-info #attributes .color img { height: 100%; width: 100% } + #product #main-info #attributes .color li:hover, + #product #main-info #attributes .color li.selected { background: #b4293c; border: 3px solid #b4293c } + + #product #main-info #attributes fieldset select { + width: 270px; + } + #product #main-info .price { + position: relative; + padding: 0 80px 0 0; + } + #product #main-info .price .current-price { + color: #000; + font-size: 48px; + } + #product #main-info .price .old-price { + color: #000; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: 0 0 0 10px; + } + #product #main-info .price .ecotax { + color: #999; + font-family: 'GothamRndBook'; + font-size: 14px; + line-height: 18px; + margin: 0 0 40px 0; + } + #product #main-info .price .product-reduction { + top: 18px; + } + #product .cta-product { + padding: 0; + } + #product .box-cart-bottom { + float: left; + } + #product #main-info .share { + border: 2px solid #dbdbdb; + border-radius: 2px; + position: absolute; + right: 0; + z-index: 900; + } + #product #main-info .share button.trigger { + background: url('../img/sprite-icons.png') no-repeat -135px -30px; + border: 0; + display: block; + height: 46px; + width: 46px; + } + #product #main-info .share button.trigger.open { background: url('../img/sprite-icons.png') no-repeat -239px -204px } + #product #main-info .share .trigger-content { + background: #fff; + height: 0; + opacity: 0; + overflow: hidden; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + #product #main-info .share .trigger-content.open { height: 230px; opacity: 1 } + #product #main-info .share ul { + width: 49px; + } + #product #main-info .share li a i { + margin: 10px 6px; + padding: 2px; + opacity: 0.7; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + #product #main-info .share li a:hover i { opacity: 1 } + #product #main-info .share li i.mail { background-position: -106px -213px } + #product #main-info .share li i.print { background-position: -140px -213px } + #product #main-info .share li i.twitter { background-position: -36px -213px } + #product #main-info .share li i.facebook { background-position: -1px -213px } + #product #main-info .share li i.google-plus { background-position: -72px -213px } + #product #send_friend_form .product { + padding: 0; + } + #product #send_friend_form .closefb { + float: left; + margin-top: 12px; + } + #product #send_friend_form .btn i { + background-position: -210px -173px; + } + + #product .product-menu { + background: #b4293c; + left: 30px; + margin: -85px 0 0 0; + position: absolute; + right: 30px; + z-index: 800; + } + #product .product-menu.stack { margin: 0; position: fixed; top: 0 } + #product .product-menu li { + float: left; + } + #product .product-menu li a { + color: #fff; + display: block; + font-family: 'GothamRndMedium'; + font-size: 18px; + padding: 30px 25px; + } + #product .product-menu li a.active, #product .product-menu li a:hover { + background: #fff; + color: #b4293c; + text-decoration: none; + } + #product #description { + color: #fff; + margin-bottom: 60px; + padding: 35px 0; + } + #product .pictos { + font-family: 'GothamRndBook'; + font-size: 14px; + text-align: center; + } + #product .pictos .picto { + border-top: 2px solid rgba(255, 255, 255, 0.3); + height: 150px; + } + #product .pictos .picto:first-child, #product .pictos .picto:first-child + .picto, #product .pictos .picto:first-child + .picto + .picto { border: 0 } + #product .pictos .clear:first-child { border: 0 } + #product .pictos .picto { + padding: 15px; + } + #product .pictos img { + display: block; + margin: 0 auto 10px auto; + } + #product #features [class^="col-"], #product #downloads [class^="col-"], + #product #features [class*="col-"], #product #downloads [class*="col-"] { + padding: 0; + } + #product #features-docs { + margin-bottom: 60px; + } + #product #features-docs ul { + border-top: 1px solid #e5e5e5; + } + #product #features-docs li { + border-bottom: 1px solid #e5e5e5; + color: #000; + font-family: 'GothamRndBook'; + font-size: 14px; + overflow: hidden; + + } + #product #features li { + padding: 13px 0; + } + #product #downloads li { + padding: 6px 0; + } + #product #downloads li div:first-child { + padding: 7px 0; + } + #product #downloads li a { + float: right; + font-size: 14px; + height: auto; + padding: 7px 50px 7px 10px; + } + + #product .extension .customizationUploadBrowseDescription { + margin-bottom: 0; + } + #product .extension .formats { + color: #999; + display: block; + font-size: 14px; + margin-bottom: 10px; + } + #product .extension .price { + margin-top: 20px; + } + +@media (max-width: 1260px) { + #product #main-info #attributes .color li { height: 36px; width: 36px } + #product #main-info #attributes .color li a { height: 32px; width: 32px } + + #product #main-info .price .current-price { display: block; } + #product #main-info .price .old-price { display: block; margin: -10px 0 0 0 } +} + +@media (max-width: 1052px) { + + #product #image-block #thumbs_list { width: 100% } + #product #image-block #thumbs_list ul { text-align: center } + + #product #main-info { clear: both } + + #product #main-info #attributes fieldset:last-child label { margin-left: 90px; } + #product #main-info #attributes fieldset:last-child .selector { float: right; } + + #product #main-info .box-cart-bottom { margin: 18px 0 0 90px } + #product .extension #main-info .box-cart-bottom { margin: 0 } + #product #main-info .box-cart-bottom .btn { font-size: 16px; padding: 13px 50px 13px 15px } + #product #main-info .share { margin: 18px 0 0 0 } + + #product #image-block #thumbnail { border: 1px solid #e5e5e5; } + #product #image-block #thumbnail #thumbs_list { background: #e5e5e5; } + #product #image-block #thumbnail #thumbs_list ul { padding: 20px; } + #product #image-block #thumbnail #thumbs_list li { margin: 5px 5px 0 0; } + + #product div.uploader span.filename { width: 470px } + + #product .product-menu { left: 0; margin: -82px 0 0 0; right: 0 } + #product .product-menu li a { font-size: 16px; left: 0; padding: 30px 20px; right: 0; } + + #product #description .contenu { margin: 0 0 40px 0 } + + #product #features { margin: 0 0 30px 0 } +} +@media (max-width: 767px) { + #product h1 { font-size: 36px } + #product .content { margin-bottom: 30px } + #product #main-info .box-cart-bottom, #product #main-info .share { margin: 0 } + #product #main-info #attributes fieldset:last-child label { margin: 0 0 5px 0 } + #product #main-info #attributes fieldset:last-child .selector { float: left } + + #product #main-info .share { top: -90px } + #product #main-info .box-cart-bottom { width: 100% } + #product #main-info .box-cart-bottom .btn { width: 100%; } + #product #main-info .resume { margin-bottom: 20px; } + + #product #description { margin-top: -115px; } + #product #main-info #attributes fieldset select { width: 100% } + + #product div.uploader span.filename { width: 65% } + #product div.uploader span.action { padding: 12px 5px 10px 5px; width: 30% } + + #product .pictos .picto { height: 175px; padding-top: 25px; } +} +@media (max-width: 500px) { + #product h1 { font-size: 24px } + #product #main-info .price, #product .cta-product { margin: 0 } + #product #main-info #attributes fieldset { margin: 0 0 30px 0 } + + #product #main-info .price .current-price { font-size: 34px } + #product #main-info .price .product-reduction { top: 12px } + + #product .pictos .picto { height: auto; margin-left: 10%; width: 80% } + #product .pictos .picto:first-child + .picto, #product .pictos .picto:first-child + .picto + .picto { border-top: 2px solid rgba(255, 255, 255, 0.3) } + + #product #features li span:first-child, #product #downloads li div:first-child { font-family: 'GothamBold' } + #product #features li span:last-child { padding-left: 15px } + + #product #downloads li a { width: 100%; } + #product .zoomPreload, #product .zoomPup, #product .zoomWindow { display: none !important } +} + + +/************************************************************************************************************* +*************************************** POPUP PANIER ***************************************** +**************************************************************************************************************/ +.layer_cart_overlay { + background: rgba(197, 197, 197, 0.9); + display: none; + height: 100%; + left: 0; + position: fixed; + width: 100%; + z-index: 999; +} +#layer_cart { + display: none; + padding: 0 120px; + position: absolute; + z-index: 1000; +} + #layer_cart .cross { + background: #000; + cursor: pointer; + display: block; + height: 55px; + padding: 10px 0 0 10px; + position: absolute; + right: 65px; + top: 0; + width: 55px; + z-index: 2; + } + #layer_cart .cross i { + background-position: -246px -71px; + } + #layer_cart .bg { + background: #fff; + overflow: hidden; + padding: 15px 15px 0 15px; + } + #layer_cart .layer_cart_product { + margin-bottom: 25px; + } + #layer_cart .layer_cart_product .subtitle { + padding-right: 60px; + } + #layer_cart .layer_cart_product .product-box { + padding-left: 30px; + } + #layer_cart .layer_cart_product .product-infos { + background: #f0f0f0; + overflow: hidden; + padding: 15px 1px; + } + #layer_cart .layer_cart_product .product-infos .product-image-container { + height: 170px; + overflow: hidden; + width: 225px; + } + #layer_cart .layer_cart_product .product-infos .product-image-container img { + display: block; + margin: 0; + max-width: 100%; + max-height: 100%; + } + #layer_cart .layer_cart_product .product-infos .product-name { + color: #333; + font-family: 'GothamRndMedium'; + margin: 25px 0 10px 0; + } + #layer_cart .layer_cart_product .product-infos .product-attributes { + color: #999; + margin: 0 0 10px 0; + } + #layer_cart .layer_cart_product .product-infos .prices { + float: left; + margin: 5px 0 0 0; + padding-right: 90px; + position: relative; + } + #layer_cart .layer_cart_product .product-infos .prices .product-price { + color: #000; + font-size: 36px; + margin-right: 15px; + } + #layer_cart .layer_cart_product .product-infos .prices .product-old-price { + color: #999; + font-family: 'GothamRndBook'; + font-size: 14px; + } + #layer_cart .layer_cart_product .product-infos .prices .product-reduction { + height: 40px; + line-height: 40px; + top: 15px; + width: 60px; + } + #layer_cart .layer_cart_cart .button-container .continue { + cursor: pointer; + float: left; + font-family: 'GothamRndMedium'; + font-size: 18px; + margin-top: 10px; + } + #layer_cart .layer_cart_cart .button-container .btn { + float: right; + } + #layer_cart .crossseling { + margin-top: 30px; + } + #layer_cart .crossseling .product-container .product-infos h5.product-name { + height: 40px; + margin: 5px 0 0; + } + +@media (max-width: 1260px) { + #layer_cart { padding: 0 60px; } + #layer_cart .cross { right: 60px } + + #layer_cart .layer_cart_product .product-infos .product-image-container { height: 160px; width: 200px } + #layer_cart .layer_cart_product .product-infos .product-image-container img { margin: -4px 0 0 0 } + #layer_cart .layer_cart_product .product-box { padding-left: 25px } +} + +@media (max-width: 1052px) { + #layer_cart { left: 10px; padding: 0; right: 10px; } + #layer_cart .cross { right: 0 } + + #layer_cart .layer_cart_product .product-box { padding-left: 10px } + #layer_cart .layer_cart_product .product-infos .product-name { margin-top: 5px; } + #layer_cart .layer_cart_product .product-infos .prices .product-price { display: block; margin-bottom: -10px } + #layer_cart .layer_cart_product .product-infos .prices .product-reduction { height: 56px; line-height: 56px; width: 56px; top: 9px; } +} +@media (max-width: 767px) { + #layer_cart .subtitle { font-family: 'GothamRndMedium'; font-size: 18px; line-height: 24px } + #layer_cart .layer_cart_product .product-infos .product-image-container { height: 100px; width: 130px } + #layer_cart .layer_cart_product .product-infos .product-image-container img { margin: 0 } + #layer_cart .layer_cart_product .product-infos .product-name { margin: 0 } + #layer_cart .layer_cart_product .product-infos .product-attributes { margin: 0 } + #layer_cart .layer_cart_product .product-infos .prices { margin: 0 } + #layer_cart .crossseling .product-container .product-infos h5.product-name { height: 60px } + #layer_cart .layer_cart_product .product-infos .prices .product-price { font-size: 28px } + #layer_cart .layer_cart_product .product-infos .prices .product-reduction { height: 50px; line-height: 50px; width: 56px; top: 6px; } + + #layer_cart .crossseling .product-container:last-child { display: none } +} +@media (max-width: 570px) { + #layer_cart .layer_cart_cart .button-container .continue { border: 1px solid #b4293c; padding: 10px; text-align: center; width: 100% } + #layer_cart .layer_cart_cart .button-container .continue i { left: 10px; } + #layer_cart .layer_cart_cart .button-container .btn { margin-top: 10px; width: 100% } +} +@media (max-width: 500px) { + #layer_cart .layer_cart_product .product-infos .product-image-container { margin-left: 10%; height: auto; margin-bottom: 10px; width: 80%; } + #layer_cart .layer_cart_product .product-infos { position: relative; } + #layer_cart .layer_cart_product .product-box { position: static; text-align: center } + #layer_cart .layer_cart_product .product-infos .prices { padding: 0 15px; position: static; width: 100%; } + #layer_cart .layer_cart_product .product-infos .prices .product-reduction { right: 0; top: 0; } + #layer_cart .crossseling .product-container:last-child { display: block } + #layer_cart .layer_cart_product .product-infos .product-attributes { margin-bottom: 10px } + #layer_cart .layer_cart_product .product-infos .prices .product-price { font-size: 36px; margin: 0 0 -10px 0 } + #layer_cart .layer_cart_product .product-infos .prices .product-reduction { height: 56px; line-height: 56px; width: 56px; top: 0px; } +} + + +/************************************************************************************************************* +****************************************** PANIER ******************************************** +**************************************************************************************************************/ +#order_step { + font-size: 18px; +} + #order_step li, + #order_step li.step_todo.first { + background: #fff; + border-left: 2px solid #f0f0f0; + color: #333; + font-family: 'GothamRndMedium'; + padding: 30px 10px 10px 20px; + } + #order_step li.step_todo { + background: #b4293c; + border-left: 2px solid #a0162e; + color: #fff; + font-family: 'GothamRndLight'; + } + #order_step li.step_current { border-left: 2px solid #9d152d } + #order_step li.step_done { background: #f0f0f0; border-left: 2px solid #9d152d } + #order_step li:first-child { border-left: 2px solid #fff } + #order_step li a { color: #333; } +#shopping-cart { + padding: 20px 15px; +} +#shopping-cart #shopping-cart-products .image { + height: 105px; + overflow: hidden; +} + #shopping-cart #shopping-cart-products .image img { + margin-top: 5px; + max-width: 141px; + max-height: 105px; + } + #shopping-cart #shopping-cart-products .inner > div { + position: static + } + #shopping-cart #shopping-cart-products .product-name { + display: block; + font-family: 'GothamRndMedium'; + line-height: 20px; + } + #shopping-cart #shopping-cart-products .product-attributes { + color: #999; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: 5px 0 0 0; + } + #shopping-cart .delete { + bottom: 19px; + margin-left: -10px; + position: absolute; + } + #shopping-cart .delete a { + background-position: -34px -36px; + } + #shopping-cart #shopping-cart-products .price { + color: #000; + font-size: 24px; + padding-right: 10px; + } + #shopping-cart #shopping-cart-products .old-price { + color: #999; + font-family: 'GothamRndBook'; + font-size: 14px; + } + #shopping-cart #shopping-cart-products .taxes { + bottom: 25px; + position: absolute; + } + #shopping-cart #shopping-cart-products .taxes li { + border-left: 1px solid #999; + color: #999; + float: left; + font-family: 'GothamRndBook'; + font-size: 14px; + line-height: 12px; + padding: 0 8px 0 7px; + } + #shopping-cart #shopping-cart-products .taxes li:first-child { border: 0; padding-left: 0; } + #shopping-cart .cart_quantity_button .cart_quantity_up, + #shopping-cart .cart_quantity_button .cart_quantity_down { + background: #dbdbdb; + border-radius: 2px; + float: left; + padding: 0 2px; + } + #shopping-cart .cart_quantity_button .cart_quantity_input { + border: 2px solid #dbdbdb; + border-radius: 2px; + color: #999; + float: left; + height: 35px; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: 0 2px; + text-align: center; + width: 55px; + } + #shopping-cart #shopping-cart-products .total { + color: #000; + font-size: 24px; + padding-left: 30px; + text-align: right; + } + #shopping-cart #calcul { + background: transparent; + } + #shopping-cart #calcul .border { + margin-top: 15px; + } + #shopping-cart #calcul .discount_form .form-group { + position: relative; + margin: 0 0 40px 0; + } + #shopping-cart #calcul .discount_form .form-group .inner { + position: relative; + } + #shopping-cart #calcul .discount_form label { + color: #333; + font-family: 'GothamRndMedium'; + font-size: 18px; + margin-bottom: 10px; + } + #shopping-cart #calcul .discount_form .discount_name { + border: 2px solid #dbdbdb; + border-radius: 2px; + height: 40px; + padding-right: 65px; + width: 100%; + } + #shopping-cart #calcul .discount_form .btn { + border-radius: 0 2px 2px 0; + font-family: 'GothamRndMedium'; + font-size: 16px; + height: 40px; + line-height: 40px; + padding: 0; + position: absolute; + right: 0; + text-transform: uppercase; + text-align: center; + top: 0; + width: 65px; + } + #shopping-cart #calcul .line { + border-top: 1px solid #e5e5e5; + color: #333; + clear: both; + font-family: 'GothamRndBook'; + font-size: 14px; + overflow: hidden; + padding: 10px 0; + } + #shopping-cart #calcul .line:first-child { border: 0 } + #shopping-cart #calcul .line > div:first-child { + padding: 7px 0 0 0; + } + #shopping-cart #calcul .line > div:last-child { + font-family: 'GothamRndLight'; + font-size: 24px; + text-align: right; + } + #shopping-cart #calcul .line #total_tax { + font-family: 'GothamRndLight'; + font-size: 24px; + } + #shopping-cart #calcul .line > div.label-total-price { + padding: 30px 0 0 0; + } + #shopping-cart #calcul #total_price { + color: #b4293c; + font-size: 48px; + } + .cart_navigation { + margin: 20px 0 0 0; + } + .cart_navigation .btn-cart { + float: right; + } + .cart_navigation .btn-cancel { + float: left; + } + #shopping-cart .extension { + position: relative; + } + #shopping-cart .extension .inner { + background: #deeee6; + } + #shopping-cart #shopping-cart-products .table-row { + margin: 10px 0; + padding: 15px 0; + } + #shopping-cart #calcul.table-row { margin: 10px -15px 0 -15px; } + #shopping-cart #shopping-cart-products .extension .image { + height: auto; + padding-left: 0; + } + #shopping-cart #shopping-cart-products .extension .image img { + margin-top: 0; + width: 100px; + } + #shopping-cart #shopping-cart-products .extension .image .custom-checkbox { + float: right; + margin-top: 24px; + } + #shopping-cart #shopping-cart-products .extension .product-infos > span { + color: #333; + display: block; + font-family: 'GothamRndMedium'; + font-size: 16px; + margin: 15px 0 5px 0; + } + #shopping-cart #shopping-cart-products .extension .product-infos span:last-child { + color: #999; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: 0; + } + #shopping-cart #shopping-cart-products .extension .total { + color: #3d8e66; + margin: 24px 0 16px 0; + } + +@media (max-width: 1260px) { + #shopping-cart .cart_quantity_button .cart_quantity_up, #shopping-cart .cart_quantity_button .cart_quantity_down { padding: 0 } + #shopping-cart .cart_quantity_button .cart_quantity_input { margin: 0 -2px } + #shopping-cart #shopping-cart-products .extension .image .custom-checkbox { margin: 24px 0 0 5px; } + #shopping-cart #shopping-cart-products .extension .image .custom-checkbox:after { margin-right: 0 } +} +@media (max-width: 1052px) { + #shopping-cart #shopping-cart-products .inner > .image { height: 150px; margin-left: 0; position: absolute; left: 15px; z-index: 1; } + #shopping-cart #shopping-cart-products .image img { margin: 0; } + #shopping-cart #shopping-cart-products .inner > div { margin-left: 30%; } + #shopping-cart #shopping-cart-products .price { line-height: 22px } + #shopping-cart #shopping-cart-products .taxes { overflow: hidden; position: static; } + #shopping-cart #shopping-cart-products .taxes li { font-size: 12px } + #shopping-cart .delete { bottom: 25px; left: 25px } + #shopping-cart #shopping-cart-products .total { padding-left: 15px } + #shopping-cart #shopping-cart-products .product-attributes { margin: 0; } + #shopping-cart #shopping-cart-products .total { margin-top: -50px; text-align: right } + #shopping-cart #shopping-cart-products .extension .total { margin-top: 0; } + #shopping-cart #shopping-cart-products .extension .image .custom-checkbox { margin: 40px 0 0 5px; } + #shopping-cart #shopping-cart-products .extension .inner > .image { bottom: 0; height: auto; left: 0; top: 0; } + #shopping-cart #shopping-cart-products .extension .inner > .image a { background: #50b884; float: left; height: 100%; } + #shopping-cart #shopping-cart-products .extension .inner > .image a img { display: block; margin-top: 15px; } + + .table-div .table-row strong, .extension strong { color: #b4293c; display: block; font-family: 'GothamRndMedium'; font-weight: normal; margin: 10px 0;} + #shopping-cart #shopping-cart-products .total > strong { font-size: 16px; } + #shopping-cart #shopping-cart-products .total strong { display: inline; } + #shopping-cart #calcul .discount_form .form-group { margin-top: 30px; width: 100%; } +} +@media (max-width: 767px) { + #shopping-cart #shopping-cart-products .table-head > div { font-size: 18px; } + #shopping-cart #shopping-cart-products .inner > .image { margin-left: 0; position: static; text-align: center; width: 100% } + #shopping-cart #shopping-cart-products .inner > div { margin-left: 0 } + #shopping-cart .delete { bottom: auto; left: auto; right: 15px; top: 25px } + #shopping-cart #calcul #total_price { font-size: 24px } + #shopping-cart #calcul .line > div:last-child { padding-right: 0; } + #shopping-cart #calcul .line > div.label-total-price { padding: 7px 0 0 } + #shopping-cart #calcul .border { margin: 0 } + #shopping-cart #shopping-cart-products .taxes li { line-height: 16px; } + #shopping-cart #calcul #total_price { font-family: 'GothamRndMedium' } + + #shopping-cart #shopping-cart-products .extension .inner > .image { padding-top: 115px } + #shopping-cart #shopping-cart-products .extension .inner > .image a { position: absolute; height: 100px; left: 0; right: 0; top: 0; z-index: 1 } + #shopping-cart #shopping-cart-products .extension .inner > .image a img { display: block; margin: 8px auto 0 auto; } + #shopping-cart #shopping-cart-products .extension .image .custom-checkbox { margin: -80px 0 0 5px; position: relative; z-index: 2; } + + #shopping-cart #shopping-cart-products .extension .inner .product-infos { padding-bottom: 10px; text-align: center; } + #shopping-cart #shopping-cart-products .extension .inner .total { text-align: center; } + + .cart_navigation .btn-next, .cart_navigation .btn-cancel { margin-bottom: 20px; width: 100%; } +} +@media (max-width: 500px) { + #shopping-cart #shopping-cart-products .total { margin-top: 0; text-align: left } + #shopping-cart #calcul .line > div:first-child, #shopping-cart #calcul .line > div:last-child { display: inline; float: none; font-size: 14px; } + #shopping-cart #calcul .line #total_tax { font-size: 14px } + #shopping-cart #calcul .line > div:first-child { font-family: 'GothamRndMedium' } + #shopping-cart #shopping-cart-products .taxes li { border: 0; float: none; padding-left: 0; } + + #shopping-cart #calcul .discount_form .form-group { margin: 20px 0 30px 0; } + .cart_navigation .btn-cart { margin-bottom: 15px; width: 100% } +} + + +/************************************************************************************************************* +****************************** CONNEXION / CREATION DE COMPTE ******************************** +**************************************************************************************************************/ +#authentication header.page-heading { + +} +#auth { + padding: 50px 15px 50px 15px; +} +#auth #noSlide { + margin-top: -25px; +} +#auth form, +#account-creation_form .account_creation { + background: #f7f7f7; + border: 1px solid #e5e5e5; +} +#account-creation_form .account_creation { clear: both; margin-bottom: 30px } + #auth form h2 { + border-bottom: 1px solid #e5e5e5; + color: #000; + display: block; + font-size: 30px; + margin: 0; + padding: 15px 100px; + } + + #auth form .form_content { + padding: 20px 300px 20px 100px; + } + #auth #login_form .form_content, + #auth #create-account_form .form_content { + padding: 20px 100px; + } + #auth form .form_content p.text { + padding: 20px 0 21px 0; + } + #auth form .lost_password { + color: #b4293c; + float: left; + font-family: 'GothamRndBook'; + font-size: 14px; + } +#auth #account-creation_form { + background: none; + border: 0; +} + #account-creation_form .civilite { + margin-bottom: 10px; + } + #account-creation_form .civilite > label { + margin-bottom: 10px; + padding: 0 20px 0 0; + vertical-align: middle; + } + .civilite > div { + float: left; + margin-right: 20px; + } + .birthdate label { + padding-left: 15px; + } +#auth .newsletter { + margin-bottom: 0; +} +#auth .newsletter h2 { + border: 0; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: 0 300px 0 100px; + padding: 25px 0 0 0; +} +#auth .newsletter .custom-checkbox > label { + font-size: 14px; + font-family: 'GothamRndLight'; + line-height: 18px; + width: 85%; +} +#auth .newsletter .submit { + margin: 30px 0 0 0; +} +.label-required { + color: #b4293c; + font-family: 'GothamRndBook'; + font-size: 14px; + font-style: italic; + margin-bottom: 20px; +} +#auth .trigger-invoice .checkbox label { + margin-top: 9px; +} + +#password .container.password { + padding: 50px 15px; +} +#auth .illustration-img { + height: 344px +} + + +@media (max-width: 1260px) { + #auth #noSlide form h2, + #auth form h2 { padding: 15px 50px } + #auth form .newsletter h2 { margin: 0 50px; padding: 25px 0 20px } + #auth #login_form .form_content { padding: 20px 50px } +} +@media (max-width: 1052px) { + #auth #login_form { margin-bottom: 40px } + #auth form h2 { padding: 15px 100px } + #auth form .newsletter h2 { margin: 0 100px; padding: 25px 0 20px } + #auth #login_form .form_content { padding: 20px 100px } +} +@media (max-width: 767px) { + #auth form h2 { padding: 15px 50px } + #auth form .form_content { padding: 20px 50px } + #auth form .newsletter h2 { margin: 0 50px; padding: 25px 0 20px } +} +@media (max-width: 500px) { + #auth form h2 { padding: 15px 20px } + #auth form .newsletter h2 { margin: 0 20px; padding: 25px 0 20px } + #auth form .form_content { padding: 20px 20px } + #auth form .lost_password { margin-bottom: 15px } + #auth form .form_content .btn { width: 100% } + #auth #account-creation_form .birthdate > div { margin-bottom: 10px; } + + #password .container.password .btn { margin-bottom: 20px; width: 100%; } +} + + +/************************************************************************************************************* +***************************************** ADRESSES ******************************************* +**************************************************************************************************************/ +body .addresses { + padding: 50px 15px; +} +.addresses .checkbox.inline > label { + margin-top: 9px; +} +.addresses .add-address { + margin-top: 28px; +} +.addresses .address { + background: #f7f7f7; + border: 1px solid #e5e5e5; + min-height: 285px; +} + .addresses #address_invoice_form { + opacity: 0; + -webkit-transition: all 0.3s ease 0s; + -o-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + } + .addresses #address_invoice_form.open { opacity: 1; } + .addresses .addresses-list { + margin: 20px -15px 5px -15px; + } + .addresses .address li { + color: #666; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 2px 20px 2px 100px; + } + .addresses .address .address_title { + border-bottom: 1px solid #e5e5e5; + color: #0e0e0e; + display: block; + margin: 0 0 15px 0; + padding: 20px 20px 20px 100px; + } + .addresses .address_title h2 { + font-size: 24px; + margin: 0; + } + .addresses .address_update { + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 20px 20px 15px 100px; + } + + .addresses .address_add { + display: block; + margin: 15px 0 30px 0; + overflow: hidden; + text-align: center + } + .addresses #order-carrier-list .delivery-option { + background: none repeat scroll 0 0 #f7f7f7; + border: 1px solid #e5e5e5; + font-size: 0; + margin-bottom: 10px; + min-height: 104px; + } + + .addresses #order-carrier-list .delivery-option > div { + float: none; + font-family: 'GothamRndBook'; + font-size: 14px; + display: inline-block; + vertical-align: middle; + } + .addresses .radio-button { + min-height: 102px; + padding-left: 0; + } + .addresses .radio-button img { + margin: -1px 0 -1px -1px; + } + .addresses .radio-button img + .custom-radio { display: inline-block; margin: 0 0 0 20px } + .addresses .radio-button .custom-radio { border-radius: 50%; display: block; height: 35px; margin: 35px 0 0 132px; } + .addresses #order-carrier-list .delivery-option .price { + color: #3d8e66; + font-size: 18px; + } + +@media (max-width: 1052px) { + .addresses .address { min-height: 310px } + .addresses .address li { padding-left: 40px } + .addresses .address .address_title { padding-left: 40px } + .addresses .radio-button img + .custom-radio { margin: 0 0 0 12px } + .addresses .radio-button .custom-radio { margin: 35px 0 0 127px; } + .addresses .address_title { padding: 20px } + .addresses li { padding: 2px 20px 2px 20px } +} +@media (max-width: 767px) { + .addresses .address { min-height: auto; padding-bottom: 10px; } + .addresses .address li { padding-left: 20px } + .addresses .address .address_title { padding-left: 20px } + .addresses #order-carrier-list .delivery-option > div.desc { padding: 15px; } + #auth #login_form .form_content, #auth #create-account_form .form_content { padding: 20px 20px } + .addresses .addresses-list > div:last-child { margin: 20px 0 0 0 } + .addresses .radio-button .custom-radio, .addresses .radio-button img.hidden-xs + .custom-radio { margin: 35px 0 0 45px; } +} +@media (max-width: 500px) { + + .addresses .radio-button .radio, .addresses .radio-button img.hidden-xs + .custom-radio { margin: 35px 0 0 40%; } + .addresses #order-carrier-list .delivery-option .price { font-size: 14px } +} + +.order-paiement { + padding: 30px 15px; +} + .order-paiement h2 { + color: #000; + font-size: 24px; + margin: 0 0 20px 0; + } + .order-paiement .border { + border: 1px solid #dbdbdb; + } + .order-paiement .paiement-module { + background: #f0f0f0; + border: 1px solid #dbdbdb; + color: #333; + font-family: 'GothamRndBook'; + font-size: 16px; + overflow: hidden; + padding: 35px 0; + } + .order-paiement .paiement-module > div:first-child { + padding-left: 25px + } + .order-paiement .paiement-module > div:first-child + div + div { + padding-top: 6px + } + .order-paiement .resume-cart { + padding: 0; + } + .order-paiement .resume-cart h3 { + border-bottom: 1px solid #dbdbdb; + color: #000; + font-size: 24px; + font-weight: normal; + margin: 0; + padding: 15px; + } + .order-paiement .resume-cart .product { border-bottom: 1px solid #dbdbdb; padding: 20px 0; } + .order-paiement .resume-cart .product-name span:first-child { + color: #333; + font-family: 'GothamRndMedium'; + line-height: 20px; + } + .order-paiement .resume-cart .product-name span:last-child { + color: #000; + font-size: 20px; + line-height: 20px; + } + .order-paiement .resume-cart .product-attributes { + color: #999; + font-family: 'GothamRndBook'; + font-size: 14px; + } + + .order-paiement .resume-price { + background: #f0f0f0; + padding: 12px 0; + } + .order-paiement .resume-price > div { + padding: 6px 0; + } + .order-paiement .resume-products .product > div > span:last-child, + .order-paiement .resume-price > div > span:last-child { + text-align: right; + } + .order-paiement .resume-price > div > span:first-child { + color: #666; + font-family: 'GothamRndBook'; + font-size: 14px; + line-height: 20px; + } + .order-paiement .resume-price > div > span:last-child { + color: #333; + font-family: 'GothamRndLight'; + font-size: 20px; + line-height: 20px; + } + .order-paiement .resume-price > div.price > span:first-child { color: #333 } + .order-paiement .resume-price > div.price > span:last-child { color: #b4293c } + .order-paiement h3 { + color: #000; + margin-top: 22px; + } + .order-paiement .cgv { + background: #deeee6; + color: #333; + font-size: 16px; + margin: 20px 0 0 0; + overflow: hidden; + padding: 25px; + } + .order-paiement .cgv .submit { + margin: 20px 0 0 0; + } + .order-paiement .submit { + margin-top: 35px; + } + .order-paiement .submit span { + color: #666; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + margin: -20px 0 10px 0; + } + .order-paiement .submit .btn-cancel { + margin-top: 10px; + } + .order-paiement .cgv .submit .btn.btn-next { + float: right; + padding-right: 50px; + } + + .order-paiement .cgv label a { + color: #3d8e66; + display: inline-block; + font-family: 'GothamRndBook'; + font-size: 14px; + line-height: 16px; + } +@media (max-width: 1260px) { + .order-paiement .submit { text-align: center } + .order-paiement .submit .btn.btn-next, .order-paiement .cgv .submit span { float: none } +} +@media (max-width: 1052px) { + .order-paiement .submit .btn.btn-next { float: right } + .order-paiement .submit span { text-align: center; } +} +@media (max-width: 767px) { + .order-paiement .submit .btn.btn-next, .order-paiement .cgv .submit span { float: none } +} +@media (max-width: 550px) { + .order-paiement .paiement-module > div:first-child { width: 25% } + .order-paiement .paiement-module > div:first-child + div { width: 75% } + .order-paiement .paiement-module > div:first-child + div + div { margin-left: 25%; width: 75% } + .order-paiement .cgv .submit .btn.btn-next { font-size: 16px } +} +@media (max-width: 370px) { + .order-paiement .paiement-module > div:first-child + div img { width: 100% } + .order-paiement .cgv .submit .btn.btn-next { font-size: 14px } +} + + +/************************************************************************************************************* +******************************************* COMPTE ******************************************* +**************************************************************************************************************/ + +.account .block-menu { + margin: 0 0 30px 0; +} + .account .block-menu .inner { + background: #252525; + color: #fff; + height: 240px; + padding: 25px; + } + .account .block-menu:first-child + .block-menu .inner { background: #3f3b41 } + .account .block-menu:first-child + .block-menu + .block-menu .inner { background: #7c6954 } + .account .block-menu:first-child + .block-menu + .block-menu + .block-menu .inner { background: #b4293c } + .account .block-menu h3 { + font-size: 24px; + margin: 10px 0 20px 0; + } + .account .block-menu li { + font-size: 14px; + padding: 4px 0; + } + .account .block-menu li a { + color: #fff; + font-family: 'GothamRndBook'; + } +.account .block-img .inner { + background: red; + height: 510px; +} +.account-footer-links { + margin: 20px 0 0 0; +} +.account .table-div .table-row { + font-family: 'GothamRndBook'; + font-size: 14px; +} +@media (max-width: 767px) { + .container.account { padding: 15px } +} + +/* Historique de commande */ +.account .table-div .table-head { + color: #000; + font-family: 'GothamRndBook'; + overflow: hidden; +} +#history .account .table-div .table-row { + font-size: 0; + margin-top: 10px; + padding: 21px 0 19px 0; +} + #history .account .table-div .table-row > div { + color: #666; + display: inline-block; + float: none; + font-family: 'GothamRndBook'; + font-size: 14px; + vertical-align: middle; + } + .account .table-div .table-row > div a { + color: #b4293c; + } +@media (max-width: 1052px) { + .account .table-div .table-head > div:last-child { font-family: 'GothamRndMedium'; font-size: 16px; padding-left: 0; } + .account .table-div .table-row > div, #history .account .table-div .table-row > div { display: block } + +} + +/* Details de la commande */ + +#order-detail .order-info { + margin-bottom: 30px; +} + #order-detail .order-info ul li { + border-bottom: 1px solid #e5e5e5; + padding: 10px 15px; + } + #order-detail .order-info .table-div { + margin-top: 0; + } + + +.account .recap-info, .account .addresses { margin-bottom: 20px } +.account .recap-info .table-row { + padding: 15px 0; +} +#order-detail .account .product-row { + font-family: 'GothamRndBook'; + font-size: 14px; +} + #order-detail .account .product-row .product-name { + color: #b4293c; + } + #order-detail .account .product-row .form-group input { + height: 35px; + text-align: center; + } +#order-detail .account .table-div .table-row { margin-top: 15px } +#order-detail .account .table-div .table-row.nobg { + font-family: 'GothamRndBook'; + margin-top: 0; +} + #order-detail .account .table-div .table-row.nobg .title { + font-size: 14px; + } + #order-detail .account .table-div .table-row.nobg .total { + padding-top: 15px; + } + #order-detail .account .table-div .table-row.nobg .price { + color: #b4293c; + font-size: 30px; + } +.account .addresses { + padding: 0; +} + .account .addresses .address { + min-height: 250px; + } +#order-detail .account h3, +#order-detail .account h4 { + color: #333; + font-size: 30px; + margin: 30px 0 0 0; + padding-bottom: 10px; +} +#order-detail .account h3 { border-bottom: 1px solid #e5e5e5; margin: 30px 0 5px 0; } +.account .message .inner, +.account .add_message .inner, +.account .returns .inner { + background: #f7f7f7; + border: 1px solid #e5e5e5; + color: #666; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 25px 0; + overflow: hidden; +} +.account .returns .inner label { + color: #333; + font-weight: normal; + margin: 10px 0; +} +.account .message .inner .table-div { + margin-top: 0; +} + .account .message .inner .table-row { + background: #e5e5e5; + color: #333; + font-size: 0; + } + .account .message .inner .table-row > div { + font-size: 14px; + } +.add_message .form-group { + padding: 0; +} +@media (max-width: 1260px) { + #order-detail .account .table-div .table-row.nobg .price { font-size: 24px; padding-left: 0; } + .account .addresses { margin-bottom: 0 } + #order-detail .account h3 { margin: 20px 0 5px } + #order-detail .account .product-row .form-group input { width: 60px } +} +@media (max-width: 1052px) { + #order-detail .order-info > div:last-child { margin-top: 25px } + .account .addresses .address { margin-bottom: 20px; } + #order-detail .account .product-row.return-allowed > div { padding-left: 70px } + #order-detail .account .product-row.return-allowed > .return-checkbox { padding-left: 15px; position: absolute; top: 25px; z-index: 5 } +} +@media (max-width: 767px) { + #order-detail .order-info li .bold { display: block; margin-top: 10px } +} + +/* Retours */ +#order-follow .account .table-div .table-row { + margin-bottom: 20px; +} + .block-order-detail { + background: #e5e5e5; + margin: 15px; + padding: 15px; + } + .block-order-detail .table-head { + color: #b4293c; + } + .block-order-detail .table-row { + background: #b4293c; + color: #fff; + font-family: 'GothamRndBook'; + font-size: 14px; + overflow: hidden; + } + .block-order-detail strong { color: #fff } + +@media (max-width: 1052px) { + .block-order-detail .text-center { text-align: left; } +} + +/* Avoirs */ +.account .table-div .table-row { + margin-top: 10px; +} +#order-slip .account .table-div .table-row .icon-pdf { + height: 27px; + margin: -3px 0 -4px 0; +} + +/* Adresses */ +#addresses .address { + margin-bottom: 30px; + min-height: 300px; +} + +/* Ajout/Modif adresse */ +form.std { + background: #f7f7f7; + border: 1px solid #e5e5e5; + clear: both; + overflow: hidden; + padding-bottom: 25px; +} + form.std h2 { + border-bottom: 1px solid #e5e5e5; + color: #000; + display: block; + font-size: 30px; + margin: 0; + padding: 15px 100px; + } + + form.std .form_content { + padding: 20px 300px 20px 100px; + } + form.std .form_content p.text { + padding: 20px 0 21px 0; + } + form.std .lost_password { + color: #b4293c; + float: left; + font-family: 'GothamRndBook'; + font-size: 14px; + } + .submit { + margin-top: 15px; + } + .submit > *:last-child { + float: left; + } + .submit > *:first-child { + float: right; + } +@media (max-width: 1260px) { + form.std .form_content { padding: 20px 100px } +} +@media (max-width: 767px) { + form.std h2 { padding: 15px 50px } + form.std .form_content { padding: 20px 50px } + .submit button, .submit a { display: block; margin-left: 10%; width: 80%; } + .submit > *:first-child { float: none; margin-bottom: 15px; } +} +@media (max-width: 500px) { + form.std h2 { padding: 15px 20px } + form.std .form_content { padding: 20px } + .submit button, .submit a.btn { font-size: 16px; margin-left: 0; width: 100%; } + +} + +/* Enregistrer un produit */ +#product-register .subheading-picto .border { + border: 1px solid rgba(255, 255, 255, 0.5); + color: #fff; + font-size: 16px; + height: 150px; + line-height: 16px; + padding: 15px; + text-align: center; +} + #product-register .subheading-picto .border img { + display: inline-block; + margin: 0 0 10px 0; + } + #product-register .subheading-picto .border p { + + } +#product-register .account_creation { + background: #f7f7f7; + border: 1px solid #e5e5e5; +} +#product-register .account_creation { clear: both; margin-bottom: 30px } +#product-register form { + clear: both; +} + #product-register form h2 { + border-bottom: 1px solid #e5e5e5; + color: #000; + display: block; + font-size: 30px; + margin: 0; + padding: 15px 200px; + } + + #product-register form .form_content { + padding: 20px 200px 20px 200px; + } + #product-register #login_form .form_content, + #product-register #create-account_form .form_content { + padding: 20px 100px; + } + #product-register form .form_content p.text { + padding: 20px 0 21px 0; + } + #product-register form .lost_password { + color: #b4293c; + float: left; + font-family: 'GothamRndBook'; + font-size: 14px; + } + #product-register .newletter { + padding-right: %; + } + #product-register .newletter label { + color: #000; + font-family: 'GothamRndBook'; + font-size: 14px; + font-weight: normal; + + } + + +@media (max-width: 1260px) { + #product-register form h2 { padding: 15px 100px } + #product-register form .form_content { padding: 20px 100px } +} +@media (max-width: 1052px) { + #product-register form h2 { padding: 15px 100px } + #product-register form .form_content { padding: 20px 100px } + #product-register .subheading-picto .border { height: 170px } +} +@media (max-width: 767px) { + #product-register form h2 { padding: 15px 50px } + #product-register form .form_content { padding: 20px 50px } + .submit button, .submit a { display: block; margin-left: 10%; width: 80%; } + .submit > *:first-child { float: none; margin-bottom: 15px; } + #product-register .subheading-picto .border { height: auto; margin-bottom: 15px; } +} +@media (max-width: 500px) { + #product-register form h2 { padding: 15px 20px } + #product-register form .form_content { padding: 20px } + .submit button, .submit a.btn { font-size: 16px; margin-left: 0; width: 100%; } +} + +/* Mes produits */ +#product-list .table-row { + margin-bottom: 12px; +} + #product-list .table-row .icon-delete { + background-position: -34px -40px; + height: 27px; + margin: -3px 0 -4px; + } + +/* Firmware */ +#firmware { + +} + #firmware h2 { + color: #333; + font-family: 'GothamRndMedium'; + font-size: 18px; + } + #firmware .selector span { + font-family: 'GothamRndLight'; + font-size: 18px; + } + #firmware .description-firmware { + background: #2d2b33; + color: #fff; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 30px 0; + } + #firmware .description-firmware h3 { + font-family: 'GothamRndLight'; + font-size: 30px; + margin: 5px 0 30px 0; + } + #firmware .description-firmware h4 { + font-family: 'GothamRndMedium'; + font-size: 18px; + margin: 0 0 20px 0; + } + #firmware .description-firmware ul { + list-style: disc; + margin: 0 0 30px 0; + padding-left: 15px; + } + #firmware .description-firmware li { + padding: 3px 25px; + } + #firmware .table-div.file { + border-top: 2px solid #e5e5e5; + margin-top: 0; + } + #firmware .table-div.file .table-row { + background: #fff; + border-bottom: 2px solid #e5e5e5; + font-size: 0; + margin-top: 0; + padding: 5px 0; + } + #firmware a { + color: #fff; + height: 41px; + padding-bottom: 5px ; + padding-top: 5px ; + } + + +@media (max-width: 1052px) { + #firmware .account .table-div .table-row > div { display: inline-block } +} +@media (max-width: 500px) { + #firmware .table-div.file .table-row { text-align: center } + #firmware .text-right a { width: 100%; } +} + +/************************************************************************************************************* +******************************************** ODR ********************************************* +**************************************************************************************************************/ + +/* Liste */ +.container.odrs { + padding: 30px 15px; +} + .container .odr { + padding: 30px 0; + } + .container .odr h2 { + margin: 0 0 10px 0; + } + .container .odr .description { + background: #f0f0f0; + overflow: hidden; + } + .container .odr .description > div { + padding: 20px 30px; + } + .container .odr .description > div:first-child { background: #2d2b33; color: #fff; min-height: 140px } + .container .odr .description .enjoy { + color: #000; + font-size: 24px; + } + header.page-heading h1.justif { display: none; } + .container.odrs .print_odr { display: none } +.popover-info{ + border: 1px solid #999; + border-radius: 50%; + color: #999; + cursor: pointer; + display: inline-block; + height: 20px; + line-height: 18px; + text-align: center; + width: 20px; +} +.popover { + border: 2px solid #dbdbdb; + border-radius: 2px; + color: #000; + font-family: "GothamRndBook"; + font-size: 14px; + font-weight: normal; +} + .popover.right { + margin-left: 20px; + } + .popover.right > .arrow { border-right-color: #dbdbdb } + .popover.right > .arrow:after { border-left-width: 2px; } + +@media (max-width: 1260px) { + .container .odr .description > div .btn { font-size: 16px; height: auto } +} +@media (max-width: 1052px) { + .container .odr .description > div .btn { font-size: 20px; height: 50px } +} +@media (max-width: 500px) { + .container .odr .description > div .btn { font-size: 16px; height: auto; padding-right: 20px; width: 100%; } + .container .odr .description > div .btn i { display: none } +} + +/* Participation */ +.container.odrs .account_creation { + margin-bottom: 30px; +} +.container.odrs .form_content { + padding: 15px 150px; +} +.container.odrs .usage > label { + cursor: pointer; + float: left; +} + .container.odrs .usage > div { + float: left; + width: 50%; + } +.container.odrs .form_content.conditions { + +} +.container.odrs .form_content.conditions .white { + margin: 15px 0; + min-height: 35px; +} + .container.odrs .form_content.conditions .white div:before { + border-color: #ddd; + } + .container.odrs .form_content.conditions .checkbox.inline.white > label { + color: #000; + font-family: 'GothamRndLight'; + font-size: 14px; + margin: 8px 0 0 20px; + } + .container.odrs .submit { + margin-top: 14px; + } + .container.odrs .submit .link { + float: left; + font-size: 14px; + margin-top: 10px; + } + .container.odrs .submit button { + padding: 10px 70px; + } +.container.odrs .account_creation { + background: #f7f7f7; + border: 1px solid #e5e5e5; +} + .container.odrs .account_creation h2 { + border-bottom: 1px solid #e5e5e5; + margin: 0; + padding: 15px 150px; + } +@media (max-width: 1260px) { + .container.odrs .account_creation h2 { padding: 15px 30px } + .container.odrs .form_content { padding: 15px 30px } +} +@media (max-width: 1052px) { + .container.odrs .account_creation h2 { padding: 20px 100px } + .container.odrs .form_content { padding: 20px 100px } +} +@media (max-width: 767px) { + .container.odrs .account_creation h2 { padding: 20px 50px } + .container.odrs .form_content { padding: 20px 50px } + .container.odrs .usage > div { margin: 0 0 10px 0; width: 100%; } +} +@media (max-width: 500px) { + .container.odrs .account_creation h2 { padding: 20px 20px } + .container.odrs .form_content { padding: 20px 20px } +} + + +/************************************************************************************************************* +********************************** PAGES COMPLEMENTAIRES ************************************* +**************************************************************************************************************/ + +/* Page 404 */ +.page-heading.pagenotfound h1 { + font-size: 180px; +} +.page-heading.pagenotfound .sub-heading { + margin: -10px 0 10px 0; +} +#pagenotfound .form-group label { + color: #333; + font-family: 'GothamRndMedium'; + font-size: 18px; +} +#pagenotfound .form-group .btn { + width: 100%; +} + +@media (max-width: 1260px) { + .page-heading.pagenotfound h1 { font-size: 60px } + #pagenotfound .form-group .btn { margin-top: 10px; } +} + +/* Contact */ +#contact .information, +#module-we_mail-default .information { + background: #e5e5e5; + color: #333; + margin-bottom: 50px; +} + #contact .information .mask, + #module-we_mail-default .information .mask { + height: 150px; + padding-left: 0; + overflow: hidden; + } + #contact .information > div > h3, + #module-we_mail-default .information > div > h3 { + font-family: 'GothamRndBook'; + } + #contact .information > div > p, + #module-we_mail-default .information > div > p { + font-size: 14px; + } +#contact textarea, +#module-we_mail-default textarea { + height: 332px; +} +#contact .submit, +#module-we_mail-default .submit { + margin-top: 0; +} +@media (max-width: 1260px) { + #contact div.uploader span.filename, + #module-we_mail-default div.uploader span.filename { width: 250px } + #contact div.uploader span.action, + #module-we_mail-default div.uploader span.action { padding: 12px 15px 12px; width: 115px } +} +@media (max-width: 1052px) { + #contact div.uploader span.filename, + #module-we_mail-default div.uploader span.filename { width: 60% } + #contact div.uploader span.action, + #module-we_mail-default div.uploader span.action { margin-left: 5%; padding: 12px 10px 12px; width: 35% } + #contact textarea, + #module-we_mail-default textarea { height: 200px; } +} +@media (max-width: 767px) { + #contact div.uploader span.filename, + #module-we_mail-default div.uploader span.filename { width: 50% } + #contact div.uploader span.action, + #module-we_mail-default div.uploader span.action { margin-left: 5%; padding: 12px 0px 12px; width: 45% } +} + +/* Plan de site */ +#sitemap h2 { + color: #333; + font-size: 36px; +} + #sitemap #sitemap_content li { + padding: 5px 0; + } + #sitemap #sitemap_content li a { + color: #333; + font-size: 14px; + padding: 0 10px 0 40px; + position: relative; + } + #sitemap #sitemap_content li a i { + background-position: -116px -43px; + left: 0; + height: 20px; + position: absolute; + top: 0; + width: 20px; + } + #sitemap #sitemap_content > div:first-child h2 { + margin: 0 0 10px 0; + } + #sitemap #sitemap_content > div:last-child h2 { + margin: 40px 0 10px 0; + } + #sitemap .tree { + padding: 0 0 0 5px; + } + #sitemap #sitemap_content .tree ul { + padding: 0 0 10px 0; + } + #sitemap #sitemap_content .tree > li > a { + font-family: 'GothamRndMedium'; + padding: 0; + } + #sitemap #sitemap_content .tree > li > a span { + background: #fff; + display: block; + margin: 0 0 -5px 0; + position: relative; + z-index: 3; + } + #sitemap #sitemap_content .tree ul li { + padding: 0; + } + #sitemap #sitemap_content .tree ul li a { + border-bottom: 2px solid #ccc; + border-left: 2px solid #ccc; + display: block; + height: 35px; + padding: 5px 0 5px 40px; + position: relative; + z-index: 2; + } + #sitemap #sitemap_content .tree ul li a span { + background: #fff; + display: block; + margin: 15px 0 0 -15px; + padding: 0 30px 0 5px; + } + #sitemap #sitemap_content .tree ul ul { + padding: 5px 0 5px 30px; + position: relative; + z-index: 1; + } +#sitemap .sitemap_block.cms ul ul { + display: none; +} + + +/************************************************************************************************************* +**************************************** PAGES CMS ******************************************* +**************************************************************************************************************/ +#cms .sub-nav-cms { + background: #fff; + border: 1px solid #b4293c; + left: 15px; + top: 25px; + width: 262px; + z-index: 10; +} +#cms .sub-nav-cms.stacked { left: 50%; margin-left: -570px; position: fixed; top: 0 } + #cms .sub-nav-cms .title-cat-cms { + background: #b4293c; + color: #fff; + font-family: 'GothamRndMedium'; + margin: 0; + padding: 30px 15px 30px 25px; + } + #cms .sub-nav-cms ul.list-group { + margin: 0; + } + #cms .sub-nav-cms ul.list-group > li { + + } + #cms .sub-nav-cms ul.list-group > li > span { + background: #fff; + border-top: 1px solid #e5e5e5; + color: #000; + cursor: pointer; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 10px 15px 10px 25px; + } + #cms .sub-nav-cms ul.list-group > li > span:hover, #cms .sub-nav-cms ul.list-group > li.open > span { background: #000; border-top: 1px solid #000; color: #fff; text-decoration: none; } + #cms .sub-nav-cms ul.list-group ul { + max-height: 0; + overflow: hidden; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + } + #cms .sub-nav-cms ul.list-group li.open ul { max-height: 250px } + #cms .sub-nav-cms ul.list-group ul li { + padding-left: 30px; + } + #cms .sub-nav-cms ul.list-group ul li:first-child { padding-top: 10px; } + #cms .sub-nav-cms ul.list-group ul li:last-child { padding-bottom: 10px; } + #cms .sub-nav-cms ul.list-group ul li a { + background: #fff; + color: #000; + cursor: pointer; + display: block; + font-family: 'GothamRndBook'; + font-size: 13px; + padding: 3px 0 3px 0; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + transition: all 0.3s ease 0s; + } + #cms .sub-nav-cms ul.list-group ul li a:hover { padding-left: 5px; text-decoration: none; } + #cms .sub-nav-cms ul.list-group ul li a.active { color: #b4293c; font-style: italic; } +#cms .cms-content table { + width: 100%; +} + #cms .cms-content table td { + padding: 15px; + vertical-align: top; + } + #cms .cms-content table td img { + height: auto; + margin-top: 10px; + } +#cms .cms-content h2 { + color: #2d2b33; + font-size: 30px; + line-height: 40px; + margin: 0 0 30px 0; +} +#cms .cms-content h3 { + color: #2d2b33; + font-size: 22px; + margin: 0 0 15px 0; +} +#cms .cms-content p { + color: #2d2b33; + font-size: 14px; +} +@media (max-width: 1260px) { + #cms .sub-nav-cms { width: 222px } + #cms .sub-nav-cms.stacked { margin-left: -470px } + #cms .sub-nav-cms .title-cat-cms { padding: 25px 15px 25px 15px } + #cms .sub-nav-cms ul.list-group > li > span { padding: 10px 15px 10px 15px } + #cms .sub-nav-cms ul.list-group ul li { padding-left: 20px } +} +@media (max-width: 1052px) { + #cms .sub-nav-cms ,#cms .sub-nav-cms.stacked { position: static; margin: 0 0 30px 0; width: 100%; } + #cms .sub-nav-cms .title-cat-cms { padding: 25px 15px 25px 15px } + +} +@media (max-width: 767px) { + #cms .cms-content table td { display: block; overflow: hidden; } + #cms .cms-content table td img { display: block; float: none !important; margin: 0 auto; width: 60%; } +} +@media (max-width: 500px) { + #cms .cms-content table td img { width: 100% } +} + +/************************************************************************************************************* +**************************************** COOKIE ****************************************** +**************************************************************************************************************/ + +#cookiesinfo { + background: #000; + bottom: 0; + color: #fff; + font-size: 14px; + left: 0; + padding: 15px 30px; + position: fixed; + right: 0; + text-align: center; + z-index: 1000; +} + #cookiesinfo .close-cookie { + background: #fff; + border-radius: 50%; + color: #000; + cursor: pointer; + font-size: 16px; + font-weight: bold; + height: 26px; + line-height: 26px; + margin: -13px 0 0 0; + position: absolute; + right: 10px; + text-align: center; + top: 50%; + width: 26px; + } + + +/************************************************************************************************************* +**************************************** PRINT ****************************************** +**************************************************************************************************************/ + +@media print { + #header #mainmenu, + #languages, + #header-cart, + #infos-client, + #header-search, + #breadcrumbs, + header.page-heading h1, + header.page-heading .sub-heading, + .account .table-div .table-head, + .account .table-div .table-row > div, + .account .table-div .table-row > div:last-child a, + .container.odrs .submit, + #footer > .container, + #footer #reinsurance > div, + cta-product .share + { + display: none; + } + + header.page-heading h1.justif, + .account .table-div .table-row > div:last-child { + display: block; + } + #header { border-top: 100px solid #0e0e0e; height: 0; } + #header #header_logo { margin: -90px 0 50px 0; float: none;} + header.page-heading { border-top: 80px solid #b4293c; height: 0; padding: 0 } + header.page-heading h1 { color: #fff !important; margin: -60px 0 50px 0} + .container.odrs { padding: 0; } + .account .table-div { } + .account .table-div .table-row > div:last-child { border: 2px solid #f0f0f0; float: left; padding: 0; } + .account .table-div .table-row > div:last-child .print_odr { display: block; float: none; } + #footer #reinsurance { border-top: 20px solid #b4293c; height: 0; padding: 0; } + + a:link, a:visited {background: transparent; color:#333; text-decoration:none;} + a:link[href^="http://"]:after, a[href^="http://"]:visited:after {content: " (" attr(href) ") "; font-size: 11px; visibility: hidden;} + a[href^="http://"] {color:#000;} +} + + + +#index .multi .topleft .first a, +#index .multi .topleft .first span { + padding-top:20px; + color:#333; + text-align: left; + padding-left:20px; +} \ No newline at end of file diff --git a/themes/toutpratique/css/index.php b/themes/toutpratique/css/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/css/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/css/k2000.css b/themes/toutpratique/css/k2000.css new file mode 100644 index 00000000..909641d9 --- /dev/null +++ b/themes/toutpratique/css/k2000.css @@ -0,0 +1,656 @@ +@font-face { font-family: 'GothamRndLight'; src: url('../fonts/GothamRndLight.eot'); src: url('../fonts/GothamRndLight.eot') format('embedded-opentype'), url('../fonts/GothamRndLight.woff2') format('woff2'), url('../fonts/GothamRndLight.woff') format('woff'), url('../fonts/GothamRndLight.ttf') format('truetype'), url('../fonts/GothamRndLight.svg#GothamRndLight') format('svg') } +@font-face { font-family: 'GothamRndMedium'; src: url('../fonts/GothamRndMedium.eot'); src: url('../fonts/GothamRndMedium.eot') format('embedded-opentype'), url('../fonts/GothamRndMedium.woff2') format('woff2'), url('../fonts/GothamRndMedium.woff') format('woff'), url('../fonts/GothamRndMedium.ttf') format('truetype'), url('../fonts/GothamRndMedium.svg#GothamRndMedium') format('svg')} +@font-face { font-family: 'GothamRndBook'; src: url('../fonts/GothamRndBook.eot'); src: url('../fonts/GothamRndBook.eot') format('embedded-opentype'), url('../fonts/GothamRndBook.woff2') format('woff2'), url('../fonts/GothamRndBook.woff') format('woff'), url('../fonts/GothamRndBook.ttf') format('truetype'), url('../fonts/GothamRndBook.svg#GothamRndBook') format('svg') } +@font-face { font-family: 'GothamBold'; src: url('../fonts/GothamBold.eot'); src: url('../fonts/GothamBold.eot') format('embedded-opentype'), url('../fonts/GothamBold.woff2') format('woff2'), url('../fonts/GothamBold.woff') format('woff'), url('../fonts/GothamBold.ttf') format('truetype'), url('../fonts/GothamBold.svg#GothamBold') format('svg') } + +.btn-default.disabled, .btn-default.disabled.active, .btn-default.disabled.focus, .btn-default.disabled:active, .btn-default.disabled:focus, .btn-default.disabled:hover, .btn-default[disabled], .btn-default.active[disabled], .btn-default.focus[disabled], .btn-default[disabled]:active, .btn-default[disabled]:focus, .btn-default[disabled]:hover, fieldset[disabled] .btn-default, fieldset[disabled] .btn-default.active, fieldset[disabled] .btn-default.focus, fieldset[disabled] .btn-default:active, fieldset[disabled] .btn-default:focus, fieldset[disabled] .btn-default:hover { background-color: #2b2b2b } + +/* AJOUTS UTILES */ +ul { list-style: none; margin: 0; padding: 0 } +[hidden]{display:none !important} +a:focus { outline: none } +.unvisible { display: none; } +.barre { text-decoration: line-through } +.clear { clear: both } +.nopadding { padding: 0; } +.required { color: #b4293c } +.bold { font-family: 'GothamRndMedium' } + +.valign-middle { font-size: 0 } +.valign-middle > div { display: inline-block; float: none; font-size: 16px; vertical-align: middle } + +/* Nouveau breakpoint pour les mini-mobiles */ +@media (max-width:500px) { + .col-xxs-3 { float: left; width: 25% } + .col-xxs-12 { width: 100% } + .hidden-xxs { display: none } +} + +/* BOUTONS */ +.btn { + background: #2b2b2b url('../img/fond-btn.png') repeat-x 50% -85px; + border: 0; + border-radius: 2px; + color: #fff; + font-family: 'GothamRndLight'; + font-size: 20px; + height: 50px; + padding: 10px 70px 10px 20px; + position: relative; +} +.icon { + background: url('../img/sprite-icons.png') no-repeat; + display: block; + height: 35px; + width: 35px; +} +.btn:hover, .btn:focus, .btn.focus { background-position: 50% -28px; color: #fff } +.btn.icon-left { padding: 10px 20px 10px 70px; } + .btn i { margin: -18px 0 0 0; position: absolute; right: 10px; top: 50% } + .btn.icon-left i { margin: -18px 0 0 0; position: absolute; left: 10px; top: 50% } +.btn.no-icon { padding: 10px 20px 10px 20px } + +.btn-arrow { + background: none; + border: 2px solid #fff; + border-radius: 2px; + color: #fff; + font-size: 22px; + overflow: hidden; + padding: 8px 70px 12px 20px; + position: relative; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; +} +.btn-arrow:hover { background: #fff; color: #b4293c; } + .btn-arrow i { background-position: -140px 2px; transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s } + .btn-arrow:hover i { background-position: -175px 2px } +.btn.btn-cancel { background: #dbdbdb; color: #333; font-size: 18px; padding: 12px 30px 10px 40px; transition: all 0.3s ease 0s; -webkit-transition: all 0.3s ease 0s; -moz-transition: all 0.3s ease 0s } + .btn.btn-cancel i { background-position: -245px -175px; left: 5px; } +.btn.btn-cancel:hover { background: #c8c8c8; color: #333; font-size: 18px; padding: 12px 30px 10px 40px } + .btn.btn-cancel:hover i { background-position: -245px -175px; left: 10px; } +.btn-download i { background-position: -168px -35px } +.btn-next i { background-position: -138px 1px } + +.arrow-up { + background-position: -7px -49px; + height: 8px; + position: absolute; + right: 7px; + top: 0px; + width: 17px; +} + +.icon.icon-plus { background-position: -210px -140px } +.icon.icon-minus { background-position: -245px -140px } +.icon.icon-pdf { background-position: -175px -215px } +.icon.icon-delete { background-position: -34px -36px } + +/* LIENS */ +.link { + font-family: 'GothamRndMedium'; + padding: 0 30px 0 0; + position: relative +} +.link.left { color: #b4293c; padding: 0 0 0 20px; text-decoration: none } +.link.left:hover { text-decoration: underline } + .link i { + background: url('../img/sprite-icons.png') no-repeat -145px -5px; + height: 24px; + margin: -12px 0 0 0; + position: absolute; + right: 0; + top: 50%; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + width: 24px; + } + .link:hover i, .bloc-link:hover .link i { right: 5px } + .link.red { color: #b4293c } + .link.red i { background-position: -180px -5px } + .link.red i.small { background-position: -217px -41px } + .link.grey i { background-position: -216px -5px } + .link.left i { background-position: -221px -75px; left: 0; right: auto; width: 15px; } +.bloc-link { + cursor: pointer; +} + +/* FORM */ +.form-group { + margin-bottom: 20px; +} +.form-group label { + color: #000; + display: block; + font-family: 'GothamRndBook'; + font-size: 14px; + font-weight: normal; +} + .form-group label sup { + color: #b4293c; + font-family: 'GothamRndBook'; + font-size: 18px; + top: -1px; + } +.form-group .form-control { + border: 2px solid #dbdbdb; + border-radius: 0; + box-shadow: none; + height: 49px; + padding: 6px 15px; +} +.form-group textarea.form-control { height: auto } +.form-group.form-ok .form-control { border-color: #d3e6de; color: #44a07a } +.form-group.form-error .form-control { border-color: #eaced2; color: #b4293c } + +.form-control:focus { box-shadow: none } + +.rounded-radio .radio { border-radius: 50%; height: 35px } +.rounded-radio .radio span.checked { background-position: -59px -219px } + +/* CMS */ +.subtitle { + color: #010101; + font-size: 36px; + margin: 0 0 30px 0; +} +.subtitle.small { font-size: 24px; margin: 0 0 15px 0 } +.subtitle.white { color: #fff } + + +@media (max-width: 767px) { + .subtitle { font-size: 24px } +} + + +/* PAGE HEADER */ +header.page-heading { + background: url('../img/fond-header.png'); + padding: 25px 0; +} +header.page-heading.order-process { padding: 25px 0 0 0 } + header.page-heading h1 { + color: #fff; + font-size: 48px; + margin: 25px 0 40px; + } + header.page-heading .sub-heading { + color: #fff; + margin: -30px 0 0 0; + } + header.page-heading .sub-heading strong { + display: block; + } + header.page-heading .tab-register { + font-family: 'GothamRndMedium'; + font-size: 18px; + margin: 10px auto -25px auto; + } + header.page-heading .tab-register li { + background: #000; + } + header.page-heading .tab-register li > * { + display: block; + padding: 15px 20px; + text-align: center; + } + header.page-heading .tab-register li a { color: #fff } + header.page-heading .tab-register li.active { background: #fff; color: #000 } + + +/* BLOCK BREADCRUMBS */ +#breadcrumbs { + color: #fff; + font-family: 'GothamRndBook'; + font-size: 14px; + padding: 5px 0; +} +#breadcrumbs.white { border-bottom: 1px solid #f0f0f0; color: #000; padding: 20px 0 } + #breadcrumbs a { + color: #fff; + padding: 0 30px 0 0; + position: relative; + } + #breadcrumbs.white a { color: #b4293c } + #breadcrumbs a i { + background: url('../img/sprite-icons.png') no-repeat -76px -42px; + height: 20px; + margin: -10px 0 0 0; + position: absolute; + right: 5px; + top: 50%; + width: 20px; + } + #breadcrumbs.white a i { background-position: -218px -42px } + + +/* BLOCK PRODUIT */ +.product-container { + margin: 0 0 30px 0; +} + .product-container .border { + border: 1px solid #e5e5e5; + overflow: hidden; + padding: 15px; + position: relative; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + .product-container .border.discount { border: 1px solid #e8bec4 } + .product-container .border.discount:hover { border: 1px solid #b4293c } + .product-container .border:hover { border: 1px solid #d9d9d9 } + .product-container .border .overlay { + background: #d9d9d9; + bottom: -50px; + left: -50px; + position: absolute; + right: -50px; + top: 225px; + transform: rotate(4deg) translateY(200px); + -moz-transform: rotate(4deg) translateY(200px); + -webkit-transform: rotate(4deg) translateY(200px); + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + z-index: 1; + } + .product-container .border.discount .overlay { background: #b4293c; } + .product-container .border:hover .overlay { transform: rotate(-8deg) translateY(0); -moz-transform: rotate(-8deg) translateY(0); -webkit-transform: rotate(-8deg) translateY(0); } + .product-reduction { + background: #b4293c; + color: #fff; + font-family: 'GothamRndMedium'; + font-size: 14px; + height: 58px; + line-height: 58px; + position: absolute; + right: 0; + text-align: center; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + top: 0; + width: 58px; + } + .product-container .product-img img { + margin: 0 auto; + } + .product-container .product-infos { + position: relative; + text-align: center; + z-index: 2; + } + .product-container .product-infos .availability { + display: none; + } + .product-container .product-infos h5.product-name { + display: block; + font-family: 'GothamRndMedium'; + font-size: 16px; + height: 50px; + } + .product-container .border .product-infos h5.product-name a { + color: #333; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + .product-container .border.discount:hover h5.product-name a { color: #fff } + .product-container .border:hover .product-infos h5.product-name a { text-decoration: none; } + .product-container .border .product-infos .price { + color: #303030; + font-family: 'GothamRndLight'; + font-size: 24px; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + .product-container .border.discount:hover .product-infos .price { color: #fff } + .product-container .border .product-infos .old-price { + color: #b4293c; + font-family: 'GothamRndBook'; + font-size: 14px; + height: 20px; + transition: all 0.3s ease 0s; + -webkit-transition: all 0.3s ease 0s; + -moz-transition: all 0.3s ease 0s; + } + .product-container .border.discount:hover .product-infos .old-price { color: #fff } + .product-container .product-infos .old-price .barre { + text-decoration: line-through; + } + .product-container .border .product-infos .icon { + background-position: -245px -32px; + bottom: 0; + display: none; + position: absolute; + right: 0; + } + .product-container .border:hover .product-infos .icon { display: block } + .product-container .border.discount:hover .product-infos .icon { background-position: 0 0 } +@media (max-width: 1260px) { + .product-container .border:hover .overlay { top: 180px; transform: rotate(-8deg) translateY(0); } + .product-container .border .product-infos .quick-view { right: -10px; } +} +@media (max-width: 767px) { + .product-container .border .overlay { top: 65% } + .product-container .border:hover .overlay { transform: rotate(-8deg) translateY(18%); } +} +@media (max-width: 580px) { + .product-container .border:hover .overlay { transform: rotate(-8deg) translateY(10%); } +} +@media (max-width: 500px) { + .product-container .border:hover .overlay { transform: rotate(-8deg) translateY(18%); } + .product-container .border .product-infos .quick-view { right: -5px; } +} + +/* FANCY */ +body .fancybox-overlay { + background: rgba(197, 197, 197, 0.9); +} + body .fancybox-skin { + border-radius: 0; + } + body .fancybox-opened .fancybox-skin { box-shadow: none } + .fancybox-overlay .fancybox-close { + background: #000; + cursor: pointer; + display: block; + height: 55px; + position: absolute; + right: -55px; + top: 0; + width: 55px; + z-index: 2; + } + .fancybox-overlay .fancybox-close:after { + background: url('../img/sprite-icons.png') no-repeat -245px -70px; + content: ""; + display: block; + height: 35px; + margin: 10px 0 0 10px; + width: 35px; + } +@media (max-width: 1300px) { + .fancybox-overlay .fancybox-close { right: 0 } +} + +/* Message */ +.alert { + border-radius: 2px; + border-left: 0; + border-right: 0; + font-family: 'GothamRndBook'; + font-size: 16px; + padding: 10px; +} +.alert-danger { + background-color: #f2dede; + border-color: #ebccd1; + color: #b4293c; +} +.alert-success { border-color: #3c763d } + +/*** TABLE ***/ +.table-div { + margin-top: 20px; + overflow: hidden; +} + .table-div .table-head, .table-div .table-row, .table-hide-info { clear: both } + + .table-div .table-head { + color: #333; + font-family: 'GothamRndBook'; + font-size: 14px; + } + .table-div .table-row { + background: #f0f0f0; + color: #666; + font-size: 16px; + overflow: hidden; + padding: 21px 0 19px 0; + position: relative; + } + .table-div .table-row.nobg { background: none; color: #333 } + .table-div.white .table-head + .table-row { margin-top: -24px } + .table-div .table-row ul { + margin: 0; + } + .table-div .table-row ul li { + line-height: 22px + } + .table-div .table-row a { + color: #333 + } + .table-div .table-row .collapse button { + border: 0; + border-radius: 2px; + display: block; + height: 30px; + margin: -15px 0 0 0; + position: absolute; + top: 10px; + width: 30px + } + .table-div .table-row.open .collapse button { background-position: 50% -30px } + .table-div .table-row .table-hide-info { + display: block; + max-height: 0; + overflow: hidden; + transition: max-height 0.5s ease 0s; + width: auto + } + .table-div .table-row.open .table-hide-info { max-height: 200px } + .table-div .table-row .table-hide-info p:first-child { + padding-top: 30px; + } + +@media (min-width: 1052px) { + .table-div strong { display: none; } + +} +@media (max-width: 1052px) { + .table-div strong + .table-div .table-row .table-hide-info { max-height: 200px } +} +@media (max-width: 767px) { + .table-div .table-head { font-size: 30px } +} + + +/* CustomInput */ +.custom-select > span, +.custom-select > span:before, +.custom-checkbox:after, +.custom-checkbox:before, +.custom-radio:before { + background: url("../img/jquery/uniform/sprite.png") +} +.custom-select { + position: relative; +} + .custom-select > select { + display: none; + } + .custom-select > span:before { + background-position: left -49px; + content: ""; + height: 49px; + left: 0; + position: absolute; + width: 5px; + z-index: 2; + } + .custom-select > span { + background-position: right 0; + color: #666; + cursor: pointer; + display: block; + font-size: 14px; + height: 49px; + line-height: 49px; + overflow: hidden; + padding: 0 45px 0 15px; + position: relative; + text-overflow: ellipsis; + width: 100%; + white-space: nowrap; + z-index: 1; + } + .custom-select > ul { + background: #fff; + border: 2px solid #dbdbdb; + display: none; + margin: -2px 0 0 0; + max-height: 300px; + overflow-y: auto; + overflow-x: hidden; + padding: 0; + position: absolute; + z-index: 10; + } + .custom-select > ul.small { font-size: 70%; } + .custom-select > ul.small li { padding: ; } + .custom-select > ul.open { display: block } + .custom-select > ul li { + color: #333; + cursor: pointer; + padding: 8px 10px; + } + .custom-select > ul li:hover, + .custom-select > ul li.selected { background-color: #ddd; } + +/* CustomCheckbox */ +.custom-checkbox { + overflow: hidden; + position: relative; +} + .custom-checkbox input { + cursor: pointer; + height: 32px; + left: 0; + opacity: 0; + position: absolute; + top: 0; + width: 35px; + } + + /* Block */ + .custom-checkbox:after { + background-color: #fff; + background-position: 0 -243px; + border: 2px solid #dbdbdb; + content: ""; + cursor: pointer; + display: block; + height: 32px; + margin-right: 10px; + width: 35px; + } + .custom-checkbox label { + display: block; + cursor: pointer; + } + + /* Inline */ + .custom-checkbox.inline:before { + background-color: #fff; + background-position: 0 -243px; + border: 2px solid #dbdbdb; + content: ""; + cursor: pointer; + display: inline-block; + height: 32px; + margin-right: 10px; + vertical-align: middle; + width: 35px; + } + .custom-checkbox.inline label { + display: inline-block; + max-width: 75%; + vertical-align: middle; + } + .custom-checkbox.inline:after { display: none } + .custom-checkbox.checked:before, + .custom-checkbox.checked:after, + .custom-checkbox.inline.checked:before { background-position: -4px -222px } + +/* CustomRadio */ +.custom-radio { + clear: both; + position: relative; +} + .custom-radio input { + cursor: pointer; + height: 33px; + left: 0; + opacity: 0; + position: absolute; + top: 0; + width: 33px; + } + .custom-radio:before { + background-color: #fff; + background-position: 0 -243px; + border: 2px solid #dbdbdb; + border-radius: 50%; + content: ""; + cursor: pointer; + display: block; + height: 33px; + margin-right: 10px; + width: 33px; + } + .custom-radio.inline:before, + .custom-radio.inline label { + display: inline-block; + vertical-align: middle; + } + .custom-radio.inline label { max-width: 75% } + .custom-radio.checked:before, + .custom-radio.inline.checked:before { background-position: -62px -222px } + + +/* CustomFile */ +.custom-file { + overflow: hidden; + position: relative; +} + .custom-file > input { + cursor: pointer; + height: 49px; + opacity: 0; + position: absolute; + width: 100%; + } + .custom-file > label { + display: block; + } + .custom-file .filename { + border: 2px solid #dbdbdb; + border-radius: 0; + box-shadow: none; + float: left; + height: 49px; + line-height: 49px; + overflow: hidden; + padding: 0 15px; + text-overflow: ellipsis; + white-space: nowrap; + width: 65%; + } + .custom-file .action { + background: #dbdbdb; + color: #000; + float: right; + height: 49px; + line-height: 50px; + padding: 0 15px; + text-align: center; + width: 30%; + } + + diff --git a/themes/toutpratique/css/print.css b/themes/toutpratique/css/print.css new file mode 100644 index 00000000..e69de29b diff --git a/themes/toutpratique/discount.tpl b/themes/toutpratique/discount.tpl new file mode 100644 index 00000000..e3ba0573 --- /dev/null +++ b/themes/toutpratique/discount.tpl @@ -0,0 +1,85 @@ +{capture name=path} + {l s='My account'} + {l s='My vouchers'} +{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='My vouchers'}

    +
    +
    + + +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/errors.tpl b/themes/toutpratique/errors.tpl new file mode 100644 index 00000000..b99bb9a9 --- /dev/null +++ b/themes/toutpratique/errors.tpl @@ -0,0 +1,15 @@ +{if isset($errors) && $errors} +
    +
    +

    {if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}

    +
      + {foreach from=$errors key=k item=error} +
    1. {$error}
    2. + {/foreach} +
    + {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication') && preg_replace('#^https?://[^/]+/#', '/', $smarty.server.HTTP_REFERER) != $request_uri} +

    {l s='Back'}

    + {/if} +
    +
    +{/if} \ No newline at end of file diff --git a/themes/toutpratique/fonts/GothamBold.eot b/themes/toutpratique/fonts/GothamBold.eot new file mode 100644 index 00000000..975a08a5 Binary files /dev/null and b/themes/toutpratique/fonts/GothamBold.eot differ diff --git a/themes/toutpratique/fonts/GothamBold.svg b/themes/toutpratique/fonts/GothamBold.svg new file mode 100644 index 00000000..f6d658d3 --- /dev/null +++ b/themes/toutpratique/fonts/GothamBold.svg @@ -0,0 +1,2066 @@ + + + + +Created by FontForge 20150102 at Mon Mar 2 11:33:18 2015 + By uniteet7 +HTF Gotham Copr. 2000 The Hoefler Type Foundry, Inc. Info: www.typography.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/toutpratique/fonts/GothamBold.ttf b/themes/toutpratique/fonts/GothamBold.ttf new file mode 100644 index 00000000..650e72f0 Binary files /dev/null and b/themes/toutpratique/fonts/GothamBold.ttf differ diff --git a/themes/toutpratique/fonts/GothamBold.woff b/themes/toutpratique/fonts/GothamBold.woff new file mode 100644 index 00000000..91330411 Binary files /dev/null and b/themes/toutpratique/fonts/GothamBold.woff differ diff --git a/themes/toutpratique/fonts/GothamBold.woff2 b/themes/toutpratique/fonts/GothamBold.woff2 new file mode 100644 index 00000000..534c86f1 Binary files /dev/null and b/themes/toutpratique/fonts/GothamBold.woff2 differ diff --git a/themes/toutpratique/fonts/GothamRndBook.eot b/themes/toutpratique/fonts/GothamRndBook.eot new file mode 100644 index 00000000..bc8ef2f6 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndBook.eot differ diff --git a/themes/toutpratique/fonts/GothamRndBook.svg b/themes/toutpratique/fonts/GothamRndBook.svg new file mode 100644 index 00000000..b6055e26 --- /dev/null +++ b/themes/toutpratique/fonts/GothamRndBook.svg @@ -0,0 +1,3744 @@ + + + + +Created by FontForge 20150102 at Mon Mar 2 10:45:29 2015 + By uniteet7 +Copyright (C) 2006, 2007 Hoefler & Frere-Jones. http://www.typography.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/toutpratique/fonts/GothamRndBook.ttf b/themes/toutpratique/fonts/GothamRndBook.ttf new file mode 100644 index 00000000..d81cbbb2 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndBook.ttf differ diff --git a/themes/toutpratique/fonts/GothamRndBook.woff b/themes/toutpratique/fonts/GothamRndBook.woff new file mode 100644 index 00000000..f16392a9 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndBook.woff differ diff --git a/themes/toutpratique/fonts/GothamRndBook.woff2 b/themes/toutpratique/fonts/GothamRndBook.woff2 new file mode 100644 index 00000000..160b343b Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndBook.woff2 differ diff --git a/themes/toutpratique/fonts/GothamRndLight.eot b/themes/toutpratique/fonts/GothamRndLight.eot new file mode 100644 index 00000000..b82e90fb Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndLight.eot differ diff --git a/themes/toutpratique/fonts/GothamRndLight.svg b/themes/toutpratique/fonts/GothamRndLight.svg new file mode 100644 index 00000000..3992069f --- /dev/null +++ b/themes/toutpratique/fonts/GothamRndLight.svg @@ -0,0 +1,3577 @@ + + + + +Created by FontForge 20150102 at Mon Mar 2 10:45:38 2015 + By uniteet7 +Copyright (C) 2006, 2007 Hoefler & Frere-Jones. http://www.typography.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/toutpratique/fonts/GothamRndLight.ttf b/themes/toutpratique/fonts/GothamRndLight.ttf new file mode 100644 index 00000000..c49cac97 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndLight.ttf differ diff --git a/themes/toutpratique/fonts/GothamRndLight.woff b/themes/toutpratique/fonts/GothamRndLight.woff new file mode 100644 index 00000000..ab707a8b Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndLight.woff differ diff --git a/themes/toutpratique/fonts/GothamRndLight.woff2 b/themes/toutpratique/fonts/GothamRndLight.woff2 new file mode 100644 index 00000000..e3a01818 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndLight.woff2 differ diff --git a/themes/toutpratique/fonts/GothamRndMedium.eot b/themes/toutpratique/fonts/GothamRndMedium.eot new file mode 100644 index 00000000..7cf197ce Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndMedium.eot differ diff --git a/themes/toutpratique/fonts/GothamRndMedium.svg b/themes/toutpratique/fonts/GothamRndMedium.svg new file mode 100644 index 00000000..3f51e374 --- /dev/null +++ b/themes/toutpratique/fonts/GothamRndMedium.svg @@ -0,0 +1,3749 @@ + + + + +Created by FontForge 20150102 at Mon Mar 2 10:45:17 2015 + By uniteet7 +Copyright (C) 2006, 2007 Hoefler & Frere-Jones. http://www.typography.com + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/themes/toutpratique/fonts/GothamRndMedium.ttf b/themes/toutpratique/fonts/GothamRndMedium.ttf new file mode 100644 index 00000000..e66331d4 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndMedium.ttf differ diff --git a/themes/toutpratique/fonts/GothamRndMedium.woff b/themes/toutpratique/fonts/GothamRndMedium.woff new file mode 100644 index 00000000..da49e0f6 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndMedium.woff differ diff --git a/themes/toutpratique/fonts/GothamRndMedium.woff2 b/themes/toutpratique/fonts/GothamRndMedium.woff2 new file mode 100644 index 00000000..3fb86c66 Binary files /dev/null and b/themes/toutpratique/fonts/GothamRndMedium.woff2 differ diff --git a/themes/toutpratique/fonts/index.php b/themes/toutpratique/fonts/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/fonts/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/footer.tpl b/themes/toutpratique/footer.tpl new file mode 100644 index 00000000..56fd8907 --- /dev/null +++ b/themes/toutpratique/footer.tpl @@ -0,0 +1,24 @@ +{if !isset($content_only) || !$content_only} + +
    + {hook h='displayReinsuranceFooter'} +
    +
    +
    + {hook h='displayFooter'} +
    +
    + {hook h='displayFooterCTA'} +
    +
    +
    +
    + + {hook h='endBody'} + +{/if} + +{include file="$tpl_dir./global.tpl"} + + + \ No newline at end of file diff --git a/themes/toutpratique/global.tpl b/themes/toutpratique/global.tpl new file mode 100644 index 00000000..709d2ec5 --- /dev/null +++ b/themes/toutpratique/global.tpl @@ -0,0 +1,49 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{strip} +{addJsDef isMobile=$mobile_device} +{addJsDef baseDir=$content_dir} +{addJsDef baseUri=$base_uri} +{addJsDef static_token=$static_token} +{addJsDef token=$token} +{addJsDef priceDisplayPrecision=$priceDisplayPrecision*$currency->decimals} +{addJsDef priceDisplayMethod=$priceDisplay} +{addJsDef roundMode=$roundMode} +{addJsDef isLogged=$is_logged|intval} +{addJsDef isGuest=$is_guest|intval} +{addJsDef page_name=$page_name|escape:'html':'UTF-8'} +{addJsDef contentOnly=$content_only|boolval} +{if isset($cookie->id_lang)} + {addJsDef id_lang=$cookie->id_lang|intval} +{/if} +{addJsDefL name=FancyboxI18nClose}{l s='Close'}{/addJsDefL} +{addJsDefL name=FancyboxI18nNext}{l s='Next'}{/addJsDefL} +{addJsDefL name=FancyboxI18nPrev}{l s='Previous'}{/addJsDefL} +{addJsDef usingSecureMode=Tools::usingSecureMode()|boolval} +{addJsDef ajaxsearch=Configuration::get('PS_SEARCH_AJAX')|boolval} +{addJsDef instantsearch=Configuration::get('PS_INSTANT_SEARCH')|boolval} +{addJsDef quickView=$quick_view|boolval} +{addJsDef displayList=Configuration::get('PS_GRID_PRODUCT')|boolval} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/guest-tracking.tpl b/themes/toutpratique/guest-tracking.tpl new file mode 100644 index 00000000..d80fdeca --- /dev/null +++ b/themes/toutpratique/guest-tracking.tpl @@ -0,0 +1,113 @@ +
    + {capture name=path}{l s='Guest Tracking'}{/capture} +
    +
    + +
    +

    {l s='Guest Tracking'}

    +
    +
    + {if isset($confirmation) && $confirmation} +

    + {$confirmation} +

    + {/if} +
    + {if isset($order_collection)} + {foreach $order_collection as $order} + {assign var=order_state value=$order->getCurrentState()} + {assign var=invoice value=$order->invoice} + {assign var=order_history value=$order->order_history} + {assign var=carrier value=$order->carrier} + {assign var=address_invoice value=$order->address_invoice} + {assign var=address_delivery value=$order->address_delivery} + {assign var=inv_adr_fields value=$order->inv_adr_fields} + {assign var=dlv_adr_fields value=$order->dlv_adr_fields} + {assign var=invoiceAddressFormatedValues value=$order->invoiceAddressFormatedValues} + {assign var=deliveryAddressFormatedValues value=$order->deliveryAddressFormatedValues} + {assign var=currency value=$order->currency} + {assign var=discounts value=$order->discounts} + {assign var=invoiceState value=$order->invoiceState} + {assign var=deliveryState value=$order->deliveryState} + {assign var=products value=$order->products} + {assign var=customizedDatas value=$order->customizedDatas} + {assign var=HOOK_ORDERDETAILDISPLAYED value=$order->hook_orderdetaildisplayed} + {if isset($order->total_old)} + {assign var=total_old value=$order->total_old} + {/if} + {if isset($order->followup)} + {assign var=followup value=$order->followup} + {/if} + +
    +
    + {include file="./order-detail.tpl"} +
    +
    + {/foreach} + +

    {l s='For more advantages...'}

    + + {include file="$tpl_dir./errors.tpl"} + + {if isset($transformSuccess)} +

    {l s='Your guest account has been successfully transformed into a customer account. You can now log in as a registered shopper. '} {l s='page.'}

    + {else} +
    +
    + +

    {l s='Transform your guest account into a customer account and enjoy:'}

    +
      +
    • -{l s='Personalized and secure access'}
    • +
    • -{l s='Fast and easy checkout'}
    • +
    • -{l s='Easier merchandise return'}
    • +
    +
    +
    +
    + + +
    +
    +
    + + + + + +

    + +

    +
    +
    + {/if} + {else} + {include file="$tpl_dir./errors.tpl"} + {if isset($show_login_link) && $show_login_link} +

    {l s='Information'}{l s='Click here to log in to your customer account.'}

    + {/if} +
    +

    {l s='To track your order, please enter the following information:'}

    +
    +
    + + + {l s='For example: QIIXJXNUI or QIIXJXNUI#1'} +
    +
    + + +
    +

    + +

    +
    +
    + {/if} +
    +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/header.tpl b/themes/toutpratique/header.tpl new file mode 100644 index 00000000..a333b9c3 --- /dev/null +++ b/themes/toutpratique/header.tpl @@ -0,0 +1,74 @@ + + + + + + + + + {$meta_title|escape:'html':'UTF-8'} + + {if isset($meta_description) AND $meta_description} + + {/if} + {if isset($meta_keywords) AND $meta_keywords} + + {/if} + + + + + + + + + {if isset($css_files)} + {foreach from=$css_files key=css_uri item=media} + + {/foreach} + {/if} + + + + + {if isset($js_defer) && !$js_defer && isset($js_files) && isset($js_def)} + {$js_def} + {foreach from=$js_files item=js_uri} + + {/foreach} + {/if} + {$HOOK_HEADER} + + + + + {if !isset($content_only) || !$content_only} + {if isset($restricted_country_mode) && $restricted_country_mode} +
    +

    {l s='You cannot place a new order from your country.'} {$geolocation_country|escape:'html':'UTF-8'}

    +
    + {/if} + + + {/if} diff --git a/themes/toutpratique/history.tpl b/themes/toutpratique/history.tpl new file mode 100644 index 00000000..3797bc42 --- /dev/null +++ b/themes/toutpratique/history.tpl @@ -0,0 +1,97 @@ +{capture name=path} + + {l s='My account'} + + + {l s='Order history'} +{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='Order history'}

    +

    {l s='Here you will find your past orders from account creation'}

    +
    +
    + + {include file="$tpl_dir./errors.tpl"} + + +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/identity.tpl b/themes/toutpratique/identity.tpl new file mode 100644 index 00000000..e6aa68c1 --- /dev/null +++ b/themes/toutpratique/identity.tpl @@ -0,0 +1,137 @@ +{capture name=path} + {l s='My account'} + {l s='Your personal information'} +{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='Your personal information'}

    +

    {l s='Please be sure to update your personal information if it has changed.'}

    +
    +
    + + {include file="$tpl_dir./errors.tpl"} + + {if isset($confirmation) && $confirmation} +
    +

    + {l s='Your personal information has been successfully updated.'} + {if isset($pwd_changed)}
    {l s='Your password has been sent to your email:'} {$email}{/if} +

    +
    + {/if} + +
    +
    + + diff --git a/themes/toutpratique/img/addcartloader.gif b/themes/toutpratique/img/addcartloader.gif new file mode 100644 index 00000000..561cb640 Binary files /dev/null and b/themes/toutpratique/img/addcartloader.gif differ diff --git a/themes/toutpratique/img/ajax-loader.gif b/themes/toutpratique/img/ajax-loader.gif new file mode 100644 index 00000000..6f1fb335 Binary files /dev/null and b/themes/toutpratique/img/ajax-loader.gif differ diff --git a/themes/toutpratique/img/bankwire.png b/themes/toutpratique/img/bankwire.png new file mode 100644 index 00000000..fddb498e Binary files /dev/null and b/themes/toutpratique/img/bankwire.png differ diff --git a/themes/toutpratique/img/bg_bt.gif b/themes/toutpratique/img/bg_bt.gif new file mode 100644 index 00000000..202d52af Binary files /dev/null and b/themes/toutpratique/img/bg_bt.gif differ diff --git a/themes/toutpratique/img/bg_bt_2.gif b/themes/toutpratique/img/bg_bt_2.gif new file mode 100644 index 00000000..7b477d7c Binary files /dev/null and b/themes/toutpratique/img/bg_bt_2.gif differ diff --git a/themes/toutpratique/img/bg_bt_compare.gif b/themes/toutpratique/img/bg_bt_compare.gif new file mode 100644 index 00000000..aa1fe98e Binary files /dev/null and b/themes/toutpratique/img/bg_bt_compare.gif differ diff --git a/themes/toutpratique/img/bg_input.png b/themes/toutpratique/img/bg_input.png new file mode 100644 index 00000000..322ed3a4 Binary files /dev/null and b/themes/toutpratique/img/bg_input.png differ diff --git a/themes/toutpratique/img/bg_maintenance.png b/themes/toutpratique/img/bg_maintenance.png new file mode 100644 index 00000000..8a280f03 Binary files /dev/null and b/themes/toutpratique/img/bg_maintenance.png differ diff --git a/themes/toutpratique/img/bg_table_th.png b/themes/toutpratique/img/bg_table_th.png new file mode 100644 index 00000000..50f5df0e Binary files /dev/null and b/themes/toutpratique/img/bg_table_th.png differ diff --git a/themes/toutpratique/img/bl-after-bg.png b/themes/toutpratique/img/bl-after-bg.png new file mode 100644 index 00000000..1d3fc42f Binary files /dev/null and b/themes/toutpratique/img/bl-after-bg.png differ diff --git a/themes/toutpratique/img/bl-before-bg.png b/themes/toutpratique/img/bl-before-bg.png new file mode 100644 index 00000000..5238af45 Binary files /dev/null and b/themes/toutpratique/img/bl-before-bg.png differ diff --git a/themes/toutpratique/img/border-1.gif b/themes/toutpratique/img/border-1.gif new file mode 100644 index 00000000..2716f4b5 Binary files /dev/null and b/themes/toutpratique/img/border-1.gif differ diff --git a/themes/toutpratique/img/cart-shadow.png b/themes/toutpratique/img/cart-shadow.png new file mode 100644 index 00000000..34a2c982 Binary files /dev/null and b/themes/toutpratique/img/cart-shadow.png differ diff --git a/themes/toutpratique/img/cash.png b/themes/toutpratique/img/cash.png new file mode 100644 index 00000000..afb945ab Binary files /dev/null and b/themes/toutpratique/img/cash.png differ diff --git a/themes/toutpratique/img/cheque.png b/themes/toutpratique/img/cheque.png new file mode 100644 index 00000000..952476cb Binary files /dev/null and b/themes/toutpratique/img/cheque.png differ diff --git a/themes/toutpratique/img/contact-form.png b/themes/toutpratique/img/contact-form.png new file mode 100644 index 00000000..c244b4ab Binary files /dev/null and b/themes/toutpratique/img/contact-form.png differ diff --git a/themes/toutpratique/img/contact.png b/themes/toutpratique/img/contact.png new file mode 100644 index 00000000..71be9364 Binary files /dev/null and b/themes/toutpratique/img/contact.png differ diff --git a/themes/toutpratique/img/favicon.png b/themes/toutpratique/img/favicon.png new file mode 100644 index 00000000..4fb1b5f5 Binary files /dev/null and b/themes/toutpratique/img/favicon.png differ diff --git a/themes/toutpratique/img/fond-btn.png b/themes/toutpratique/img/fond-btn.png new file mode 100644 index 00000000..d7fe0ee0 Binary files /dev/null and b/themes/toutpratique/img/fond-btn.png differ diff --git a/themes/toutpratique/img/fond-header.png b/themes/toutpratique/img/fond-header.png new file mode 100644 index 00000000..894fc605 Binary files /dev/null and b/themes/toutpratique/img/fond-header.png differ diff --git a/themes/toutpratique/img/footer-bg.png b/themes/toutpratique/img/footer-bg.png new file mode 100644 index 00000000..97e2b363 Binary files /dev/null and b/themes/toutpratique/img/footer-bg.png differ diff --git a/themes/toutpratique/img/form-contact-shadow.png b/themes/toutpratique/img/form-contact-shadow.png new file mode 100644 index 00000000..8b18a79d Binary files /dev/null and b/themes/toutpratique/img/form-contact-shadow.png differ diff --git a/themes/toutpratique/img/functional-bt-shadow.png b/themes/toutpratique/img/functional-bt-shadow.png new file mode 100644 index 00000000..c379dac1 Binary files /dev/null and b/themes/toutpratique/img/functional-bt-shadow.png differ diff --git a/themes/toutpratique/img/garantie.png b/themes/toutpratique/img/garantie.png new file mode 100644 index 00000000..1f284936 Binary files /dev/null and b/themes/toutpratique/img/garantie.png differ diff --git a/themes/toutpratique/img/icon/cible.gif b/themes/toutpratique/img/icon/cible.gif new file mode 100644 index 00000000..d50ec7cc Binary files /dev/null and b/themes/toutpratique/img/icon/cible.gif differ diff --git a/themes/toutpratique/img/icon/delete.gif b/themes/toutpratique/img/icon/delete.gif new file mode 100644 index 00000000..6d186d19 Binary files /dev/null and b/themes/toutpratique/img/icon/delete.gif differ diff --git a/themes/toutpratique/img/icon/download_product.gif b/themes/toutpratique/img/icon/download_product.gif new file mode 100644 index 00000000..f25a6121 Binary files /dev/null and b/themes/toutpratique/img/icon/download_product.gif differ diff --git a/themes/toutpratique/img/icon/form-error.png b/themes/toutpratique/img/icon/form-error.png new file mode 100644 index 00000000..b8d7b648 Binary files /dev/null and b/themes/toutpratique/img/icon/form-error.png differ diff --git a/themes/toutpratique/img/icon/form-ok.png b/themes/toutpratique/img/icon/form-ok.png new file mode 100644 index 00000000..15c8e240 Binary files /dev/null and b/themes/toutpratique/img/icon/form-ok.png differ diff --git a/themes/toutpratique/img/icon/index.php b/themes/toutpratique/img/icon/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/img/icon/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/img/icon/infos.gif b/themes/toutpratique/img/icon/infos.gif new file mode 100644 index 00000000..12cd1aef Binary files /dev/null and b/themes/toutpratique/img/icon/infos.gif differ diff --git a/themes/toutpratique/img/icon/quantity_down.gif b/themes/toutpratique/img/icon/quantity_down.gif new file mode 100644 index 00000000..7a827069 Binary files /dev/null and b/themes/toutpratique/img/icon/quantity_down.gif differ diff --git a/themes/toutpratique/img/icon/quantity_down_off.gif b/themes/toutpratique/img/icon/quantity_down_off.gif new file mode 100644 index 00000000..fe6de305 Binary files /dev/null and b/themes/toutpratique/img/icon/quantity_down_off.gif differ diff --git a/themes/toutpratique/img/icon/quantity_up.gif b/themes/toutpratique/img/icon/quantity_up.gif new file mode 100644 index 00000000..3c2dcce6 Binary files /dev/null and b/themes/toutpratique/img/icon/quantity_up.gif differ diff --git a/themes/toutpratique/img/icon/search.png b/themes/toutpratique/img/icon/search.png new file mode 100644 index 00000000..ca8b43c8 Binary files /dev/null and b/themes/toutpratique/img/icon/search.png differ diff --git a/themes/toutpratique/img/icon/serial_scroll_left.gif b/themes/toutpratique/img/icon/serial_scroll_left.gif new file mode 100644 index 00000000..c3cc9e2d Binary files /dev/null and b/themes/toutpratique/img/icon/serial_scroll_left.gif differ diff --git a/themes/toutpratique/img/icon/serial_scroll_right.gif b/themes/toutpratique/img/icon/serial_scroll_right.gif new file mode 100644 index 00000000..653f3377 Binary files /dev/null and b/themes/toutpratique/img/icon/serial_scroll_right.gif differ diff --git a/themes/toutpratique/img/icon/up.gif b/themes/toutpratique/img/icon/up.gif new file mode 100644 index 00000000..67345103 Binary files /dev/null and b/themes/toutpratique/img/icon/up.gif differ diff --git a/themes/toutpratique/img/icon/userinfo.gif b/themes/toutpratique/img/icon/userinfo.gif new file mode 100644 index 00000000..646ba273 Binary files /dev/null and b/themes/toutpratique/img/icon/userinfo.gif differ diff --git a/themes/toutpratique/img/img-404.jpg b/themes/toutpratique/img/img-404.jpg new file mode 100644 index 00000000..94be9e3d Binary files /dev/null and b/themes/toutpratique/img/img-404.jpg differ diff --git a/themes/toutpratique/img/index.php b/themes/toutpratique/img/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/img/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/img/jquery/blank.gif b/themes/toutpratique/img/jquery/blank.gif new file mode 100644 index 00000000..35d42e80 Binary files /dev/null and b/themes/toutpratique/img/jquery/blank.gif differ diff --git a/themes/toutpratique/img/jquery/fancybox_loading.gif b/themes/toutpratique/img/jquery/fancybox_loading.gif new file mode 100644 index 00000000..a03a40c0 Binary files /dev/null and b/themes/toutpratique/img/jquery/fancybox_loading.gif differ diff --git a/themes/toutpratique/img/jquery/fancybox_loading@2x.gif b/themes/toutpratique/img/jquery/fancybox_loading@2x.gif new file mode 100644 index 00000000..9205aeb0 Binary files /dev/null and b/themes/toutpratique/img/jquery/fancybox_loading@2x.gif differ diff --git a/themes/toutpratique/img/jquery/fancybox_overlay.png b/themes/toutpratique/img/jquery/fancybox_overlay.png new file mode 100644 index 00000000..83faed50 Binary files /dev/null and b/themes/toutpratique/img/jquery/fancybox_overlay.png differ diff --git a/themes/toutpratique/img/jquery/fancybox_sprite.png b/themes/toutpratique/img/jquery/fancybox_sprite.png new file mode 100644 index 00000000..ea5cce34 Binary files /dev/null and b/themes/toutpratique/img/jquery/fancybox_sprite.png differ diff --git a/themes/toutpratique/img/jquery/fancybox_sprite@2x.png b/themes/toutpratique/img/jquery/fancybox_sprite@2x.png new file mode 100644 index 00000000..dbed425a Binary files /dev/null and b/themes/toutpratique/img/jquery/fancybox_sprite@2x.png differ diff --git a/themes/toutpratique/img/jquery/index.php b/themes/toutpratique/img/jquery/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/img/jquery/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/img/jquery/macFFBgHack.png b/themes/toutpratique/img/jquery/macFFBgHack.png new file mode 100644 index 00000000..7211047b Binary files /dev/null and b/themes/toutpratique/img/jquery/macFFBgHack.png differ diff --git a/themes/toutpratique/img/jquery/uniform/index.php b/themes/toutpratique/img/jquery/uniform/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/img/jquery/uniform/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/img/jquery/uniform/sprite.png b/themes/toutpratique/img/jquery/uniform/sprite.png new file mode 100644 index 00000000..d41224d7 Binary files /dev/null and b/themes/toutpratique/img/jquery/uniform/sprite.png differ diff --git a/themes/toutpratique/img/jquery/uniform/sprite_old.png b/themes/toutpratique/img/jquery/uniform/sprite_old.png new file mode 100644 index 00000000..ef65c5e2 Binary files /dev/null and b/themes/toutpratique/img/jquery/uniform/sprite_old.png differ diff --git a/themes/toutpratique/img/logo-banner.png b/themes/toutpratique/img/logo-banner.png new file mode 100644 index 00000000..8625dad6 Binary files /dev/null and b/themes/toutpratique/img/logo-banner.png differ diff --git a/themes/toutpratique/img/logo_paiement_mastercard.jpg b/themes/toutpratique/img/logo_paiement_mastercard.jpg new file mode 100644 index 00000000..26581573 Binary files /dev/null and b/themes/toutpratique/img/logo_paiement_mastercard.jpg differ diff --git a/themes/toutpratique/img/logo_paiement_paypal.jpg b/themes/toutpratique/img/logo_paiement_paypal.jpg new file mode 100644 index 00000000..a975fdd4 Binary files /dev/null and b/themes/toutpratique/img/logo_paiement_paypal.jpg differ diff --git a/themes/toutpratique/img/logo_paiement_visa.jpg b/themes/toutpratique/img/logo_paiement_visa.jpg new file mode 100644 index 00000000..1b6bfb2d Binary files /dev/null and b/themes/toutpratique/img/logo_paiement_visa.jpg differ diff --git a/themes/toutpratique/img/mail/footer-mail.png b/themes/toutpratique/img/mail/footer-mail.png new file mode 100644 index 00000000..80a4d877 Binary files /dev/null and b/themes/toutpratique/img/mail/footer-mail.png differ diff --git a/themes/toutpratique/img/mail/header-mail.png b/themes/toutpratique/img/mail/header-mail.png new file mode 100644 index 00000000..1a7a5bc0 Binary files /dev/null and b/themes/toutpratique/img/mail/header-mail.png differ diff --git a/themes/toutpratique/img/order-step-a.png b/themes/toutpratique/img/order-step-a.png new file mode 100644 index 00000000..93088396 Binary files /dev/null and b/themes/toutpratique/img/order-step-a.png differ diff --git a/themes/toutpratique/img/order-step-current.png b/themes/toutpratique/img/order-step-current.png new file mode 100644 index 00000000..13c474ae Binary files /dev/null and b/themes/toutpratique/img/order-step-current.png differ diff --git a/themes/toutpratique/img/order-step-done-last.png b/themes/toutpratique/img/order-step-done-last.png new file mode 100644 index 00000000..2f8ca0ff Binary files /dev/null and b/themes/toutpratique/img/order-step-done-last.png differ diff --git a/themes/toutpratique/img/order-step-done.png b/themes/toutpratique/img/order-step-done.png new file mode 100644 index 00000000..7c37f1d4 Binary files /dev/null and b/themes/toutpratique/img/order-step-done.png differ diff --git a/themes/toutpratique/img/pagination-li.gif b/themes/toutpratique/img/pagination-li.gif new file mode 100644 index 00000000..78ac5ffb Binary files /dev/null and b/themes/toutpratique/img/pagination-li.gif differ diff --git a/themes/toutpratique/img/price-container-bg.png b/themes/toutpratique/img/price-container-bg.png new file mode 100644 index 00000000..c4ee31f5 Binary files /dev/null and b/themes/toutpratique/img/price-container-bg.png differ diff --git a/themes/toutpratique/img/private-sales.png b/themes/toutpratique/img/private-sales.png new file mode 100644 index 00000000..18d1cca6 Binary files /dev/null and b/themes/toutpratique/img/private-sales.png differ diff --git a/themes/toutpratique/img/rss.gif b/themes/toutpratique/img/rss.gif new file mode 100644 index 00000000..12c1d33b Binary files /dev/null and b/themes/toutpratique/img/rss.gif differ diff --git a/themes/toutpratique/img/sitemap-horizontal.png b/themes/toutpratique/img/sitemap-horizontal.png new file mode 100644 index 00000000..231e716f Binary files /dev/null and b/themes/toutpratique/img/sitemap-horizontal.png differ diff --git a/themes/toutpratique/img/sitemap-last.png b/themes/toutpratique/img/sitemap-last.png new file mode 100644 index 00000000..dbee609c Binary files /dev/null and b/themes/toutpratique/img/sitemap-last.png differ diff --git a/themes/toutpratique/img/sprite-grid.png b/themes/toutpratique/img/sprite-grid.png new file mode 100644 index 00000000..ee4d468a Binary files /dev/null and b/themes/toutpratique/img/sprite-grid.png differ diff --git a/themes/toutpratique/img/sprite-icons.png b/themes/toutpratique/img/sprite-icons.png new file mode 100644 index 00000000..eba3b27f Binary files /dev/null and b/themes/toutpratique/img/sprite-icons.png differ diff --git a/themes/toutpratique/img/testimon-after.gif b/themes/toutpratique/img/testimon-after.gif new file mode 100644 index 00000000..7f723a6e Binary files /dev/null and b/themes/toutpratique/img/testimon-after.gif differ diff --git a/themes/toutpratique/img/update.png b/themes/toutpratique/img/update.png new file mode 100644 index 00000000..2b73d112 Binary files /dev/null and b/themes/toutpratique/img/update.png differ diff --git a/themes/toutpratique/index.php b/themes/toutpratique/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/index.tpl b/themes/toutpratique/index.tpl new file mode 100644 index 00000000..12b41763 --- /dev/null +++ b/themes/toutpratique/index.tpl @@ -0,0 +1,14 @@ + +{hook h="displayTopColumn"} + + +
    +
    + {hook h="displayLeftTopBlock"} + {hook h="displayRightTopBlock"} +
    +
    + {hook h="displayLeftBottomBlock"} + {hook h="displayRightBottomBlock"} +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/js/authentication.js b/themes/toutpratique/js/authentication.js new file mode 100644 index 00000000..bd8e3f56 --- /dev/null +++ b/themes/toutpratique/js/authentication.js @@ -0,0 +1,107 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + $(document).on('submit', '#create-account_form', function(e){ + e.preventDefault(); + submitFunction(); + }); + + $formInvoice = $('.account_creation.invoice'); + $('#invoice_address').is(':checked') ? $formInvoice.hide() : $formInvoice.show(); +}); + +$(document).on('change', '#invoice_address', function() { + $that = $(this); + $formInvoice = $('.account_creation.invoice'); + + $that.is(':checked') ? $formInvoice.fadeOut() : $formInvoice.fadeIn(); +}); + +function submitFunction() +{ + $('#create_account_error').html('').hide(); + $.ajax({ + type: 'POST', + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + headers: { "cache-control": "no-cache" }, + data: + { + controller: 'authentication', + SubmitCreate: 1, + ajax: true, + email_create: $('#email_create').val(), + back: $('input[name=back]').val(), + token: token + }, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(error in jsonData.errors) + //IE6 bug fix + if(error != 'indexOf') + errors += '
  • ' + jsonData.errors[error] + '
  • '; + $('#create_account_error').html('
      ' + errors + '
    ').show(); + } + else + { + // adding a div to display a transition + $('#auth').html('
    ' + $('#auth').html() + '
    '); + $('#noSlide').fadeOut('slow', function() + { + $('#noSlide').html($(jsonData.page).find('#account-creation_form')); + $(this).fadeIn('slow', function() + { + customInputs(); + document.location = '#account-creation'; + }); + }); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) + { + error = "TECHNICAL ERROR: unable to load form.\n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + { + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: "

    " + error + '

    ' + }], + { + padding: 0 + }); + } + else + alert(error); + } + }); +} \ No newline at end of file diff --git a/themes/toutpratique/js/autoload/10-bootstrap.min.js b/themes/toutpratique/js/autoload/10-bootstrap.min.js new file mode 100644 index 00000000..87b23d41 --- /dev/null +++ b/themes/toutpratique/js/autoload/10-bootstrap.min.js @@ -0,0 +1,6 @@ +/** +* bootstrap.js v3.0.0 by @fat and @mdo +* Copyright 2013 Twitter Inc. +* http://www.apache.org/licenses/LICENSE-2.0 +*/ +if(!jQuery)throw new Error("Bootstrap requires jQuery");+function(a){"use strict";function b(){var a=document.createElement("bootstrap"),b={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var c in b)if(void 0!==a.style[c])return{end:b[c]}}a.fn.emulateTransitionEnd=function(b){var c=!1,d=this;a(this).one(a.support.transition.end,function(){c=!0});var e=function(){c||a(d).trigger(a.support.transition.end)};return setTimeout(e,b),this},a(function(){a.support.transition=b()})}(window.jQuery),+function(a){"use strict";var b='[data-dismiss="alert"]',c=function(c){a(c).on("click",b,this.close)};c.prototype.close=function(b){function c(){f.trigger("closed.bs.alert").remove()}var d=a(this),e=d.attr("data-target");e||(e=d.attr("href"),e=e&&e.replace(/.*(?=#[^\s]*$)/,""));var f=a(e);b&&b.preventDefault(),f.length||(f=d.hasClass("alert")?d:d.parent()),f.trigger(b=a.Event("close.bs.alert")),b.isDefaultPrevented()||(f.removeClass("in"),a.support.transition&&f.hasClass("fade")?f.one(a.support.transition.end,c).emulateTransitionEnd(150):c())};var d=a.fn.alert;a.fn.alert=function(b){return this.each(function(){var d=a(this),e=d.data("bs.alert");e||d.data("bs.alert",e=new c(this)),"string"==typeof b&&e[b].call(d)})},a.fn.alert.Constructor=c,a.fn.alert.noConflict=function(){return a.fn.alert=d,this},a(document).on("click.bs.alert.data-api",b,c.prototype.close)}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d)};b.DEFAULTS={loadingText:"loading..."},b.prototype.setState=function(a){var b="disabled",c=this.$element,d=c.is("input")?"val":"html",e=c.data();a+="Text",e.resetText||c.data("resetText",c[d]()),c[d](e[a]||this.options[a]),setTimeout(function(){"loadingText"==a?c.addClass(b).attr(b,b):c.removeClass(b).removeAttr(b)},0)},b.prototype.toggle=function(){var a=this.$element.closest('[data-toggle="buttons"]');if(a.length){var b=this.$element.find("input").prop("checked",!this.$element.hasClass("active")).trigger("change");"radio"===b.prop("type")&&a.find(".active").removeClass("active")}this.$element.toggleClass("active")};var c=a.fn.button;a.fn.button=function(c){return this.each(function(){var d=a(this),e=d.data("bs.button"),f="object"==typeof c&&c;e||d.data("bs.button",e=new b(this,f)),"toggle"==c?e.toggle():c&&e.setState(c)})},a.fn.button.Constructor=b,a.fn.button.noConflict=function(){return a.fn.button=c,this},a(document).on("click.bs.button.data-api","[data-toggle^=button]",function(b){var c=a(b.target);c.hasClass("btn")||(c=c.closest(".btn")),c.button("toggle"),b.preventDefault()})}(window.jQuery),+function(a){"use strict";var b=function(b,c){this.$element=a(b),this.$indicators=this.$element.find(".carousel-indicators"),this.options=c,this.paused=this.sliding=this.interval=this.$active=this.$items=null,"hover"==this.options.pause&&this.$element.on("mouseenter",a.proxy(this.pause,this)).on("mouseleave",a.proxy(this.cycle,this))};b.DEFAULTS={interval:5e3,pause:"hover",wrap:!0},b.prototype.cycle=function(b){return b||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(a.proxy(this.next,this),this.options.interval)),this},b.prototype.getActiveIndex=function(){return this.$active=this.$element.find(".item.active"),this.$items=this.$active.parent().children(),this.$items.index(this.$active)},b.prototype.to=function(b){var c=this,d=this.getActiveIndex();return b>this.$items.length-1||0>b?void 0:this.sliding?this.$element.one("slid",function(){c.to(b)}):d==b?this.pause().cycle():this.slide(b>d?"next":"prev",a(this.$items[b]))},b.prototype.pause=function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},b.prototype.next=function(){return this.sliding?void 0:this.slide("next")},b.prototype.prev=function(){return this.sliding?void 0:this.slide("prev")},b.prototype.slide=function(b,c){var d=this.$element.find(".item.active"),e=c||d[b](),f=this.interval,g="next"==b?"left":"right",h="next"==b?"first":"last",i=this;if(!e.length){if(!this.options.wrap)return;e=this.$element.find(".item")[h]()}this.sliding=!0,f&&this.pause();var j=a.Event("slide.bs.carousel",{relatedTarget:e[0],direction:g});if(!e.hasClass("active")){if(this.$indicators.length&&(this.$indicators.find(".active").removeClass("active"),this.$element.one("slid",function(){var b=a(i.$indicators.children()[i.getActiveIndex()]);b&&b.addClass("active")})),a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(j),j.isDefaultPrevented())return;e.addClass(b),e[0].offsetWidth,d.addClass(g),e.addClass(g),d.one(a.support.transition.end,function(){e.removeClass([b,g].join(" ")).addClass("active"),d.removeClass(["active",g].join(" ")),i.sliding=!1,setTimeout(function(){i.$element.trigger("slid")},0)}).emulateTransitionEnd(600)}else{if(this.$element.trigger(j),j.isDefaultPrevented())return;d.removeClass("active"),e.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return f&&this.cycle(),this}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("bs.carousel"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("bs.carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.pause().cycle()})},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data()),g=d.attr("data-slide-to");g&&(f.interval=!1),e.carousel(f),(g=d.attr("data-slide-to"))&&e.data("bs.carousel").to(g),b.preventDefault()}),a(window).on("load",function(){a('[data-ride="carousel"]').each(function(){var b=a(this);b.carousel(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.$element=a(c),this.options=a.extend({},b.DEFAULTS,d),this.transitioning=null,this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.DEFAULTS={toggle:!0},b.prototype.dimension=function(){var a=this.$element.hasClass("width");return a?"width":"height"},b.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var b=a.Event("show.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.$parent&&this.$parent.find("> .panel > .in");if(c&&c.length){var d=c.data("bs.collapse");if(d&&d.transitioning)return;c.collapse("hide"),d||c.data("bs.collapse",null)}var e=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[e](0),this.transitioning=1;var f=function(){this.$element.removeClass("collapsing").addClass("in")[e]("auto"),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return f.call(this);var g=a.camelCase(["scroll",e].join("-"));this.$element.one(a.support.transition.end,a.proxy(f,this)).emulateTransitionEnd(350)[e](this.$element[0][g])}}},b.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var b=a.Event("hide.bs.collapse");if(this.$element.trigger(b),!b.isDefaultPrevented()){var c=this.dimension();this.$element[c](this.$element[c]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse").removeClass("in"),this.transitioning=1;var d=function(){this.transitioning=0,this.$element.trigger("hidden.bs.collapse").removeClass("collapsing").addClass("collapse")};return a.support.transition?(this.$element[c](0).one(a.support.transition.end,a.proxy(d,this)).emulateTransitionEnd(350),void 0):d.call(this)}}},b.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("bs.collapse"),f=a.extend({},b.DEFAULTS,d.data(),"object"==typeof c&&c);e||d.data("bs.collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.bs.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e),g=f.data("bs.collapse"),h=g?"toggle":d.data(),i=d.attr("data-parent"),j=i&&a(i);g&&g.transitioning||(j&&j.find('[data-toggle=collapse][data-parent="'+i+'"]').not(d).addClass("collapsed"),d[f.hasClass("in")?"addClass":"removeClass"]("collapsed")),f.collapse(h)})}(window.jQuery),+function(a){"use strict";function b(){a(d).remove(),a(e).each(function(b){var d=c(a(this));d.hasClass("open")&&(d.trigger(b=a.Event("hide.bs.dropdown")),b.isDefaultPrevented()||d.removeClass("open").trigger("hidden.bs.dropdown"))})}function c(b){var c=b.attr("data-target");c||(c=b.attr("href"),c=c&&/#/.test(c)&&c.replace(/.*(?=#[^\s]*$)/,""));var d=c&&a(c);return d&&d.length?d:b.parent()}var d=".dropdown-backdrop",e="[data-toggle=dropdown]",f=function(b){a(b).on("click.bs.dropdown",this.toggle)};f.prototype.toggle=function(d){var e=a(this);if(!e.is(".disabled, :disabled")){var f=c(e),g=f.hasClass("open");if(b(),!g){if("ontouchstart"in document.documentElement&&a(''}),b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype),b.prototype.constructor=b,b.prototype.getDefaults=function(){return b.DEFAULTS},b.prototype.setContent=function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in"),a.find(".popover-title").html()||a.find(".popover-title").hide()},b.prototype.hasContent=function(){return this.getTitle()||this.getContent()},b.prototype.getContent=function(){var a=this.$element,b=this.options;return a.attr("data-content")||("function"==typeof b.content?b.content.call(a[0]):b.content)},b.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")},b.prototype.tip=function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip};var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("bs.popover"),f="object"==typeof c&&c;e||d.data("bs.popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),+function(a){"use strict";function b(c,d){var e,f=a.proxy(this.process,this);this.$element=a(c).is("body")?a(window):a(c),this.$body=a("body"),this.$scrollElement=this.$element.on("scroll.bs.scroll-spy.data-api",f),this.options=a.extend({},b.DEFAULTS,d),this.selector=(this.options.target||(e=a(c).attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.offsets=a([]),this.targets=a([]),this.activeTarget=null,this.refresh(),this.process()}b.DEFAULTS={offset:10},b.prototype.refresh=function(){var b=this.$element[0]==window?"offset":"position";this.offsets=a([]),this.targets=a([]);var c=this;this.$body.find(this.selector).map(function(){var d=a(this),e=d.data("target")||d.attr("href"),f=/^#\w/.test(e)&&a(e);return f&&f.length&&[[f[b]().top+(!a.isWindow(c.$scrollElement.get(0))&&c.$scrollElement.scrollTop()),e]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},b.prototype.process=function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},b.prototype.activate=function(b){this.activeTarget=b,a(this.selector).parents(".active").removeClass("active");var c=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',d=a(c).parents("li").addClass("active");d.parent(".dropdown-menu").length&&(d=d.closest("li.dropdown").addClass("active")),d.trigger("activate")};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("bs.scrollspy"),f="object"==typeof c&&c;e||d.data("bs.scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),+function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype.show=function(){var b=this.element,c=b.closest("ul:not(.dropdown-menu)"),d=b.attr("data-target");if(d||(d=b.attr("href"),d=d&&d.replace(/.*(?=#[^\s]*$)/,"")),!b.parent("li").hasClass("active")){var e=c.find(".active:last a")[0],f=a.Event("show.bs.tab",{relatedTarget:e});if(b.trigger(f),!f.isDefaultPrevented()){var g=a(d);this.activate(b.parent("li"),c),this.activate(g,g.parent(),function(){b.trigger({type:"shown.bs.tab",relatedTarget:e})})}}},b.prototype.activate=function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e).emulateTransitionEnd(150):e(),f.removeClass("in")};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("bs.tab");e||d.data("bs.tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),+function(a){"use strict";var b=function(c,d){this.options=a.extend({},b.DEFAULTS,d),this.$window=a(window).on("scroll.bs.affix.data-api",a.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",a.proxy(this.checkPositionWithEventLoop,this)),this.$element=a(c),this.affixed=this.unpin=null,this.checkPosition()};b.RESET="affix affix-top affix-bottom",b.DEFAULTS={offset:0},b.prototype.checkPositionWithEventLoop=function(){setTimeout(a.proxy(this.checkPosition,this),1)},b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.top,h=f.bottom;"object"!=typeof f&&(h=g=f),"function"==typeof g&&(g=f.top()),"function"==typeof h&&(h=f.bottom());var i=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=h&&e.top+this.$element.height()>=c-h?"bottom":null!=g&&g>=d?"top":!1;this.affixed!==i&&(this.unpin&&this.$element.css("top",""),this.affixed=i,this.unpin="bottom"==i?e.top-d:null,this.$element.removeClass(b.RESET).addClass("affix"+(i?"-"+i:"")),"bottom"==i&&this.$element.offset({top:document.body.offsetHeight-h-this.$element.height()}))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("bs.affix"),f="object"==typeof c&&c;e||d.data("bs.affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery); \ No newline at end of file diff --git a/themes/toutpratique/js/autoload/15-jquery.total-storage.min.js b/themes/toutpratique/js/autoload/15-jquery.total-storage.min.js new file mode 100644 index 00000000..27cbd399 --- /dev/null +++ b/themes/toutpratique/js/autoload/15-jquery.total-storage.min.js @@ -0,0 +1,31 @@ +/* + * TotalStorage + * + * Copyright (c) 2012 Jared Novack & Upstatement (upstatement.com) + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + * + * Total Storage is the conceptual the love child of jStorage by Andris Reinman, + * and Cookie by Klaus Hartl -- though this is not connected to either project. + * + * @name $.totalStorage + * @cat Plugins/Cookie + * @author Jared Novack/jared@upstatement.com + * @version 1.1.2 + * @url http://upstatement.com/blog/2012/01/jquery-local-storage-done-right-and-easy/ + */ +(function($){var ls=window.localStorage;var supported;if(typeof ls=='undefined'||typeof window.JSON=='undefined'){supported=false;}else{supported=true;} +$.totalStorage=function(key,value,options){return $.totalStorage.impl.init(key,value);} +$.totalStorage.setItem=function(key,value){return $.totalStorage.impl.setItem(key,value);} +$.totalStorage.getItem=function(key){return $.totalStorage.impl.getItem(key);} +$.totalStorage.getAll=function(){return $.totalStorage.impl.getAll();} +$.totalStorage.deleteItem=function(key){return $.totalStorage.impl.deleteItem(key);} +$.totalStorage.impl={init:function(key,value){if(typeof value!='undefined'){return this.setItem(key,value);}else{return this.getItem(key);}},setItem:function(key,value){if(!supported){try{$.cookie(key,value);return value;}catch(e){console.log('Local Storage not supported by this browser. Install the cookie plugin on your site to take advantage of the same functionality. You can get it at https://github.com/carhartl/jquery-cookie');}} +var saver=JSON.stringify(value);ls.setItem(key,saver);return this.parseResult(saver);},getItem:function(key){if(!supported){try{return this.parseResult($.cookie(key));}catch(e){return null;}} +return this.parseResult(ls.getItem(key));},deleteItem:function(key){if(!supported){try{$.cookie(key,null);return true;}catch(e){return false;}} +ls.removeItem(key);return true;},getAll:function(){var items=new Array();if(!supported){try{var pairs=document.cookie.split(";");for(var i=0;i +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/cart-summary.js b/themes/toutpratique/js/cart-summary.js new file mode 100644 index 00000000..be072058 --- /dev/null +++ b/themes/toutpratique/js/cart-summary.js @@ -0,0 +1,1027 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$(document).ready(function(){ + $('.cart_quantity_up').off('click').on('click', function(e){ + e.preventDefault(); + upQuantity($(this).attr('id').replace('cart_quantity_up_', '')); + }); + $('.cart_quantity_down').off('click').on('click', function(e){ + e.preventDefault(); + downQuantity($(this).attr('id').replace('cart_quantity_down_', '')); + }); + $('.cart_quantity_delete' ).off('click').on('click', function(e){ + e.preventDefault(); + deleteProductFromSummary($(this).attr('id')); + }); + $('.cart_address_delivery').on('change', function(e){ + changeAddressDelivery($(this)); + }); + + $(document).on('click', '.voucher_name', function(e){ + $('#discount_name').val($(this).data('code')); + }); + + $('.cart_quantity_input').typeWatch({ + highlight: true, wait: 600, captureLength: 0, callback: function(val){ + updateQty(val, true, this.el); + } + }); + + cleanSelectAddressDelivery(); + + refreshDeliveryOptions(); + + $('.delivery_option_radio').on('change', function(){ + refreshDeliveryOptions(); + }); + + $('#allow_seperated_package').on('click', function(){ + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'controller=cart&ajax=true&allowSeperatedPackage=true&value=' + + ($(this).prop('checked') ? '1' : '0') + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + } + }); + }); + + $('#gift').checkboxChange(function(){ + $('#gift_div').show('slow'); + }, function(){ + $('#gift_div').hide('slow'); + }); + + $('#enable-multishipping').checkboxChange( + function(){ + $('.standard-checkout').hide(0); + $('.multishipping-checkout').show(0); + }, + function(){ + $('.standard-checkout').show(0); + $('.multishipping-checkout').hide(0); + } + ); +}); + +function cleanSelectAddressDelivery() +{ + if (window.ajaxCart !== undefined) + { + //Removing "Ship to an other address" from the address delivery select option if there is not enought address + $.each($('.cart_address_delivery'), function(it, item) + { + var options = $(item).find('option'); + var address_count = 0; + + var ids = $(item).attr('id').split('_'); + var id_product = ids[3]; + var id_product_attribute = ids[4]; + var id_address_delivery = ids[5]; + + $.each(options, function(i) { + if ($(options[i]).val() > 0 + && ($('#product_' + id_product + '_' + id_product_attribute + '_0_' + $(options[i]).val()).length == 0 // Check the address is not already used for a similare products + || id_address_delivery == $(options[i]).val() + ) + ) + address_count++; + }); + + // Need at least two address to allow skipping products to multiple address + if (address_count < 2) + $($(item).find('option[value=-2]')).remove(); + else if($($(item).find('option[value=-2]')).length == 0) + $(item).append($('')); + }); + } +} + +function changeAddressDelivery(obj) +{ + var ids = obj.attr('id').split('_'); + var id_product = ids[3]; + var id_product_attribute = ids[4]; + var old_id_address_delivery = ids[5]; + var new_id_address_delivery = obj.val(); + + if (new_id_address_delivery == old_id_address_delivery) + return; + + if (new_id_address_delivery > 0) // Change the delivery address + { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart&ajax=true&changeAddressDelivery=1&summary=1&id_product=' + id_product + + '&id_product_attribute='+id_product_attribute + + '&old_id_address_delivery='+old_id_address_delivery + + '&new_id_address_delivery='+new_id_address_delivery + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (typeof(jsonData.hasErrors) != 'undefined' && jsonData.hasErrors) + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + jsonData.error + '

    ' + }], + { + padding: 0 + }); + else + alert(jsonData.error); + + // Reset the old address + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).val(old_id_address_delivery); + } + else + { + // The product exist + if ($('#product_' + id_product + '_' + id_product_attribute + '_0_' + new_id_address_delivery).length) + { + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + + // @todo reverse the remove order + // This effect remove the current line, but it's better to remove the other one, and refresshing this one + $('#product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery).remove(); + + // @todo improve customization upgrading + $('.product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery).remove(); + } + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateAddressId(id_product, id_product_attribute, old_id_address_delivery, new_id_address_delivery); + cleanSelectAddressDelivery(); + } + } + }); + } + else if (new_id_address_delivery == -1) // Adding a new address + window.location = $($('.address_add a')[0]).attr('href'); + else if (new_id_address_delivery == -2) // Add a new line for this product + { + // This test is will not usefull in the future + if (old_id_address_delivery == 0) + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + txtSelectAnAddressFirst + '

    ' + }], + { + padding: 0 + }); + else + alert(txtSelectAnAddressFirst); + return false; + } + + // Get new address to deliver + var id_address_delivery = 0; + var options = $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery + ' option'); + $.each(options, function(i) { + // Check the address is not already used for a similare products + if ($(options[i]).val() > 0 && $(options[i]).val() !== old_id_address_delivery && $('#product_' + id_product + '_' + id_product_attribute + '_0_' + $(options[i]).val()).length == 0) + { + id_address_delivery = $(options[i]).val(); + return false; + } + }); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + context: obj, + data: 'controller=cart' + + '&ajax=true&duplicate=true&summary=true' + + '&id_product='+id_product + + '&id_product_attribute='+id_product_attribute + + '&id_address_delivery='+old_id_address_delivery + + '&new_id_address_delivery='+id_address_delivery + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.error && !!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + jsonData.error + '

    ' + }], + { + padding: 0 + }); + else + alert(jsonData.error); + + var line = $('#product_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery); + var new_line = line.clone(); + updateAddressId(id_product, id_product_attribute, old_id_address_delivery, id_address_delivery, new_line); + line.after(new_line); + new_line.find('input[name=quantity_' + id_product + '_' + id_product_attribute + '_0_' + old_id_address_delivery + '_hidden]') + .val(1); + new_line.find('.cart_quantity_input') + .val(1); + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).val(old_id_address_delivery); + $('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + id_address_delivery).val(id_address_delivery); + + + cleanSelectAddressDelivery(); + + updateCartSummary(jsonData.summary); + if (window.ajaxCart !== undefined) + ajaxCart.updateCart(jsonData); + } + }); + } + return true; +} + +function updateAddressId(id_product, id_product_attribute, old_id_address_delivery, id_address_delivery, line) +{ + if (typeof(line) == 'undefined' || line.length == 0) + line = $('#cart_summary tr[id^=product_' + id_product + '_' + id_product_attribute + '_0_], #cart_summary tr[id^=product_' + id_product + '_' + id_product_attribute + '_nocustom_]'); + + $('.product_customization_for_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).each(function(){ + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + id_address_delivery)).removeClass('product_customization_for_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery + ' address_' + old_id_address_delivery).addClass('product_customization_for_' + id_product + '_' + id_product_attribute + '_' + id_address_delivery + ' address_' + id_address_delivery); + $(this).find('input[name^=quantity_]').each(function(){ + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/_\d+(_hidden|)$/, '_' + id_address_delivery)); + }); + $(this).find('a').each(function(){ + if (typeof($(this).attr('href')) != 'undefined') + $(this).attr('href', $(this).attr('href').replace(/id_address_delivery=\d+/, 'id_address_delivery=' + id_address_delivery)); + }); + }); + + line.attr('id', line.attr('id').replace(/_\d+$/, '_' + id_address_delivery)).removeClass('address_' + old_id_address_delivery).addClass('address_' + id_address_delivery).find('span[id^=cart_quantity_custom_], span[id^=total_product_price_], input[name^=quantity_], .cart_quantity_down, .cart_quantity_up, .cart_quantity_delete').each(function(){ + + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/_\d+(_hidden|)$/, '_' + id_address_delivery)); + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + id_address_delivery)); + if (typeof($(this).attr('href')) != 'undefined') + $(this).attr('href', $(this).attr('href').replace(/id_address_delivery=\d+/, 'id_address_delivery=' + id_address_delivery)); + }); + + line.find('#select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + old_id_address_delivery).attr('id', 'select_address_delivery_' + id_product + '_' + id_product_attribute + '_' + id_address_delivery); + + if (window.ajaxCart !== undefined) + { + $('#cart_block_list dd, #cart_block_list dt').each(function(){ + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + id_address_delivery)); + }); + } +} + +function updateQty(val, cart, el) +{ + var prefix = ""; + + if (typeof(cart) == 'undefined' || cart) + prefix = '#order-detail-content '; + else + prefix = '#fancybox-content '; + + var id = $(el).attr('name'); + + var exp = new RegExp("^[0-9]+$"); + + if (exp.test(val) == true) + { + var hidden = $(prefix + 'input[name=' + id + '_hidden]').val(); + var input = $(prefix + 'input[name=' + id + ']').val(); + var QtyToUp = parseInt(input) - parseInt(hidden); + + if (parseInt(QtyToUp) > 0) + upQuantity(id.replace('quantity_', ''), QtyToUp); + else if(parseInt(QtyToUp) < 0) + downQuantity(id.replace('quantity_', ''), QtyToUp); + } + else + $(prefix + 'input[name=' + id + ']').val($(prefix + 'input[name=' + id + '_hidden]').val()); + + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); +} + +function deleteProductFromSummary(id) +{ + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true&delete=true&summary=true' + + '&id_product='+productId + + '&ipa='+productAttributeId + + '&id_address_delivery='+id_address_delivery + + ((customizationId !== 0) ? '&id_customization=' + customizationId : '') + + '&token=' + static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + errors + '

    ' + }], + { + padding: 0 + }); + else + alert(errors); + } + else + { + if (jsonData.refresh) + location.reload(); + if (parseInt(jsonData.summary.products.length) == 0) + { + if (typeof(orderProcess) == 'undefined' || orderProcess !== 'order-opc') + document.location.href = document.location.href; // redirection + else + { + $('#center_column').children().each(function() { + if ($(this).attr('id') !== 'emptyCartWarning' && $(this).attr('class') !== 'breadcrumb' && $(this).attr('id') !== 'cart_title') + { + $(this).fadeOut('slow', function () { + $(this).remove(); + }); + } + }); + $('#summary_products_label').remove(); + $('#emptyCartWarning').fadeIn('slow'); + } + } + else + { + $('#product_' + id).fadeOut('slow', function() { + $(this).remove(); + cleanSelectAddressDelivery(); + if (!customizationId) + refreshOddRow(); + }); + var exist = false; + for (i=0;i 0)) + exist = true; + } + // if all customization removed => delete product line + if (!exist && customizationId) + $('#product_' + productId + '_' + productAttributeId + '_0_' + id_address_delivery).fadeOut('slow', function() { + $(this).remove(); + var line = $('#product_' + productId + '_' + productAttributeId + '_nocustom_' + id_address_delivery); + if (line.length > 0) + { + line.find('input[name^=quantity_], .cart_quantity_down, .cart_quantity_up, .cart_quantity_delete').each(function(){ + if (typeof($(this).attr('name')) != 'undefined') + $(this).attr('name', $(this).attr('name').replace(/nocustom/, '0')); + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/nocustom/, '0')); + }); + line.find('span[id^=total_product_price_]').each(function(){ + $(this).attr('id', $(this).attr('id').replace(/_nocustom/, '')); + }); + line.attr('id', line.attr('id').replace(/nocustom/, '0')); + } + refreshOddRow(); + }); + } + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined' && jsonData.summary.products.length > 0) + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + var error = "TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + error + '

    ' + }], + { + padding: 0 + }); + else + alert(error); + } + } + }); +} + +function refreshOddRow() +{ + var odd_class = 'odd'; + var even_class = 'even'; + $.each($('.cart_item'), function(i, it) + { + if (i == 0) // First item + { + if ($(this).hasClass('even')) + { + odd_class = 'even'; + even_class = 'odd'; + } + $(this).addClass('first_item'); + } + if(i % 2) + $(this).removeClass(odd_class).addClass(even_class); + else + $(this).removeClass(even_class).addClass(odd_class); + }); + $('.cart_item:last-child, .customization:last-child').addClass('last_item'); +} + +function upQuantity(id, qty) +{ + if (typeof(qty) == 'undefined' || !qty) + qty = 1; + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true' + + '&add=true' + + '&getproductprice=true' + + '&summary=true' + + '&id_product=' + productId + + '&ipa=' + productAttributeId + + '&id_address_delivery=' + id_address_delivery + + ((customizationId !== 0) ? '&id_customization=' + customizationId : '') + + '&qty=' + qty + + '&token=' + static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + errors + '

    ' + }], + { + padding: 0 + }); + else + alert(errors); + $('input[name=quantity_'+ id +']').val($('input[name=quantity_'+ id +'_hidden]').val()); + } + else + { + if (jsonData.refresh) + window.location.href = window.location.href; + updateCartSummary(jsonData.summary); + if (window.ajaxCart != undefined) + ajaxCart.updateCart(jsonData); + if (customizationId !== 0) + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + error + '

    ' + }], + { + padding: 0 + }); + else + alert(error); + } + } + }); +} + +function downQuantity(id, qty) +{ + var val = $('input[name=quantity_' + id + ']').val(); + var newVal = val; + if(typeof(qty) == 'undefined' || !qty) + { + qty = 1; + newVal = val - 1; + } + else if (qty < 0) + qty = -qty; + + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var id_address_delivery = 0; + var ids = 0; + + ids = id.split('_'); + productId = parseInt(ids[0]); + if (typeof(ids[1]) !== 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) !== 'undefined' && ids[2] !== 'nocustom') + customizationId = parseInt(ids[2]); + if (typeof(ids[3]) !== 'undefined') + id_address_delivery = parseInt(ids[3]); + + if (newVal > 0 || $('#product_' + id + '_gift').length) + { + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType: 'json', + data: 'controller=cart' + + '&ajax=true' + + '&add=true' + + '&getproductprice=true' + + '&summary=true' + + '&id_product='+productId + + '&ipa='+productAttributeId + + '&id_address_delivery='+id_address_delivery + + '&op=down' + + ((customizationId !== 0) ? '&id_customization='+customizationId : '') + + '&qty='+qty + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + errors + '

    ' + }], + { + padding: 0 + }); + else + alert(errors); + $('input[name=quantity_' + id + ']').val($('input[name=quantity_' + id + '_hidden]').val()); + } + else + { + if (jsonData.refresh) + window.location.href = window.location.href; + updateCartSummary(jsonData.summary); + + if (window.ajaxCart !== undefined) + ajaxCart.updateCart(jsonData); + if (customizationId !== 0) + updateCustomizedDatas(jsonData.customizedDatas); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + + if (newVal == 0) + $('#product_' + id).hide(); + + if (typeof(getCarrierListAndUpdate) !== 'undefined') + getCarrierListAndUpdate(); + if (typeof(updatePaymentMethodsDisplay) !== 'undefined') + updatePaymentMethodsDisplay(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + } + }); + + } + else + { + deleteProductFromSummary(id); + } +} + +function updateCartSummary(json) +{ + var i; + var nbrProducts = 0; + var product_list = new Array(); + + if (typeof json == 'undefined') + return; + + $('div.alert-danger').fadeOut(); + + for (i=0;i product_list[i].price) + { + initial_price_text = '' + initial_price + ''; + } + } + + var key_for_blockcart = product_list[i].id_product + '_' + product_list[i].id_product_attribute + '_' + product_list[i].id_address_delivery; + var key_for_blockcart_nocustom = product_list[i].id_product + '_' + product_list[i].id_product_attribute + '_' + ((product_list[i].id_customization && product_list[i].quantity_without_customization != product_list[i].quantity)? 'nocustom' : '0') + '_' + product_list[i].id_address_delivery; + + if (typeof(product_list[i].customizationQuantityTotal) !== 'undefined' && product_list[i].customizationQuantityTotal > 0) + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_customization_total, currencyFormat, currencySign, currencyBlank)); + else + $('#total_product_price_' + key_for_blockcart).html(formatCurrency(product_total, currencyFormat, currencySign, currencyBlank)); + if (product_list[i].quantity_without_customization != product_list[i].quantity) + $('#total_product_price_' + key_for_blockcart_nocustom).html(formatCurrency(product_total, currencyFormat, currencySign, currencyBlank)); + + $('input[name=quantity_' + key_for_blockcart_nocustom + ']').val(product_list[i].id_customization? product_list[i].quantity_without_customization : product_list[i].cart_quantity); + $('input[name=quantity_' + key_for_blockcart_nocustom + '_hidden]').val(product_list[i].id_customization? product_list[i].quantity_without_customization : product_list[i].cart_quantity); + if (typeof(product_list[i].customizationQuantityTotal) !== 'undefined' && product_list[i].customizationQuantityTotal > 0) + $('#cart_quantity_custom_' + key_for_blockcart).html(product_list[i].customizationQuantityTotal); + nbrProducts += parseInt(product_list[i].quantity); + } + + // Update discounts + var discount_count = 0; + for(var e in json.discounts) + { + discount_count++; + break; + } + + if (!discount_count) + { + $('.cart_discount').each(function(){$(this).remove();}); + $('.cart_total_voucher').remove(); + } + else + { + if ($('.cart_discount').length == 0) + location.reload(); + + if (priceDisplayMethod !== 0) + $('#total_discount').html('-' + formatCurrency(json.total_discounts_tax_exc, currencyFormat, currencySign, currencyBlank)); + else + $('#total_discount').html('-' + formatCurrency(json.total_discounts, currencyFormat, currencySign, currencyBlank)); + + $('.cart_discount').each(function(){ + var idElmt = $(this).attr('id').replace('cart_discount_',''); + var toDelete = true; + + for (var i in json.discounts) + if (json.discounts[i].id_discount == idElmt) + { + if (json.discounts[i].value_real !== '!') + { + if (priceDisplayMethod !== 0) + $('#cart_discount_' + idElmt + ' td.cart_discount_price span.price-discount').html(formatCurrency(json.discounts[i].value_tax_exc * -1, currencyFormat, currencySign, currencyBlank)); + else + $('#cart_discount_' + idElmt + ' td.cart_discount_price span.price-discount').html(formatCurrency(json.discounts[i].value_real * -1, currencyFormat, currencySign, currencyBlank)); + } + toDelete = false; + } + if (toDelete) + $('#cart_discount_' + idElmt + ', #cart_total_voucher').fadeTo('fast', 0, function(){ $(this).remove(); }); + }); + } + + // Block cart + $('#cart_block_shipping_cost').show(); + $('#cart_block_shipping_cost').next().show(); + if (json.total_shipping > 0) + { + if (priceDisplayMethod !== 0) + { + $('#cart_block_shipping_cost').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_wrapping_cost').html(formatCurrency(json.total_wrapping_tax_exc, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_total').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank)); + } + else + { + $('#cart_block_shipping_cost').html(formatCurrency(json.total_shipping, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_wrapping_cost').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#cart_block_total').html(formatCurrency(json.total_price, currencyFormat, currencySign, currencyBlank)); + } + } + else + { + if (json.carrier.id == null) + { + $('#cart_block_shipping_cost').hide(); + $('#cart_block_shipping_cost').next().hide(); + } + } + + $('#cart_block_tax_cost').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank)); + $('.ajax_cart_quantity').html(nbrProducts); + + // Cart summary + $('#summary_products_quantity').html(nbrProducts + ' ' + (nbrProducts > 1 ? txtProducts : txtProduct)); + if (priceDisplayMethod !== 0) + $('#total_product').html(formatCurrency(json.total_products, currencyFormat, currencySign, currencyBlank)); + else + $('#total_product').html(formatCurrency(json.total_products_wt, currencyFormat, currencySign, currencyBlank)); + $('#total_price').html(formatCurrency(json.total_price, currencyFormat, currencySign, currencyBlank)); + $('#total_price_without_tax').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank)); + $('#total_tax').html(formatCurrency(json.total_products_wt, currencyFormat, currencySign, currencyBlank)); + + $('.cart_total_delivery').show(); + if (json.total_shipping > 0) + { + if (priceDisplayMethod !== 0) + $('#total_shipping').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank)); + else + $('#total_shipping').html(formatCurrency(json.total_shipping, currencyFormat, currencySign, currencyBlank)); + } + else + { + if (json.carrier.id != null) + $('#total_shipping').html(freeShippingTranslation); + else + $('.cart_total_delivery').hide(); + } + + if (json.free_ship > 0 && !json.is_virtual_cart) + { + $('.cart_free_shipping').fadeIn(); + $('#free_shipping').html(formatCurrency(json.free_ship, currencyFormat, currencySign, currencyBlank)); + } + else + $('.cart_free_shipping').hide(); + + if (json.total_wrapping > 0) + { + $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#total_wrapping').parent().show(); + } + else + { + $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); + $('#total_wrapping').parent().hide(); + } +} + +function updateCustomizedDatas(json) +{ + for(var i in json) + for(var j in json[i]) + for(var k in json[i][j]) + for(var l in json[i][j][k]) + { + var quantity = json[i][j][k][l]['quantity']; + $('input[name=quantity_' + i + '_' + j + '_' + l + '_' + k + '_hidden]').val(quantity); + $('input[name=quantity_' + i + '_' + j + '_' + l + '_' + k + ']').val(quantity); + } +} + +function updateHookShoppingCart(html) +{ + $('#HOOK_SHOPPING_CART').html(html); +} + +function updateHookShoppingCartExtra(html) +{ + $('#HOOK_SHOPPING_CART_EXTRA').html(html); +} +function refreshDeliveryOptions() +{ + $.each($('.delivery_option_radio'), function() { + if ($(this).prop('checked')) + { + if ($(this).parent().find('.delivery_option_carrier.not-displayable').length == 0) + $(this).parent().find('.delivery_option_carrier').show(); + var carrier_id_list = $(this).val().split(','); + carrier_id_list.pop(); + var it = this; + $(carrier_id_list).each(function() { + $(it).closest('.delivery_options').find('input[value="' + this.toString() + '"]').change(); + }); + } + else + $(this).parent().find('.delivery_option_carrier').hide(); + }); +} + +function updateExtraCarrier(id_delivery_option, id_address) +{ + var url = ""; + + if(typeof(orderOpcUrl) !== 'undefined') + url = orderOpcUrl; + else + url = orderUrl; + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: url + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true' + + '&method=updateExtraCarrier' + + '&id_address='+id_address + + '&id_delivery_option='+id_delivery_option + + '&token='+static_token + + '&allow_refresh=1', + success: function(jsonData) + { + $('#HOOK_EXTRACARRIER_' + id_address).html(jsonData['content']); + } + }); +} diff --git a/themes/toutpratique/js/category.js b/themes/toutpratique/js/category.js new file mode 100644 index 00000000..7e1af5a9 --- /dev/null +++ b/themes/toutpratique/js/category.js @@ -0,0 +1,58 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + resizeCatimg(); + +}); + +$(window).resize(function(){ + resizeCatimg(); +}); + +$(document).on('click', '.lnk_more', function(e){ + e.preventDefault(); + $('#category_description_short').hide(); + $('#category_description_full').show(); + $(this).hide(); +}); + +function resizeCatimg() +{ + var div = $('.cat_desc').parent('div'); + + if (div.css('background-image') == 'none') + return; + + var image = new Image; + $(image).load(function(){ + var width = image.width; + var height = image.height; + var ratio = parseFloat(height / width); + var calc = Math.round(ratio * parseInt(div.outerWidth(false))); + div.css('min-height', calc); + }); + if (div.length) + image.src = div.css('background-image').replace(/url\("?|"?\)$/ig, ''); +} \ No newline at end of file diff --git a/themes/toutpratique/js/cms.js b/themes/toutpratique/js/cms.js new file mode 100644 index 00000000..05bf29a7 --- /dev/null +++ b/themes/toutpratique/js/cms.js @@ -0,0 +1,53 @@ +$(document).ready(function(){ + if (typeof ad !== 'undefined' && ad && typeof adtoken !== 'undefined' && adtoken) + { + $(document).on('click', 'input[name=publish_button]', function(e){ + e.preventDefault(); + submitPublishCMS(ad, 0, adtoken); + }); + $(document).on('click', 'input[name=lnk_view]', function(e){ + e.preventDefault(); + submitPublishCMS(ad, 1, adtoken); + }); + } + + $scrollStart = $('.container.main').offset().top + 55; + $(document).scroll(function() { + $scrollTop = $(window).scrollTop(); + $scrollTop > $scrollStart ? $('.sub-nav-cms').addClass('stacked') : $('.sub-nav-cms').removeClass('stacked'); + }); + + $('.sub-nav-cms > ul > li > span').on('click', function(){ + console.log($(this)); + $alreadyOpen = $(this).parent().hasClass('open') ? true : false; + + $('.sub-nav-cms > ul > li').removeClass('open'); + if(!$alreadyOpen) + { + $(this).parent().addClass('open'); + } + }); +}); + +function submitPublishCMS(url, redirect, token) +{ + var id_cms = $('#admin-action-cms-id').val(); + + $.ajaxSetup({async: false}); + $.post(url+'/index.php', { + action: 'PublishCMS', + id_cms: id_cms, + status: 1, + redirect: redirect, + ajax: 1, + tab: 'AdminCmsContent', + token: token + }, + function(data) + { + if (data.indexOf('error') === -1) + document.location.href = data; + } + ); + return true; +} diff --git a/themes/toutpratique/js/contact-form.js b/themes/toutpratique/js/contact-form.js new file mode 100644 index 00000000..9c4f87d0 --- /dev/null +++ b/themes/toutpratique/js/contact-form.js @@ -0,0 +1,46 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + $(document).on('change', 'select[name=id_contact]', function(){ + $('.desc_contact').hide(); + $('#desc_contact' + parseInt($(this).val())).show(); + }); + + $(document).on('change', 'select[name=id_order]', function (){ + showProductSelect($(this).attr('value')); + }); + + showProductSelect($('select[name=id_order]').attr('value')); +}); + +function showProductSelect(id_order) +{ + $('.product_select').hide().prop('disabled', 'disabled').parent().hide(); + if ($('#' + id_order + '_order_products').length > 0) + { + $('#' + id_order + '_order_products').show(); + $('#' + id_order + '_order_products').children('input').removeProp('disabled'); + } +} diff --git a/themes/toutpratique/js/debug/index.php b/themes/toutpratique/js/debug/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/debug/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/debug/jquery.lint.js b/themes/toutpratique/js/debug/jquery.lint.js new file mode 100644 index 00000000..6a41d0d9 --- /dev/null +++ b/themes/toutpratique/js/debug/jquery.lint.js @@ -0,0 +1,847 @@ +/** + * jQuery Lint + * --- + * VERSION 1.1 + * --- + * jQuery lint creates a thin blanket over jQuery that'll + * report any potentially erroneous activity to the console. + * --- + * Idea from: + * http://markmail.org/message/wzkosk2s5jklpkv4 + * http://groups.google.com/group/jquery-dev/browse_thread/thread/9a15cca62ceb2444 + * --- + * @author James Padolsey + * @contributors Paul Irish, Zoran Zaric, Hans-Peter Buniat + * --- + * Dual licensed under the MIT and GPL licenses. + * - http://www.opensource.org/licenses/mit-license.php + * - http://www.gnu.org/copyleft/gpl.html + */ + +(function(){ + + var _jQuery = window.jQuery; // Change as needed + + if (!_jQuery) { + return; + } + + var glob = window, + + langs = { + en: { + incorrectCall: '%0(%1) called incorrectly', + specialCheckFailed: '%0(%1) special check failed', + moreInfo: 'More info:', + youPassed: 'You passed: ', + collection: 'Collection:', + availableSigsInclude: 'Available signatures include: ', + errorThrown: 'When I called %0(%1) with your args, an error was thrown!', + repeatSelector: "You've used the same selector more than once.", + info: 'Info', + selector: 'Selector: ', + slowSelector: 'Selector: %0\nSelectors should be as specific as possible, not overqualified and never "class only"', + selectorAdvice: "You should only use the same selector more than once when you know the returned collection will be different. For example, if you've added more elements to the page that may comply with the selector", + noElementsFound: 'No elements were found with the selector: "%0"', + combineCalls: 'Why not combine these calls by passing an object? E.g. \n%0(%1)', + methodTwice: "You've called %0(%1) more than once on the same jQuery object", + triggeredBy: 'Triggered by %0 event', + notBestMethod: 'Insted of accessing the property via %0(%1), use %2 insted', + event: 'Event:', + handler: 'Handler:', + location: 'Location:', + invalidFilters: 'Selector: %0\nYou used invalid filters (aka Pseudo classes):\n%1', + badReadyCall: "Don't use jQuery().ready() - use jQuery(document).ready() instead. The former is likely to be deprecated in the future.", + browser: "Don't use jQuery.browser", + browserSafari: "Don't use jQuery.browser.safari - it's deprecated. If you have to use browser detection, then use jQuery.browser.webkit.", + featureDetection: 'The jQuery team recommends against using jQuery.browser, please try to use feature detection instead (see jQuery.support).', + boxModel: "Don't use jQuery.boxModel.", + boxModelDeprecated: 'Deprecated in jQuery 1.3 (see jQuery.support)' + }, + de: { + incorrectCall: '%0(%1) falsch aufgerufen', + specialCheckFailed: '%0(%1) Spezial-Check fehlgeschlagen', + moreInfo: 'Mehr Informationen:', + youPassed: 'Du hast übergeben: ', + collection: 'Sammlung:', + availableSigsInclude: 'Verfügbare Signaturen enthalten: ', + errorThrown: 'Als ich %0(%1) mit deinen Argumenten aufgerufen habe, wurde ein Fehler geworfen!', + repeatSelector: "Du hast den selben Selektor mehrmals verwendet.", + info: 'Info', + selector: 'Selektor: ', + slowSelector: 'Selektor: %0\nSelektoren sollten so spezifisch wie moeglich sein, nicht ueberqualifiziert und nicht nur anhand einer Klasse selektieren', + selectorAdvice: "Du solltest den selben Selektor nur dann verwenden, wenn du weißt dass sich das Ergebnis ändert. Zum Beispiel, wenn du Elemente zu einer Seite hinzufügst, die den Selektor erfüllen", + noElementsFound: 'Keine Elemente gefunden für den Selektor: "%0"', + combineCalls: 'Warum kombinierst du diese Aufrufen nicht, indem du ein Objekt übergibst? z.B. \n%0(%1)', + methodTwice: "Du hast %0(%1) mehr als ein mal auf dem selben jQuery-Objekt aufgerufen", + triggeredBy: 'Vom %0-Event getriggert', + notBestMethod: 'Verwende %2 anstelle von %0(%1)', + event: 'Event:', + handler: 'Handler:', + location: 'Location:', + invalidFilters: 'Selektor: %0\nDu hast fehlerhafte Filter verwendet (aka Pseudo Klassen):\n%1', + badReadyCall: "Verwende jQuery().ready() nicht - verwende stattdessen jQuery(document).ready(). Ersteres wird wahrscheinlich in der Zukunft deprecated.", + browser: "Verwende jQuery.browser nicht", + browserSafari: "Verwende jQuery.browser.safari nicht - es ist deprecated. Wenn du eine Browser-Erkennung verwenden musst, nimm jQuery.browser.webkit.", + featureDetection: 'Das jQuery-Team empfiehlt jQuery.browser nicht zu verwenden. Verwende lieber Feature-Erkennung (siehe jQuery.support).', + boxModel: "Verwende jQuery.boxModel nicht.", + boxModelDeprecated: 'Deprecated in jQuery 1.3 (siehe jQuery.support)' + } + }, + + // Define console if not defined + // Access it via jQuery.LINT.console + emptyFn = function(){}, + _console = { + + warn: glob.console && console.warn ? + function(){ + console.warn.apply(console, arguments); + } : emptyFn, + + group: glob.console && console.group ? + function(){ + console.group.apply(console, arguments); + } : emptyFn, + + groupEnd: glob.console && console.groupEnd ? + function(){ + console.groupEnd(); + } : emptyFn, + + groupCollapsed: glob.console && console.groupCollapsed ? + function(){ + console.groupCollapsed.apply(console, arguments); + } : emptyFn, + + log: glob.console && console.log ? + function(){ + console.log.apply(console, arguments); + } : emptyFn + + }, + + // Add specific checks + // This is the best place to bring up bad practices + checks = [ + {/* Level 0 */}, + {/* Level 1 */}, + {/* Level 2 */}, + {/* Level 3 */} + ], + + addCheck = function(methodName, level, check) { + + level = Math.min(3, ~~level); + + (checks[level][methodName] || (checks[level][methodName] = [])).push(check); + + return lint; + + }, + + lint = { + version: '1.01', + level: 3, + checks: checks, + special: checks, // Support decrecated API + addCheck: addCheck, + lang: 'en', + langs: langs, + console: _console, + throwErrors: false, + enabledReports: { + // True to report, false to supress + noElementsFound: true, + repeatSelector: true, + browserSniffing: true, + slowSelector: true, + invalidFilters: true + }, + api: {focus:[{added:"1.0"},{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.6"}],"deferred.pipe":[{added:"1.6",arg:[{name:"doneFilter",type:"Function",optional:true},{name:"failFilter",type:"Function",optional:true}]}],"deferred.always":[{added:"1.6",arg:[{name:"alwaysCallbacks",type:"Function"}]}],promise:[{added:"1.6",arg:[{name:"type",type:"String",optional:true,"default":"fx"},{name:"target",type:"Object, Function",optional:true,multiple:true}]}],removeProp:[{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number, Boolean"}]}],prop:[{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"function(index, oldPropertyValue)",type:"Function"}]},{added:"1.6",arg:[{name:"map",type:"Map"}]},{added:"1.6",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number, Boolean"}]},{added:"1.6",arg:[{name:"propertyName",type:"String"}]}],"jQuery.ajaxPrefilter":[{added:"1.5",arg:[{name:"dataTypes",optional:true,type:"String"},{name:"handler(options, originalOptions, jqXHR)",type:"Function"}]}],"jQuery.holdReady":[{added:"1.6",arg:[{name:"hold",type:"Boolean"}]}],"jQuery.hasData":[{added:"1.5",arg:[{name:"element",type:"Element"}]}],"jQuery.now":[{added:"1.4.3"}],jquery:[{added:"1.0"}],"deferred.promise":[{added:"1.5",arg:[{name:"target",type:"Object, Function",optional:true,multiple:true}]}],"jQuery.cssHooks":[{added:"1.4.3"}],"jQuery.parseXML":[{added:"1.5",arg:[{name:"data",type:"String"}]}],"jQuery.when":[{added:"1.5",arg:[{name:"deferreds",type:"Deferred"}]}],"deferred.resolveWith":[{added:"1.5",arg:[{name:"context",type:"Object"},{name:"args",type:"Array",optional:true}]}],"deferred.rejectWith":[{added:"1.5",arg:[{name:"context",type:"Object"},{name:"args",type:"Array",optional:true}]}],"deferred.fail":[{added:"1.5",arg:[{name:"failCallbacks",type:"Function"},{name:"failCallbacks",type:"Function",optional:true,multiple:true}]}],"deferred.done":[{added:"1.5",arg:[{name:"doneCallbacks",type:"Function"},{name:"doneCallbacks",type:"Function",optional:true,multiple:true}]}],"deferred.then":[{added:"1.5",arg:[{name:"doneCallbacks",type:"Function"},{name:"failCallbacks",type:"Function"}]}],"deferred.reject":[{added:"1.5",arg:[{name:"args",type:"Object"}]}],"deferred.isRejected":[{added:"1.5"}],"deferred.isResolved":[{added:"1.5"}],"deferred.resolve":[{added:"1.5",arg:[{name:"args",type:"Object"}]}],"jQuery.sub":[{added:"1.5"}],fadeToggle:[{added:"1.4.4",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Function",optional:true}]}],"jQuery.type":[{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],"jQuery.isWindow":[{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],toggle:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"},{name:"handler(eventObject)",type:"Function",multiple:true},{name:"handler(eventObject)",optional:true,type:"Function",multiple:true}]},{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.3",arg:[{name:"showOrHide",type:"Boolean"}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],"jQuery.fx.interval":[{added:"1.4.3"}],"event.namespace":[{added:"1.4.3"}],undelegate:[{added:"1.4.3",arg:[{name:"selector",type:"String"},{name:"events",type:"Map"}]},{added:"1.4.2"},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"handler",type:"Function"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"}]},{added:"1.6",arg:[{name:"namespace",type:"String"}]}],delegate:[{added:"1.4.3",arg:[{name:"selector",type:"String"},{name:"events",type:"Map"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"eventData",type:"Object"},{name:"handler",type:"Function"}]},{added:"1.4.2",arg:[{name:"selector",type:"String"},{name:"eventType",type:"String"},{name:"handler",type:"Function"}]}],"jQuery.error":[{added:"1.4.1",arg:[{name:"message",type:"String"}]}],"jQuery.parseJSON":[{added:"1.4.1",arg:[{name:"json",type:"String"}]}],"jQuery.proxy":[{added:"1.4",arg:[{name:"context",type:"Object"},{name:"name",type:"String"}]},{added:"1.4",arg:[{name:"function",type:"Function"},{name:"context",type:"Object"}]}],focusout:[{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handler(eventObject)",type:"Function"}]}],focusin:[{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handler(eventObject)",type:"Function"}]}],has:[{added:"1.1.4",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"contained",type:"Element"}]},{added:"1.4",arg:[{name:"selector",type:"String"}]}],"jQuery.contains":[{added:"1.4",arg:[{name:"container",type:"Element"},{name:"contained",type:"Element"}]}],"jQuery.noop":[{added:"1.4"}],delay:[{added:"1.4",arg:[{name:"duration",type:"Integer"},{name:"queueName",optional:true,type:"String"}]}],parentsUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],prevUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],nextUntil:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],"event.isImmediatePropagationStopped":[{added:"1.3"}],"event.stopImmediatePropagation":[{added:"1.3"}],"event.isPropagationStopped":[{added:"1.3"}],"event.stopPropagation":[{added:"1.0"}],"event.isDefaultPrevented":[{added:"1.3"}],"event.preventDefault":[{added:"1.0"}],"event.timeStamp":[{added:"1.2.6"}],"event.result":[{added:"1.3"}],"event.which":[{added:"1.1.3"}],"event.pageY":[{added:"1.0.4"}],"event.pageX":[{added:"1.0.4"}],"event.currentTarget":[{added:"1.3"}],"event.relatedTarget":[{added:"1.1.4"}],"event.data":[{added:"1.1"}],"event.target":[{added:"1.0"}],"event.type":[{added:"1.0"}],"jQuery.fx.off":[{added:"1.3"}],each:[{added:"1.0",arg:[{name:"function(index, Element)",type:"Function"}]}],pushStack:[{added:"1.0",arg:[{name:"elements",type:"Array"}]},{added:"1.3",arg:[{name:"elements",type:"Array"},{name:"name",type:"String"},{name:"arguments",type:"Array"}]}],"jQuery.globalEval":[{added:"1.0.4",arg:[{name:"code",type:"String"}]}],"jQuery.isXMLDoc":[{added:"1.1.4",arg:[{name:"node",type:"Element"}]}],"jQuery.removeData":[{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"name",type:"String",optional:true}]}],"jQuery.data":[{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"key",type:"String"},{name:"value",type:"*",multiple:true}]},{added:"1.2.3",arg:[{name:"element",type:"Element"},{name:"key",type:"String"}]},{added:"1.4",arg:[{name:"element",type:"Element"}]}],"jQuery.dequeue":[{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",optional:true,type:"String"}]}],"jQuery.queue":[{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",type:"String"},{name:"callback()",type:"Function"}]},{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",type:"String"},{name:"newQueue",type:"Array"}]},{added:"1.3",arg:[{name:"element",type:"Element"},{name:"queueName",optional:true,type:"String"}]}],clearQueue:[{added:"1.4",arg:[{name:"queueName",optional:true,type:"String"}]}],toArray:[{added:"1.4"}],"jQuery.isEmptyObject":[{added:"1.4",arg:[{name:"object",type:"Object"}]}],"jQuery.isPlainObject":[{added:"1.4",arg:[{name:"object",type:"Object"}]}],keydown:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],index:[{added:"1.0",arg:[{name:"element",type:"Element, jQuery"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"}]},{added:"1.4"}],removeData:[{added:"1.2.3",arg:[{name:"name",type:"String",optional:true}]}],data:[{added:"1.2.3",arg:[{name:"key",type:"String"}]},{added:"1.2.3",arg:[{name:"key",type:"String"},{name:"value",type:"*",multiple:true}]},{added:"1.4"},{added:"1.4.3",arg:[{name:"obj",type:"Object"}]}],get:[{added:"1.0",arg:[{name:"index",type:"Number",optional:true}]}],size:[{added:"1.0"}],"jQuery.noConflict":[{added:"1.0",arg:[{name:"removeAll",type:"Boolean",optional:true}]}],selected:[{added:"1.0"}],checked:[{added:"1.0"}],disabled:[{added:"1.0"}],enabled:[{added:"1.0"}],file:[{added:"1.0"}],button:[{added:"1.0"}],reset:[{added:"1.0"}],image:[{added:"1.0"}],submit:[{added:"1.0"},{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],checkbox:[{added:"1.0"}],radio:[{added:"1.0"}],password:[{added:"1.0"}],text:[{added:"1.0",arg:[{name:"textString",type:"String, Number"}]},{added:"1.0"},{added:"1.0"},{added:"1.4",arg:[{name:"function(index, text)",type:"Function"}]}],input:[{added:"1.0"}],"only-child":[{added:"1.1.4"}],"last-child":[{added:"1.1.4"}],"first-child":[{added:"1.1.4"}],"nth-child":[{added:"1.1.4",arg:[{name:"index",type:"Number\/String"}]}],attributeContainsPrefix:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeContainsWord:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeMultiple:[{added:"1.0",arg:[{name:"attributeFilter1",type:"Selector"},{name:"attributeFilter2",type:"Selector"},{name:"attributeFilterN",optional:true,type:"Selector"}]}],attributeContains:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeEndsWith:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeStartsWith:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeNotEqual:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeEquals:[{added:"1.0",arg:[{name:"attribute",type:"String"},{name:"value",type:"String"}]}],attributeHas:[{added:"1.0",arg:[{name:"attribute",type:"String"}]}],visible:[{added:"1.0"}],hidden:[{added:"1.0"}],parent:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]},{added:"1.0"}],empty:[{added:"1.0"},{added:"1.0"}],contains:[{added:"1.1.4",arg:[{name:"text",type:"String"}]}],animated:[{added:"1.2"}],header:[{added:"1.2"}],lt:[{added:"1.0",arg:[{name:"index",type:"Number"}]}],gt:[{added:"1.0",arg:[{name:"index",type:"Number"}]}],eq:[{added:"1.0",arg:[{name:"index",type:"Number"}]},{added:"1.1.2",arg:[{name:"index",type:"Integer"}]},{added:"1.4",arg:[{name:"-index",type:"Integer"}]}],odd:[{added:"1.0"}],even:[{added:"1.0"}],not:[{added:"1.0",arg:[{name:"elements",type:"Elements"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],last:[{added:"1.0"},{added:"1.4"}],first:[{added:"1.0"},{added:"1.4"}],"next siblings":[{added:"1.0",arg:[{name:"prev",type:"Selector"},{name:"siblings",type:"Selector"}]}],"next adjacent":[{added:"1.0",arg:[{name:"prev",type:"Selector"},{name:"next",type:"Selector"}]}],child:[{added:"1.0",arg:[{name:"parent",type:"Selector"},{name:"child",type:"Selector"}]}],descendant:[{added:"1.0",arg:[{name:"ancestor",type:"Selector"},{name:"descendant",type:"Selector"}]}],multiple:[{added:"1.0",arg:[{name:"selector1",type:"Selector"},{name:"selector2",type:"Selector"},{name:"selectorN",optional:true,type:"Selector"}]}],all:[{added:"1.0"}],"class":[{added:"1.0",arg:[{name:"class",type:"String"}]}],element:[{added:"1.0",arg:[{name:"element",type:"String"}]}],id:[{added:"1.0",arg:[{name:"id",type:"String"}]}],scroll:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],resize:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],dequeue:[{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"}]}],queue:[{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"},{name:"callback( next )",type:"Function"}]},{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"},{name:"newQueue",type:"Array"}]},{added:"1.2",arg:[{name:"queueName",optional:true,type:"String"}]}],keyup:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],keypress:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],select:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],change:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],blur:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mousemove:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],hover:[{added:"1.0",arg:[{name:"handlerIn(eventObject)",type:"Function"},{name:"handlerOut(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"handlerInOut(eventObject)",type:"Function"}]}],mouseleave:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseenter:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseout:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseover:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],dblclick:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],click:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mouseup:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],mousedown:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0"},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],error:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],unload:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],load:[{added:"1.0",arg:[{name:"handler(eventObject)",type:"Function"}]},{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:"true ",type:"Map, String"},{name:"complete(responseText, textStatus, XMLHttpRequest)",type:"Function",optional:true}]},{added:"1.4.3",arg:[{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],ready:[{added:"1.0",arg:[{name:"handler",type:"Function"}]}],die:[{added:"1.3",arg:[{name:"eventType",type:"String"},{name:"handler",optional:true,type:"String"}]},{added:"1.4.3",arg:[{name:"eventTypes",type:"Map"}]},{added:"1.4.1"}],"jQuery.browser":[{added:"1.0"}],"jQuery.browser.version":[{added:"1.1.3"}],live:[{added:"1.3",arg:[{name:"eventType",type:"String"},{name:"handler",type:"Function"}]},{added:"1.4.3",arg:[{name:"events",type:"Object"}]},{added:"1.4",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object"},{name:"handler",type:"Function"}]}],triggerHandler:[{added:"1.2",arg:[{name:"eventType",type:"String"},{name:"extraParameters",type:"Array"}]}],trigger:[{added:"1.0",arg:[{name:"eventType",type:"String"},{name:"extraParameters",type:"Object"}]},{added:"1.3",arg:[{name:"event",type:"Event"}]}],ajaxComplete:[{added:"1.0",arg:[{name:"handler(event, XMLHttpRequest, ajaxOptions)",type:"Function"}]}],one:[{added:"1.1",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]}],serializeArray:[{added:"1.2"}],serialize:[{added:"1.0"}],"jQuery.ajaxSetup":[{added:"1.1",arg:[{name:"options",type:"Options"}]}],ajaxSuccess:[{added:"1.0",arg:[{name:"handler(event, XMLHttpRequest, ajaxOptions)",type:"Function"}]}],ajaxStop:[{added:"1.0",arg:[{name:"handler()",type:"Function"}]}],ajaxStart:[{added:"1.0",arg:[{name:"handler()",type:"Function"}]}],ajaxSend:[{added:"1.0",arg:[{name:"handler(event, jqXHR, ajaxOptions)",type:"Function"}]}],ajaxError:[{added:"1.0",arg:[{name:"handler(event, jqXHR, ajaxSettings, thrownError)",type:"Function"}]}],unbind:[{added:"1.0",arg:[{name:"eventType",type:"String",optional:true},{name:"handler(eventObject)",type:"Function",optional:true}]},{added:"1.0",arg:[{name:"event",type:"Object"}]},{added:"1.4.3",arg:[{name:"eventType",type:"String"},{name:"false",type:"Boolean"}]}],bind:[{added:"1.0",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"handler(eventObject)",type:"Function"}]},{added:"1.4",arg:[{name:"events",type:"Object"}]},{added:"1.4.3",arg:[{name:"eventType",type:"String"},{name:"eventData",type:"Object",optional:true},{name:"false",type:"Boolean"}]}],slice:[{added:"1.1.4",arg:[{name:"start",type:"Integer"},{name:"end",optional:true,type:"Integer"}]}],jQuery:[{added:"1.0",arg:[{name:"html",type:"String"},{name:"ownerDocument",optional:true,type:"document"}]},{added:"1.0",arg:[{name:"callback",type:"Function"}]},{added:"1.0",arg:[{name:"selector",type:"selector"},{name:"context",optional:true,type:"Element, jQuery"}]},{added:"1.0",arg:[{name:"jQuery object",type:"Object"}]},{added:"1.0",arg:[{name:"element",type:"Element"}]},{added:"1.0",arg:[{name:"elementArray",type:"Array"}]},{added:"1.4"},{added:"1.4",arg:[{name:"html",type:"String"},{name:"props",type:"Object"}]}],stop:[{added:"1.2",arg:[{name:"clearQueue",type:"Boolean",optional:true},{name:"jumpToEnd",type:"Boolean",optional:true}]}],end:[{added:"1.0"}],andSelf:[{added:"1.2"}],siblings:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],animate:[{added:"1.0",arg:[{name:"properties",type:"Map"},{name:"options",type:"Map"}]},{added:"1.0",arg:[{name:"properties",type:"Map"},{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"complete",type:"Function",optional:true}]}],prevAll:[{added:"1.2",arg:[{name:"selector",optional:true,type:"Selector"}]}],prev:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],fadeTo:[{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"opacity",type:"Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number"},{name:"opacity",type:"Number"},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],fadeOut:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],parents:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],fadeIn:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],offsetParent:[{added:"1.2.6"}],slideToggle:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],"jQuery.post":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map, String"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"},{name:"dataType",optional:true,type:"String"}]}],slideUp:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],nextAll:[{added:"1.2",arg:[{name:"selector",optional:true,type:"String"}]}],next:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],slideDown:[{added:"1.0",arg:[{name:"duration",type:"String,Number",optional:true},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],find:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]},{added:"1.6",arg:[{name:"jQuery object",type:"Object"}]}],"jQuery.getScript":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"success(data, textStatus)",optional:true,type:"Function"}]}],contents:[{added:"1.2"}],closest:[{added:"1.3",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"},{name:"context",optional:true,type:"Element"}]},{added:"1.4",arg:[{name:"selectors",type:"Array"},{name:"context",optional:true,type:"Element"}]},{added:"1.6",arg:[{name:"jQuery object",type:"jQuery"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]}],"jQuery.getJSON":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"}]}],"jQuery.get":[{added:"1.0",arg:[{name:"url",type:"String"},{name:"data",optional:true,type:"Map, String"},{name:"success(data, textStatus, jqXHR)",optional:true,type:"Function"},{name:"dataType",optional:true,type:"String"}]}],"jQuery.ajax":[{added:"1.0",arg:[{name:"settings",type:"Map"}]},{added:"1.5",arg:[{name:"url",type:"String"},{name:"settings",type:"Map",optional:true}]}],length:[{added:"1.0"}],children:[{added:"1.0",arg:[{name:"selector",optional:true,type:"Selector"}]}],selector:[{added:"1.3"}],add:[{added:"1.0",arg:[{name:"html",type:"HTML"}]},{added:"1.0",arg:[{name:"elements",type:"Elements"}]},{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.4",arg:[{name:"selector",type:"Selector"},{name:"context",type:"Element"}]}],context:[{added:"1.3"}],outerWidth:[{added:"1.2.6",arg:[{name:"includeMargin",optional:true,type:"Boolean"}]}],outerHeight:[{added:"1.2.6",arg:[{name:"includeMargin",optional:true,type:"Boolean"}]}],innerWidth:[{added:"1.2.6"}],innerHeight:[{added:"1.2.6"}],"jQuery.param":[{added:"1.2",arg:[{name:"obj",type:"Array, Object"}]},{added:"1.4",arg:[{name:"obj",type:"Array, Object"},{name:"traditional",type:"Boolean"}]}],hide:[{added:"1.0"},{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],width:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String, Number"}]},{added:"1.4.1",arg:[{name:"function(index, width)",type:"Function"}]}],height:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String, Number"}]},{added:"1.4.1",arg:[{name:"function(index, height)",type:"Function"}]}],show:[{added:"1.0"},{added:"1.0",arg:[{name:"duration",type:"String,Number"},{name:"callback",type:"Callback",optional:true}]},{added:"1.4.3",arg:[{name:"duration",type:"String,Number",optional:true},{name:"easing",type:"String",optional:true},{name:"callback",type:"Callback",optional:true}]}],scrollLeft:[{added:"1.2.6",arg:[{name:"value",type:"Number"}]},{added:"1.2.6"}],"jQuery.trim":[{added:"1.0",arg:[{name:"str",type:"String"}]}],"jQuery.isFunction":[{added:"1.2",arg:[{name:"obj",type:"Object"}]}],"jQuery.isArray":[{added:"1.3",arg:[{name:"obj",type:"Object"}]}],"jQuery.unique":[{added:"1.1.3",arg:[{name:"array",type:"Array"}]}],"jQuery.merge":[{added:"1.0",arg:[{name:"first",type:"Array"},{name:"second",type:"Array"}]}],"jQuery.inArray":[{added:"1.2",arg:[{name:"value",type:"Any"},{name:"array",type:"Array"}]}],"jQuery.map":[{added:"1.0",arg:[{name:"array",type:"Array"},{name:"callback(elementOfArray, indexInArray)",type:"Function"}]},{added:"1.6",arg:[{name:"arrayOrObject",type:"Array,Object"},{name:"callback( value, indexOrKey )",type:"Function"}]}],"jQuery.makeArray":[{added:"1.2",arg:[{name:"obj",type:"Object"}]}],"jQuery.grep":[{added:"1.0",arg:[{name:"array",type:"Array"},{name:"function(elementOfArray, indexInArray)",type:"Function"},{name:"invert",optional:true,type:"Boolean"}]}],"jQuery.extend":[{added:"1.0",arg:[{name:"target",type:"Object, Function",multiple:true},{name:"object1",type:"Object",optional:true},{name:"objectN",optional:true,type:"Object"}]},{added:"1.1.4",arg:[{name:"deep",optional:true,type:"Boolean"},{name:"target",type:"Object, Function",multiple:true},{name:"object1",type:"Object"},{name:"objectN",optional:true,type:"Object"}]}],"jQuery.each":[{added:"1.0",arg:[{name:"collection",type:"Object, Array"},{name:"callback(indexInArray, valueOfElement)",type:"Function"}]}],"jQuery.boxModel":[{added:"1.0"}],scrollTop:[{added:"1.2.6",arg:[{name:"value",type:"Number"}]},{added:"1.2.6"}],"jQuery.support":[{added:"1.3"}],position:[{added:"1.2"}],offset:[{added:"1.2"},{added:"1.4",arg:[{name:"function(index, coords)",type:"Function"}]},{added:"1.4",arg:[{name:"coordinates",type:"Object"}]}],css:[{added:"1.0",arg:[{name:"map",type:"Map"}]},{added:"1.0",arg:[{name:"propertyName",type:"String"},{name:"value",type:"String, Number"}]},{added:"1.0",arg:[{name:"propertyName",type:"String"}]},{added:"1.4",arg:[{name:"propertyName",type:"String"},{name:"function(index, value)",type:"Function"}]}],unwrap:[{added:"1.4"}],detach:[{added:"1.4",arg:[{name:"selector",optional:true,type:"Selector"}]}],clone:[{added:"1.0",arg:[{name:"withDataAndEvents",optional:true,type:"Boolean","default":"false"}]},{added:"1.5",arg:[{name:"withDataAndEvents",optional:true,type:"Boolean","default":"false"},{name:"deepWithDataAndEvents",optional:true,type:"Boolean","default":"value of withDataAndEvents"}]}],remove:[{added:"1.0",arg:[{name:"selector",optional:true,type:"String"}]}],replaceAll:[{added:"1.2",arg:[{name:"target",type:"Selector"}]}],replaceWith:[{added:"1.2",arg:[{name:"newContent",type:"String, Element, jQuery"}]},{added:"1.4",arg:[{name:"function",type:"Function"}]}],wrapInner:[{added:"1.2",arg:[{name:"wrappingElement",type:"String"}]},{added:"1.4",arg:[{name:"wrappingFunction",type:"Function"}]}],wrapAll:[{added:"1.2",arg:[{name:"wrappingElement",type:"String, Selector, Element, jQuery"}]}],wrap:[{added:"1.0",arg:[{name:"wrappingElement",type:"String, Selector, Element, jQuery"}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],insertBefore:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],before:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function",type:"Function"}]}],insertAfter:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],after:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index)",type:"Function"}]}],prependTo:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],prepend:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index, html)",type:"Function"}]}],appendTo:[{added:"1.0",arg:[{name:"target",type:"Selector, Element, jQuery"}]}],append:[{added:"1.0",arg:[{name:"content",type:"String, Element, jQuery"},{name:"content",type:"String, Element, Array, jQuery",optional:true,multiple:true}]},{added:"1.4",arg:[{name:"function(index, html)",type:"Function"}]}],val:[{added:"1.0"},{added:"1.0",arg:[{name:"value",type:"String"}]},{added:"1.4",arg:[{name:"function(index, value)",type:"Function"}]}],html:[{added:"1.0"},{added:"1.0",arg:[{name:"htmlString",type:"String, Number"}]},{added:"1.4",arg:[{name:"function(index, oldhtml)",type:"Function"}]}],map:[{added:"1.2",arg:[{name:"callback(index, domElement)",type:"Function"}]}],is:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.6",arg:[{name:"element",type:"Element"}]},{added:"1.6",arg:[{name:"function(index)",type:"Function"}]},{added:"1.6",arg:[{name:"jQuery object",type:"Object"}]}],filter:[{added:"1.0",arg:[{name:"selector",type:"Selector"}]},{added:"1.0",arg:[{name:"function(index)",type:"Function"}]},{added:"1.4",arg:[{name:"jQuery object",type:"Object"}]},{added:"1.4",arg:[{name:"element",type:"Element"}]}],toggleClass:[{added:"1.0",arg:[{name:"className",type:"String"}]},{added:"1.3",arg:[{name:"className",type:"String"},{name:"switch",type:"Boolean"}]},{added:"1.4",arg:[{name:"function(index, class)",type:"Function"},{name:"switch",optional:true,type:"Boolean"}]}],removeClass:[{added:"1.0",arg:[{name:"className",optional:true,type:"String"}]},{added:"1.4",arg:[{name:"function(index, class)",type:"Function"}]}],hasClass:[{added:"1.2",arg:[{name:"className",type:"String"}]}],removeAttr:[{added:"1.0",arg:[{name:"attributeName",type:"String"}]}],attr:[{added:"1.0",arg:[{name:"map",type:"Map"}]},{added:"1.0",arg:[{name:"attributeName",type:"String"},{name:"value",type:"String,Number"}]},{added:"1.0",arg:[{name:"attributeName",type:"String"}]},{added:"1.1",arg:[{name:"attributeName",type:"String"},{name:"function(index, attr)",type:"Function"}]}],addClass:[{added:"1.0",arg:[{name:"className",type:"String"}]},{added:"1.4",arg:[{name:"function(index, currentClass)",type:"Function"}]}]} + }, + + api = lint.api, + + // Only cover certain fns under the jQ namespace + coveredNamespace = /^(getJSON|extend|ajax|get|post|proxy|each|map|queue|ajax|ajaxSetup|removeData|data|pushStack)$/, + + version = _jQuery.fn.jquery, + map = _jQuery.map, + each = _jQuery.each, + extend = _jQuery.extend, + find = _jQuery.find, + rootjQuery = _jQuery.rootjQuery, + + undefined, + + arrSlice = Array.prototype.slice, + slice = function(a,s,e) { + return a.length ? arrSlice.call(a, s || 0, e || a.length) : []; + }, + + compare = function(a,b) { + + // Compare two arrays + + var i = a.length; + + if (a.length !== b.length) { + return false; + } + + while (i--) { + if (a[i] !== b[i]) { + return false; + } + } + + return true; + + }, + + isFunction = function(obj) { + return toString.call(obj) === "[object Function]"; + }, + + isArray = function(obj) { + return toString.call(obj) === "[object Array]"; + }, + + toString = Object.prototype.toString, + + typeToString = function(o) { + + if (!o) { return ""; } + + if (typeof o === 'string') { + return '"' + o.replace(/"/g,'\\"') + '"'; + } + + if (isFunction(o)) { + return 'function(){...}'; + } + + return o.toString(); + }, + + shaveArray = function(arr) { + + arr = slice(arr); + + // Shave "undefined" off the end of args + for (var i = arr.length; i--;) { + if (arr[i] === undefined) { + arr.splice(i, 1); + } else { + break; + } + } + return arr; + }, + + // Type map + types = { + '*': function() { + return true; + }, + selector: function(o) { + return this.string(o); + }, + element: function(o) { + return o && (!!o.nodeName || o === window || !!o.nodeType ); + }, + elements: function(o) { + return this.element(o) || this.jquery(o) || this.array(o); + }, + array: function(o) { + // Just check that it's "array-like" + return o && o.length !== undefined + && typeof o !== 'string' && !isFunction(o); + }, + jquery: function(o) { + return o instanceof _jQuery; + }, + 'jquery object': function(o) { + return o instanceof _jQuery; + }, + object: function(o) { + return toString.call(o) === '[object Object]'; + }, + 'function': function(o) { + return isFunction(o); + }, + notfunction: function(o) { + return !this['function'](o); + }, + callback: function(o) { + return isFunction(o); + }, + string: function(o) { + return typeof o === 'string'; + }, + number: function(o) { + return typeof o === 'number' && !isNaN(o); + }, + integer: function(o) { + return this.number(o) && ~~o === o; + }, + map: function(o) { + return this.object(o); + }, + options: function(o) { + return this.object(o); + }, + 'eventType': function(o) { + return typeof o === 'string'; + }, + 'event': function(o) { + return typeof o === 'event'; + }, + 'null': function(o) { + return o === null; + }, + 'boolean': function(o) { + return typeof o === 'boolean'; + } + }, + + selectorCache = {}, + jQueryMethods = extend({}, _jQuery.fn), + internal = false, + fromInit = false; + + function logLocation() { + + // Attempt to log line number of error + + try { + throw new Error(); + } catch(e) { + if (e.stack) { + lint.console.groupCollapsed(lint.langs[lint.lang].location); + lint.console.log( + e.stack + // Remove everything before the file name and line number + // plus, get rid of errors from jQuery.lint.js & any libs + // from google's CDN (not perfect but should narrow it down) + .replace(/^.+?\n|.+?(jquery\.lint\.js|http:\/\/ajax\.googleapis\.com).+?(\n|$)|.+?(?=@)/g, '') + // Remove duplicates + .replace(/(^|\n)(.+?)\n(?=\2(?:\n|$)|[\s\S]+?\n\2(?:\n|$))/g, '$1') + ); + lint.console.groupEnd(); + } + } + + } + + function isValidArgumentList(args, sig) { + + // Determine if argument list complies with + // signature outlined in API. + var matches = false, + sigArg, + argLength = args.length, + nextIsOptional = false; + + if (version < sig.added) { + // Too new + return false; + } + + if (!sig.arg) { + return 0 === args.length; + } + + if (!sig.arg[0] && (args.length > 1)) { + return false; + } + + for ( + var sigIndex = 0, + argIndex = 0, + fullLength = Math.max(argLength, sig.arg.length || 1); + sigIndex < fullLength || argIndex < argLength; + ++sigIndex + ) { + + sigArg = sigIndex === 0 ? sig.arg[0] || sig.arg : sig.arg[sigIndex]; + if (!sigArg) { + // Too many args + return false; + } + + matches = isValidType(sigArg.type, args[argIndex]); + if (!matches) { + if (sigArg.optional) { + if (args[argIndex] === undefined || args[argIndex] === null) { + ++argIndex; + matches = true; + } + continue; + } else { + // Sig isn't optional + return false; + } + } + + if (sigArg.multiple) { + // If it's multiple, then carry on with the same + // signature, but check that there are remaining + // arguments + + --sigIndex; + if (argIndex + 1 >= argLength) { + break; + } + } + + ++argIndex; + } + + return matches; + + } + + function isValidType(type, arg) { + + // Check that argument is of the right type + // The types are specified within the API data + var split = type.split(/,\s?/g), + i = split.length, + cur; + + while (i--) { + cur = split[i].toLowerCase(); + if (types[cur] && types[cur](arg)) { + return true; + } + } + + return false; + + } + + function runFunction(fn, args, isInternal, thisObj) { + + // Runs a function, while enabling/disabling + // the 'internal' flag as necessary. + + var wasInternal = internal, ret; + + internal = isInternal; + + try { + ret = fn.apply(thisObj, args); + } catch(e) { + internal = wasInternal; + throw e; + } + + internal = wasInternal; + + return ret; + + } + + function registerMethod(name, methodAPI) { + + var obj = /^jQuery\./.test(name) ? _jQuery : _jQuery.fn, + methodName = name.replace(/^jQuery\./, ''); + + obj[methodName] = (function(meth, name){ + return extend(function() { + + var args = slice(arguments), + _internal = internal; + + // Cover functions so that the internal flag + // is disabled before they are called + each(args, function(i, fn){ + if (typeof fn == 'function') { + args[i] = function() { + /*Run it as non-internal*/ + return runFunction(fn, arguments, _internal, this); + }; + } + }); + + return coverMethod.call(this, name, function(){ + + // Run it as internal + return runFunction(meth, args, true, this); + + }, args); + + }, meth); + })(obj[methodName], name); + + if (methodAPI) { + api[name] = methodAPI; + } + + } + + lint.registerMethod = registerMethod; + + function coverMethod(name, meth, args) { + if (name == 'jQuery' && args.length == 3 && typeof(args[2]) == 'object') { + delete args[2]; + } + + args = shaveArray(args); + + var locale = lint.langs[lint.lang], + sigs = api[name], + _console = lint.console, + self = this, + i = 0, + sig, + specialCheckResults = (function(){ + + // Perform special checks for current level and + // all levels below current level. + var lvl = lint.level + 1, + results = [], + check; + + while (lvl--) { + if (checks[lvl] && (check = checks[lvl][name])) { + if (types.array(check)) { + each(check, function(i, chk){ + results.push( + chk.apply(self, args) + ); + }); + } else { + results.push( + check.apply(self, args) + ); + } + } + } + + return results; + + }()), + signatureMatch = false, + sliced = slice(this, 0, 10); + + if (!sigs || !lint.level || internal) { + return meth.apply(this, args); + } + + if (this.length > 10) { + sliced.push('...'); + } + + // Check all arguments passed to method for compliance + // against the corresponding signature. + while ((sig = sigs[i++])) { + if ( isValidArgumentList(args, sig) ) { + signatureMatch = true; + break; + } + } + + if (!signatureMatch) { + // Args !== signature + _console.warn(locale.incorrectCall.replace(/%0/, name).replace(/%1/, args.toString())); + _console.groupCollapsed(locale.moreInfo); + if (this instanceof _jQuery) { + _console.log(locale.collection, sliced); + } + logLocation(); + _console.log(locale.youPassed, args); + _console.group(locale.availableSigsInclude); + each(sigs, function(i, sig){ + if (version < sig.added) { + return; + } + + var sigArgs = sig.arg; + _console.log( + name + '(' + + (sigArgs ? + sigArgs[0] ? + map(sigArgs, function(sig, i){ + return sig ? sig.optional ? '[' + sig.name + ']' : sig.multiple ? sig.name + ',[...]' : sig.name : []; + }).join(', ') : + sigArgs.name + : '') + ')' + ); + }); + _console.groupEnd(); + _console.groupEnd(); + + } + + if (specialCheckResults.length) { + each(specialCheckResults, function(i, checkResult){ + if (checkResult && checkResult !== true) { + if (isFunction(checkResult)) { + checkResult(_console); + } else { + _console.warn(locale.specialCheckFailed.replace(/%0/, name).replace(/%1/, args.toString())); + _console.groupCollapsed(locale.moreInfo); + _console.log(checkResult); + _console.log(locale.collection, sliced); + logLocation(); + _console.groupEnd(); + } + } + }); + } + + if (lint.throwErrors) { + return meth.apply(this, args); + } + + try { + return meth.apply(this, args); + } catch(e) { + + _console.warn( + locale.errorThrown.replace(/%0/, name).replace(/%1/, args.toString()), e + ); + + _console.groupCollapsed(locale.moreInfo); + logLocation(); + _console.log(locale.youPassed, args); + _console.groupEnd(); + + return this; + } + + } + + // "Cover" init constructor + // Reports when no elements found, and when selector + // used more than once to no effect. + _jQuery.fn.init = (function(_init){ + + return function(selector, context, rootjQuery) { + + var locale = lint.langs[lint.lang], + ret = coverMethod.call(this, 'jQuery', function(){ + return runFunction(function(){ + return new _init(selector, context, rootjQuery); + }, [], true, this); + + }, arguments), + _console = lint.console; + + // Deal with situations where no elements are returned + // and for the same selector being used more than once + // to no effect + if (!internal && typeof selector === 'string' && lint.level > 1) { + + if (ret[0]) { + + // Check for identical collection already in cache. + if ( lint.enabledReports.repeatSelector && selectorCache[selector] && compare(selectorCache[selector], ret) ) { + + _console.warn(locale.repeatSelector); + _console.groupCollapsed(locale.info); + logLocation(); + _console.log(locale.selector + '"' + selector + '"'); + _console.log(locale.selectorAdvice); + _console.groupEnd(); + } + } + else { + if (lint.enabledReports.noElementsFound) { + lint.console.warn(lint.langs[lint.lang].noElementsFound.replace(/%0/, selector)); + logLocation(); + } + } + + selectorCache[selector] = ret; + } + + return ret; + }; + })(_jQuery.fn.init); + + for (var i in _jQuery.fn) { + if (i !== 'constructor' && i !== 'init' && isFunction(_jQuery.fn[i])) { + registerMethod(i); + } + } + + for (var i in _jQuery) { + if ( coveredNamespace.test(i) && isFunction(_jQuery[i]) ) { + registerMethod('jQuery.' + i); + } + } + + _jQuery.LINT = lint; + + ///////////////////////// + // Some special checks // + ///////////////////////// + addCheck('jQuery', 2, function(selector, context) { + var locale = lint.langs[lint.lang]; + + // It's a string, and NOT html - must be a selector + if (!internal && typeof selector === 'string' && !/^[^<]*(<[\w\W]+>)[^>]*$/.test(selector)) { + + // Find invalid filters (e.g. :hover, :active etc.) + // suggested by Paul Irish + if (lint.enabledReports.invalidFilters) { + var invalidFilters = []; + + selector.replace(/('|")(?:\\\1|[^\1])+?\1/g, '').replace(/:(\w+)/g, function(m, filter){ + if (!/^(contains|not)$/.test(filter) && !((filter in _jQuery.expr[':']) || (filter in _jQuery.expr.setFilters))) { + invalidFilters.push(m); + } + }); + + if (invalidFilters.length) { + return locale.invalidFilters.replace(/%0/, selector).replace(/%1/, invalidFilters.join('\n')); + } + } + + // Find class only-selectors (poor IE6-8 performance) + if (lint.enabledReports.slowSelector) { + var slowSelectors = []; + var selectors = selector.split(','); + for (i in selectors) { + var tSelector = _jQuery.trim(selectors[i]); + if ((/(^|\w*?\s)\.\w/.test(tSelector) && (typeof context !== "object" || !context.length)) + || /^(.+)#\w/.test(tSelector)) { + slowSelectors.push(tSelector); + } + } + + if (slowSelectors.length) { + return locale.slowSelector.replace(/%0/, slowSelectors.join('\n')); + } + } + } + }); + + addCheck('jQuery', 2, function() { + // Set flag for ready() method, so we can check + // for $().ready() - which should be $(document).ready() + // suggested by Paul Irish + if (!arguments.length) { + this._lint_noArgs = true; + } + }); + + addCheck('ready', 2, function(){ + + // If _lint_noArgs is set then this object + // was instantiated with no args. I.e. $().ready() + if (this._lint_noArgs) { + return lint.langs[lint.lang].badReadyCall; + } + }); + + // check for non-ideal property/attribute access ( e.g. attr('id') - element.id is faster) + each({'attr': {'id': 'elem.id', 'value': 'jQuery.val()'}}, function(method, attributes) { + addCheck(method, 3, function() { + if (typeof arguments !== 'undefined' && typeof attributes === 'object') { + var match = false; + for (m in arguments) { + if (attributes.hasOwnProperty(arguments[m])) { + match = arguments[m]; + } + } + + if (match !== false) { + var args = [].splice.call(arguments,0); + return lint.langs[lint.lang].notBestMethod.replace(/%0/, method) + .replace(/%1/, args.join(', ')) + .replace(/%2/, attributes.match); + } + } + }); + }); + + // Check for calls like css().css().css() + // May as well use css({...}) + each(['css','attr','bind','one'], function(i, methodName){ + + addCheck(methodName, 3, function(){ + + var args = arguments, + hoc = this, + locale = lint.langs[lint.lang], + sliced = slice(hoc, 0, 10), + _console = lint.console; + + if (hoc.length > 10) { + sliced.push('...'); + } + + if (!internal && !types.object(args[0]) && ( + (/^(css|attr)$/.test(methodName) && args[1] !== undefined) || + (/^(bind|one)$/.test(methodName) && version >= '1.4' && /* Data no passed as [1] */!isFunction(args[2])) + ) + ) { + + if (this._lastMethodCalled === methodName) { + + _console.warn(locale.methodTwice.replace(/%0/, methodName).replace(/%1/, args.toString())); + + _console.groupCollapsed(locale.moreInfo); + + _console.log(locale.collection, sliced); + _console.log(args); + _console.log( + locale.combineCalls + .replace(/%0/, methodName) + .replace(/%1/, '{\n' + + map([args, hoc._lastMethodArgs], function(a){ + return ' "' + a[0] + '": ' + typeToString(a[1]); + }).join(',\n') + + '\n}') + ); + + _console.groupEnd(); + + } + + hoc._lastMethodCalled = methodName; + hoc._lastMethodArgs = args; + + setTimeout(function(){ + hoc._lastMethodCalled = null; + hoc._lastMethodArgs = null; + }, 0); + + } + }); + + }); + + each( + ['find', 'children', 'parent', 'parents', + 'next', 'nextAll', 'prev', 'prevAll', + 'first', 'last', 'closest', 'siblings', + 'parentsUntil', 'nextUntil', 'prevUntil'], + function(i, methodName) { + + var pureMethod = jQueryMethods[methodName]; + + addCheck(methodName, 2, function(selector){ + + if ( !internal && lint.enabledReports.noElementsFound && !runFunction(pureMethod, arguments, true, this).length ) { + + if (types['function'](selector)) { + selector = '[FUNCTION]'; + } + + lint.console.warn(lint.langs[lint.lang].noElementsFound.replace(/%0/, selector)); + logLocation(); + + } + + }); + + } + ); + +})(); diff --git a/themes/toutpratique/js/global.js b/themes/toutpratique/js/global.js new file mode 100644 index 00000000..1ff0c33c --- /dev/null +++ b/themes/toutpratique/js/global.js @@ -0,0 +1,576 @@ +var responsiveflag = false; + +$(document).ready(function() { + highdpiInit(); + responsiveResize(); + $(window).resize(responsiveResize); + if (navigator.userAgent.match(/Android/i)) + { + var viewport = document.querySelector('meta[name="viewport"]'); + viewport.setAttribute('content', 'initial-scale=1.0,maximum-scale=1.0,user-scalable=0,width=device-width,height=device-height'); + window.scrollTo(0, 1); + } + if (typeof quickView !== 'undefined' && quickView) + quick_view(); + dropDown(); + + if (typeof page_name != 'undefined' && !in_array(page_name, ['index', 'product'])) + { + + $(document).on('change', '.selectProductSort', function(e){ + if (typeof request != 'undefined' && request) + var requestSortProducts = request; + var splitData = $(this).val().split(':'); + if (typeof requestSortProducts != 'undefined' && requestSortProducts) + document.location.href = requestSortProducts + ((requestSortProducts.indexOf('?') < 0) ? '?' : '&') + 'orderby=' + splitData[0] + '&orderway=' + splitData[1]; + }); + + $(document).on('change', 'select[name="n"]', function(){ + $(this.form).submit(); + }); + + $(document).on('change', 'select[name="currency_payement"]', function(){ + setCurrency($(this).val()); + }); + } + + $(document).on('change', 'select[name="manufacturer_list"], select[name="supplier_list"]', function(){ + if (this.value != '') + location.href = this.value; + }); + + $(document).on('click', '.back', function(e){ + e.preventDefault(); + history.back(); + }); + + jQuery.curCSS = jQuery.css; + if (!!$.prototype.cluetip) + $('a.cluetip').cluetip({ + local:true, + cursor: 'pointer', + dropShadow: false, + dropShadowSteps: 0, + showTitle: false, + tracking: true, + sticky: false, + mouseOutClose: true, + fx: { + open: 'fadeIn', + openSpeed: 'fast' + } + }).css('opacity', 0.8); + + if (!!$.prototype.fancybox) + $.extend($.fancybox.defaults.tpl, { + closeBtn : '', + next : '', + prev : '' + }); + + // Close Alert messages + $(".alert.alert-danger").on('click', this, function(e){ + $(this).fadeOut(); + }); + + $('#header-search a').on('click', function(e) { + e.preventDefault(); + e.stopImmediatePropagation(); + + $form = $(this).next('form'); + $result = $('.ac_results'); + + if($form.hasClass('open')) + { + $form.stop(true, true).fadeOut().removeClass('open'); + $result.stop(true, true).fadeOut(); + } + else + { + $form.stop(true, true).fadeIn().addClass('open'); + $result.stop(true, true).fadeIn(); + } + }); + + $('.bloc-link').on('click', function() { + $src = $(this).find('a').attr('href'); + if($src && $src != 'undefined') + { + window.location.href = $src; + } + + }); + + $('.product_quantity').on('change', function() { + $that = $(this); + $input = $that.closest('.return-allowed').find('.order_qte_input'); + $checked = $that.is(':checked'); + + $input.prop('disabled', !$checked); + }); + + $(document).on('click', '#shopping-cart .extension input.trigger', function() { + $input = $(this); + if($input.hasClass('add-guarentee')) + { + $('.extension form').submit(); + } + else + { + window.location.href = $('.customData').length > 0 ? $('.customData').attr('href') : $('.extension > a').attr('href'); + } + }); + + + $('.popover-info').popover(); + + fakeFormElements(); + advancedDropdownMenu(); + customInputs(); +}); + +function highdpiInit() +{ + if($('.replace-2x').css('font-size') == "1px") + { + var els = $("img.replace-2x").get(); + for(var i = 0; i < els.length; i++) + { + src = els[i].src; + extension = src.substr( (src.lastIndexOf('.') +1) ); + src = src.replace("." + extension, "2x." + extension); + + var img = new Image(); + img.src = src; + img.height != 0 ? els[i].src = src : els[i].src = els[i].src; + } + } +} + + +// Used to compensante Chrome/Safari bug (they don't care about scroll bar for width) +function scrollCompensate() +{ + var inner = document.createElement('p'); + inner.style.width = "100%"; + inner.style.height = "200px"; + + var outer = document.createElement('div'); + outer.style.position = "absolute"; + outer.style.top = "0px"; + outer.style.left = "0px"; + outer.style.visibility = "hidden"; + outer.style.width = "200px"; + outer.style.height = "150px"; + outer.style.overflow = "hidden"; + outer.appendChild(inner); + + document.body.appendChild(outer); + var w1 = inner.offsetWidth; + outer.style.overflow = 'scroll'; + var w2 = inner.offsetWidth; + if (w1 == w2) w2 = outer.clientWidth; + + document.body.removeChild(outer); + + return (w1 - w2); +} + +function responsiveResize() +{ + compensante = scrollCompensate(); + if (($(window).width()+scrollCompensate()) <= 767 && responsiveflag == false) + { + accordion('enable'); + accordionFooter('enable'); + responsiveflag = true; + } + else if (($(window).width()+scrollCompensate()) >= 768) + { + accordion('disable'); + accordionFooter('disable'); + responsiveflag = false; + } + blockHover(); +} + +function blockHover(status) +{ + var screenLg = $('body').find('.container').width() == 1170; + + if (screenLg) + $('.product_list .button-container').hide(); + else + $('.product_list .button-container').show(); + + $(document).off('mouseenter').on('mouseenter', '.product_list.grid li.ajax_block_product .product-container', function(e){ + if (screenLg) + { + var pcHeight = $(this).parent().outerHeight(); + var pcPHeight = $(this).parent().find('.button-container').outerHeight() + $(this).parent().find('.comments_note').outerHeight() + $(this).parent().find('.functional-buttons').outerHeight(); + $(this).parent().addClass('hovered').css({'height':pcHeight + pcPHeight, 'margin-bottom':pcPHeight * (-1)}); + $(this).find('.button-container').show(); + } + }); + + $(document).off('mouseleave').on('mouseleave', '.product_list.grid li.ajax_block_product .product-container', function(e){ + if (screenLg) + { + $(this).parent().removeClass('hovered').css({'height':'auto', 'margin-bottom':'0'}); + $(this).find('.button-container').hide(); + } + }); +} + +function quick_view() +{ + $(document).on('click', '.quick-view:visible', function(e){ + e.preventDefault(); + + var url = this.rel; + if (url.indexOf('?') != -1) + url += '&'; + else + url += '?'; + + if (!!$.prototype.fancybox) + $.fancybox({ + 'padding': 0, + 'width': $('.container').width(), + 'height': 610, + 'type': 'iframe', + 'autoResize': true, + 'href': url + 'content_only=1' + }); + }); +} + +function dropDown() +{ + elementClick = '#header .current'; + elementSlide = 'ul.toogle_content'; + activeClass = 'active'; + + $(elementClick).on('click', function(e){ + e.stopPropagation(); + var subUl = $(this).next(elementSlide); + if(subUl.is(':hidden')) + { + subUl.slideDown(); + $(this).addClass(activeClass); + } + else + { + subUl.slideUp(); + $(this).removeClass(activeClass); + } + $(elementClick).not(this).next(elementSlide).slideUp(); + $(elementClick).not(this).removeClass(activeClass); + e.preventDefault(); + }); + + $(elementSlide).on('click', function(e){ + e.stopPropagation(); + }); + + $(document).on('click', function(e){ + e.stopPropagation(); + var elementHide = $(elementClick).next(elementSlide); + $(elementHide).slideUp(); + $(elementClick).removeClass('active'); + }); +} + +function accordionFooter(status) +{ + if(status == 'enable') + { + $('#footer .footer-block h4').on('click', function(){ + $(this).toggleClass('active').parent().find('.toggle-footer').stop().slideToggle('medium'); + }) + $('#footer').addClass('accordion').find('.toggle-footer').slideUp('fast'); + } + else + { + $('.footer-block h4').removeClass('active').off().parent().find('.toggle-footer').removeAttr('style').slideDown('fast'); + $('#footer').removeClass('accordion'); + } +} + +function accordion(status) +{ + leftColumnBlocks = $('#left_column'); + if(status == 'enable') + { + var accordion_selector = '#right_column .block .title_block, #left_column .block .title_block, #left_column #newsletter_block_left h4,' + + '#left_column .shopping_cart > a:first-child, #right_column .shopping_cart > a:first-child'; + + $(accordion_selector).on('click', function(e){ + $(this).toggleClass('active').parent().find('.block_content').stop().slideToggle('medium'); + }); + $('#right_column, #left_column').addClass('accordion').find('.block .block_content').slideUp('fast'); + } + else + { + $('#right_column .block .title_block, #left_column .block .title_block, #left_column #newsletter_block_left h4').removeClass('active').off().parent().find('.block_content').removeAttr('style').slideDown('fast'); + $('#left_column, #right_column').removeClass('accordion'); + } +} + +function fakeFormElements() +{ + $selects = $('select.fake'); + $selects.on('change', function() { + $that = $(this); + $selected = $that.find('option:selected'); + $select = $that.prev('span'); + $select.html($selected.html()); + }); +} + +function advancedDropdownMenu() +{ + $btnMenu = $('#menu-mobile'); + $overlay = $('#mainmenu'); + $languageSwitcher = $('#languages'); + $menu = $overlay.children('ul'); + $menuBoutique = $menu.children('li:first-child').children('a'); + + $btnMenu.on('click', function(e) { + e.preventDefault(); + $btnMenu.hasClass('open') ? $btnMenu.removeClass('open') : $btnMenu.addClass('open'); + $languageSwitcher.hasClass('open') ? $languageSwitcher.removeClass('open') : $languageSwitcher.addClass('open'); + $overlay.hasClass('open') ? $overlay.removeClass('open') : $overlay.addClass('open'); + $menuBoutique.removeClass('open'); + }); + + $menuBoutique.on('click', function(e) { + e.preventDefault(); + $menuBoutique.hasClass('open') ? $menuBoutique.removeClass('open') : $menuBoutique.addClass('open'); + }); + + $(window).scroll(function() { + $scrollTop = $(window).scrollTop(); + $scrollTop < 80 ? $overlay.removeClass('scrolled') : $overlay.addClass('scrolled'); + }); +} + +// function footerParallax() { +// jQuery(document).ready(function() { +// $container = jQuery('.banner'); +// $logo = $container.find('.logo'); +// $bgPositionTop = $container.offset().top; +// $windowHeight = jQuery(window).height(); + +// $startParallax = $bgPositionTop - $windowHeight; + +// jQuery(window).scroll(function() { +// $scrollTop = jQuery(window).scrollTop(); +// if($scrollTop > $startParallax) +// { +// $bgOffset = ($startParallax - $scrollTop) * 0.05; +// $linkOffset = (20 + $startParallax - $scrollTop) * 0.15; + +// $container.css({'background-position': '0px ' + $bgOffset + 'px'}); +// $logo.css({'margin-top': -$linkOffset + 'px'}); +// } +// }); +// }); +// } + +function customInputs() +{ + $customInputs = $('.custom-input'); + + // On génère + $customInputs.each(function() { + $that = $(this); + + // Select + if($that.is('select')) { + customSelect($that); + } + + // Checkbox + if($that.is('input[type="checkbox"]')) { + customCheckbox($that); + } + + // Radio + if($that.is('input[type="radio"]')) { + customRadio($that); + } + + // File + if($that.is('input[type="file"]')) { + customFile($that); + } + }); + + // On définit tous les events + customInputsEventsManager(); +} + +function customSelect(el) +{ + // Génération + el.removeClass('custom-input'); + $options = el.children('option'); + $defaultValue = el.find('option:selected').length ? el.children('option:selected').html() : $options[0].html(); + $container = el.parent(); + + $label = $(document.createElement('span')).html($defaultValue); + $valueList = $(document.createElement('ul')).css({'left' : $container.css('paddingLeft'), 'right' : $container.css('paddingLeft')}); + + el.hasClass('small') ? $valueList.addClass('small') : ''; + + $options.each(function(idx, option) { + $valueList.append($(document.createElement('li')).attr('data-value', $(option).val()).html($(option).html())); + }); + + $container.append($label, $valueList).addClass('custom-select'); +} + +function customCheckbox(el) +{ + // Génération + el.removeClass('custom-input'); + $container = el.parent(); + if(el.hasClass('inline')) + { + $checkboxContainer = $(document.createElement('div')).addClass('custom-checkbox inline'); + $checkboxContainer.append(el, el.siblings('label')); + } + else + { + $checkboxContainer = $(document.createElement('div')).addClass('custom-checkbox'); + $checkboxContainer.append(el.siblings('label'), el); + } + + el.is(':checked') || el.prop('checked') ? $checkboxContainer.addClass('checked') : ''; + + $container.append($checkboxContainer); +} + +function customRadio(el) +{ + // Génération + el.removeClass('custom-input'); + $container = el.parent(); + if(el.hasClass('inline')) + { + $radioContainer = $(document.createElement('div')).addClass('custom-radio inline'); + $radioContainer.append(el, el.siblings('label')); + } + else + { + $radioContainer = $(document.createElement('div')).addClass('custom-radio'); + $radioContainer.append(el.siblings('label'), el); + } + + el.is(':checked') || el.prop('checked') ? $radioContainer.addClass('checked') : ''; + + $container.append($radioContainer); +} + +function customFile(el) +{ + // Définir les variable filePlaceHolder / filePlaceHolderButton dans le template afin de pouvoir les traduire. + // Génération + el.removeClass('custom-input'); + $container = el.parent(); + + $fileContainer = $(document.createElement('div')).addClass('custom-file'); + $fileContainer.append(el.siblings('label'), el); + $fileContainer.append( + $(document.createElement('span')).addClass('filename').html(filePlaceHolder), + $(document.createElement('span')).addClass('action').html(filePlaceHolderButton) + ); + + $container.append($fileContainer); +} + +function customInputsEventsManager() +{ + // Events Select + $('.custom-select span').off('click').on('click', function(e) { + e.stopImmediatePropagation(); + + $valueList = $(this).next('ul'); + $alreadyOpen = $valueList.hasClass('open') ? true : false; + + $('.custom-select ul.open').removeClass('open'); + + if($alreadyOpen) + { + $valueList.removeClass('open') + } + else + { + $valueList.addClass('open'); + + // On ajoute une class au body (+ event) pour gérer le clic extéreiur au select et refermer le ul + $('body').addClass('select-open'); + } + }); + + $('.custom-select ul li').off('click').on('click', function() { + $li = $(this); + $valueList = $(this).parent('ul'); + $label = $valueList.siblings('span'); + $select = $valueList.siblings('select'); + + // Reset de la class Selected + nouvelle assignation sur l'élément cliqué + $li.siblings('li').removeClass('selected'); + $li.addClass('selected'); + + // On met à jour le span et on ferme la liste + $label.html($li.html()); + $valueList.removeClass('open'); + + // S'il n'y a plus de select ouverts, on retire la class du body + if(!$('.custom-select ul.open').length) + { + $('body').removeClass('select-open'); + } + + // Update du select caché trigger du onchange en cas d'action sur cet event + $select.children('option').filter(function() { return $(this).val() == $li.data('value')}).prop('selected', true); + $select.trigger('change'); + }); + + $(document).on('click', '.select-open', function() { + $('.custom-select ul.open').removeClass('open'); + $('body').removeClass('select-open'); + }); + + + // Events Checkbox + $('.custom-checkbox input').on('click', function() { + $checkbox = $(this); + $that = $checkbox.parent(); + + // Pas checké, on check, et vice versa + $checkbox.is(':checked') ? $that.addClass('checked') : $that.removeClass('checked'); + + }); + + // Events Radio + $('.custom-radio input').on('click', function() { + + $radio = $(this); + $that = $radio.parent(); + + $group = $('.custom-radio input[name="' + $radio.attr('name') + '"]').parent(); + $group.removeClass('checked'); + + $that.addClass('checked'); + }); + + // Events File + $('.custom-file input[type="file"]').on('change', function() { + + $input = $(this); + $input.siblings('.filename').html($input.val()); + }); +} \ No newline at end of file diff --git a/themes/toutpratique/js/history.js b/themes/toutpratique/js/history.js new file mode 100644 index 00000000..66876210 --- /dev/null +++ b/themes/toutpratique/js/history.js @@ -0,0 +1,71 @@ +function showOrder(mode, var_content, file, div) +{ + $obj = $('.details'+div); + $.get( + file, + ((mode === 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}), + function(data) + { + $('.block-order-detail').fadeOut(500, function() + { + $obj.html(data); + $obj.fadeIn(500); + }); + + } + ); +} + +function updateOrderLineDisplay(domCheckbox) +{ + var lineQuantitySpan = $(domCheckbox).parent().parent().find('.order_qte_span'); + var lineQuantityInput = $(domCheckbox).parent().parent().find('.order_qte_input'); + var lineQuantityButtons = $(domCheckbox).parent().parent().find('.return_quantity_up, .return_quantity_down'); + if($(domCheckbox).is(':checked')) + { + lineQuantitySpan.hide(); + lineQuantityInput.show(); + lineQuantityButtons.show(); + } + else + { + lineQuantityInput.hide(); + lineQuantityButtons.hide(); + lineQuantityInput.val(lineQuantitySpan.text()); + lineQuantitySpan.show(); + } +} + +//send a message in relation to the order with ajax +function sendOrderMessage() +{ + paramString = "ajax=true"; + $('#sendOrderMessage').find('input, textarea, select').each(function(){ + paramString += '&' + $(this).attr('name') + '=' + encodeURIComponent($(this).val()); + }); + + $.ajax({ + type: "POST", + headers: { "cache-control": "no-cache" }, + url: $('#sendOrderMessage').attr("action") + '?rand=' + new Date().getTime(), + data: paramString, + beforeSend: function(){ + $(".button[name=submitMessage]").prop("disabled", "disabled"); + }, + success: function(msg){ + $('#block-order-detail').fadeOut('slow', function() { + $(this).html(msg); + //catch the submit event of sendOrderMessage form + $('#sendOrderMessage').submit(function(){ + return sendOrderMessage(); + }); + $(this).fadeIn('slow'); + $(".button[name=submitMessage]").prop("disabled", false); + }); + }, + error: function(){ + $(".button[name=submitMessage]").prop("disabled", false); + } + }); + return false; +} \ No newline at end of file diff --git a/themes/toutpratique/js/index.js b/themes/toutpratique/js/index.js new file mode 100644 index 00000000..ac909934 --- /dev/null +++ b/themes/toutpratique/js/index.js @@ -0,0 +1,28 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$(document).ready(function(){ + $('#home-page-tabs li:first, #index .tab-content ul:first').addClass('active'); +}); \ No newline at end of file diff --git a/themes/toutpratique/js/index.php b/themes/toutpratique/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blockcart/ajax-cart.js b/themes/toutpratique/js/modules/blockcart/ajax-cart.js new file mode 100644 index 00000000..05edc0d3 --- /dev/null +++ b/themes/toutpratique/js/modules/blockcart/ajax-cart.js @@ -0,0 +1,898 @@ +$(document).ready(function(){ + ajaxCart.overrideButtonsInThePage(); + + $(document).on('click', '.block_cart_collapse', function(e){ + e.preventDefault(); + ajaxCart.collapse(); + }); + $(document).on('click', '.block_cart_expand', function(e){ + e.preventDefault(); + ajaxCart.expand(); + }); + + var cart_qty = 0; + var current_timestamp = parseInt(new Date().getTime() / 1000); + + if (typeof $('.ajax_cart_quantity').html() == 'undefined' || (typeof generated_date != 'undefined' && generated_date != null && (parseInt(generated_date) + 30) < current_timestamp)) + ajaxCart.refresh(); + else + cart_qty = parseInt($('.ajax_cart_quantity').html()); + + /* roll over cart */ + var cart_block = new HoverWatcher('#header .cart_block'); + var shopping_cart = new HoverWatcher('#header .shopping_cart'); + var is_touch_enabled = false; + + if ('ontouchstart' in document.documentElement) + is_touch_enabled = true; + + $(document).on('click', '#header .shopping_cart > a:first', function(e){ + e.preventDefault(); + e.stopPropagation(); + + // Simulate hover when browser says device is touch based + if (is_touch_enabled) + { + if ($(this).next('.cart_block:visible').length && !cart_block.isHoveringOver()) + $("#header .cart_block").stop(true, true).slideUp(450); + else if (ajaxCart.nb_total_products > 0 || cart_qty > 0) + $("#header .cart_block").stop(true, true).slideDown(450); + + return; + } + else + window.location.href = $(this).attr('href'); + }); + + $("#header .shopping_cart a:first").hover( + function(){ + if (ajaxCart.nb_total_products > 0 || cart_qty > 0) + $("#header .cart_block").stop(true, true).slideDown(450); + }, + function(){ + setTimeout(function(){ + if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver()) + $("#header .cart_block").stop(true, true).slideUp(450); + }, 200); + } + ); + + $("#header .cart_block").hover( + function(){ + }, + function(){ + setTimeout(function(){ + if (!shopping_cart.isHoveringOver()) + $("#header .cart_block").stop(true, true).slideUp(450); + }, 200); + } + ); + + $(document).on('click', '.delete_voucher', function(e){ + e.preventDefault(); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + async: true, + cache: false, + url:$(this).attr('href') + '?rand=' + new Date().getTime() + }); + $(this).parent().parent().remove(); + if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') + { + if (typeof(updateAddressSelection) != 'undefined') + updateAddressSelection(); + else + location.reload(); + } + }); + + $(document).on('click', '#cart_navigation input', function(e){ + $(this).prop('disabled', 'disabled').addClass('disabled'); + $(this).closest("form").get(0).submit(); + }); + + $(document).on('click', '#layer_cart .cross, #layer_cart .continue, .layer_cart_overlay', function(e){ + e.preventDefault(); + $('.layer_cart_overlay').hide(); + $('#layer_cart').fadeOut('fast'); + }); + + $('#columns #layer_cart, #columns .layer_cart_overlay').detach().prependTo('#columns'); +}); + +//JS Object : update the cart by ajax actions +var ajaxCart = { + nb_total_products: 0, + //override every button in the page in relation to the cart + overrideButtonsInThePage : function(){ + //for every 'add' buttons... + $(document).on('click', '.ajax_add_to_cart_button', function(e){ + e.preventDefault(); + var idProduct = parseInt($(this).data('id-product')); + var minimalQuantity = parseInt($(this).data('minimal_quantity')); + if (!minimalQuantity) + minimalQuantity = 1; + if ($(this).prop('disabled') != 'disabled') + ajaxCart.add(idProduct, null, false, this, minimalQuantity); + }); + //for product page 'add' button... + $(document).on('click', '#add_to_cart button', function(e){ + e.preventDefault(); + ajaxCart.add($('#product_page_product_id').val(), $('#idCombination').val(), true, null, $('#quantity_wanted').val(), null); + }); + + //for 'delete' buttons in the cart block... + $(document).on('click', '.cart_block_list .ajax_cart_block_remove_link', function(e){ + e.preventDefault(); + // Customized product management + var customizationId = 0; + var productId = 0; + var productAttributeId = 0; + var customizableProductDiv = $($(this).parent().parent()).find("div[data-id^=deleteCustomizableProduct_]"); + var idAddressDelivery = false; + + if (customizableProductDiv && $(customizableProductDiv).length) + { + var ids = customizableProductDiv.data('id').split('_'); + if (typeof(ids[1]) != 'undefined') + { + customizationId = parseInt(ids[1]); + productId = parseInt(ids[2]); + if (typeof(ids[3]) != 'undefined') + productAttributeId = parseInt(ids[3]); + if (typeof(ids[4]) != 'undefined') + idAddressDelivery = parseInt(ids[4]); + } + } + + // Common product management + if (!customizationId) + { + //retrieve idProduct and idCombination from the displayed product in the block cart + var firstCut = $(this).parent().parent().data('id').replace('cart_block_product_', ''); + firstCut = firstCut.replace('deleteCustomizableProduct_', ''); + ids = firstCut.split('_'); + productId = parseInt(ids[0]); + + if (typeof(ids[1]) != 'undefined') + productAttributeId = parseInt(ids[1]); + if (typeof(ids[2]) != 'undefined') + idAddressDelivery = parseInt(ids[2]); + } + + // Removing product from the cart + ajaxCart.remove(productId, productAttributeId, customizationId, idAddressDelivery); + }); + }, + + // try to expand the cart + expand : function(){ + if ($('.cart_block_list').hasClass('collapsed')) + { + $('.cart_block_list.collapsed').slideDown({ + duration: 450, + complete: function(){ + $(this).parent().show(); // parent is hidden in global.js::accordion() + $(this).addClass('expanded').removeClass('collapsed'); + } + }); + + // save the expand statut in the user cookie + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax_blockcart_display=expand', + complete: function(){ + $('.block_cart_expand').fadeOut('fast', function(){ + $('.block_cart_collapse').fadeIn('fast'); + }); + } + }); + } + }, + + // try to collapse the cart + collapse : function(){ + if ($('.cart_block_list').hasClass('expanded')) + { + $('.cart_block_list.expanded').slideUp('slow', function(){ + $(this).addClass('collapsed').removeClass('expanded'); + }); + + // save the expand statut in the user cookie + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseDir + 'modules/blockcart/blockcart-set-collapse.php' + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax_blockcart_display=collapse' + '&rand=' + new Date().getTime(), + complete: function(){ + $('.block_cart_collapse').fadeOut('fast', function(){ + $('.block_cart_expand').fadeIn('fast'); + }); + } + }); + } + }, + // Fix display when using back and previous browsers buttons + refresh : function(){ + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&ajax=true&token=' + static_token, + success: function(jsonData) + { + ajaxCart.updateCart(jsonData); + } + }); + }, + + // Update the cart information + updateCartInformation : function (jsonData, addedFromProductPage){ + ajaxCart.updateCart(jsonData); + //reactive the button when adding has finished + if (addedFromProductPage) + { + $('#add_to_cart button').removeProp('disabled').removeClass('disabled'); + if (!jsonData.hasError || jsonData.hasError == false) + $('#add_to_cart button').addClass('added'); + else + $('#add_to_cart button').removeClass('added'); + } + else + $('.ajax_add_to_cart_button').removeProp('disabled'); + }, + // close fancybox + updateFancyBox : function (){}, + // add a product in the cart via ajax + add : function(idProduct, idCombination, addedFromProductPage, callerElement, quantity, whishlist){ + if (addedFromProductPage && !checkCustomizations()) + { + if (contentOnly) + { + var productUrl = window.document.location.href + ''; + var data = productUrl.replace('content_only=1', ''); + window.parent.document.location.href = data; + return; + } + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + fieldRequired + '

    ' + } + ], { + padding: 0 + }); + else + alert(fieldRequired); + return; + } + emptyCustomizations(); + //disabled the button when adding to not double add if user double click + if (addedFromProductPage) + { + $('#add_to_cart button').prop('disabled', 'disabled').addClass('disabled'); + $('.filled').removeClass('filled'); + } + else + $(callerElement).prop('disabled', 'disabled'); + + if ($('.cart_block_list').hasClass('collapsed')) + this.expand(); + //send the ajax request to the server + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&add=1&ajax=true&qty=' + ((quantity && quantity != null) ? quantity : '1') + '&id_product=' + idProduct + '&token=' + static_token + ( (parseInt(idCombination) && idCombination != null) ? '&ipa=' + parseInt(idCombination): ''), + success: function(jsonData,textStatus,jqXHR) + { + // add appliance to whishlist module + if (whishlist && !jsonData.errors) + WishlistAddProductCart(whishlist[0], idProduct, idCombination, whishlist[1]); + + if (!jsonData.hasError) + { + if (contentOnly) + window.parent.ajaxCart.updateCartInformation(jsonData, addedFromProductPage); + else + ajaxCart.updateCartInformation(jsonData, addedFromProductPage); + + if (jsonData.crossSelling) + $('.crossseling').html(jsonData.crossSelling); + else + $('.crossseling').html(''); + + if (idCombination) + $(jsonData.products).each(function(){ + if (this.id != undefined && this.id == parseInt(idProduct) && this.idCombination == parseInt(idCombination)) + if (contentOnly) + window.parent.ajaxCart.updateLayer(this); + else + ajaxCart.updateLayer(this); + }); + else + $(jsonData.products).each(function(){ + if (this.id != undefined && this.id == parseInt(idProduct)) + if (contentOnly) + window.parent.ajaxCart.updateLayer(this); + else + ajaxCart.updateLayer(this); + }); + if (contentOnly) + parent.$.fancybox.close(); + } + else + { + if (contentOnly) + window.parent.ajaxCart.updateCart(jsonData); + else + ajaxCart.updateCart(jsonData); + if (addedFromProductPage) + $('#add_to_cart button').removeProp('disabled').removeClass('disabled'); + else + $(callerElement).removeProp('disabled'); + } + + }, + error: function(XMLHttpRequest, textStatus, errorThrown) + { + var error = "Impossible to add the product to the cart.
    textStatus: '" + textStatus + "'
    errorThrown: '" + errorThrown + "'
    responseText:
    " + XMLHttpRequest.responseText; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + error + '

    ' + }], + { + padding: 0 + }); + else + alert(error); + //reactive the button when adding has finished + if (addedFromProductPage) + $('#add_to_cart button').removeProp('disabled').removeClass('disabled'); + else + $(callerElement).removeProp('disabled'); + } + }); + }, + + //remove a product from the cart via ajax + remove : function(idProduct, idCombination, customizationId, idAddressDelivery){ + //send the ajax request to the server + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=cart&delete=1&id_product=' + idProduct + '&ipa=' + ((idCombination != null && parseInt(idCombination)) ? idCombination : '') + ((customizationId && customizationId != null) ? '&id_customization=' + customizationId : '') + '&id_address_delivery=' + idAddressDelivery + '&token=' + static_token + '&ajax=true', + success: function(jsonData) { + ajaxCart.updateCart(jsonData); + if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc') + deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery); + }, + error: function() + { + var error = 'ERROR: unable to delete the product'; + if (!!$.prototype.fancybox) + { + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: error + } + ], { + padding: 0 + }); + } + else + alert(error); + } + }); + }, + + //hide the products displayed in the page but no more in the json data + hideOldProducts : function(jsonData){ + //delete an eventually removed product of the displayed cart (only if cart is not empty!) + if ($('.cart_block_list:first dl.products').length > 0) + { + var removedProductId = null; + var removedProductData = null; + var removedProductDomId = null; + //look for a product to delete... + $('.cart_block_list:first dl.products dt').each(function(){ + //retrieve idProduct and idCombination from the displayed product in the block cart + var domIdProduct = $(this).data('id'); + var firstCut = domIdProduct.replace('cart_block_product_', ''); + var ids = firstCut.split('_'); + + //try to know if the current product is still in the new list + var stayInTheCart = false; + for (aProduct in jsonData.products) + { + //we've called the variable aProduct because IE6 bug if this variable is called product + //if product has attributes + if (jsonData.products[aProduct]['id'] == ids[0] && (!ids[1] || jsonData.products[aProduct]['idCombination'] == ids[1])) + { + stayInTheCart = true; + // update the product customization display (when the product is still in the cart) + ajaxCart.hideOldProductCustomizations(jsonData.products[aProduct], domIdProduct); + } + } + //remove product if it's no more in the cart + if (!stayInTheCart) + { + removedProductId = $(this).data('id'); + if (removedProductId != null) + { + var firstCut = removedProductId.replace('cart_block_product_', ''); + var ids = firstCut.split('_'); + + $('dt[data-id="' + removedProductId + '"]').addClass('strike').fadeTo('slow', 0, function(){ + $(this).slideUp('slow', function(){ + $(this).remove(); + // If the cart is now empty, show the 'no product in the cart' message and close detail + if($('.cart_block:first dl.products dt').length == 0) + { + $("#header .cart_block").stop(true, true).slideUp(200); + $('.cart_block_no_products:hidden').slideDown(450); + $('.cart_block dl.products').remove(); + } + }); + }); + $('dd[data-id="cart_block_combination_of_' + ids[0] + (ids[1] ? '_'+ids[1] : '') + (ids[2] ? '_'+ids[2] : '') + '"]').fadeTo('fast', 0, function(){ + $(this).slideUp('fast', function(){ + $(this).remove(); + }); + }); + } + } + }); + } + }, + + hideOldProductCustomizations : function (product, domIdProduct){ + var customizationList = $('ul[data-id="customization_' + product['id'] + '_' + product['idCombination'] + '"]'); + if(customizationList.length > 0) + { + $(customizationList).find("li").each(function(){ + $(this).find("div").each(function(){ + var customizationDiv = $(this).data('id'); + var tmp = customizationDiv.replace('deleteCustomizableProduct_', ''); + var ids = tmp.split('_'); + if ((parseInt(product.idCombination) == parseInt(ids[2])) && !ajaxCart.doesCustomizationStillExist(product, ids[0])) + $('div[data-id="' + customizationDiv + '"]').parent().addClass('strike').fadeTo('slow', 0, function(){ + $(this).slideUp('slow'); + $(this).remove(); + }); + }); + }); + } + + var removeLinks = $('.deleteCustomizableProduct[data-id="' + domIdProduct + '"]').find('.ajax_cart_block_remove_link'); + if (!product.hasCustomizedDatas && !removeLinks.length) + $('div[data-id="' + domIdProduct + '"]' + ' span.remove_link').html(' '); + if (product.is_gift) + $('div[data-id="' + domIdProduct + '"]' + ' span.remove_link').html(''); + }, + + doesCustomizationStillExist : function (product, customizationId){ + var exists = false; + + $(product.customizedDatas).each(function(){ + if (this.customizationId == customizationId) + { + exists = true; + // This return does not mean that we found nothing but simply break the loop + return false; + } + }); + return (exists); + }, + + //refresh display of vouchers (needed for vouchers in % of the total) + refreshVouchers : function (jsonData){ + if (typeof(jsonData.discounts) == 'undefined' || jsonData.discounts.length == 0) + $('.vouchers').hide(); + else + { + $('.vouchers tbody').html(''); + + for (i=0;i 0) + { + var delete_link = ''; + if (jsonData.discounts[i].code.length) + delete_link = ''; + $('.vouchers tbody').append($( + '' + +' 1x' + +' '+jsonData.discounts[i].name+'' + +' -'+jsonData.discounts[i].price+'' + +' ' + delete_link + '' + +'' + )); + } + } + $('.vouchers').show(); + } + + }, + + // Update product quantity + updateProductQuantity : function (product, quantity){ + $('dt[data-id=cart_block_product_' + product.id + '_' + (product.idCombination ? product.idCombination : '0')+ '_' + (product.idAddressDelivery ? product.idAddressDelivery : '0') + '] .quantity').fadeTo('fast', 0, function(){ + $(this).text(quantity); + $(this).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1); + }); + }); + }); + }); + }); + }, + + //display the products witch are in json data but not already displayed + displayNewProducts : function(jsonData){ + //add every new products or update displaying of every updated products + $(jsonData.products).each(function(){ + //fix ie6 bug (one more item 'undefined' in IE6) + if (this.id != undefined) + { + //create a container for listing the products and hide the 'no product in the cart' message (only if the cart was empty) + + if ($('.cart_block:first dl.products').length == 0) + { + $('.cart_block_no_products').before('
    '); + $('.cart_block_no_products').hide(); + } + //if product is not in the displayed cart, add a new product's line + var domIdProduct = this.id + '_' + (this.idCombination ? this.idCombination : '0') + '_' + (this.idAddressDelivery ? this.idAddressDelivery : '0'); + var domIdProductAttribute = this.id + '_' + (this.idCombination ? this.idCombination : '0'); + + if ($('dt[data-id="cart_block_product_' + domIdProduct + '"]').length == 0) + { + var productId = parseInt(this.id); + var productAttributeId = (this.hasAttributes ? parseInt(this.attributes) : 0); + var content = '
    '; + var name = $.trim($('').html(this.name).text()); + content += '' + this.name +''; + content += '
    ' + '' + this.quantity + ' x ' + name + '
    '; + if (this.hasAttributes) + content += ''; + if (typeof(freeProductTranslation) != 'undefined') + content += '' + (parseFloat(this.price_float) > 0 ? this.priceByLine : freeProductTranslation) + '
    '; + + if (typeof(this.is_gift) == 'undefined' || this.is_gift == 0) + content += ' '; + else + content += ''; + content += '
    '; + if (this.hasAttributes) + content += '
    '; + if (this.hasCustomizedDatas) + content += ajaxCart.displayNewCustomizedDatas(this); + if (this.hasAttributes) content += '
    '; + + $('.cart_block dl.products').append(content); + } + //else update the product's line + else + { + var jsonProduct = this; + if($.trim($('dt[data-id="cart_block_product_' + domIdProduct + '"] .quantity').html()) != jsonProduct.quantity || $.trim($('dt[data-id="cart_block_product_' + domIdProduct + '"] .price').html()) != jsonProduct.priceByLine) + { + // Usual product + if (!this.is_gift) + $('dt[data-id="cart_block_product_' + domIdProduct + '"] .price').text(jsonProduct.priceByLine); + else + $('dt[data-id="cart_block_product_' + domIdProduct + '"] .price').html(freeProductTranslation); + ajaxCart.updateProductQuantity(jsonProduct, jsonProduct.quantity); + + // Customized product + if (jsonProduct.hasCustomizedDatas) + { + customizationFormatedDatas = ajaxCart.displayNewCustomizedDatas(jsonProduct); + if (!$('ul[data-id="customization_' + domIdProductAttribute + '"]').length) + { + if (jsonProduct.hasAttributes) + $('dd[data-id="cart_block_combination_of_' + domIdProduct + '"]').append(customizationFormatedDatas); + else + $('.cart_block dl.products').append(customizationFormatedDatas); + } + else + { + $('ul[data-id="customization_' + domIdProductAttribute + '"]').html(''); + $('ul[data-id="customization_' + domIdProductAttribute + '"]').append(customizationFormatedDatas); + } + } + } + } + $('.cart_block dl.products .unvisible').slideDown(450).removeClass('unvisible'); + + var removeLinks = $('dt[data-id="cart_block_product_' + domIdProduct + '"]').find('a.ajax_cart_block_remove_link'); + if (this.hasCustomizedDatas && removeLinks.length) + $(removeLinks).each(function(){ + $(this).remove(); + }); + } + }); + }, + + displayNewCustomizedDatas : function(product){ + var content = ''; + var productId = parseInt(product.id); + var productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination); + var hasAlreadyCustomizations = $('ul[data-id="customization_' + productId + '_' + productAttributeId + '"]').length; + + if (!hasAlreadyCustomizations) + { + if (!product.hasAttributes) + content += '
    '; + if ($('ul[data-id="customization_' + productId + '_' + productAttributeId + '"]').val() == undefined) + content += '
      '; + } + + $(product.customizedDatas).each(function(){ + var done = 0; + customizationId = parseInt(this.customizationId); + productAttributeId = typeof(product.idCombination) == 'undefined' ? 0 : parseInt(product.idCombination); + content += '
    • '; + + // Give to the customized product the first textfield value as name + $(this.datas).each(function(){ + if (this['type'] == CUSTOMIZE_TEXTFIELD) + { + $(this.datas).each(function(){ + if (this['index'] == 0) + { + content += ' ' + this.truncatedValue.replace(/
      /g, ' '); + done = 1; + return false; + } + }) + } + }); + + // If the customized product did not have any textfield, it will have the customizationId as name + if (!done) + content += customizationIdMessage + customizationId; + if (!hasAlreadyCustomizations) content += '
    • '; + // Field cleaning + if (customizationId) + { + $('#uploadable_files li div.customizationUploadBrowse img').remove(); + $('#text_fields input').attr('value', ''); + } + }); + + if (!hasAlreadyCustomizations) + { + content += '
    '; + if (!product.hasAttributes) content += '
    '; + } + return (content); + }, + + updateLayer : function(product){ + var id_product = product.id; + var idCombination = product.idCombination; + var quantity = 1; + if($("#quantity_wanted").val()){ + quantity = $("#quantity_wanted").val(); + } + console.log(product); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'controller=product&action=getProductInfo&ajax=true&token=' + static_token + '&id_product=' + id_product + '&idCombination=' +idCombination, + success : function(data) { + + if(data.found) + { + $(".layer_cart_product .product-image-container").html(''); + $(".layer_cart_product .product-name").html(data.product.name); + $(".layer_cart_product .product-price").html(data.product.productPrice); + + if(data.product.productPriceWithoutReduction > data.product.productPrice) + { + $(".layer_cart_product .product-old-price .value").html(data.product.productPriceWithoutReduction); + $(".layer_cart_product .product-old-price").show(); + } + else + { + $(".layer_cart_product .product-old-price .value").html(''); + $(".layer_cart_product .product-old-price").hide(); + } + + if(data.product.reduction) + { + $(".layer_cart_product .product-reduction").html(data.product.reduction + '%').show(); + } + else + { + $(".layer_cart_product .product-reduction").html('').hide(); + } + + if(data.product.attributes) + { + var html = ""; + $.each(data.product.attributes, function(i,item){ + html += item.attribute_name +', '; + }); + $(".layer_cart_product .product-attributes .dynamic").html(html); + } + } + + } + }); + var n = parseInt($(window).scrollTop()) + 'px'; + $('.layer_cart_overlay').show(); + $('#layer_cart').css('top', n).fadeIn('fast'); + }, + + //genarally update the display of the cart + updateCart : function(jsonData){ + //user errors display + if (jsonData.hasError) + { + var errors = ''; + for (error in jsonData.errors) + //IE6 bug fix + if (error != 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + errors + '

    ' + } + ], { + padding: 0 + }); + else + alert(errors); + } + else + { + ajaxCart.updateCartEverywhere(jsonData); + ajaxCart.hideOldProducts(jsonData); + ajaxCart.displayNewProducts(jsonData); + ajaxCart.refreshVouchers(jsonData); + + //update 'first' and 'last' item classes + $('.cart_block .products dt').removeClass('first_item').removeClass('last_item').removeClass('item'); + $('.cart_block .products dt:first').addClass('first_item'); + $('.cart_block .products dt:not(:first,:last)').addClass('item'); + $('.cart_block .products dt:last').addClass('last_item'); + } + }, + + //update general cart informations everywhere in the page + updateCartEverywhere : function(jsonData){ + + $('.ajax_cart_total').text($.trim(jsonData.productTotal)); + + if (parseFloat(jsonData.shippingCostFloat) > 0) + $('.ajax_cart_shipping_cost').text(jsonData.shippingCost); + else if (typeof(freeShippingTranslation) != 'undefined') + $('.ajax_cart_shipping_cost').html(freeShippingTranslation); + + $('.ajax_cart_tax_cost').text(jsonData.taxCost); + $('.cart_block_wrapping_cost').text(jsonData.wrappingCost); + $('.ajax_block_cart_total').text(jsonData.total); + $('.ajax_block_products_total').text(jsonData.productTotal); + $('.ajax_total_price_wt').text(jsonData.total_price_wt); + + if (parseFloat(jsonData.freeShippingFloat) > 0) + { + $('.ajax_cart_free_shipping').html(jsonData.freeShipping); + $('.freeshipping').fadeIn(0); + } + else if (parseFloat(jsonData.freeShippingFloat) == 0) + $('.freeshipping').fadeOut(0); + + this.nb_total_products = jsonData.nbTotalProducts; + + $('.ajax_cart_quantity').text(jsonData.nbTotalProducts); + + if (parseInt(jsonData.nbTotalProducts) > 0) + { + $('.ajax_cart_no_product').hide(); + $('.ajax_cart_quantity').fadeIn('slow'); + $('.ajax_cart_total').fadeIn('slow'); + + if (parseInt(jsonData.nbTotalProducts) > 1) + { + $('.ajax_cart_product_txt').each( function (){ + $(this).hide(); + }); + + $('.ajax_cart_product_txt_s').each( function (){ + $(this).show(); + }); + } + else + { + $('.ajax_cart_product_txt').each( function (){ + $(this).show(); + }); + + $('.ajax_cart_product_txt_s').each( function (){ + $(this).hide(); + }); + } + } + else + { + $('.ajax_cart_product_txt_s, .ajax_cart_product_txt, .ajax_cart_total').each(function(){ + $(this).hide(); + }); + $('.ajax_cart_no_product').show('slow'); + } + } +}; + +function HoverWatcher(selector) +{ + this.hovering = false; + var self = this; + + this.isHoveringOver = function(){ + return self.hovering; + } + + $(selector).hover(function(){ + self.hovering = true; + }, function(){ + self.hovering = false; + }) +} + +function crossselling_serialScroll() +{ + if (!!$.prototype.bxSlider) + $('#blockcart_caroucel').bxSlider({ + minSlides: 2, + maxSlides: 4, + slideWidth: 178, + slideMargin: 20, + moveSlides: 1, + infiniteLoop: false, + hideControlOnEnd: true, + pager: false + }); +} diff --git a/themes/toutpratique/js/modules/blockcart/index.php b/themes/toutpratique/js/modules/blockcart/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blockcart/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocklayered/blocklayered-footer.js b/themes/toutpratique/js/modules/blocklayered/blocklayered-footer.js new file mode 100644 index 00000000..e69de29b diff --git a/themes/toutpratique/js/modules/blocklayered/blocklayered.js b/themes/toutpratique/js/modules/blocklayered/blocklayered.js new file mode 100644 index 00000000..90102bc1 --- /dev/null +++ b/themes/toutpratique/js/modules/blocklayered/blocklayered.js @@ -0,0 +1,678 @@ +var ajaxQueries = new Array(); +var ajaxLoaderOn = 0; +var sliderList = new Array(); +var slidersInit = false; + +$(document).ready(function() +{ + cancelFilter(); + openCloseFilter(); + + // Click on color + $(document).on('click', '#layered_form input[type=button], #layered_form label.layered_color', function(e) { + if (!$('input[name='+$(this).attr('name')+'][type=hidden]').length) + $('').attr('type', 'hidden').attr('name', $(this).attr('name')).val($(this).data('rel')).appendTo('#layered_form'); + else + $('input[name='+$(this).attr('name')+'][type=hidden]').remove(); + reloadContent(true); + }); + + $(document).on('click', '#layered_form input[type=checkbox], #layered_form input[type=radio]', function(e) { + reloadContent(true); + }); + + $('body').on('change', '#layered_form select', function(e) { + reloadContent(true); + }); + + + // Changing content of an input text + $(document).on('keyup', '#layered_form input.layered_input_range', function(e) + { + if ($(this).attr('timeout_id')) + window.clearTimeout($(this).attr('timeout_id')); + + // IE Hack, setTimeout do not acept the third parameter + var reference = this; + + $(this).attr('timeout_id', window.setTimeout(function(it) { + if (!$(it).attr('id')) + it = reference; + + var filter = $(it).attr('id').replace(/^layered_(.+)_range_.*$/, '$1'); + + var value_min = parseInt($('#layered_'+filter+'_range_min').val()); + if (isNaN(value_min)) + value_min = 0; + $('#layered_'+filter+'_range_min').val(value_min); + + var value_max = parseInt($('#layered_'+filter+'_range_max').val()); + if (isNaN(value_max)) + value_max = 0; + $('#layered_'+filter+'_range_max').val(value_max); + + if (value_max < value_min) { + $('#layered_'+filter+'_range_max').val($(it).val()); + $('#layered_'+filter+'_range_min').val($(it).val()); + } + reloadContent(); + }, 500, this)); + }); + + $(document).on('click', '#layered_block_left .radio', function(e) + { + var name = $(this).attr('name'); + $.each($(this).parent().parent().find('input[type=button]'), function (it, item) { + if ($(item).hasClass('on') && $(item).attr('name') != name) { + $(item).click(); + } + }); + return true; + }); + + // Click on label + $('#layered_block_left label a').on({ + click: function(e) { + e.preventDefault(); + var disable = $(this).parent().parent().find('input').attr('disabled'); + if (disable == '' + || typeof(disable) == 'undefined' + || disable == false) + { + $(this).parent().parent().find('input').click(); + reloadContent(); + } + } + }); + + layered_hidden_list = {}; + $('.hide-action').on('click', function(e) + { + if (typeof(layered_hidden_list[$(this).parent().find('ul').attr('id')]) == 'undefined' || layered_hidden_list[$(this).parent().find('ul').attr('id')] == false) + { + layered_hidden_list[$(this).parent().find('ul').attr('id')] = true; + } + else + { + layered_hidden_list[$(this).parent().find('ul').attr('id')] = false; + } + hideFilterValueAction(this); + }); + $('.hide-action').each(function() { + hideFilterValueAction(this); + }); + + $('.selectProductSort').unbind('change').bind('change', function(event) { + $('.selectProductSort').val($(this).val()); + + if($('#layered_form').length > 0) + reloadContent(true); + }); + + $(document).off('change').on('change', 'select[name=n]', function(e) + { + $('select[name=n]').val($(this).val()); + reloadContent(true); + }); + + paginationButton(false); + initLayered(); +}); + +function initFilters() +{ + if (typeof filters !== 'undefined') + { + for (key in filters) + { + if (filters.hasOwnProperty(key)) + var filter = filters[key]; + + if (typeof filter.slider !== 'undefined' && parseInt(filter.filter_type) == 0) + { + var filterRange = parseInt(filter.max)-parseInt(filter.min); + var step = filterRange / 100; + + if (step > 1) + step = parseInt(step); + + addSlider(filter.type, + { + range: true, + step: step, + min: parseInt(filter.min), + max: parseInt(filter.max), + values: [filter.values[0], filter.values[1]], + slide: function(event, ui) { + stopAjaxQuery(); + + if (parseInt($(event.target).data('format')) < 5) + { + from = formatCurrency(ui.values[0], parseInt($(event.target).data('format')), + $(event.target).data('unit')); + to = formatCurrency(ui.values[1], parseInt($(event.target).data('format')), + $(event.target).data('unit')); + } + else + { + from = ui.values[0] + $(event.target).data('unit'); + to = ui.values[1] + $(event.target).data('unit'); + } + + $('#layered_' + $(event.target).data('type') + '_range').html(from + ' - ' + to); + }, + stop: function () { + reloadContent(true); + } + }, filter.unit, parseInt(filter.format)); + } + else if(typeof filter.slider !== 'undefined' && parseInt(filter.filter_type) == 1) + { + $('#layered_' + filter.type + '_range_min').attr('limitValue', filter.min); + $('#layered_' + filter.type + '_range_max').attr('limitValue', filter.max); + } + + $('.layered_' + filter.type).show(); + } + } +} + +function hideFilterValueAction(it) +{ + if (typeof(layered_hidden_list[$(it).parent().find('ul').attr('id')]) == 'undefined' + || layered_hidden_list[$(it).parent().find('ul').attr('id')] == false) + { + $(it).parent().find('.hiddable').hide(); + $(it).parent().find('.hide-action.less').hide(); + $(it).parent().find('.hide-action.more').show(); + } + else + { + $(it).parent().find('.hiddable').show(); + $(it).parent().find('.hide-action.less').show(); + $(it).parent().find('.hide-action.more').hide(); + } +} + +function addSlider(type, data, unit, format) +{ + sliderList.push({ + type: type, + data: data, + unit: unit, + format: format + }); +} + +function initSliders() +{ + $(sliderList).each(function(i, slider){ + $('#layered_'+slider['type']+'_slider').slider(slider['data']); + var from = ''; + var to = ''; + switch (slider['format']) + { + case 1: + case 2: + case 3: + case 4: + from = formatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 0), slider['format'], slider['unit']); + to = formatCurrency($('#layered_'+slider['type']+'_slider').slider('values', 1), slider['format'], slider['unit']); + break; + case 5: + from = $('#layered_'+slider['type']+'_slider').slider('values', 0)+slider['unit'] + to = $('#layered_'+slider['type']+'_slider').slider('values', 1)+slider['unit']; + break; + } + $('#layered_'+slider['type']+'_range').html(from+' - '+to); + }); +} + +function initLayered() +{ + initFilters(); + initSliders(); + initLocationChange(); + updateProductUrl(); + if (window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') + { + var params = window.location.href.split('#')[1]; + reloadContent('&selected_filters='+params); + } +} + +function paginationButton(nbProductsIn, nbProductOut) { + if (typeof(current_friendly_url) === 'undefined') + current_friendly_url = '#'; + + $('div.pagination a').not(':hidden').each(function () { + if ($(this).attr('href').search(/(\?|&)p=/) == -1) { + var page = 1; + } + else { + var page = parseInt($(this).attr('href').replace(/^.*(\?|&)p=(\d+).*$/, '$2'));; + } + var location = window.location.href.replace(/#.*$/, ''); + $(this).attr('href', location+current_friendly_url.replace(/\/page-(\d+)/, '')+'/page-'+page); + }); + $('div.pagination li').not('.current, .disabled').each(function () { + var nbPage = 0; + if ($(this).hasClass('pagination_next')) + nbPage = parseInt($('div.pagination li.current').children().children().html())+ 1; + else if ($(this).hasClass('pagination_previous')) + nbPage = parseInt($('div.pagination li.current').children().children().html())- 1; + + $(this).children().children().on('click', function(e) + { + e.preventDefault(); + if (nbPage == 0) + p = parseInt($(this).html()) + parseInt(nbPage); + else + p = nbPage; + p = '&p='+ p; + reloadContent(p); + nbPage = 0; + }); + }); + + + //product count refresh + if(nbProductsIn!=false){ + if(isNaN(nbProductsIn) == 0) { + // add variables + var productCountRow = $('.product-count').html(); + var nbPage = parseInt($('div.pagination li.current').children().children().html()); + var nb_products = nbProductsIn; + + if ($('#nb_item option:selected').length == 0) + var nbPerPage = nb_products; + else + var nbPerPage = parseInt($('#nb_item option:selected').val()); + + isNaN(nbPage) ? nbPage = 1 : nbPage = nbPage; + nbPerPage*nbPage < nb_products ? productShowing = nbPerPage*nbPage :productShowing = (nbPerPage*nbPage-nb_products-nbPerPage*nbPage)*-1; + nbPage==1 ? productShowingStart=1 : productShowingStart=nbPerPage*nbPage-nbPerPage+1; + + + //insert values into a .product-count + productCountRow = $.trim(productCountRow); + productCountRow = productCountRow.split(' '); + productCountRow[1] = productShowingStart; + productCountRow[3] = (nbProductOut != 'undefined') && (nbProductOut > productShowing) ? nbProductOut : productShowing; + productCountRow[5] = nb_products; + + if (productCountRow[3] > productCountRow[5]) + productCountRow[3] = productCountRow[5]; + + productCountRow = productCountRow.join(' '); + $('.product-count').html(productCountRow); + $('.product-count').show(); + } + else { + $('.product-count').hide(); + } + } +} + +function cancelFilter() +{ + $(document).on('click', '#enabled_filters a', function(e) + { + if ($(this).data('rel').search(/_slider$/) > 0) + { + if ($('#'+$(this).data('rel')).length) + { + $('#'+$(this).data('rel')).slider('values' , 0, $('#'+$(this).data('rel')).slider('option' , 'min' )); + $('#'+$(this).data('rel')).slider('values' , 1, $('#'+$(this).data('rel')).slider('option' , 'max' )); + $('#'+$(this).data('rel')).slider('option', 'slide')(0,{values:[$('#'+$(this).data('rel')).slider( 'option' , 'min' ), $('#'+$(this).data('rel')).slider( 'option' , 'max' )]}); + } + else if($('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).length) + { + $('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).val($('#'+$(this).data('rel').replace(/_slider$/, '_range_min')).attr('limitValue')); + $('#'+$(this).data('rel').replace(/_slider$/, '_range_max')).val($('#'+$(this).data('rel').replace(/_slider$/, '_range_max')).attr('limitValue')); + } + } + else + { + if ($('option#'+$(this).data('rel')).length) + { + $('#'+$(this).data('rel')).parent().val(''); + } + else + { + $('#'+$(this).data('rel')).attr('checked', false); + $('.'+$(this).data('rel')).attr('checked', false); + $('#layered_form input[type=hidden][name='+$(this).data('rel')+']').remove(); + } + } + reloadContent(true); + e.preventDefault(); + }); +} + +function openCloseFilter() +{ + $(document).on('click', '#layered_form span.layered_close a', function(e) + { + if ($(this).html() == '<') + { + $('#'+$(this).data('rel')).show(); + $(this).html('v'); + $(this).parent().removeClass('closed'); + } + else + { + $('#'+$(this).data('rel')).hide(); + $(this).html('<'); + $(this).parent().addClass('closed'); + } + + e.preventDefault(); + }); +} + +function stopAjaxQuery() { + if (typeof(ajaxQueries) == 'undefined') + ajaxQueries = new Array(); + for(i = 0; i < ajaxQueries.length; i++) + ajaxQueries[i].abort(); + ajaxQueries = new Array(); +} + +function reloadContent(params_plus) +{ + stopAjaxQuery(); + + if (!ajaxLoaderOn) + { + $('.products-list').prepend($('#layered_ajax_loader').html()); + $('.products-list').css('opacity', '0.7'); + ajaxLoaderOn = 1; + } + + data = $('#layered_form').serialize(); + $('.layered_slider').each( function () { + var sliderStart = $(this).slider('values', 0); + var sliderStop = $(this).slider('values', 1); + if (typeof(sliderStart) == 'number' && typeof(sliderStop) == 'number') + data += '&'+$(this).attr('id')+'='+sliderStart+'_'+sliderStop; + }); + + $(['price', 'weight']).each(function(it, sliderType) + { + if ($('#layered_'+sliderType+'_range_min').length) + { + data += '&layered_'+sliderType+'_slider='+$('#layered_'+sliderType+'_range_min').val()+'_'+$('#layered_'+sliderType+'_range_max').val(); + } + }); + + $('#layered_form .custom-select option').each( function () { + if($(this).attr('id') && $(this).parent().val() == $(this).val()) + { + data += '&'+$(this).attr('id') + '=' + $(this).val(); + } + }); + + // ANTADIS BUG + $('#layered_form .select option').each( function () { + if($(this).attr('id') && $(this).parent().val() == $(this).val()) + { + data += '&'+$(this).attr('id') + '=' + $(this).val(); + } + }); + + if ($('.selectProductSort').length && $('.selectProductSort').val()) + { + if ($('.selectProductSort').val().search(/orderby=/) > 0) + { + // Old ordering working + var splitData = [ + $('.selectProductSort').val().match(/orderby=(\w*)/)[1], + $('.selectProductSort').val().match(/orderway=(\w*)/)[1] + ]; + } + else + { + // New working for default theme 1.4 and theme 1.5 + var splitData = $('.selectProductSort').val().split(':'); + } + data += '&orderby='+splitData[0]+'&orderway='+splitData[1]; + } + if ($('select[name=n]:first').length) + { + if (params_plus) + data += '&n=' + $('select[name=n]:first').val(); + else + data += '&n=' + $('div.pagination form.showall').find('input[name=n]').val(); + } + + var slideUp = true; + if (params_plus == undefined) + { + params_plus = ''; + slideUp = false; + } + + // Get nb items per page + var n = ''; + if (params_plus) + { + $('div.pagination select[name=n]').children().each(function(it, option) { + if (option.selected) + n = '&n=' + option.value; + }); + } + ajaxQuery = $.ajax( + { + type: 'GET', + url: baseDir + 'modules/blocklayered/blocklayered-ajax.php', + data: data, + dataType: 'json', + cache: false, // @todo see a way to use cache and to add a timestamps parameter to refresh cache each 10 minutes for example + success: function(result) + { + if (result.meta_description != '') + $('meta[name="description"]').attr('content', result.meta_description); + + if (result.meta_keywords != '') + $('meta[name="keywords"]').attr('content', result.meta_keywords); + + if (result.meta_title != '') + $('title').html(result.meta_title); + + if (result.heading != '') + $('h1.page-heading .cat-name').html(result.heading); + + $('#layered_block_left').replaceWith(utf8_decode(result.filtersBlock)); + $('.category-product-count, .heading-counter').html(result.categoryCount); + + var enabled_filters_antadis = $('
    '+ utf8_decode(result.filtersBlock) +'
    ').find('#enabled_filters'); + $('#enabled_filters').replaceWith(enabled_filters_antadis); + + if (result.nbRenderedProducts == result.nbAskedProducts) + $('div.clearfix.selector1').hide(); + + if (result.productList) + $('.products-list').html(utf8_decode(result.productList)); + else + $('.products-list').html(''); + + $('.products-list').css('opacity', '1'); + if ($.browser.msie) // Fix bug with IE8 and aliasing + $('.products-list').css('filter', ''); + + if (result.pagination.search(/[^\s]/) >= 0) { + var pagination = $('
    ').html(result.pagination) + var pagination_bottom = $('
    ').html(result.pagination_bottom); + + if ($('
    ').html(pagination).find('#pagination').length) + { + $('#pagination').show(); + $('#pagination').replaceWith(pagination.find('#pagination')); + } + else + { + $('#pagination').hide(); + } + + if ($('
    ').html(pagination_bottom).find('#pagination_bottom').length) + { + $('#pagination_bottom').show(); + $('#pagination_bottom').replaceWith(pagination_bottom.find('#pagination_bottom')); + } + else + { + $('#pagination_bottom').hide(); + } + } + else + { + $('#pagination').hide(); + $('#pagination_bottom').hide(); + } + + paginationButton(result.nbRenderedProducts, result.nbAskedProducts); + ajaxLoaderOn = 0; + + // On submiting nb items form, relaod with the good nb of items + $('div.pagination form').on('submit', function(e) + { + e.preventDefault(); + val = $('div.pagination select[name=n]').val(); + + $('div.pagination select[name=n]').children().each(function(it, option) { + if (option.value == val) + $(option).attr('selected', true); + else + $(option).removeAttr('selected'); + }); + + // Reload products and pagination + reloadContent(); + }); + if (typeof(ajaxCart) != "undefined") + ajaxCart.overrideButtonsInThePage(); + + if (typeof(reloadProductComparison) == 'function') + reloadProductComparison(); + + filters = result.filters; + initFilters(); + initSliders(); + + current_friendly_url = result.current_friendly_url; + + // Currente page url + if (typeof(current_friendly_url) === 'undefined') + current_friendly_url = '#'; + + // Get all sliders value + $(['price', 'weight']).each(function(it, sliderType) + { + if ($('#layered_'+sliderType+'_slider').length) + { + // Check if slider is enable & if slider is used + if(typeof($('#layered_'+sliderType+'_slider').slider('values', 0)) != 'object') + { + if ($('#layered_'+sliderType+'_slider').slider('values', 0) != $('#layered_'+sliderType+'_slider').slider('option' , 'min') + || $('#layered_'+sliderType+'_slider').slider('values', 1) != $('#layered_'+sliderType+'_slider').slider('option' , 'max')) + current_friendly_url += '/'+blocklayeredSliderName[sliderType]+'-'+$('#layered_'+sliderType+'_slider').slider('values', 0)+'-'+$('#layered_'+sliderType+'_slider').slider('values', 1) + } + } + else if ($('#layered_'+sliderType+'_range_min').length) + { + current_friendly_url += '/'+blocklayeredSliderName[sliderType]+'-'+$('#layered_'+sliderType+'_range_min').val()+'-'+$('#layered_'+sliderType+'_range_max').val(); + } + }); + + window.location.href = current_friendly_url; + + if (current_friendly_url != '#/show-all') + $('div.clearfix.selector1').show(); + + lockLocationChecking = true; + + updateProductUrl(); + + $('.hide-action').each(function() { + hideFilterValueAction(this); + }); + } + }); + ajaxQueries.push(ajaxQuery); +} + +function initLocationChange(func, time) +{ + if(!time) time = 500; + var current_friendly_url = getUrlParams(); + setInterval(function() + { + if(getUrlParams() != current_friendly_url && !lockLocationChecking) + { + // Don't reload page if current_friendly_url and real url match + if (current_friendly_url.replace(/^#(\/)?/, '') == getUrlParams().replace(/^#(\/)?/, '')) + return; + + lockLocationChecking = true; + reloadContent('&selected_filters='+getUrlParams().replace(/^#/, '')); + } + else { + lockLocationChecking = false; + current_friendly_url = getUrlParams(); + } + }, time); +} + +function getUrlParams() +{ + if (typeof(current_friendly_url) === 'undefined') + current_friendly_url = '#'; + + var params = current_friendly_url; + if(window.location.href.split('#').length == 2 && window.location.href.split('#')[1] != '') + params = '#'+window.location.href.split('#')[1]; + return params; +} + +function updateProductUrl() +{ + // Adding the filters to URL product + if (typeof(param_product_url) != 'undefined' && param_product_url != '' && param_product_url !='#') { + $.each($('.products-list .product-img,'+ + '.products-list .product-name a,'+ + '.products-list .quick-view,'), function() { + $(this).attr('href', $(this).attr('href') + param_product_url); + }); + } +} + +/** + * Copy of the php function utf8_decode() + */ +function utf8_decode (utfstr) { + var res = ''; + for (var i = 0; i < utfstr.length;) { + var c = utfstr.charCodeAt(i); + + if (c < 128) + { + res += String.fromCharCode(c); + i++; + } + else if((c > 191) && (c < 224)) + { + var c1 = utfstr.charCodeAt(i+1); + res += String.fromCharCode(((c & 31) << 6) | (c1 & 63)); + i += 2; + } + else + { + var c1 = utfstr.charCodeAt(i+1); + var c2 = utfstr.charCodeAt(i+2); + res += String.fromCharCode(((c & 15) << 12) | ((c1 & 63) << 6) | (c2 & 63)); + i += 3; + } + } + return res; +} diff --git a/themes/toutpratique/js/modules/blocklayered/index.php b/themes/toutpratique/js/modules/blocklayered/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blocklayered/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocknewsletter/blocknewsletter.js b/themes/toutpratique/js/modules/blocknewsletter/blocknewsletter.js new file mode 100644 index 00000000..b6dab858 --- /dev/null +++ b/themes/toutpratique/js/modules/blocknewsletter/blocknewsletter.js @@ -0,0 +1,47 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function() { + + $('#newsletter-input').on({ + focus: function() { + if ($(this).val() == placeholder_blocknewsletter || $(this).val() == msg_newsl) + $(this).val(''); + }, + blur: function() { + if ($(this).val() == '') + $(this).val(placeholder_blocknewsletter); + } + }); + + var cssClass = 'alert alert-danger'; + if (typeof nw_error != 'undefined' && !nw_error) + cssClass = 'alert alert-success'; + + if (typeof msg_newsl != 'undefined' && msg_newsl) + { + $('#footer .newsletter form').before('

    ' + alert_blocknewsletter + '

    '); + $('html, body').animate({scrollTop: $('#footer .newsletter').offset().top}, 'slow'); + } +}); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/blocknewsletter/index.php b/themes/toutpratique/js/modules/blocknewsletter/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blocknewsletter/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocksearch/blocksearch.js b/themes/toutpratique/js/modules/blocksearch/blocksearch.js new file mode 100644 index 00000000..17667896 --- /dev/null +++ b/themes/toutpratique/js/modules/blocksearch/blocksearch.js @@ -0,0 +1,122 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +var instantSearchQueries = []; +$(document).ready(function() +{ + if (typeof blocksearch_type == 'undefined') + return; + if (typeof instantsearch != 'undefined' && instantsearch) + $("#search_query_" + blocksearch_type).keyup(function(){ + if($(this).val().length > 4) + { + stopInstantSearchQueries(); + instantSearchQuery = $.ajax({ + url: search_url + '?rand=' + new Date().getTime(), + data: { + instantSearch: 1, + id_lang: id_lang, + q: $(this).val() + }, + dataType: 'html', + type: 'POST', + headers: { "cache-control": "no-cache" }, + async: true, + cache: false, + success: function(data){ + if($("#search_query_" + blocksearch_type).val().length > 0) + { + tryToCloseInstantSearch(); + $('#center_column').attr('id', 'old_center_column'); + $('#old_center_column').after('
    '+data+'
    '); + $('#old_center_column').hide(); + // Button override + ajaxCart.overrideButtonsInThePage(); + $("#instant_search_results a.close").click(function() { + $("#search_query_" + blocksearch_type).val(''); + return tryToCloseInstantSearch(); + }); + return false; + } + else + tryToCloseInstantSearch(); + } + }); + instantSearchQueries.push(instantSearchQuery); + } + else + tryToCloseInstantSearch(); + }); + + /* TODO Ids aa blocksearch_type need to be removed*/ + var width_ac_results = $("#search_query_" + blocksearch_type).parent('form').width(); + if (typeof ajaxsearch != 'undefined' && ajaxsearch) + $("#search_query_" + blocksearch_type).autocomplete( + search_url, + { + minChars: 3, + max: 10, + width: (width_ac_results > 0 ? width_ac_results : 500), + selectFirst: false, + scroll: false, + dataType: "json", + formatItem: function(data, i, max, value, term) { + return value; + }, + parse: function(data) { + var mytab = new Array(); + for (var i = 0; i < data.length; i++) + mytab[mytab.length] = { data: data[i], value: data[i].cname + ' > ' + data[i].pname }; + return mytab; + }, + extraParams: { + ajaxSearch: 1, + id_lang: id_lang + } + } + ) + .result(function(event, data, formatted) { + $('#search_query_' + blocksearch_type).val(data.pname); + document.location.href = data.product_link; + }); +}); + +function tryToCloseInstantSearch() +{ + if ($('#old_center_column').length > 0) + { + $('#center_column').remove(); + $('#old_center_column').attr('id', 'center_column'); + $('#center_column').show(); + return false; + } +} + +function stopInstantSearchQueries() +{ + for(i=0;i +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocktopmenu/index.php b/themes/toutpratique/js/modules/blocktopmenu/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blocktopmenu/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocktopmenu/js/blocktopmenu.js b/themes/toutpratique/js/modules/blocktopmenu/js/blocktopmenu.js new file mode 100644 index 00000000..8db7e8f8 --- /dev/null +++ b/themes/toutpratique/js/modules/blocktopmenu/js/blocktopmenu.js @@ -0,0 +1,134 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +var responsiveflagMenu = false; +var categoryMenu = $('ul.sf-menu'); +var mCategoryGrover = $('.sf-contener .cat-title'); + +$(document).ready(function(){ + categoryMenu = $('ul.sf-menu'); + mCategoryGrover = $('.sf-contener .cat-title'); + responsiveMenu(); + $(window).resize(responsiveMenu); +}); + +// check resolution +function responsiveMenu() +{ + if ($(document).width() <= 767 && responsiveflagMenu == false) + { + menuChange('enable'); + responsiveflagMenu = true; + } + else if ($(document).width() >= 768) + { + menuChange('disable'); + responsiveflagMenu = false; + } +} + +// init Super Fish Menu for 767px+ resolution +function desktopInit() +{ + mCategoryGrover.off(); + mCategoryGrover.removeClass('active'); + $('.sf-menu > li > ul').removeClass('menu-mobile').parent().find('.menu-mobile-grover').remove(); + $('.sf-menu').removeAttr('style'); + categoryMenu.superfish('init'); + //add class for width define + $('.sf-menu > li > ul').addClass('submenu-container clearfix'); + // loop through each sublist under each top list item + $('.sf-menu > li > ul').each(function(){ + i = 0; + //add classes for clearing + $(this).each(function(){ + if ($(this).attr('class') != "category-thumbnail"){ + i++; + if(i % 2 == 1) + $(this).addClass('first-in-line-xs'); + else if (i % 5 == 1) + $(this).addClass('first-in-line-lg'); + } + }); + }); +} + +function mobileInit() +{ + + categoryMenu.superfish('destroy'); + $('.sf-menu').removeAttr('style'); + + mCategoryGrover.on('click', function(e){ + $(this).toggleClass('active').parent().find('ul.menu-content').stop().slideToggle('medium'); + return false; + }); + + $('.sf-menu > li > ul').addClass('menu-mobile clearfix').parent().prepend(''); + + $(".sf-menu .menu-mobile-grover").on('click', function(e){ + var catSubUl = $(this).next().next('.menu-mobile'); + if (catSubUl.is(':hidden')) + { + catSubUl.slideDown(); + $(this).addClass('active'); + } + else + { + catSubUl.slideUp(); + $(this).removeClass('active'); + } + return false; + }); + + + $('#block_top_menu > ul:first > li > a').on('click', function(e){ + var parentOffset = $(this).prev().offset(); + var relX = parentOffset.left - e.pageX; + if ($(this).parent('li').find('ul').length && relX >= 0 && relX <= 20) + { + e.preventDefault(); + var mobCatSubUl = $(this).next('.menu-mobile'); + var mobMenuGrover = $(this).prev(); + if (mobCatSubUl.is(':hidden')) + { + mobCatSubUl.slideDown(); + mobMenuGrover.addClass('active'); + } + else + { + mobCatSubUl.slideUp(); + mobMenuGrover.removeClass('active'); + } + } + }); + +} + +// change the menu display at different resolutions +function menuChange(status) +{ + status == 'enable' ? mobileInit(): desktopInit(); +} diff --git a/themes/toutpratique/js/modules/blocktopmenu/js/hoverIntent.js b/themes/toutpratique/js/modules/blocktopmenu/js/hoverIntent.js new file mode 100644 index 00000000..cbe3ae71 --- /dev/null +++ b/themes/toutpratique/js/modules/blocktopmenu/js/hoverIntent.js @@ -0,0 +1,114 @@ +/** + * hoverIntent is similar to jQuery's built-in "hover" method except that + * instead of firing the handlerIn function immediately, hoverIntent checks + * to see if the user's mouse has slowed down (beneath the sensitivity + * threshold) before firing the event. The handlerOut function is only + * called after a matching handlerIn. + * + * hoverIntent r7 // 2013.03.11 // jQuery 1.9.1+ + * http://cherne.net/brian/resources/jquery.hoverIntent.html + * + * You may use hoverIntent under the terms of the MIT license. Basically that + * means you are free to use hoverIntent as long as this header is left intact. + * Copyright 2007, 2013 Brian Cherne + * + * // basic usage ... just like .hover() + * .hoverIntent( handlerIn, handlerOut ) + * .hoverIntent( handlerInOut ) + * + * // basic usage ... with event delegation! + * .hoverIntent( handlerIn, handlerOut, selector ) + * .hoverIntent( handlerInOut, selector ) + * + * // using a basic configuration object + * .hoverIntent( config ) + * + * @param handlerIn function OR configuration object + * @param handlerOut function OR selector for delegation OR undefined + * @param selector selector OR undefined + * @author Brian Cherne + **/ +(function($) { + $.fn.hoverIntent = function(handlerIn,handlerOut,selector) { + + // default configuration values + var cfg = { + interval: 100, + sensitivity: 7, + timeout: 0 + }; + + if ( typeof handlerIn === "object" ) { + cfg = $.extend(cfg, handlerIn ); + } else if ($.isFunction(handlerOut)) { + cfg = $.extend(cfg, { over: handlerIn, out: handlerOut, selector: selector } ); + } else { + cfg = $.extend(cfg, { over: handlerIn, out: handlerIn, selector: handlerOut } ); + } + + // instantiate variables + // cX, cY = current X and Y position of mouse, updated by mousemove event + // pX, pY = previous X and Y position of mouse, set by mouseover and polling interval + var cX, cY, pX, pY; + + // A private function for getting mouse position + var track = function(ev) { + cX = ev.pageX; + cY = ev.pageY; + }; + + // A private function for comparing current and previous mouse position + var compare = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + // compare mouse positions to see if they've crossed the threshold + if ( ( Math.abs(pX-cX) + Math.abs(pY-cY) ) < cfg.sensitivity ) { + $(ob).off("mousemove.hoverIntent",track); + // set hoverIntent state to true (so mouseOut can be called) + ob.hoverIntent_s = 1; + return cfg.over.apply(ob,[ev]); + } else { + // set previous coordinates for next time + pX = cX; pY = cY; + // use self-calling timeout, guarantees intervals are spaced out properly (avoids JavaScript timer bugs) + ob.hoverIntent_t = setTimeout( function(){compare(ev, ob);} , cfg.interval ); + } + }; + + // A private function for delaying the mouseOut function + var delay = function(ev,ob) { + ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); + ob.hoverIntent_s = 0; + return cfg.out.apply(ob,[ev]); + }; + + // A private function for handling mouse 'hovering' + var handleHover = function(e) { + // copy objects to be passed into t (required for event object to be passed in IE) + var ev = jQuery.extend({},e); + var ob = this; + + // cancel hoverIntent timer if it exists + if (ob.hoverIntent_t) { ob.hoverIntent_t = clearTimeout(ob.hoverIntent_t); } + + // if e.type == "mouseenter" + if (e.type == "mouseenter") { + // set "previous" X and Y position based on initial entry point + pX = ev.pageX; pY = ev.pageY; + // update "current" X and Y position based on mousemove + $(ob).on("mousemove.hoverIntent",track); + // start polling interval (self-calling timeout) to compare mouse coordinates over time + if (ob.hoverIntent_s != 1) { ob.hoverIntent_t = setTimeout( function(){compare(ev,ob);} , cfg.interval );} + + // else e.type == "mouseleave" + } else { + // unbind expensive mousemove event + $(ob).off("mousemove.hoverIntent",track); + // if hoverIntent state is true, then call the mouseOut function after the specified delay + if (ob.hoverIntent_s == 1) { ob.hoverIntent_t = setTimeout( function(){delay(ev,ob);} , cfg.timeout );} + } + }; + + // listen for mouseenter and mouseleave + return this.on({'mouseenter.hoverIntent':handleHover,'mouseleave.hoverIntent':handleHover}, cfg.selector); + }; +})(jQuery); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/blocktopmenu/js/index.php b/themes/toutpratique/js/modules/blocktopmenu/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blocktopmenu/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blocktopmenu/js/superfish-modified.js b/themes/toutpratique/js/modules/blocktopmenu/js/superfish-modified.js new file mode 100644 index 00000000..c12ca421 --- /dev/null +++ b/themes/toutpratique/js/modules/blocktopmenu/js/superfish-modified.js @@ -0,0 +1,257 @@ +/* + * jQuery Superfish Menu Plugin - v1.7.4 + * Copyright (c) 2013 Joel Birch + * + * Dual licensed under the MIT and GPL licenses: + * http://www.opensource.org/licenses/mit-license.php + * http://www.gnu.org/licenses/gpl.html + */ + +(function ($) { + "use strict"; + + var methods = (function () { + // private properties and methods go here + var c = { + bcClass: 'sf-breadcrumb', + menuClass: 'sf-js-enabled', + anchorClass: 'sf-with-ul', + menuArrowClass: 'sf-arrows' + }, + ios = (function () { + var ios = /iPhone|iPad|iPod/i.test(navigator.userAgent); + if (ios) { + // iOS clicks only bubble as far as body children + $(window).load(function () { + $('body').children().on('click', $.noop); + }); + } + return ios; + })(), + wp7 = (function () { + var style = document.documentElement.style; + return ('behavior' in style && 'fill' in style && /iemobile/i.test(navigator.userAgent)); + })(), + toggleMenuClasses = function ($menu, o) { + var classes = c.menuClass; + if (o.cssArrows) { + classes += ' ' + c.menuArrowClass; + } + $menu.toggleClass(classes); + }, + setPathToCurrent = function ($menu, o) { + return $menu.find('li.' + o.pathClass).slice(0, o.pathLevels) + .addClass(o.hoverClass + ' ' + c.bcClass) + .filter(function () { + return ($(this).children(o.popUpSelector).hide().show().length); + }).removeClass(o.pathClass); + }, + toggleAnchorClass = function ($li) { + $li.children('a').toggleClass(c.anchorClass); + }, + toggleTouchAction = function ($menu) { + var touchAction = $menu.css('ms-touch-action'); + touchAction = (touchAction === 'pan-y') ? 'auto' : 'pan-y'; + $menu.css('ms-touch-action', touchAction); + }, + applyHandlers = function ($menu, o) { + var targets = 'li:has(' + o.popUpSelector + ')'; + if ($.fn.hoverIntent && !o.disableHI) { + $menu.hoverIntent(over, out, targets); + } + else { + $menu + .on('mouseenter.superfish', targets, over) + .on('mouseleave.superfish', targets, out); + } + var touchevent = 'MSPointerDown.superfish'; + if (!ios) { + touchevent += ' touchend.superfish'; + } + if (wp7) { + touchevent += ' mousedown.superfish'; + } + $menu + .on('focusin.superfish', 'li', over) + .on('focusout.superfish', 'li', out) + .on(touchevent, 'a', o, touchHandler); + }, + touchHandler = function (e) { + var $this = $(this), + $ul = $this.siblings(e.data.popUpSelector); + + if ($ul.length > 0 && $ul.is(':hidden')) { + $this.one('click.superfish', false); + if (e.type === 'MSPointerDown') { + $this.trigger('focus'); + } else { + $.proxy(over, $this.parent('li'))(); + } + } + }, + over = function () { + var $this = $(this), + o = getOptions($this); + clearTimeout(o.sfTimer); + $this.siblings().superfish('hide').end().superfish('show'); + }, + out = function () { + var $this = $(this), + o = getOptions($this); + if (ios) { + $.proxy(close, $this, o)(); + } + else { + clearTimeout(o.sfTimer); + o.sfTimer = setTimeout($.proxy(close, $this, o), o.delay); + } + }, + close = function (o) { + o.retainPath = ($.inArray(this[0], o.$path) > -1); + this.superfish('hide'); + + if (!this.parents('.' + o.hoverClass).length) { + o.onIdle.call(getMenu(this)); + if (o.$path.length) { + $.proxy(over, o.$path)(); + } + } + }, + getMenu = function ($el) { + return $el.closest('.' + c.menuClass); + }, + getOptions = function ($el) { + return getMenu($el).data('sf-options'); + }; + + return { + // public methods + hide: function (instant) { + if (this.length) { + var $this = this, + o = getOptions($this); + if (!o) { + return this; + } + var not = (o.retainPath === true) ? o.$path : '', + $ul = $this.find('li.' + o.hoverClass).add(this).not(not).removeClass(o.hoverClass).children(o.popUpSelector), + speed = o.speedOut; + + if (instant) { + $ul.show(); + speed = 0; + } + o.retainPath = false; + o.onBeforeHide.call($ul); + $ul.stop(true, true).animate(o.animationOut, speed, function () { + var $this = $(this); + o.onHide.call($this); + }); + } + return this; + }, + show: function () { + var o = getOptions(this); + if (!o) { + return this; + } + var $this = this.addClass(o.hoverClass), + $ul = $this.children(o.popUpSelector); + + o.onBeforeShow.call($ul); + $ul.stop(true, true).animate(o.animation, o.speed, function () { + o.onShow.call($ul); + }); + return this; + }, + destroy: function () { + return this.each(function () { + var $this = $(this), + o = $this.data('sf-options'), + $hasPopUp; + if (!o) { + return false; + } + $hasPopUp = $this.find(o.popUpSelector).parent('li'); + clearTimeout(o.sfTimer); + toggleMenuClasses($this, o); + toggleAnchorClass($hasPopUp); + toggleTouchAction($this); + // remove event handlers + $this.off('.superfish').off('.hoverIntent'); + // clear animation's inline display style + $hasPopUp.children(o.popUpSelector).attr('style', function (i, style) { + return style.replace(/display[^;]+;?/g, ''); + }); + // reset 'current' path classes + o.$path.removeClass(o.hoverClass + ' ' + c.bcClass).addClass(o.pathClass); + $this.find('.' + o.hoverClass).removeClass(o.hoverClass); + o.onDestroy.call($this); + $this.removeData('sf-options'); + }); + }, + init: function (op) { + return this.each(function () { + var $this = $(this); + if ($this.data('sf-options')) { + return false; + } + var o = $.extend({}, $.fn.superfish.defaults, op), + $hasPopUp = $this.find(o.popUpSelector).parent('li'); + o.$path = setPathToCurrent($this, o); + + $this.data('sf-options', o); + + toggleMenuClasses($this, o); + toggleAnchorClass($hasPopUp); + toggleTouchAction($this); + applyHandlers($this, o); + + $hasPopUp.not('.' + c.bcClass).superfish('hide', true); + + o.onInit.call(this); + }); + } + }; + })(); + + $.fn.superfish = function (method, args) { + if (methods[method]) { + return methods[method].apply(this, Array.prototype.slice.call(arguments, 1)); + } + else if (typeof method === 'object' || ! method) { + return methods.init.apply(this, arguments); + } + else { + return $.error('Method ' + method + ' does not exist on jQuery.fn.superfish'); + } + }; + + $.fn.superfish.defaults = { + popUpSelector: 'ul,.sf-mega', // within menu context + hoverClass: 'sfHover', + pathClass: 'overrideThisToUse', + pathLevels: 1, + delay: 800, + animation: {opacity: 'show'}, + animationOut: {opacity: 'hide'}, + speed: 'normal', + speedOut: 'fast', + cssArrows: true, + disableHI: false, + onInit: $.noop, + onBeforeShow: $.noop, + onShow: $.noop, + onBeforeHide: $.noop, + onHide: $.noop, + onIdle: $.noop, + onDestroy: $.noop + }; + + // soon to be deprecated + $.fn.extend({ + hideSuperfishUl: methods.hide, + showSuperfishUl: methods.show + }); + +})(jQuery); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/blockwishlist/index.php b/themes/toutpratique/js/modules/blockwishlist/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/blockwishlist/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/blockwishlist/js/ajax-wishlist.js b/themes/toutpratique/js/modules/blockwishlist/js/ajax-wishlist.js new file mode 100644 index 00000000..c4d6eed7 --- /dev/null +++ b/themes/toutpratique/js/modules/blockwishlist/js/ajax-wishlist.js @@ -0,0 +1,411 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +/** +* Update WishList Cart by adding, deleting, updating objects +* +* @return void +*/ +//global variables +var wishlistProductsIds = []; +$(document).ready(function(){ + wishlistRefreshStatus(); + + $(document).on('change', 'select[name=wishlists]', function(){ + WishlistChangeDefault('wishlist_block_list', $(this).val()); + }); + + $("#wishlist_button").popover({ + html: true, + content: function () { + return $("#popover-content").html(); + } + }); +}); + +function WishlistCart(id, action, id_product, id_product_attribute, quantity, id_wishlist) +{ + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(), + headers: { "cache-control": "no-cache" }, + async: true, + cache: false, + data: 'action=' + action + '&id_product=' + id_product + '&quantity=' + quantity + '&token=' + static_token + '&id_product_attribute=' + id_product_attribute + '&id_wishlist=' + id_wishlist, + success: function(data) + { + if (action == 'add') + { + if (isLogged == true) { + wishlistProductsIdsAdd(id_product); + wishlistRefreshStatus(); + + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + added_to_wishlist + '

    ' + } + ], { + padding: 0 + }); + else + alert(added_to_wishlist); + } + else + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + loggin_required + '

    ' + } + ], { + padding: 0 + }); + else + alert(loggin_required); + } + } + if (action == 'delete') { + wishlistProductsIdsRemove(id_product); + wishlistRefreshStatus(); + } + if($('#' + id).length != 0) + { + $('#' + id).slideUp('normal'); + document.getElementById(id).innerHTML = data; + $('#' + id).slideDown('normal'); + } + } + }); +} + +/** +* Change customer default wishlist +* +* @return void +*/ +function WishlistChangeDefault(id, id_wishlist) +{ + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/cart.php?rand=' + new Date().getTime(), + headers: { "cache-control": "no-cache" }, + async: true, + data: 'id_wishlist=' + id_wishlist + '&token=' + static_token, + cache: false, + success: function(data) + { + $('#' + id).slideUp('normal'); + document.getElementById(id).innerHTML = data; + $('#' + id).slideDown('normal'); + } + }); +} + +/** +* Buy Product +* +* @return void +*/ +function WishlistBuyProduct(token, id_product, id_product_attribute, id_quantity, button, ajax) +{ + if(ajax) + ajaxCart.add(id_product, id_product_attribute, false, button, 1, [token, id_quantity]); + else + { + $('#' + id_quantity).val(0); + WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity) + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].method='POST'; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].action=baseUri + '?controller=cart'; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].elements['token'].value = static_token; + document.forms['addtocart' + '_' + id_product + '_' + id_product_attribute].submit(); + } + return (true); +} + +function WishlistAddProductCart(token, id_product, id_product_attribute, id_quantity) +{ + if ($('#' + id_quantity).val() <= 0) + return (false); + + $.ajax({ + type: 'GET', + url: baseDir + 'modules/blockwishlist/buywishlistproduct.php?rand=' + new Date().getTime(), + headers: { "cache-control": "no-cache" }, + data: 'token=' + token + '&static_token=' + static_token + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute, + async: true, + cache: false, + success: function(data) + { + if (data) + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + data + '

    ' + } + ], { + padding: 0 + }); + else + alert(data); + } + else + $('#' + id_quantity).val($('#' + id_quantity).val() - 1); + } + }); + + return (true); +} + +/** +* Show wishlist managment page +* +* @return void +*/ +function WishlistManage(id, id_wishlist) +{ + $.ajax({ + type: 'GET', + async: true, + url: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(), + headers: { "cache-control": "no-cache" }, + data: 'id_wishlist=' + id_wishlist + '&refresh=' + false, + cache: false, + success: function(data) + { + $('#' + id).hide(); + document.getElementById(id).innerHTML = data; + $('#' + id).fadeIn('slow'); + } + }); +} + +/** +* Show wishlist product managment page +* +* @return void +*/ +function WishlistProductManage(id, action, id_wishlist, id_product, id_product_attribute, quantity, priority) +{ + $.ajax({ + type: 'GET', + async: true, + url: baseDir + 'modules/blockwishlist/managewishlist.php?rand=' + new Date().getTime(), + headers: { "cache-control": "no-cache" }, + data: 'action=' + action + '&id_wishlist=' + id_wishlist + '&id_product=' + id_product + '&id_product_attribute=' + id_product_attribute + '&quantity=' + quantity + '&priority=' + priority + '&refresh=' + true, + cache: false, + success: function(data) + { + if (action == 'delete') + $('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast'); + else if (action == 'update') + { + $('#wlp_' + id_product + '_' + id_product_attribute).fadeOut('fast'); + $('#wlp_' + id_product + '_' + id_product_attribute).fadeIn('fast'); + } + nb_products = 0; + $("[id^='quantity']").each(function(index, element){ + nb_products += parseInt(element.value); + }); + $("#wishlist_"+id_wishlist).children('td').eq(1).html(nb_products); + } + }); +} + +/** +* Delete wishlist +* +* @return boolean succeed +*/ +function WishlistDelete(id, id_wishlist, msg) +{ + var res = confirm(msg); + if (res == false) + return (false); + + if (typeof mywishlist_url == 'undefined') + return (false); + + $.ajax({ + type: 'GET', + async: true, + dataType: "json", + url: mywishlist_url, + headers: { "cache-control": "no-cache" }, + cache: false, + data: { + rand: new Date().getTime(), + deleted: 1, + myajax: 1, + id_wishlist: id_wishlist, + action: 'deletelist' + }, + success: function(data) + { + var mywishlist_siblings_count = $('#' + id).siblings().length; + $('#' + id).fadeOut('slow').remove(); + $("#block-order-detail").html(''); + if (mywishlist_siblings_count == 0) + $("#block-history").remove(); + + if (data.id_default) + { + var td_default = $("#wishlist_"+data.id_default+" > .wishlist_default"); + $("#wishlist_"+data.id_default+" > .wishlist_default > a").remove(); + td_default.append('

    '); + } + } + }); +} + +function WishlistDefault(id, id_wishlist) +{ + if (typeof mywishlist_url == 'undefined') + return (false); + + $.ajax({ + type: 'GET', + async: true, + url: mywishlist_url, + headers: { "cache-control": "no-cache" }, + cache: false, + data: { + rand:new Date().getTime(), + default: 1, + id_wishlist:id_wishlist, + myajax: 1, + action: 'setdefault' + }, + success: function (data) + { + var old_default_id = $(".is_wish_list_default").parents("tr").attr("id"); + var td_check = $(".is_wish_list_default").parent(); + $(".is_wish_list_default").remove(); + td_check.append(''); + var td_default = $("#"+id+" > .wishlist_default"); + $("#"+id+" > .wishlist_default > a").remove(); + td_default.append('

    '); + } + }); +} + +/** +* Hide/Show bought product +* +* @return void +*/ +function WishlistVisibility(bought_class, id_button) +{ + if ($('#hide' + id_button).is(':hidden')) + { + $('.' + bought_class).slideDown('fast'); + $('#show' + id_button).hide(); + $('#hide' + id_button).css('display', 'block'); + } + else + { + $('.' + bought_class).slideUp('fast'); + $('#hide' + id_button).hide(); + $('#show' + id_button).css('display', 'block'); + } +} + +/** +* Send wishlist by email +* +* @return void +*/ +function WishlistSend(id, id_wishlist, id_email) +{ + $.post( + baseDir + 'modules/blockwishlist/sendwishlist.php', + { + token: static_token, + id_wishlist: id_wishlist, + email1: $('#' + id_email + '1').val(), + email2: $('#' + id_email + '2').val(), + email3: $('#' + id_email + '3').val(), + email4: $('#' + id_email + '4').val(), + email5: $('#' + id_email + '5').val(), + email6: $('#' + id_email + '6').val(), + email7: $('#' + id_email + '7').val(), + email8: $('#' + id_email + '8').val(), + email9: $('#' + id_email + '9').val(), + email10: $('#' + id_email + '10').val() + }, + function(data) + { + if (data) + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + data + '

    ' + } + ], { + padding: 0 + }); + else + alert(data); + } + else + WishlistVisibility(id, 'hideSendWishlist'); + } + ); +} + +function wishlistProductsIdsAdd(id) +{ + if ($.inArray(parseInt(id),wishlistProductsIds) == -1) + wishlistProductsIds.push(parseInt(id)) +} + +function wishlistProductsIdsRemove(id) +{ + wishlistProductsIds.splice($.inArray(parseInt(id),wishlistProductsIds), 1) +} + +function wishlistRefreshStatus() +{ + $('.addToWishlist').each(function(){ + if ($.inArray(parseInt($(this).prop('rel')),wishlistProductsIds)!= -1) + $(this).addClass('checked'); + else + $(this).removeClass('checked'); + }); +} diff --git a/themes/toutpratique/js/modules/blockwishlist/js/index.php b/themes/toutpratique/js/modules/blockwishlist/js/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/js/modules/blockwishlist/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/js/modules/crossselling/index.php b/themes/toutpratique/js/modules/crossselling/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/crossselling/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/crossselling/js/crossselling.js b/themes/toutpratique/js/modules/crossselling/js/crossselling.js new file mode 100644 index 00000000..bf79a341 --- /dev/null +++ b/themes/toutpratique/js/modules/crossselling/js/crossselling.js @@ -0,0 +1,39 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function() { + if (!!$.prototype.bxSlider) + $('#crossselling_list_car').bxSlider({ + minSlides: 2, + maxSlides: 6, + slideWidth: 178, + slideMargin: 20, + pager: false, + nextText: '', + prevText: '', + moveSlides:1, + infiniteLoop:false, + hideControlOnEnd: true + }); +}); diff --git a/themes/toutpratique/js/modules/crossselling/js/index.php b/themes/toutpratique/js/modules/crossselling/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/crossselling/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/homeslider/homeslider.js b/themes/toutpratique/js/modules/homeslider/homeslider.js new file mode 100644 index 00000000..62b71424 --- /dev/null +++ b/themes/toutpratique/js/modules/homeslider/homeslider.js @@ -0,0 +1,5 @@ +/* + * jQuery FlexSlider v2.4.0 + * Copyright 2012 WooThemes + * Contributing Author: Tyler Smith + */!function($){$.flexslider=function(e,t){var a=$(e);a.vars=$.extend({},$.flexslider.defaults,t);var n=a.vars.namespace,i=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,s=("ontouchstart"in window||i||window.DocumentTouch&&document instanceof DocumentTouch)&&a.vars.touch,r="click touchend MSPointerUp keyup",o="",l,c="vertical"===a.vars.direction,d=a.vars.reverse,u=a.vars.itemWidth>0,v="fade"===a.vars.animation,p=""!==a.vars.asNavFor,m={},f=!0;$.data(e,"flexslider",a),m={init:function(){a.animating=!1,a.currentSlide=parseInt(a.vars.startAt?a.vars.startAt:0,10),isNaN(a.currentSlide)&&(a.currentSlide=0),a.animatingTo=a.currentSlide,a.atEnd=0===a.currentSlide||a.currentSlide===a.last,a.containerSelector=a.vars.selector.substr(0,a.vars.selector.search(" ")),a.slides=$(a.vars.selector,a),a.container=$(a.containerSelector,a),a.count=a.slides.length,a.syncExists=$(a.vars.sync).length>0,"slide"===a.vars.animation&&(a.vars.animation="swing"),a.prop=c?"top":"marginLeft",a.args={},a.manualPause=!1,a.stopped=!1,a.started=!1,a.startTimeout=null,a.transitions=!a.vars.video&&!v&&a.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var n in t)if(void 0!==e.style[t[n]])return a.pfx=t[n].replace("Perspective","").toLowerCase(),a.prop="-"+a.pfx+"-transform",!0;return!1}(),a.ensureAnimationEnd="",""!==a.vars.controlsContainer&&(a.controlsContainer=$(a.vars.controlsContainer).length>0&&$(a.vars.controlsContainer)),""!==a.vars.manualControls&&(a.manualControls=$(a.vars.manualControls).length>0&&$(a.vars.manualControls)),a.vars.randomize&&(a.slides.sort(function(){return Math.round(Math.random())-.5}),a.container.empty().append(a.slides)),a.doMath(),a.setup("init"),a.vars.controlNav&&m.controlNav.setup(),a.vars.directionNav&&m.directionNav.setup(),a.vars.keyboard&&(1===$(a.containerSelector).length||a.vars.multipleKeyboard)&&$(document).bind("keyup",function(e){var t=e.keyCode;if(!a.animating&&(39===t||37===t)){var n=39===t?a.getTarget("next"):37===t?a.getTarget("prev"):!1;a.flexAnimate(n,a.vars.pauseOnAction)}}),a.vars.mousewheel&&a.bind("mousewheel",function(e,t,n,i){e.preventDefault();var s=a.getTarget(0>t?"next":"prev");a.flexAnimate(s,a.vars.pauseOnAction)}),a.vars.pausePlay&&m.pausePlay.setup(),a.vars.slideshow&&a.vars.pauseInvisible&&m.pauseInvisible.init(),a.vars.slideshow&&(a.vars.pauseOnHover&&a.hover(function(){a.manualPlay||a.manualPause||a.pause()},function(){a.manualPause||a.manualPlay||a.stopped||a.play()}),a.vars.pauseInvisible&&m.pauseInvisible.isHidden()||(a.vars.initDelay>0?a.startTimeout=setTimeout(a.play,a.vars.initDelay):a.play())),p&&m.asNav.setup(),s&&a.vars.touch&&m.touch(),(!v||v&&a.vars.smoothHeight)&&$(window).bind("resize orientationchange focus",m.resize),a.find("img").attr("draggable","false"),setTimeout(function(){a.vars.start(a)},200)},asNav:{setup:function(){a.asNav=!0,a.animatingTo=Math.floor(a.currentSlide/a.move),a.currentItem=a.currentSlide,a.slides.removeClass(n+"active-slide").eq(a.currentItem).addClass(n+"active-slide"),i?(e._slider=a,a.slides.each(function(){var e=this;e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),e.addEventListener("MSGestureTap",function(e){e.preventDefault();var t=$(this),n=t.index();$(a.vars.asNavFor).data("flexslider").animating||t.hasClass("active")||(a.direction=a.currentItem=s&&t.hasClass(n+"active-slide")?a.flexAnimate(a.getTarget("prev"),!0):$(a.vars.asNavFor).data("flexslider").animating||t.hasClass(n+"active-slide")||(a.direction=a.currentItem'),a.pagingCount>1)for(var l=0;l':""+t+"","thumbnails"===a.vars.controlNav&&!0===a.vars.thumbCaptions){var c=s.attr("data-thumbcaption");""!=c&&void 0!=c&&(i+=''+c+"")}a.controlNavScaffold.append("
  • "+i+"
  • "),t++}a.controlsContainer?$(a.controlsContainer).append(a.controlNavScaffold):a.append(a.controlNavScaffold),m.controlNav.set(),m.controlNav.active(),a.controlNavScaffold.delegate("a, img",r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},setupManual:function(){a.controlNav=a.manualControls,m.controlNav.active(),a.controlNav.bind(r,function(e){if(e.preventDefault(),""===o||o===e.type){var t=$(this),i=a.controlNav.index(t);t.hasClass(n+"active")||(a.direction=i>a.currentSlide?"next":"prev",a.flexAnimate(i,a.vars.pauseOnAction))}""===o&&(o=e.type),m.setToClearWatchedEvent()})},set:function(){var e="thumbnails"===a.vars.controlNav?"img":"a";a.controlNav=$("."+n+"control-nav li "+e,a.controlsContainer?a.controlsContainer:a)},active:function(){a.controlNav.removeClass(n+"active").eq(a.animatingTo).addClass(n+"active")},update:function(e,t){a.pagingCount>1&&"add"===e?a.controlNavScaffold.append($("
  • "+a.count+"
  • ")):1===a.pagingCount?a.controlNavScaffold.find("li").remove():a.controlNav.eq(t).closest("li").remove(),m.controlNav.set(),a.pagingCount>1&&a.pagingCount!==a.controlNav.length?a.update(t,e):m.controlNav.active()}},directionNav:{setup:function(){var e=$('");a.controlsContainer?($(a.controlsContainer).append(e),a.directionNav=$("."+n+"direction-nav li a",a.controlsContainer)):(a.append(e),a.directionNav=$("."+n+"direction-nav li a",a)),m.directionNav.update(),a.directionNav.bind(r,function(e){e.preventDefault();var t;(""===o||o===e.type)&&(t=a.getTarget($(this).hasClass(n+"next")?"next":"prev"),a.flexAnimate(t,a.vars.pauseOnAction)),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(){var e=n+"disabled";1===a.pagingCount?a.directionNav.addClass(e).attr("tabindex","-1"):a.vars.animationLoop?a.directionNav.removeClass(e).removeAttr("tabindex"):0===a.animatingTo?a.directionNav.removeClass(e).filter("."+n+"prev").addClass(e).attr("tabindex","-1"):a.animatingTo===a.last?a.directionNav.removeClass(e).filter("."+n+"next").addClass(e).attr("tabindex","-1"):a.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var e=$('
    ');a.controlsContainer?(a.controlsContainer.append(e),a.pausePlay=$("."+n+"pauseplay a",a.controlsContainer)):(a.append(e),a.pausePlay=$("."+n+"pauseplay a",a)),m.pausePlay.update(a.vars.slideshow?n+"pause":n+"play"),a.pausePlay.bind(r,function(e){e.preventDefault(),(""===o||o===e.type)&&($(this).hasClass(n+"pause")?(a.manualPause=!0,a.manualPlay=!1,a.pause()):(a.manualPause=!1,a.manualPlay=!0,a.play())),""===o&&(o=e.type),m.setToClearWatchedEvent()})},update:function(e){"play"===e?a.pausePlay.removeClass(n+"pause").addClass(n+"play").html(a.vars.playText):a.pausePlay.removeClass(n+"play").addClass(n+"pause").html(a.vars.pauseText)}},touch:function(){function t(t){a.animating?t.preventDefault():(window.navigator.msPointerEnabled||1===t.touches.length)&&(a.pause(),g=c?a.h:a.w,S=Number(new Date),x=t.touches[0].pageX,b=t.touches[0].pageY,f=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*g:(a.currentSlide+a.cloneOffset)*g,p=c?b:x,m=c?x:b,e.addEventListener("touchmove",n,!1),e.addEventListener("touchend",s,!1))}function n(e){x=e.touches[0].pageX,b=e.touches[0].pageY,h=c?p-b:p-x,y=c?Math.abs(h)t)&&(e.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(h/=0===a.currentSlide&&0>h||a.currentSlide===a.last&&h>0?Math.abs(h)/g+2:1),a.setProps(f+h,"setTouch")))}function s(t){if(e.removeEventListener("touchmove",n,!1),a.animatingTo===a.currentSlide&&!y&&null!==h){var i=d?-h:h,r=a.getTarget(i>0?"next":"prev");a.canAdvance(r)&&(Number(new Date)-S<550&&Math.abs(i)>50||Math.abs(i)>g/2)?a.flexAnimate(r,a.vars.pauseOnAction):v||a.flexAnimate(a.currentSlide,a.vars.pauseOnAction,!0)}e.removeEventListener("touchend",s,!1),p=null,m=null,h=null,f=null}function r(t){t.stopPropagation(),a.animating?t.preventDefault():(a.pause(),e._gesture.addPointer(t.pointerId),w=0,g=c?a.h:a.w,S=Number(new Date),f=u&&d&&a.animatingTo===a.last?0:u&&d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:u&&a.currentSlide===a.last?a.limit:u?(a.itemW+a.vars.itemMargin)*a.move*a.currentSlide:d?(a.last-a.currentSlide+a.cloneOffset)*g:(a.currentSlide+a.cloneOffset)*g)}function o(t){t.stopPropagation();var a=t.target._slider;if(a){var n=-t.translationX,i=-t.translationY;return w+=c?i:n,h=w,y=c?Math.abs(w)500)&&(t.preventDefault(),!v&&a.transitions&&(a.vars.animationLoop||(h=w/(0===a.currentSlide&&0>w||a.currentSlide===a.last&&w>0?Math.abs(w)/g+2:1)),a.setProps(f+h,"setTouch"))))}}function l(e){e.stopPropagation();var t=e.target._slider;if(t){if(t.animatingTo===t.currentSlide&&!y&&null!==h){var a=d?-h:h,n=t.getTarget(a>0?"next":"prev");t.canAdvance(n)&&(Number(new Date)-S<550&&Math.abs(a)>50||Math.abs(a)>g/2)?t.flexAnimate(n,t.vars.pauseOnAction):v||t.flexAnimate(t.currentSlide,t.vars.pauseOnAction,!0)}p=null,m=null,h=null,f=null,w=0}}var p,m,f,g,h,S,y=!1,x=0,b=0,w=0;i?(e.style.msTouchAction="none",e._gesture=new MSGesture,e._gesture.target=e,e.addEventListener("MSPointerDown",r,!1),e._slider=a,e.addEventListener("MSGestureChange",o,!1),e.addEventListener("MSGestureEnd",l,!1)):e.addEventListener("touchstart",t,!1)},resize:function(){!a.animating&&a.is(":visible")&&(u||a.doMath(),v?m.smoothHeight():u?(a.slides.width(a.computedW),a.update(a.pagingCount),a.setProps()):c?(a.viewport.height(a.h),a.setProps(a.h,"setTotal")):(a.vars.smoothHeight&&m.smoothHeight(),a.newSlides.width(a.computedW),a.setProps(a.computedW,"setTotal")))},smoothHeight:function(e){if(!c||v){var t=v?a:a.viewport;e?t.animate({height:a.slides.eq(a.animatingTo).height()},e):t.height(a.slides.eq(a.animatingTo).height())}},sync:function(e){var t=$(a.vars.sync).data("flexslider"),n=a.animatingTo;switch(e){case"animate":t.flexAnimate(n,a.vars.pauseOnAction,!1,!0);break;case"play":t.playing||t.asNav||t.play();break;case"pause":t.pause()}},uniqueID:function(e){return e.filter("[id]").add(e.find("[id]")).each(function(){var e=$(this);e.attr("id",e.attr("id")+"_clone")}),e},pauseInvisible:{visProp:null,init:function(){var e=m.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){m.pauseInvisible.isHidden()?a.startTimeout?clearTimeout(a.startTimeout):a.pause():a.started?a.play():a.vars.initDelay>0?setTimeout(a.play,a.vars.initDelay):a.play()})}},isHidden:function(){var e=m.pauseInvisible.getHiddenProp();return e?document[e]:!1},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;ta.currentSlide?"next":"prev"),p&&1===a.pagingCount&&(a.direction=a.currentItema.limit&&1!==a.visible?a.limit:S):h=0===a.currentSlide&&e===a.count-1&&a.vars.animationLoop&&"next"!==a.direction?d?(a.count+a.cloneOffset)*f:0:a.currentSlide===a.last&&0===e&&a.vars.animationLoop&&"prev"!==a.direction?d?0:(a.count+1)*f:d?(a.count-1-e+a.cloneOffset)*f:(e+a.cloneOffset)*f,a.setProps(h,"",a.vars.animationSpeed),a.transitions?(a.vars.animationLoop&&a.atEnd||(a.animating=!1,a.currentSlide=a.animatingTo),a.container.unbind("webkitTransitionEnd transitionend"),a.container.bind("webkitTransitionEnd transitionend",function(){clearTimeout(a.ensureAnimationEnd),a.wrapup(f)}),clearTimeout(a.ensureAnimationEnd),a.ensureAnimationEnd=setTimeout(function(){a.wrapup(f)},a.vars.animationSpeed+100)):a.container.animate(a.args,a.vars.animationSpeed,a.vars.easing,function(){a.wrapup(f)})}a.vars.smoothHeight&&m.smoothHeight(a.vars.animationSpeed)}},a.wrapup=function(e){v||u||(0===a.currentSlide&&a.animatingTo===a.last&&a.vars.animationLoop?a.setProps(e,"jumpEnd"):a.currentSlide===a.last&&0===a.animatingTo&&a.vars.animationLoop&&a.setProps(e,"jumpStart")),a.animating=!1,a.currentSlide=a.animatingTo,a.vars.after(a)},a.animateSlides=function(){!a.animating&&f&&a.flexAnimate(a.getTarget("next"))},a.pause=function(){clearInterval(a.animatedSlides),a.animatedSlides=null,a.playing=!1,a.vars.pausePlay&&m.pausePlay.update("play"),a.syncExists&&m.sync("pause")},a.play=function(){a.playing&&clearInterval(a.animatedSlides),a.animatedSlides=a.animatedSlides||setInterval(a.animateSlides,a.vars.slideshowSpeed),a.started=a.playing=!0,a.vars.pausePlay&&m.pausePlay.update("pause"),a.syncExists&&m.sync("play")},a.stop=function(){a.pause(),a.stopped=!0},a.canAdvance=function(e,t){var n=p?a.pagingCount-1:a.last;return t?!0:p&&a.currentItem===a.count-1&&0===e&&"prev"===a.direction?!0:p&&0===a.currentItem&&e===a.pagingCount-1&&"next"!==a.direction?!1:e!==a.currentSlide||p?a.vars.animationLoop?!0:a.atEnd&&0===a.currentSlide&&e===n&&"next"!==a.direction?!1:a.atEnd&&a.currentSlide===n&&0===e&&"next"===a.direction?!1:!0:!1},a.getTarget=function(e){return a.direction=e,"next"===e?a.currentSlide===a.last?0:a.currentSlide+1:0===a.currentSlide?a.last:a.currentSlide-1},a.setProps=function(e,t,n){var i=function(){var n=e?e:(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo,i=function(){if(u)return"setTouch"===t?e:d&&a.animatingTo===a.last?0:d?a.limit-(a.itemW+a.vars.itemMargin)*a.move*a.animatingTo:a.animatingTo===a.last?a.limit:n;switch(t){case"setTotal":return d?(a.count-1-a.currentSlide+a.cloneOffset)*e:(a.currentSlide+a.cloneOffset)*e;case"setTouch":return d?e:e;case"jumpEnd":return d?e:a.count*e;case"jumpStart":return d?a.count*e:e;default:return e}}();return-1*i+"px"}();a.transitions&&(i=c?"translate3d(0,"+i+",0)":"translate3d("+i+",0,0)",n=void 0!==n?n/1e3+"s":"0s",a.container.css("-"+a.pfx+"-transition-duration",n),a.container.css("transition-duration",n)),a.args[a.prop]=i,(a.transitions||void 0===n)&&a.container.css(a.args),a.container.css("transform",i)},a.setup=function(e){if(v)a.slides.css({width:"100%","float":"left",marginRight:"-100%",position:"relative"}),"init"===e&&(s?a.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+a.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(a.currentSlide).css({opacity:1,zIndex:2}):0==a.vars.fadeFirstSlide?a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).css({opacity:1}):a.slides.css({opacity:0,display:"block",zIndex:1}).eq(a.currentSlide).css({zIndex:2}).animate({opacity:1},a.vars.animationSpeed,a.vars.easing)),a.vars.smoothHeight&&m.smoothHeight();else{var t,i;"init"===e&&(a.viewport=$('
    ').css({overflow:"hidden",position:"relative"}).appendTo(a).append(a.container),a.cloneCount=0,a.cloneOffset=0,d&&(i=$.makeArray(a.slides).reverse(),a.slides=$(i),a.container.empty().append(a.slides))),a.vars.animationLoop&&!u&&(a.cloneCount=2,a.cloneOffset=1,"init"!==e&&a.container.find(".clone").remove(),a.container.append(m.uniqueID(a.slides.first().clone().addClass("clone")).attr("aria-hidden","true")).prepend(m.uniqueID(a.slides.last().clone().addClass("clone")).attr("aria-hidden","true"))),a.newSlides=$(a.vars.selector,a),t=d?a.count-1-a.currentSlide+a.cloneOffset:a.currentSlide+a.cloneOffset,c&&!u?(a.container.height(200*(a.count+a.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){a.newSlides.css({display:"block"}),a.doMath(),a.viewport.height(a.h),a.setProps(t*a.h,"init")},"init"===e?100:0)):(a.container.width(200*(a.count+a.cloneCount)+"%"),a.setProps(t*a.computedW,"init"),setTimeout(function(){a.doMath(),a.newSlides.css({width:a.computedW,"float":"left",display:"block"}),a.vars.smoothHeight&&m.smoothHeight()},"init"===e?100:0))}u||a.slides.removeClass(n+"active-slide").eq(a.currentSlide).addClass(n+"active-slide"),a.vars.init(a)},a.doMath=function(){var e=a.slides.first(),t=a.vars.itemMargin,n=a.vars.minItems,i=a.vars.maxItems;a.w=void 0===a.viewport?a.width():a.viewport.width(),a.h=e.height(),a.boxPadding=e.outerWidth()-e.width(),u?(a.itemT=a.vars.itemWidth+t,a.minW=n?n*a.itemT:a.w,a.maxW=i?i*a.itemT-t:a.w,a.itemW=a.minW>a.w?(a.w-t*(n-1))/n:a.maxWa.w?a.w:a.vars.itemWidth,a.visible=Math.floor(a.w/a.itemW),a.move=a.vars.move>0&&a.vars.movea.w?a.itemW*(a.count-1)+t*(a.count-1):(a.itemW+t)*a.count-a.w-t):(a.itemW=a.w,a.pagingCount=a.count,a.last=a.count-1),a.computedW=a.itemW-a.boxPadding},a.update=function(e,t){a.doMath(),u||(ea.controlNav.length?m.controlNav.update("add"):("remove"===t&&!u||a.pagingCounta.last&&(a.currentSlide-=1,a.animatingTo-=1),m.controlNav.update("remove",a.last))),a.vars.directionNav&&m.directionNav.update()},a.addSlide=function(e,t){var n=$(e);a.count+=1,a.last=a.count-1,c&&d?void 0!==t?a.slides.eq(a.count-t).after(n):a.container.prepend(n):void 0!==t?a.slides.eq(t).before(n):a.container.append(n),a.update(t,"add"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.added(a)},a.removeSlide=function(e){var t=isNaN(e)?a.slides.index($(e)):e;a.count-=1,a.last=a.count-1,isNaN(e)?$(e,a.slides).remove():c&&d?a.slides.eq(a.last).remove():a.slides.eq(e).remove(),a.doMath(),a.update(t,"remove"),a.slides=$(a.vars.selector+":not(.clone)",a),a.setup(),a.vars.removed(a)},m.init()},$(window).blur(function(e){focused=!1}).focus(function(e){focused=!0}),$.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"Previous",nextText:"Next",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){}},$.fn.flexslider=function(e){if(void 0===e&&(e={}),"object"==typeof e)return this.each(function(){var t=$(this),a=e.selector?e.selector:".slides > li",n=t.find(a);1===n.length&&e.allowOneSlide===!0||0===n.length?(n.fadeIn(400),e.start&&e.start(t)):void 0===t.data("flexslider")&&new $.flexslider(this,e)});var t=$(this).data("flexslider");switch(e){case"play":t.play();break;case"pause":t.pause();break;case"stop":t.stop();break;case"next":t.flexAnimate(t.getTarget("next"),!0);break;case"prev":case"previous":t.flexAnimate(t.getTarget("prev"),!0);break;default:"number"==typeof e&&t.flexAnimate(e,!0)}}}(jQuery); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/homeslider/index.php b/themes/toutpratique/js/modules/homeslider/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/homeslider/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/index.php b/themes/toutpratique/js/modules/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/loyalty/index.php b/themes/toutpratique/js/modules/loyalty/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/loyalty/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/loyalty/js/index.php b/themes/toutpratique/js/modules/loyalty/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/loyalty/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/loyalty/js/loyalty.js b/themes/toutpratique/js/modules/loyalty/js/loyalty.js new file mode 100644 index 00000000..451aedbd --- /dev/null +++ b/themes/toutpratique/js/modules/loyalty/js/loyalty.js @@ -0,0 +1,64 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$(document).ready(function() { + $(document).on('change', '#our_price_display', function(e){ + updateLoyaltyView(parseInt($('#our_price_display').text())); + }) +}); + +function updateLoyaltyView(new_price) { + if (typeof(new_price) == 'undefined' || typeof(productPriceWithoutReduction) == 'undefined') + return; + + var points = Math.round(new_price / point_rate); + var total_points = points_in_cart + points; + var voucher = total_points * point_value; + + if (!none_award && productPriceWithoutReduction != new_price) { + $('#loyalty').html(loyalty_already); + } + else if (!points) { + $('#loyalty').html(loyalty_nopoints); + } + else + { + var content = loyalty_willcollect + " "+points+' '; + if (points > 1) + content += loyalty_points + ". "; + else + content += loyalty_point + ". "; + + content += loyalty_total + " "+total_points+' '; + if (total_points > 1) + content += loyalty_points; + else + content += loyalty_point; + + content += ' ' + loyalty_converted + ' '; + content += ''+formatCurrency(voucher, currencyFormat, currencySign, currencyBlank)+'.'; + $('#loyalty').html(content); + } +} diff --git a/themes/toutpratique/js/modules/mailalerts/index.php b/themes/toutpratique/js/modules/mailalerts/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/mailalerts/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/mailalerts/mailalerts.js b/themes/toutpratique/js/modules/mailalerts/mailalerts.js new file mode 100644 index 00000000..c497fad6 --- /dev/null +++ b/themes/toutpratique/js/modules/mailalerts/mailalerts.js @@ -0,0 +1,139 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +$(document).ready(function() { + oosHookJsCodeMailAlert(); + $(document).on('keypress', '#oos_customer_email', function(e){ + if(e.keyCode == 13) + { + e.preventDefault(); + addNotification(); + } + }); + + $(document).on('click', '#oos_customer_email', function(e){ + clearText(); + }); + + $(document).on('click', '#mailalert_link', function(e){ + e.preventDefault(); + addNotification(); + }); + + $(document).on('click', 'i[rel^=ajax_id_mailalert_]', function(e) + { + var ids = $(this).attr('rel').replace('ajax_id_mailalert_', ''); + ids = ids.split('_'); + var id_product_mail_alert = parseInt(ids[0]); + var id_product_attribute_mail_alert = parseInt(ids[1]); + var parent = $(this).parents('li'); + + if (typeof mailalerts_url_remove == 'undefined') + return; + + $.ajax({ + url: mailalerts_url_remove, + type: "POST", + data: { + 'id_product': id_product_mail_alert, + 'id_product_attribute': id_product_attribute_mail_alert + }, + success: function(result) + { + if (result == '0') + { + parent.fadeOut("normal", function() + { + if (parent.siblings().length == 0) + $("#mailalerts_block_account_warning").removeClass('hidden'); + parent.remove(); + }); + } + } + }); + }); + +}); + +function clearText() +{ + if ($('#oos_customer_email').val() == mailalerts_placeholder) + $('#oos_customer_email').val(''); +} + +function oosHookJsCodeMailAlert() +{ + if (typeof mailalerts_url_check == 'undefined') + return; + + $.ajax({ + type: 'POST', + url: mailalerts_url_check, + data: 'id_product=' + id_product + '&id_product_attribute=' + $('#idCombination').val(), + success: function (msg) { + if (msg == '0') + { + $('#mailalert_link').show(); + $('#oos_customer_email').show(); + } + else + { + $('#mailalert_link').hide(); + $('#oos_customer_email').hide(); + } + } + }); +} + +function addNotification() +{ + if ($('#oos_customer_email').val() == mailalerts_placeholder || (typeof mailalerts_url_add == 'undefined')) + return; + + $.ajax({ + type: 'POST', + url: mailalerts_url_add, + data: 'id_product=' + id_product + '&id_product_attribute='+$('#idCombination').val()+'&customer_email='+$('#oos_customer_email').val()+'', + success: function (msg) { + if (msg == '1') + { + $('#mailalert_link').hide(); + $('#oos_customer_email').hide(); + $('#oos_customer_email_result').html(mailalerts_registered); + $('#oos_customer_email_result').css('color', 'green').show(); + } + else if (msg == '2' ) + { + $('#oos_customer_email_result').html(mailalerts_already); + $('#oos_customer_email_result').css('color', 'red').show(); + } + else + { + $('#oos_customer_email_result').html(mailalerts_invalid); + $('#oos_customer_email_result').css('color', 'red').show(); + } + } + }); +} \ No newline at end of file diff --git a/themes/toutpratique/js/modules/productcomments/index.php b/themes/toutpratique/js/modules/productcomments/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/productcomments/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/productcomments/js/index.php b/themes/toutpratique/js/modules/productcomments/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/productcomments/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/productcomments/js/productcomments.js b/themes/toutpratique/js/modules/productcomments/js/productcomments.js new file mode 100644 index 00000000..626c616f --- /dev/null +++ b/themes/toutpratique/js/modules/productcomments/js/productcomments.js @@ -0,0 +1,135 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + $('input.star').rating(); + $('.auto-submit-star').rating(); + + if (!!$.prototype.fancybox) + $('.open-comment-form').fancybox({ + 'autoSize' : false, + 'width' : 600, + 'height' : 'auto', + 'hideOnContentClick': false + }); + + $(document).on('click', '#id_new_comment_form .closefb', function(e){ + e.preventDefault(); + $.fancybox.close(); + }); + + $(document).on('click', 'a[href=#idTab5]', function(e){ + $('*[id^="idTab"]').addClass('block_hidden_only_for_screen'); + $('div#idTab5').removeClass('block_hidden_only_for_screen'); + + $('ul#more_info_tabs a[href^="#idTab"]').removeClass('selected'); + $('a[href="#idTab5"]').addClass('selected'); + }); + + $(document).on('click', 'button.usefulness_btn', function(e){ + var id_product_comment = $(this).data('id-product-comment'); + var is_usefull = $(this).data('is-usefull'); + var parent = $(this).parent(); + + $.ajax({ + url: productcomments_controller_url + '?rand=' + new Date().getTime(), + data: { + id_product_comment: id_product_comment, + action: 'comment_is_usefull', + value: is_usefull + }, + type: 'POST', + headers: { "cache-control": "no-cache" }, + success: function(result){ + parent.fadeOut('slow', function() { + parent.remove(); + }); + } + }); + }); + + $(document).on('click', 'span.report_btn', function(e){ + if (confirm(confirm_report_message)) + { + var idProductComment = $(this).data('id-product-comment'); + var parent = $(this).parent(); + + $.ajax({ + url: productcomments_controller_url + '?rand=' + new Date().getTime(), + data: { + id_product_comment: idProductComment, + action: 'report_abuse' + }, + type: 'POST', + headers: { "cache-control": "no-cache" }, + success: function(result){ + parent.fadeOut('slow', function() { + parent.remove(); + }); + } + }); + } + }); + + $(document).on('click', '#submitNewMessage', function(e){ + // Kill default behaviour + e.preventDefault(); + + // Form element + + url_options = '?'; + if (!productcomments_url_rewrite) + url_options = '&'; + + $.ajax({ + url: productcomments_controller_url + url_options + 'action=add_comment&secure_key=' + secure_key + '&rand=' + new Date().getTime(), + data: $('#id_new_comment_form').serialize(), + type: 'POST', + headers: { "cache-control": "no-cache" }, + dataType: "json", + success: function(data){ + if (data.result) + { + $.fancybox.close(); + var buttons = {}; + buttons[productcomment_ok] = "productcommentRefreshPage"; + fancyChooseBox(moderation_active ? productcomment_added_moderation : productcomment_added, productcomment_title, buttons); + } + else + { + $('#new_comment_form_error ul').html(''); + $.each(data.errors, function(index, value) { + $('#new_comment_form_error ul').append('
  • '+value+'
  • '); + }); + $('#new_comment_form_error').slideDown('slow'); + } + } + }); + }); +}); + +function productcommentRefreshPage() +{ + window.location.reload(); +} \ No newline at end of file diff --git a/themes/toutpratique/js/modules/productcomments/js/products-comparison.js b/themes/toutpratique/js/modules/productcomments/js/products-comparison.js new file mode 100644 index 00000000..80afdf0a --- /dev/null +++ b/themes/toutpratique/js/modules/productcomments/js/products-comparison.js @@ -0,0 +1,68 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function() +{ + $('input.star').rating(); + $('.auto-submit-star').rating(); + $('a.cluetip').cluetip({ + local:true, + cursor: 'pointer', + cluetipClass: 'comparison_comments', + dropShadow: false, + dropShadowSteps: 0, + showTitle: false, + tracking: true, + sticky: false, + mouseOutClose: true, + width: 450, + fx: { + open: 'fadeIn', + openSpeed: 'fast' + } + }).css('opacity', 0.8); + + $('.comparison_infos a').each(function(){ + var id_product_comment = parseInt($(this).data('id-product-comment')); + if (id_product_comment) + { + $(this).click(function(e){ + e.preventDefault(); + }); + var htmlContent = $('#comments_' + id_product_comment).html(); + $(this).popover({ + placement : 'bottom', //placement of the popover. also can use top, bottom, left or right + title : false, //this is the top title bar of the popover. add some basic css + html: 'true', //needed to show html of course + content : htmlContent //this is the content of the html box. add the image here or anything you want really. + }); + } + }); +}); + +function closeCommentForm() +{ + $('#sendComment').slideUp('fast'); + $('input#addCommentButton').fadeIn('slow'); +} \ No newline at end of file diff --git a/themes/toutpratique/js/modules/productscategory/index.php b/themes/toutpratique/js/modules/productscategory/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/productscategory/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/productscategory/js/index.php b/themes/toutpratique/js/modules/productscategory/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/productscategory/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/productscategory/js/productscategory.js b/themes/toutpratique/js/modules/productscategory/js/productscategory.js new file mode 100644 index 00000000..fe9e84b0 --- /dev/null +++ b/themes/toutpratique/js/modules/productscategory/js/productscategory.js @@ -0,0 +1,39 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function() { + if (!!$.prototype.bxSlider) + $('#bxslider1').bxSlider({ + minSlides: 2, + maxSlides: 6, + slideWidth: 178, + slideMargin: 20, + pager: false, + nextText: '', + prevText: '', + moveSlides:1, + infiniteLoop:false, + hideControlOnEnd: true + }); +}); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/referralprogram/index.php b/themes/toutpratique/js/modules/referralprogram/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/referralprogram/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/referralprogram/js/index.php b/themes/toutpratique/js/modules/referralprogram/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/referralprogram/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/referralprogram/js/referralprogram.js b/themes/toutpratique/js/modules/referralprogram/js/referralprogram.js new file mode 100644 index 00000000..15916451 --- /dev/null +++ b/themes/toutpratique/js/modules/referralprogram/js/referralprogram.js @@ -0,0 +1,30 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function() { + $('#idTabs a').on('click', function(e) { + e.preventDefault(); + $(this).tab('show'); + }); +}); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/sendtoafriend/index.php b/themes/toutpratique/js/modules/sendtoafriend/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/modules/sendtoafriend/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/modules/sendtoafriend/sendtoafriend.js b/themes/toutpratique/js/modules/sendtoafriend/sendtoafriend.js new file mode 100644 index 00000000..6b0d0c7c --- /dev/null +++ b/themes/toutpratique/js/modules/sendtoafriend/sendtoafriend.js @@ -0,0 +1,64 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + + if (!!$.prototype.fancybox) + $('#send_friend_button').fancybox({ + 'hideOnContentClick': false, + 'width': $('.container').width() - 300 + }); + + $('#send_friend_form_content .closefb').click(function(e) { + $.fancybox.close(); + e.preventDefault(); + }); + + $('#sendEmail').click(function(){ + var name = $('#friend_name').val(); + var email = $('#friend_email').val(); + if (name && email && !isNaN(id_product)) + { + $.ajax({ + url: baseDir + 'modules/sendtoafriend/sendtoafriend_ajax.php?rand=' + new Date().getTime(), + type: "POST", + headers: {"cache-control": "no-cache"}, + data: { + action: 'sendToMyFriend', + secure_key: stf_secure_key, + name: name, + email: email, + id_product: id_product + }, + dataType: "json", + success: function(result) { + $.fancybox.close(); + fancyMsgBox((result ? stf_msg_success : stf_msg_error), stf_msg_title); + } + }); + } + else + $('#send_friend_form_error').text(stf_msg_required).show(); + }); +}); \ No newline at end of file diff --git a/themes/toutpratique/js/modules/socialsharing/socialsharing.js b/themes/toutpratique/js/modules/socialsharing/socialsharing.js new file mode 100644 index 00000000..adc0beb2 --- /dev/null +++ b/themes/toutpratique/js/modules/socialsharing/socialsharing.js @@ -0,0 +1,34 @@ +$(document).ready(function() { + + $('.share .trigger').on('click', function() { + $that = $(this); + $content = $that.next(); + + $that.hasClass('open') ? $that.removeClass('open') : $that.addClass('open'); + $content.hasClass('open') ? $content.removeClass('open') : $content.addClass('open'); + + }); + + $('.social-sharing').on('click', function(e) { + e.preventDefault(); + type = $(this).attr('data-type'); + if (type.length) + { + switch(type) + { + case 'twitter': + window.open('https://twitter.com/intent/tweet?text=' + sharing_name + ' ' + encodeURIComponent(sharing_url), 'sharertwt', 'toolbar=0,status=0,width=640,height=445'); + break; + case 'facebook': + window.open('http://www.facebook.com/sharer.php?u=' + sharing_url, 'sharer', 'toolbar=0,status=0,width=660,height=445'); + break; + case 'google-plus': + window.open('https://plus.google.com/share?url=' + sharing_url, 'sharer', 'toolbar=0,status=0,width=660,height=445'); + break; + case 'pinterest': + window.open('http://www.pinterest.com/pin/create/button/?media=' + sharing_img + '&url=' + sharing_url, 'sharerpinterest', 'toolbar=0,status=0,width=660,height=445'); + break; + } + } + }); +}); \ No newline at end of file diff --git a/themes/toutpratique/js/order-address.js b/themes/toutpratique/js/order-address.js new file mode 100644 index 00000000..dba76fab --- /dev/null +++ b/themes/toutpratique/js/order-address.js @@ -0,0 +1,309 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +var updated = true; +$(document).ready(function(){ + if (typeof formatedAddressFieldsValuesList !== 'undefined') + updateAddressesDisplay(true); + + $(document).on('change', 'select[name=id_address_delivery], select[name=id_address_invoice]', function(){ + updateAddressesDisplay(); + if (typeof opc !=='undefined' && opc) + updateAddressSelection(); + }); + $(document).on('click', 'input[name=same]', function(){ + updateAddressesDisplay(); + if (typeof opc !=='undefined' && opc) + updateAddressSelection(); + }); + $('#id_address_invoice, #id_address_delivery').on('click', function(e){ + updateAddressesList($(this)); + }); + $('p.address_add a.btn').click(function(){ + updated = false; + }); +}); + +//update the display of the addresses +function updateAddressesDisplay(first_view) +{ + // update content of delivery address + updateAddressDisplay('delivery'); + var txtInvoiceTitle = ""; + try{ + var adrs_titles = getAddressesTitles(); + txtInvoiceTitle = adrs_titles.invoice; + } + catch (e) + {} + // update content of invoice address + //if addresses have to be equals... + if ($('#addressesAreEquals:checked').length === 1 && ($('#multishipping_mode_checkbox:checked').length === 0)) + { + if ($('#multishipping_mode_checkbox:checked').length === 0) { + first_view ? $('#address_invoice_form').css('opacity', 0) : $('#address_invoice_form').css('opacity', 0).removeClass('open'); + } + $('ul#address_invoice').html($('ul#address_delivery').html()); + $('ul#address_invoice li.address_title').html(txtInvoiceTitle); + } + else + { + first_view ? $('#address_invoice_form').css('opacity', 1) : $('#address_invoice_form').attr('style', '').addClass('open'); + if ($('#id_address_invoice').val()) + updateAddressDisplay('invoice'); + else + { + $('ul#address_invoice').html($('ul#address_delivery').html()); + $('ul#address_invoice li.address_title').html(txtInvoiceTitle); + } + } + if(!first_view) + { + if (orderProcess === 'order') + updateAddresses(); + } + return true; +} + +function updateAddressDisplay(addressType) +{ + if (typeof formatedAddressFieldsValuesList == 'undefined' || formatedAddressFieldsValuesList.length <= 0) + return; + + var idAddress = parseInt($('#id_address_' + addressType + '').val()); + buildAddressBlock(idAddress, addressType, $('#address_' + addressType)); + + // change update link + var link = $('ul#address_' + addressType + ' li.address_update a').attr('href'); + var expression = /id_address=\d+/; + if (link) + { + link = link.replace(expression, 'id_address=' + idAddress); + $('ul#address_' + addressType + ' li.address_update a').attr('href', link); + } +} + +function updateAddresses() +{ + var idAddress_delivery = parseInt($('#id_address_delivery').val()); + var idAddress_invoice = $('#addressesAreEquals:checked').length === 1 ? idAddress_delivery : parseInt($('#id_address_invoice').val()); + + if(isNaN(idAddress_delivery) == false && isNaN(idAddress_invoice) == false) + { + $('.addresses .waitimage').show(); + $('.button[name="processAddress"]').prop('disabled', 'disabled'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: { + processAddress: true, + step: 2, + ajax: 'true', + controller: 'order', + 'multi-shipping': $('#id_address_delivery:hidden').length, + id_address_delivery: idAddress_delivery, + id_address_invoice: idAddress_invoice, + token: static_token + }, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
    ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + errors + '

    ' + } + ], { + padding: 0 + }); + else + alert(errors); + } + $('.addresses .waitimage').hide(); + $('.button[name="processAddress"]').prop('disabled', ''); + updateCarriers(); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + $('.addresses .waitimage').hide(); + $('.button[name="processAddress"]').prop('disabled', ''); + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + error + '

    ' + } + ], { + padding: 0 + }); + else + alert(error); + } + } + }); + } +} + +function updateAddressesList(elem, address_delivery, address_invoice) +{ + if (updated) + return; + updated=true; + if (!elem) + elem = $('#id_address_delivery'); + if (!address_delivery) + address_delivery = $('#id_address_delivery'); + if (!address_invoice) + address_invoice = $('#id_address_invoice'); + + elem.parent().children('.waitimage').show(); + elem.prop('disabled', true); + elem.parent().addClass('disabled'); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: { + getAddressesList: true, + step: 2, + ajax: 'true', + controller: 'order', + 'multi-shipping': $('#id_address_delivery:hidden').length, + token: static_token + }, + success: function(jsonData) + { + if (!jsonData.addresses) + return; + var options = ''; + for (var i = jsonData.addresses.length - 1; i >= 0; i--) { + options += ''; + }; + address_delivery.html(options); + address_invoice.html(options); + + elem.parent().children('.waitimage').hide(); + elem.prop('disabled', false); + elem.parent().removeClass('disabled'); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + elem.parent().children('.waitimage').hide(); + elem.prop('disabled', false); + elem.parent().removeClass('disabled'); + } + }); +} + +function getAddressesTitles() +{ + if (typeof titleInvoice !== 'undefined' && typeof titleDelivery !== 'undefined') + return { + 'invoice': titleInvoice, + 'delivery': titleDelivery + }; + else + return { + 'invoice': '', + 'delivery': '' + }; +} + +function buildAddressBlock(id_address, address_type, dest_comp) +{ + if (isNaN(id_address)) + return; + var adr_titles_vals = getAddressesTitles(); + var li_content = formatedAddressFieldsValuesList[id_address]['formated_fields_values']; + var ordered_fields_name = ['title']; + var reg = new RegExp("[ ]+", "g"); + ordered_fields_name = ordered_fields_name.concat(formatedAddressFieldsValuesList[id_address]['ordered_fields']); + ordered_fields_name = ordered_fields_name.concat(['update']); + dest_comp.html(''); + li_content['title'] = adr_titles_vals[address_type]; + if (typeof liUpdate !== 'undefined') + { + var items = liUpdate.split(reg); + var regUrl = new RegExp('(https?://[^"]*)', 'gi'); + liUpdate = liUpdate.replace(regUrl, addressUrlAdd + parseInt(id_address)); + li_content['update'] = liUpdate; + } + appendAddressList(dest_comp, li_content, ordered_fields_name); +} + +function appendAddressList(dest_comp, values, fields_name) +{ + for (var item in fields_name) + { + var name = fields_name[item].replace(",", ""); + var value = getFieldValue(name, values); + if (value != "") + { + var new_li = document.createElement('li'); + var reg = new RegExp("[ ]+", "g"); + var classes = name.split(reg); + new_li.className = ''; + for (clas in classes) + new_li.className += 'address_' + classes[clas].toLowerCase().replace(":", "_") + ' '; + new_li.className = $.trim(new_li.className); + new_li.innerHTML = value; + dest_comp.append(new_li); + } + } +} + +function getFieldValue(field_name, values) +{ + var reg = new RegExp("[ ]+", "g"); + var items = field_name.split(reg); + var vals = new Array(); + for (var field_item in items) + { + items[field_item] = items[field_item].replace(",", ""); + vals.push(values[items[field_item]]); + } + return vals.join(" "); +} diff --git a/themes/toutpratique/js/order-carrier.js b/themes/toutpratique/js/order-carrier.js new file mode 100644 index 00000000..f23239a2 --- /dev/null +++ b/themes/toutpratique/js/order-carrier.js @@ -0,0 +1,103 @@ +/* +* 2007-2014 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2014 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + + if (!!$.prototype.fancybox) + $("a.iframe").fancybox({ + 'type': 'iframe', + 'width': 600, + 'height': 600 + }); + + deliveryOptionSelected = $('.delivery-option').find('input:checked').val().replace(',', ''); + $('.delivery-option').removeClass('active'); + $('.delivery-'+deliveryOptionSelected).addClass('active'); + + if (typeof cart_gift != 'undefined' && cart_gift && $('input#gift').is(':checked')) + $('p#gift_div').show(); + + $(document).on('change', 'input.delivery_option_radio', function(){ + var key = $(this).data('key'); + var id_address = parseInt($(this).data('id_address')); + if (orderProcess == 'order' && key && id_address) + updateExtraCarrier(key, id_address); + else if(orderProcess == 'order-opc' && typeof updateCarrierSelectionAndGift !== 'undefined') + updateCarrierSelectionAndGift(); + deliveryOptionSelected = key.replace(',', ''); + + $('.delivery_option').removeClass('active'); + $('.delivery-'+deliveryOptionSelected).addClass('active'); + }); +}); + +function acceptCGV() +{ + if (typeof msg_order_carrier != 'undefined' && $('#cgv').length && !$('input#cgv:checked').length) + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + msg_order_carrier + '

    ' + }], + { + padding: 0 + }); + else + alert(msg_order_carrier); + } + else + return true; + return false; +} + + +function updateCarriers(){ + + $.ajax({ + type: 'POST', + url: baseUri + '?rand=' + new Date().getTime(), + async: true, + data: { + getCarriers: true, + step: 2, + ajax: 'true', + controller: 'order', + id_address_delivery: parseInt($('#id_address_delivery').val()), + token: static_token + }, + success: function(res) + { + if (res) + $('#order_carrier_contaier').html(res); + customInputs(); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + console.log(textStatus); + } + }); +} diff --git a/themes/toutpratique/js/order-opc.js b/themes/toutpratique/js/order-opc.js new file mode 100644 index 00000000..99e4bab5 --- /dev/null +++ b/themes/toutpratique/js/order-opc.js @@ -0,0 +1,976 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + // GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT + if ((typeof isLogged == 'undefined' || !isLogged) || (typeof isGuest !== 'undefined' && isGuest)) + { + if (guestCheckoutEnabled && !isLogged) + { + $('#opc_account_choice').show(); + $('#opc_account_form, #opc_invoice_address').hide(); + + $(document).on('click', '#opc_createAccount',function(e){ + e.preventDefault(); + $('.is_customer_param').show(); + $('#opc_account_form').slideDown('slow'); + $('#is_new_customer').val('1'); + $('#opc_account_choice, #opc_invoice_address').hide(); + }); + $(document).on('click', '#opc_guestCheckout', function(e){ + e.preventDefault(); + $('.is_customer_param').hide(); + $('#opc_account_form').slideDown('slow'); + $('#is_new_customer').val('0'); + $('#opc_account_choice, #opc_invoice_address').hide(); + $('#new_account_title').html(txtInstantCheckout); + $('#submitAccount').attr({id : 'submitGuestAccount', name : 'submitGuestAccount'}); + }); + } + else if (isGuest) + { + $('.is_customer_param').hide(); + $('#opc_account_form').show('slow'); + $('#is_new_customer').val('0'); + $('#opc_account_choice, #opc_invoice_address').hide(); + $('#new_account_title').html(txtInstantCheckout); + } + else + { + $('#opc_account_choice').hide(); + $('#is_new_customer').val('1'); + $('.is_customer_param, #opc_account_form').show(); + $('#opc_invoice_address').hide(); + } + + // LOGIN FORM + $(document).on('click', '#openLoginFormBlock', function(e){ + e.preventDefault(); + $('#openNewAccountBlock').show(); + $(this).hide(); + $('#login_form_content').slideDown('slow'); + $('#new_account_form_content').slideUp('slow'); + }); + // LOGIN FORM SENDING + $(document).on('click', '#SubmitLogin', function(e){ + e.preventDefault(); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: authenticationUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'SubmitLogin=true&ajax=true&email='+encodeURIComponent($('#login_email').val())+'&passwd='+encodeURIComponent($('#login_passwd').val())+'&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''+txtThereis+' '+jsonData.errors.length+' '+txtErrors+':
      '; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += '
    1. '+jsonData.errors[error]+'
    2. '; + errors += '
    '; + $('#opc_login_errors').html(errors).slideDown('slow'); + } + else + { + // update token + static_token = jsonData.token; + updateNewAccountToAddressBlock(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

    ' + error + '

    ' + } + ], { + padding: 0 + }); + else + alert(error); + } + } + }); + }); + + // VALIDATION / CREATION AJAX + $(document).on('click', '#submitAccount, #submitGuestAccount', function(e){ + e.preventDefault(); + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow') + + var callingFile = ''; + var params = ''; + + if (parseInt($('#opc_id_customer').val()) == 0) + { + callingFile = authenticationUrl; + params = 'submitAccount=true&'; + } + else + { + callingFile = orderOpcUrl; + params = 'method=editCustomer&'; + } + + $('#opc_account_form input:visible, #opc_account_form input[type=hidden]').each(function() { + if ($(this).is('input[type=checkbox]')) + { + if ($(this).is(':checked')) + params += encodeURIComponent($(this).attr('name'))+'=1&'; + } + else if ($(this).is('input[type=radio]')) + { + if ($(this).is(':checked')) + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + } + else + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + }); + + $('#opc_account_form select:visible').each(function() { + params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; + }); + params += 'customer_lastname='+encodeURIComponent($('#customer_lastname').val())+'&'; + params += 'customer_firstname='+encodeURIComponent($('#customer_firstname').val())+'&'; + params += 'alias='+encodeURIComponent($('#alias').val())+'&'; + params += 'other='+encodeURIComponent($('#other').val())+'&'; + params += 'is_new_customer='+encodeURIComponent($('#is_new_customer').val())+'&'; + // Clean the last & + params = params.substr(0, params.length-1); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: callingFile + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&'+params+'&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var tmp = ''; + var i = 0; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + { + i = i+1; + tmp += '
  • '+jsonData.errors[error]+'
  • '; + } + tmp += ''; + var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; + $('#opc_account_errors').slideUp('fast', function(){ + $(this).html(errors).slideDown('slow', function(){ + $.scrollTo('#opc_account_errors', 800); + }); + }); + } + else + { + $('#opc_account_errors').slideUp('slow', function(){ + $(this).html(''); + }); + } + + isGuest = parseInt($('#is_new_customer').val()) == 1 ? 0 : 1; + // update addresses id + if(jsonData.id_address_delivery !== undefined && jsonData.id_address_delivery > 0) + $('#opc_id_address_delivery').val(jsonData.id_address_delivery); + if(jsonData.id_address_invoice !== undefined && jsonData.id_address_invoice > 0) + $('#opc_id_address_invoice').val(jsonData.id_address_invoice); + + if (jsonData.id_customer !== undefined && jsonData.id_customer !== 0 && jsonData.isSaved) + { + // update token + static_token = jsonData.token; + + // It's not a new customer + if ($('#opc_id_customer').val() !== '0') + if (!saveAddress('delivery')) + return false; + + // update id_customer + $('#opc_id_customer').val(jsonData.id_customer); + + if ($('#invoice_address:checked').length !== 0) + { + if (!saveAddress('invoice')) + return false; + } + + // update id_customer + $('#opc_id_customer').val(jsonData.id_customer); + + // force to refresh carrier list + if (isGuest) + { + isLogged = 1; + $('#opc_account_saved').fadeIn('slow'); + $('#submitAccount').hide(); + updateAddressSelection(); + } + else + updateNewAccountToAddressBlock(); + } + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow'); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to save account \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + error + '

      ' + } + ], { + padding: 0 + }); + else + alert(error); + } + $('#opc_new_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeIn('slow') + } + }); + }); + } + + bindInputs(); + + $('#opc_account_form input,select,textarea').change(function() { + if ($(this).is(':visible')) + { + $('#opc_account_saved').fadeOut('slow'); + $('#submitAccount').show(); + } + }); + + // If the multishipping mode is off assure us the checkbox "I want to specify a delivery address for each products I order." is unchecked. + $('#multishipping_mode_checkbox').attr('checked', false); + // If the multishipping mode is on, check the box "I want to specify a delivery address for each products I order.". + if (typeof(multishipping_mode) !== 'undefined' && multishipping_mode) + { + $('#multishipping_mode_checkbox').click(); + $('.addressesAreEquals').hide().find('input').attr('checked', false); + } + if (typeof(open_multishipping_fancybox) !== 'undefined' && open_multishipping_fancybox) + $('#link_multishipping_form').click(); +}); + +function updateCarrierList(json) +{ + var html = json.carrier_block; + $('#carrier_area').replaceWith(html); + bindInputs(); + /* update hooks for carrier module */ + $('#HOOK_BEFORECARRIER').html(json.HOOK_BEFORECARRIER); +} + +function updatePaymentMethods(json) +{ + $('#HOOK_TOP_PAYMENT').html(json.HOOK_TOP_PAYMENT); + $('#opc_payment_methods-content #HOOK_PAYMENT').html(json.HOOK_PAYMENT); +} + +function updatePaymentMethodsDisplay() +{ + var checked = ''; + if ($('#cgv:checked').length !== 0) + checked = 1; + else + checked = 0; + $('#opc_payment_methods-overlay').fadeIn('slow', function(){ + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateTOSStatusAndGetPayments&checked=' + checked + '&token=' + static_token, + success: function(json) + { + updatePaymentMethods(json); + } + }); + $(this).fadeOut('slow'); + }); +} + +function updateAddressSelection() +{ + var idAddress_delivery = ($('#opc_id_address_delivery').length == 1 ? $('#opc_id_address_delivery').val() : $('#id_address_delivery').val()); + var idAddress_invoice = ($('#opc_id_address_invoice').length == 1 ? $('#opc_id_address_invoice').val() : ($('#addressesAreEquals:checked').length == 1 ? idAddress_delivery : ($('#id_address_invoice').length == 1 ? $('#id_address_invoice').val() : idAddress_delivery))); + + $('#opc_account-overlay').fadeIn('slow'); + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $('#opc_payment_methods-overlay').fadeIn('slow'); + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'allow_refresh=1&ajax=true&method=updateAddressesSelected&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice + '&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + errors + '

      ' + } + ], { + padding: 0 + }); + else + alert(errors); + } + else + { + if (jsonData.refresh) + location.reload(); + // Update all product keys with the new address id + $('#cart_summary .address_'+deliveryAddress).each(function() { + $(this) + .removeClass('address_'+deliveryAddress) + .addClass('address_'+idAddress_delivery); + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + if ($(this).find('.cart_unit span').length > 0 && $(this).find('.cart_unit span').attr('id').length > 0) + $(this).find('.cart_unit span').attr('id', $(this).find('.cart_unit span').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + + if ($(this).find('.cart_total span').length > 0 && $(this).find('.cart_total span').attr('id').length > 0) + $(this).find('.cart_total span').attr('id', $(this).find('.cart_total span').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)); + + if ($(this).find('.cart_quantity_input').length > 0 && $(this).find('.cart_quantity_input').attr('name').length > 0) + { + var name = $(this).find('.cart_quantity_input').attr('name')+'_hidden'; + $(this).find('.cart_quantity_input').attr('name', $(this).find('.cart_quantity_input').attr('name').replace(/_\d+$/, '_'+idAddress_delivery)); + if ($(this).find('[name="' + name + '"]').length > 0) + $(this).find('[name="' + name +' "]').attr('name', name.replace(/_\d+_hidden$/, '_'+idAddress_delivery+'_hidden')); + } + + if ($(this).find('.cart_quantity_delete').length > 0 && $(this).find('.cart_quantity_delete').attr('id').length > 0) + { + $(this).find('.cart_quantity_delete') + .attr('id', $(this).find('.cart_quantity_delete').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_delete').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + + if ($(this).find('.cart_quantity_down').length > 0 && $(this).find('.cart_quantity_down').attr('id').length > 0) + { + $(this).find('.cart_quantity_down') + .attr('id', $(this).find('.cart_quantity_down').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_down').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + + if ($(this).find('.cart_quantity_up').length > 0 && $(this).find('.cart_quantity_up').attr('id').length > 0) + { + $(this).find('.cart_quantity_up') + .attr('id', $(this).find('.cart_quantity_up').attr('id').replace(/_\d+$/, '_'+idAddress_delivery)) + .attr('href', $(this).find('.cart_quantity_up').attr('href').replace(/id_address_delivery=\d+&/, 'id_address_delivery='+idAddress_delivery+'&')); + } + }); + + // Update global var deliveryAddress + deliveryAddress = idAddress_delivery; + if (window.ajaxCart !== undefined) + { + $('.cart_block_list dd, .cart_block_list dt').each(function(){ + if (typeof($(this).attr('id')) != 'undefined') + $(this).attr('id', $(this).attr('id').replace(/_\d+$/, '_' + idAddress_delivery)); + }); + } + updateCarrierList(jsonData.carrier_data); + updatePaymentMethods(jsonData); + updateCartSummary(jsonData.summary); + updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); + if ($('#gift-price').length == 1) + $('#gift-price').html(jsonData.gift_price); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + error + '

      ' + } + ], { + padding: 0 + }); + else + alert(error); + } + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +function getCarrierListAndUpdate() +{ + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=getCarrierList&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + { + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + errors + '

      ' + } + ], { + padding: 0 + }); + } + else + { + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + errors + '

      ' + } + ], { + padding: 0 + }); + else + alert(errors); + } + } + else + updateCarrierList(jsonData); + $('#opc_delivery_methods-overlay').fadeOut('slow'); + } + }); +} + +function updateCarrierSelectionAndGift() +{ + var recyclablePackage = 0; + var gift = 0; + var giftMessage = ''; + + var delivery_option_radio = $('.delivery_option_radio'); + var delivery_option_params = '&'; + $.each(delivery_option_radio, function(i) { + if ($(this).prop('checked')) + delivery_option_params += $(delivery_option_radio[i]).attr('name') + '=' + $(delivery_option_radio[i]).val() + '&'; + }); + if (delivery_option_params == '&') + delivery_option_params = '&delivery_option=&'; + + if ($('input#recyclable:checked').length) + recyclablePackage = 1; + if ($('input#gift:checked').length) + { + gift = 1; + giftMessage = encodeURIComponent($('#gift_message').val()); + } + + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateCarrierAndGetPayments' + delivery_option_params + 'recyclable=' + recyclablePackage + '&gift=' + gift + '&gift_message=' + giftMessage + '&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(jsonData.errors[error]).text() + "\n"; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + errors + '

      ' + } + ], { + padding: 0 + }); + else + alert(errors); + } + else + { + updateCartSummary(jsonData.summary); + updatePaymentMethods(jsonData); + updateHookShoppingCart(jsonData.summary.HOOK_SHOPPING_CART); + updateHookShoppingCartExtra(jsonData.summary.HOOK_SHOPPING_CART_EXTRA); + updateCarrierList(jsonData.carrier_data); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + refreshDeliveryOptions(); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save carrier \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +function confirmFreeOrder() +{ + if ($('#opc_new_account-overlay').length !== 0) + $('#opc_new_account-overlay').fadeIn('slow'); + else + $('#opc_account-overlay').fadeIn('slow'); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + $('#confirmOrder').prop('disabled', 'disabled'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "html", + data: 'ajax=true&method=makeFreeOrder&token=' + static_token , + success: function(html) + { + $('#confirmOrder').prop('disabled', false); + var array_split = html.split(':'); + if (array_split[0] == 'freeorder') + { + if (isGuest) + document.location.href = guestTrackingUrl+'?id_order='+encodeURIComponent(array_split[1])+'&email='+encodeURIComponent(array_split[2]); + else + document.location.href = historyUrl; + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to confirm the order \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + error + '

      ' + } + ], { + padding: 0 + }); + else + alert(error); + } + } + }); +} + +function saveAddress(type) +{ + if (type !== 'delivery' && type !== 'invoice') + return false; + + var params = 'firstname=' + encodeURIComponent($('#firstname' + (type == 'invoice' ? '_invoice' : '')).val()) + '&lastname=' + encodeURIComponent($('#lastname'+(type == 'invoice' ? '_invoice' : '')).val()) + '&'; + if ($('#company' + (type == 'invoice' ? '_invoice' : '')).length) + params += 'company=' + encodeURIComponent($('#company' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + if ($('#vat_number' + (type == 'invoice' ? '_invoice' : '')).length) + params += 'vat_number='+encodeURIComponent($('#vat_number' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + if ($('#dni'+(type == 'invoice' ? '_invoice' : '')).length) + params += 'dni=' + encodeURIComponent($('#dni' + (type == 'invoice' ? '_invoice' : '')).val())+'&'; + params += 'address1=' + encodeURIComponent($('#address1' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'address2=' + encodeURIComponent($('#address2' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'postcode=' + encodeURIComponent($('#postcode' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'city=' + encodeURIComponent($('#city' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'id_country=' + parseInt($('#id_country' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + if ($('#id_state'+(type == 'invoice' ? '_invoice' : '')).length) + params += 'id_state='+encodeURIComponent($('#id_state'+(type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'other=' + encodeURIComponent($('#other' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'phone=' + encodeURIComponent($('#phone' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'phone_mobile=' + encodeURIComponent($('#phone_mobile' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + params += 'alias=' + encodeURIComponent($('#alias' + (type == 'invoice' ? '_invoice' : '')).val()) + '&'; + if (type == 'delivery' && $('#opc_id_address_delivery').val() != undefined && parseInt($('#opc_id_address_delivery').val()) > 0) + params += 'opc_id_address_delivery=' + parseInt($('#opc_id_address_delivery').val()) + '&'; + if (type == 'invoice' && $('#opc_id_address_invoice').val() != undefined && parseInt($('#opc_id_address_invoice').val()) > 0) + params += 'opc_id_address_invoice=' + parseInt($('#opc_id_address_invoice').val()) + '&'; + // Clean the last & + params = params.substr(0, params.length-1); + + var result = false; + + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: addressUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&submitAddress=true&type='+type+'&'+params+'&token=' + static_token, + success: function(jsonData) + { + if (jsonData.hasError) + { + var tmp = ''; + var i = 0; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + { + i = i+1; + tmp += '
    1. '+jsonData.errors[error]+'
    2. '; + } + tmp += '
    '; + var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; + $('#opc_account_errors').slideUp('fast', function(){ + $(this).html(errors).slideDown('slow', function(){ + $.scrollTo('#opc_account_errors', 800); + }); + }); + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + result = false; + } + else + { + // update addresses id + $('input#opc_id_address_delivery').val(jsonData.id_address_delivery); + $('input#opc_id_address_invoice').val(jsonData.id_address_invoice); + result = true; + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + { + error = "TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus; + if (!!$.prototype.fancybox) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + error + '

      ' + } + ], { + padding: 0 + }); + else + alert(error); + } + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); + + return result; +} + +function updateNewAccountToAddressBlock() +{ + $('#opc_account-overlay, #opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow');; + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + dataType : "json", + data: 'ajax=true&method=getAddressBlockAndCarriersAndPayments&token=' + static_token , + success: function(json) + { + if (json.hasError) + { + var errors = ''; + for(var error in json.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(json.errors[error]).text() + "\n"; + alert(errors); + } + else + { + isLogged = 1; + if (json.no_address == 1) + document.location.href = addressUrl; + + $('#opc_new_account').fadeOut('fast', function() { + if (typeof json.formatedAddressFieldsValuesList !== 'undefined' && json.formatedAddressFieldsValuesList ) + formatedAddressFieldsValuesList = json.formatedAddressFieldsValuesList; + if (typeof json.order_opc_adress !== 'undefined' && json.order_opc_adress) + $('#opc_new_account').html(json.order_opc_adress); + // update block user info + if (json.block_user_info !== '' && $('#header_user').length == 1) + { + var elt = $(json.block_user_info).find('#header_user_info').html(); + $('#header_user_info').fadeOut('nortmal', function() { + $(this).html(elt).fadeIn(); + }); + } + $(this).fadeIn('fast', function() { + //After login, the products are automatically associated to an address + $.each(json.summary.products, function() { + updateAddressId(this.id_product, this.id_product_attribute, '0', this.id_address_delivery); + }); + updateAddressesDisplay(true); + updateCarrierList(json.carrier_data); + updateCarrierSelectionAndGift(); + updatePaymentMethods(json); + if ($('#gift-price').length == 1) + $('#gift-price').html(json.gift_price); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + }); + }); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay, #opc_payment_methods-overlay').fadeOut('slow'); + } + }); +} + +function bindInputs() +{ + // Order message update + $('#message').blur(function() { + $('#opc_delivery_methods-overlay').fadeIn('slow'); + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: false, + cache: false, + dataType : "json", + data: 'ajax=true&method=updateMessage&message=' + encodeURIComponent($('#message').val()) + '&token=' + static_token , + success: function(jsonData) + { + if (jsonData.hasError) + { + var errors = ''; + for(var error in jsonData.errors) + //IE6 bug fix + if(error !== 'indexOf') + errors += $('
      ').html(jsonData.errors[error]).text() + "\n"; + alert(errors); + } + else + $('#opc_delivery_methods-overlay').fadeOut('slow'); + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + if (textStatus !== 'abort') + alert("TECHNICAL ERROR: unable to save message \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus); + $('#opc_delivery_methods-overlay').fadeOut('slow'); + } + }); + }); + + // Recyclable checkbox + $('#recyclable').on('click', function(e){ + updateCarrierSelectionAndGift(); + }); + + // Gift checkbox update + $('#gift').off('click').on('click', function(e){ + if ($('#gift').is(':checked')) + $('#gift_div').show(); + else + $('#gift_div').hide(); + updateCarrierSelectionAndGift(); + }); + + if ($('#gift').is(':checked')) + $('#gift_div').show(); + else + $('#gift_div').hide(); + + // Gift message update + $('#gift_message').on('change', function() { + updateCarrierSelectionAndGift(); + }); + + // Term Of Service (TOS) + $('#cgv').on('click', function(e){ + updatePaymentMethodsDisplay(); + }); +} + +function multishippingMode(it) +{ + if ($(it).prop('checked')) + { + $('#address_delivery, .address_delivery').hide(); + $('#address_delivery, .address_delivery').parent().hide(); + $('#address_invoice').removeClass('alternate_item').addClass('item'); + $('#multishipping_mode_box').addClass('on'); + $('.addressesAreEquals').hide(); + $('#address_invoice_form').show(); + + $(document).on('click', '#link_multishipping_form', function(e){e.preventDefault();}); + $('.address_add a').attr('href', addressMultishippingUrl); + + $(document).on('click', '#link_multishipping_form', function(e){ + if(!!$.prototype.fancybox) + $.fancybox({ + 'openEffect': 'elastic', + 'closeEffect': 'elastic', + 'type': 'ajax', + 'href': this.href, + 'beforeClose': function(){ + // Reload the cart + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + data: 'ajax=true&method=cartReload', + dataType : 'html', + cache: false, + success: function(data) { + $('#cart_summary').replaceWith($(data).find('#cart_summary')); + $('.cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: function(val) { updateQty(val, true, this.el); } }); + } + }); + updateCarrierSelectionAndGift(); + }, + 'beforeLoad': function(){ + // Removing all ids on the cart to avoid conflic with the new one on the fancybox + // This action could "break" the cart design, if css rules use ids of the cart + $.each($('#cart_summary *'), function(it, el) { + $(el).attr('id', ''); + }); + }, + 'afterLoad': function(){ + $('.fancybox-inner .cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: function(val) { updateQty(val, false, this.el);} }); + cleanSelectAddressDelivery(); + $('.fancybox-outer').append($('')); + $(document).on('click', '#multishipping-close', function(e){ + var newTotalQty = 0; + $('.fancybox-inner .cart_quantity_input').each(function(){ + newTotalQty += parseInt($(this).val()); + }); + if (newTotalQty !== totalQty) { + if(!confirm(QtyChanged)) { + return false; + } + } + $.fancybox.close(); + return false; + }); + totalQty = 0; + $('.fancybox-inner .cart_quantity_input').each(function(){ + totalQty += parseInt($(this).val()); + }); + } + }); + }); + } + else + { + $('#address_delivery, .address_delivery').show(); + $('#address_invoice').removeClass('item').addClass('alternate_item'); + $('#multishipping_mode_box').removeClass('on'); + $('.addressesAreEquals').show(); + if ($('.addressesAreEquals').find('input:checked').length) + $('#address_invoice_form').hide(); + else + $('#address_invoice_form').show(); + $('.address_add a').attr('href', addressUrl); + + // Disable multi address shipping + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax=true&method=noMultiAddressDelivery' + }); + + // Reload the cart + $.ajax({ + type: 'POST', + headers: { "cache-control": "no-cache" }, + url: orderOpcUrl + '?rand=' + new Date().getTime(), + async: true, + cache: false, + data: 'ajax=true&method=cartReload', + dataType : 'html', + success: function(data) { + $('#cart_summary').replaceWith($(data).find('#cart_summary')); + } + }); + } +} \ No newline at end of file diff --git a/themes/toutpratique/js/product.js b/themes/toutpratique/js/product.js new file mode 100644 index 00000000..87325e29 --- /dev/null +++ b/themes/toutpratique/js/product.js @@ -0,0 +1,1103 @@ +var serialScrollNbImagesDisplayed; +var selectedCombination = []; +var globalQuantity = 0; +var colors = []; +var original_url = window.location + ''; +var first_url_check = true; +var firstTime = true; +/* Retro compat from product.tpl */ +if (typeof customizationFields !== 'undefined' && customizationFields) +{ + var customizationFieldsBk = customizationFields; + customizationFields = []; + var j = 0; + for (var i = 0; i < customizationFieldsBk.length; ++i) + { + var key = 'pictures_' + parseInt(id_product) + '_' + parseInt(customizationFieldsBk[i]['id_customization_field']); + customizationFields[i] = []; + customizationFields[i][0] = (parseInt(customizationFieldsBk[i]['type']) == 0) ? 'img' + i : 'textField' + j++; + customizationFields[i][1] = (parseInt(customizationFieldsBk[i]['type']) == 0 && customizationFieldsBk[i][key]) ? 2 : parseInt(customizationFieldsBk[i]['required']); + } +} + +if (typeof combinationImages !== 'undefined' && combinationImages) +{ + combinationImagesJS = []; + combinationImagesJS[0] = []; + var k = 0; + for (var i in combinationImages) + { + combinationImagesJS[i] = []; + for (var j in combinationImages[i]) + { + var id_image = parseInt(combinationImages[i][j]['id_image']); + if (id_image) + { + combinationImagesJS[0][k++] = id_image; + combinationImagesJS[i][j] = []; + combinationImagesJS[i][j] = id_image; + } + } + } + + if (typeof combinationImagesJS[0] !== 'undefined' && combinationImagesJS[0]) + { + var array_values = []; + for (var key in arrayUnique(combinationImagesJS[0])) + array_values.push(combinationImagesJS[0][key]); + combinationImagesJS[0] = array_values; + } + combinationImages = combinationImagesJS; +} + +if (typeof combinations !== 'undefined' && combinations) +{ + combinationsJS = []; + var k = 0; + for (var i in combinations) + { + globalQuantity += combinations[i]['quantity']; + combinationsJS[k] = []; + combinationsJS[k]['idCombination'] = parseInt(i); + combinationsJS[k]['idsAttributes'] = combinations[i]['attributes']; + combinationsJS[k]['quantity'] = combinations[i]['quantity']; + combinationsJS[k]['price'] = combinations[i]['price']; + combinationsJS[k]['ecotax'] = combinations[i]['ecotax']; + combinationsJS[k]['image'] = parseInt(combinations[i]['id_image']); + combinationsJS[k]['reference'] = combinations[i]['reference']; + combinationsJS[k]['unit_price'] = combinations[i]['unit_impact']; + combinationsJS[k]['minimal_quantity'] = parseInt(combinations[i]['minimal_quantity']); + + combinationsJS[k]['available_date'] = []; + combinationsJS[k]['available_date']['date'] = combinations[i]['available_date']; + combinationsJS[k]['available_date']['date_formatted'] = combinations[i]['date_formatted']; + + combinationsJS[k]['specific_price'] = []; + combinationsJS[k]['specific_price']['reduction_percent'] = (combinations[i]['specific_price'] && combinations[i]['specific_price']['reduction'] && combinations[i]['specific_price']['reduction_type'] == 'percentage') ? combinations[i]['specific_price']['reduction'] * 100 : 0; + combinationsJS[k]['specific_price']['reduction_price'] = (combinations[i]['specific_price'] && combinations[i]['specific_price']['reduction'] && combinations[i]['specific_price']['reduction_type'] == 'amount') ? combinations[i]['specific_price']['reduction'] : 0; + combinationsJS[k]['price'] = (combinations[i]['specific_price'] && combinations[i]['specific_price']['price'] && parseInt(combinations[i]['specific_price']['price']) != -1) ? combinations[i]['specific_price']['price'] : combinations[i]['price']; + + combinationsJS[k]['reduction_type'] = (combinations[i]['specific_price'] && combinations[i]['specific_price']['reduction_type']) ? combinations[i]['specific_price']['reduction_type'] : ''; + combinationsJS[k]['id_product_attribute'] = (combinations[i]['specific_price'] && combinations[i]['specific_price']['id_product_attribute']) ? combinations[i]['specific_price']['id_product_attribute'] : 0; + k++; + } + combinations = combinationsJS; +} +/* */ + +$(document).ready(function() +{ + var url_found = checkUrl(); + //init the price in relation of the selected attributes + if (!url_found) + { + if (typeof productHasAttributes != 'undefined' && productHasAttributes) + findCombination(); + else + refreshProductImages(0); + } + + //initLocationChange(); + serialScrollSetNbImages(); + + //init the serialScroll for thumbs + if (!!$.prototype.serialScroll) + $('#thumbs_list').serialScroll({ + items:'li:visible', + prev:'#view_scroll_left', + next:'#view_scroll_right', + axis:'x', + offset:0, + start:0, + stop:true, + onBefore:serialScrollFixLock, + duration:700, + step: 2, + lazy: true, + lock: false, + force:false, + cycle:false + }); + + $('#thumbs_list').trigger('goto', 0); + + //set jqZoom parameters if needed + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + { + if ($('#thumbs_list .shown img').length) + { + var new_src = $('#thumbs_list .shown img').attr('src').replace('cart_', 'large_'); + if ($('.jqzoom img').attr('src')!= new_src) + $('.jqzoom img').attr('src', new_src).parent().attr('href', new_src); + } + + $('.jqzoom').jqzoom({ + zoomType: 'innerzoom', //innerzoom/standard/reverse/drag + zoomWidth: 458, //zooming div default width(default width value is 200) + zoomHeight: 458, //zooming div default width(default height value is 200) + xOffset: 21, //zooming div default offset(default offset value is 10) + yOffset: 0, + title: false + }); + + } + if (typeof(contentOnly) != 'undefined' && !contentOnly) + { + if (!!$.prototype.fancybox) + $('li:visible .fancybox, .fancybox.shown').fancybox({ + 'hideOnContentClick': true, + 'openEffect' : 'elastic', + 'closeEffect' : 'elastic' + }); + } + else if (typeof ajax_allowed != 'undefined' && !ajax_allowed) + $('#buy_block').attr('target', '_top'); + + if (!!$.prototype.bxSlider) + $('#bxslider').bxSlider({ + minSlides: 1, + maxSlides: 6, + slideWidth: 178, + slideMargin: 20, + pager: false, + nextText: '', + prevText: '', + moveSlides:1, + infiniteLoop:false, + hideControlOnEnd: true + }); + + if ($('#customizationForm').length) + { + var url = window.location + ''; + if (url.indexOf('#') != -1) + getProductAttribute(); + } + + $("#attributes select").each(function(){ + $(this).find('[selected=selected]').removeAttr('selected'); + $(this).find('[value='+$(this).val()+']').attr('selected','selected'); + $(this).next().html($(this).find('[selected=selected]').text()); + }); + +}); + +$(window).resize(function(){ + serialScrollSetNbImages(); + $('#thumbs_list').trigger('goto', 0); + serialScrollFixLock('', '', '', '', 0); +}); + +//hover 'other views' images management +$(document).on('click', '#thumbnail li a', function(){ + displayImage($(this)); +}); +//add a link on the span 'view full size' and on the big image +$(document).on('click', '#view_full_size, #image-block', function(e){ + $('#views_block .shown').click(); +}); +//catch the click on the "more infos" button at the top of the page +$(document).on('click', '#short_description_block .button', function(e){ + $('#more_info_tab_more_info').click(); + $.scrollTo( '#more_info_tabs', 1200 ); +}); +// Hide the customization submit button and display some message +$(document).on('click', '#customizedDatas input', function(e){ + $('#customizedDatas input').hide(); + $('#ajax-loader').fadeIn(); + $('#customizedDatas').append(uploading_in_progress); +}); + +$(document).on('click', 'a[name=resetImages]', function(e){ + e.preventDefault(); + refreshProductImages(0); +}); + +$(document).on('click', '.color_pick', function(e){ + e.preventDefault(); + colorPickerClick($(this)); + getProductAttribute(); +}); + +$(document).on('change', '.attribute_select', function(e){ + e.preventDefault(); + findCombination(); + getProductAttribute(); +}); + +$(document).on('click', '.attribute_radio', function(e){ + e.preventDefault(); + findCombination(); + getProductAttribute(); +}); + +$(document).on('click', 'button[name=saveCustomization]', function(e){ + saveCustomization(); +}); + +if (typeof ad !== 'undefined' && ad && typeof adtoken !== 'undefined' && adtoken) +{ + $(document).on('click', 'input[name=publish_button]', function(e){ + e.preventDefault(); + submitPublishProduct(ad, 0, adtoken); + }); + $(document).on('click', 'input[name=lnk_view]', function(e){ + e.preventDefault(); + submitPublishProduct(ad, 1, adtoken); + }); +} + +if (typeof(contentOnly) != 'undefined' && contentOnly) +{ + $(document).on('click', '.fancybox', function(e){ + e.preventDefault(); + }); + + $(document).on('click', '#image-block #bigpic', function(e){ + e.preventDefault(); + var productUrl = window.document.location.href + ''; + var data = productUrl.replace(/[\?|&]content_only=1/, ''); + + if (window.parent.page_name == 'search') + data += ((data.indexOf('?') < 0) ? '?' : '&') + 'HTTP_REFERER=' + encodeURIComponent(window.parent.document.location.href); + + window.parent.document.location.href = data; + return; + }); +} + +// The button to increment the product value +$(document).on('click', '.product_quantity_up', function(e){ + e.preventDefault(); + fieldName = $(this).data('field-qty'); + var currentVal = parseInt($('input[name='+fieldName+']').val()); + if (!allowBuyWhenOutOfStock && quantityAvailable > 0) + quantityAvailableT = quantityAvailable; + else + quantityAvailableT = 100000000; + if (!isNaN(currentVal) && currentVal < quantityAvailableT) + $('input[name='+fieldName+']').val(currentVal + 1).trigger('keyup'); + else + $('input[name='+fieldName+']').val(quantityAvailableT); +}); + // The button to decrement the product value +$(document).on('click', '.product_quantity_down', function(e){ + e.preventDefault(); + fieldName = $(this).data('field-qty'); + var currentVal = parseInt($('input[name='+fieldName+']').val()); + if (!isNaN(currentVal) && currentVal > 1) + $('input[name='+fieldName+']').val(currentVal - 1).trigger('keyup'); + else + $('input[name='+fieldName+']').val(1); +}); + +if (typeof minimalQuantity != 'undefined' && minimalQuantity) +{ + checkMinimalQuantity(); + $(document).on('keyup', 'input[name=qty]', function(e){ + checkMinimalQuantity(minimalQuantity); + }); +} + +function arrayUnique(a) +{ + return a.reduce(function(p, c){ + if (p.indexOf(c) < 0) + p.push(c); + return p; + }, []); +}; + +//check if a function exists +function function_exists(function_name) +{ + if (typeof function_name == 'string') + return (typeof window[function_name] == 'function'); + return (function_name instanceof Function); +} + +//execute oosHook js code +function oosHookJsCode() +{ + for (var i = 0; i < oosHookJsCodeFunctions.length; i++) + { + if (function_exists(oosHookJsCodeFunctions[i])) + setTimeout(oosHookJsCodeFunctions[i] + '()', 0); + } +} + +//add a combination of attributes in the global JS sytem +function addCombination(idCombination, arrayOfIdAttributes, quantity, price, ecotax, id_image, reference, unit_price, minimal_quantity, available_date, combination_specific_price) +{ + globalQuantity += quantity; + + var combination = []; + combination['idCombination'] = idCombination; + combination['quantity'] = quantity; + combination['idsAttributes'] = arrayOfIdAttributes; + combination['price'] = price; + combination['ecotax'] = ecotax; + combination['image'] = id_image; + combination['reference'] = reference; + combination['unit_price'] = unit_price; + combination['minimal_quantity'] = minimal_quantity; + combination['available_date'] = []; + combination['available_date'] = available_date; + combination['specific_price'] = []; + combination['specific_price'] = combination_specific_price; + combinations.push(combination); +} + +// search the combinations' case of attributes and update displaying of availability, prices, ecotax, and image +function findCombination() +{ + $('#minimal_quantity_wanted_p').fadeOut(); + if (typeof $('#minimal_quantity_label').text() === 'undefined' || $('#minimal_quantity_label').html() > 1) + $('#quantity_wanted').val(1); + + //create a temporary 'choice' array containing the choices of the customer + var choice = []; + var radio_inputs = parseInt($('#attributes .checked > input[type=radio]').length); + if (radio_inputs) + radio_inputs = '#attributes .checked > input[type=radio]'; + else + radio_inputs = '#attributes input[type=radio]:checked'; + + $('#attributes select, #attributes input[type=hidden], ' + radio_inputs).each(function(){ + choice.push(parseInt($(this).val())); + }); + + if (typeof combinations == 'undefined' || !combinations) + combinations = []; + //testing every combination to find the conbination's attributes' case of the user + for (var combination = 0; combination < combinations.length; ++combination) + { + //verify if this combinaison is the same that the user's choice + var combinationMatchForm = true; + $.each(combinations[combination]['idsAttributes'], function(key, value) + { + if (!in_array(parseInt(value), choice)) + combinationMatchForm = false; + }); + + if (combinationMatchForm) + { + if (combinations[combination]['minimal_quantity'] > 1) + { + $('#minimal_quantity_label').html(combinations[combination]['minimal_quantity']); + $('#minimal_quantity_wanted_p').fadeIn(); + $('#quantity_wanted').val(combinations[combination]['minimal_quantity']); + $('#quantity_wanted').bind('keyup', function() {checkMinimalQuantity(combinations[combination]['minimal_quantity']);}); + } + //combination of the user has been found in our specifications of combinations (created in back office) + selectedCombination['unavailable'] = false; + selectedCombination['reference'] = combinations[combination]['reference']; + $('#idCombination').val(combinations[combination]['idCombination']); + + + + //get the data of product with these attributes + + quantityAvailable = combinations[combination]['quantity']; + selectedCombination['price'] = combinations[combination]['price']; + selectedCombination['unit_price'] = combinations[combination]['unit_price']; + selectedCombination['specific_price'] = combinations[combination]['specific_price']; + if (combinations[combination]['ecotax']) + selectedCombination['ecotax'] = combinations[combination]['ecotax']; + else + selectedCombination['ecotax'] = default_eco_tax; + + //show the large image in relation to the selected combination + if (combinations[combination]['image'] && combinations[combination]['image'] != -1) + displayImage($('#thumb_' + combinations[combination]['image']).parent()); + + //show discounts values according to the selected combination + if (combinations[combination]['idCombination'] && combinations[combination]['idCombination'] > 0) + displayDiscounts(combinations[combination]['idCombination']); + + //get available_date for combination product + selectedCombination['available_date'] = combinations[combination]['available_date']; + + //update the display + updateDisplay(); + + if (firstTime) + { + refreshProductImages(0); + firstTime = false; + } + else + refreshProductImages(combinations[combination]['idCombination']); + //leave the function because combination has been found + return; + } + } + + //this combination doesn't exist (not created in back office) + selectedCombination['unavailable'] = true; + if (typeof(selectedCombination['available_date']) != 'undefined') + delete selectedCombination['available_date']; + + updateDisplay(); +} + +//update display of the availability of the product AND the prices of the product +function updateDisplay() +{ + var productPriceDisplay = productPrice; + var productPriceWithoutReductionDisplay = productPriceWithoutReduction; + + if (!selectedCombination['unavailable'] && quantityAvailable > 0 && productAvailableForOrder == 1) + { + //show the choice of quantities + $('#quantity_wanted_p:hidden').show('slow'); + + //show the "add to cart" button ONLY if it was hidden + $('#add_to_cart:hidden').fadeIn(600); + + //hide the hook out of stock + $('#oosHook').hide(); + + $('#availability_date').fadeOut(); + + //availability value management + if (stock_management && availableNowValue != '') + { + $('#availability_value').removeClass('warning_inline').text(availableNowValue).show(); + $('#availability_statut:hidden').show() + } + else + $('#availability_statut:visible').hide(); + + //'last quantities' message management + if (!allowBuyWhenOutOfStock) + { + if (quantityAvailable <= maxQuantityToAllowDisplayOfLastQuantityMessage) + $('#last_quantities').show('slow'); + else + $('#last_quantities').hide('slow'); + } + + if (quantitiesDisplayAllowed) + { + $('#pQuantityAvailable:hidden').show('slow'); + $('#quantityAvailable').text(quantityAvailable); + + if (quantityAvailable < 2) // we have 1 or less product in stock and need to show "item" instead of "items" + { + $('#quantityAvailableTxt').show(); + $('#quantityAvailableTxtMultiple').hide(); + } + else + { + $('#quantityAvailableTxt').hide(); + $('#quantityAvailableTxtMultiple').show(); + } + } + } + else + { + //show the hook out of stock + if (productAvailableForOrder == 1) + { + $('#oosHook').show(); + if ($('#oosHook').length > 0 && function_exists('oosHookJsCode')) + oosHookJsCode(); + } + + //hide 'last quantities' message if it was previously visible + $('#last_quantities:visible').hide('slow'); + + //hide the quantity of pieces if it was previously visible + $('#pQuantityAvailable:visible').hide('slow'); + + //hide the choice of quantities + if (!allowBuyWhenOutOfStock) + $('#quantity_wanted_p:visible').hide('slow'); + + //display that the product is unavailable with theses attributes + if (!selectedCombination['unavailable']) + { + $('#availability_value').text(doesntExistNoMore + (globalQuantity > 0 ? ' ' + doesntExistNoMoreBut : '')); + if (!allowBuyWhenOutOfStock) + $('#availability_value').addClass('warning_inline'); + } + else + { + $('#availability_value').text(doesntExist).addClass('warning_inline'); + $('#oosHook').hide(); + } + + if ((stock_management == 1 && !allowBuyWhenOutOfStock) || (!stock_management && selectedCombination['unavailable'])) + $('#availability_statut:hidden').show(); + + if (typeof(selectedCombination['available_date']) != 'undefined' && selectedCombination['available_date']['date'].length != 0) + { + var available_date = selectedCombination['available_date']['date']; + var tab_date = available_date.split('-'); + var time_available = new Date(tab_date[0], tab_date[1], tab_date[2]); + time_available.setMonth(time_available.getMonth()-1); + var now = new Date(); + if (now.getTime() < time_available.getTime() && $('#availability_date_value').text() != selectedCombination['available_date']['date_formatted']) + { + $('#availability_date').fadeOut('normal', function(){ + $('#availability_date_value').text(selectedCombination['available_date']['date_formatted']); + $(this).fadeIn(); + }); + } + else if (now.getTime() < time_available.getTime()) + $('#availability_date').fadeIn(); + } + else + $('#availability_date').fadeOut(); + + //show the 'add to cart' button ONLY IF it's possible to buy when out of stock AND if it was previously invisible + if (allowBuyWhenOutOfStock && !selectedCombination['unavailable'] && productAvailableForOrder) + { + $('#add_to_cart:hidden').fadeIn(600); + + if (stock_management && availableLaterValue != '') + $('#availability_value').removeClass('warning_inline').text(availableLaterValue).show('slow'); + else + $('#availability_statut:visible').hide('slow'); + } + else + { + if($('.extension').length == 0) + { + $('#add_to_cart:visible').fadeOut(600); + if (stock_management == 1 && productAvailableForOrder) + $('#availability_statut:hidden').show('slow'); + } + } + + if (productAvailableForOrder == 0) + $('#availability_statut:visible').hide(); + } + + if (selectedCombination['reference'] || productReference) + { + if (selectedCombination['reference']) + $('#product_reference span').text(selectedCombination['reference']); + else if (productReference) + $('#product_reference span').text(productReference); + $('#product_reference:hidden').show('slow'); + } + else + $('#product_reference:visible').hide('slow'); + + // If we have combinations, update price section: amounts, currency, discount amounts,... + if (productHasAttributes) + updatePrice(); +} + +function updatePrice() +{ + + // Get combination prices + var combID = $('#idCombination').val(); + var combination = combinationsFromController[combID]; + if (typeof combination == 'undefined') + return; + + // Set product (not the combination) base price + var basePriceWithoutTax = productBasePriceTaxExcl; + var priceWithGroupReductionWithoutTax = 0; + // Apply combination price impact + // 0 by default, +x if price is inscreased, -x if price is decreased + basePriceWithoutTax = basePriceWithoutTax + +combination.price; + + // If a specific price redefine the combination base price + if (combination.specific_price && combination.specific_price.price > 0) + { + if (combination.specific_price.id_product_attribute === 0) + basePriceWithoutTax = +combination.specific_price.price; + else + basePriceWithoutTax = +combination.specific_price.price + +combination.price; + } + // Apply group reduction + priceWithGroupReductionWithoutTax = basePriceWithoutTax * (1 - group_reduction); + var priceWithDiscountsWithoutTax = priceWithGroupReductionWithoutTax; + + // Apply specific price (discount) + // We only apply percentage discount and discount amount given before tax + // Specific price give after tax will be handled after taxes are added + if (combination.specific_price && combination.specific_price.reduction > 0) + { + if (combination.specific_price.reduction_type == 'amount') + { + if (typeof combination.specific_price.reduction_tax !== 'undefined' && combination.specific_price.reduction_tax === "0") + { + var reduction = +combination.specific_price.reduction / currencyRate; + priceWithDiscountsWithoutTax -= reduction; + } + } + else if (combination.specific_price.reduction_type == 'percentage') + { + priceWithDiscountsWithoutTax = priceWithDiscountsWithoutTax * (1 - +combination.specific_price.reduction); + } + } + + // Apply Tax if necessary + if (noTaxForThisProduct || customerGroupWithoutTax) + { + basePriceDisplay = basePriceWithoutTax; + priceWithDiscountsDisplay = priceWithDiscountsWithoutTax; + } + else + { + basePriceDisplay = basePriceWithoutTax * (taxRate/100 + 1); + priceWithDiscountsDisplay = priceWithDiscountsWithoutTax * (taxRate/100 + 1); + } + + if (default_eco_tax) + { + // combination.ecotax doesn't modify the price but only the display + basePriceDisplay = basePriceDisplay + default_eco_tax * (1 + ecotaxTax_rate / 100); + priceWithDiscountsDisplay = priceWithDiscountsDisplay + default_eco_tax * (1 + ecotaxTax_rate / 100); + } + + // If the specific price was given after tax, we apply it now + if (combination.specific_price && combination.specific_price.reduction > 0) + { + if (combination.specific_price.reduction_type == 'amount') + { + if (typeof combination.specific_price.reduction_tax === 'undefined' + || (typeof combination.specific_price.reduction_tax !== 'undefined' && combination.specific_price.reduction_tax === '1')) + { + var reduction = +combination.specific_price.reduction / currencyRate; + priceWithDiscountsDisplay -= reduction; + // We recalculate the price without tax in order to keep the data consistency + priceWithDiscountsWithoutTax = priceWithDiscountsDisplay - reduction * ( 1/(1+taxRate/100) ); + } + } + } + + // Compute discount value and percentage + // Done just before display update so we have final prices + if (basePriceDisplay != priceWithDiscountsDisplay) + { + var discountValue = basePriceDisplay - priceWithDiscountsDisplay; + var discountPercentage = (1-(priceWithDiscountsDisplay/basePriceDisplay))*100; + } + + + var unit_impact = +combination.unit_impact; + if (productUnitPriceRatio > 0 || unit_impact) + { + if (unit_impact) + { + baseUnitPrice = productBasePriceTaxExcl / productUnitPriceRatio; + unit_price = baseUnitPrice + unit_impact; + + if (!noTaxForThisProduct || !customerGroupWithoutTax) + unit_price = unit_price * (taxRate/100 + 1); + } + else + unit_price = priceWithDiscountsDisplay / productUnitPriceRatio; + } + + /* Update the page content, no price calculation happens after */ + + // Hide everything then show what needs to be shown + $('#reduction_percent').hide(); + $('#reduction_amount').hide(); + $('#old_price,#old_price_display,#old_price_display_taxes').hide(); + $('.price-ecotax').hide(); + $('.unit-price').hide(); + + price = priceWithDiscountsDisplay * currencyRate; + oldPrice = basePriceDisplay * currencyRate; + + $('.current-price').text(formatCurrency(price, currencyFormat, currencySign, currencyBlank)).trigger('change'); + + // If the calculated price (after all discounts) is different than the base price + // we show the old price striked through + if (priceWithDiscountsDisplay.toFixed(2) != basePriceDisplay.toFixed(2)) + { + $('.old-price .barre').text(formatCurrency(oldPrice, currencyFormat, currencySign, currencyBlank)); + + // Then if it's not only a group reduction we display the discount in red box + if (priceWithDiscountsWithoutTax != priceWithGroupReductionWithoutTax) + { + percent = combination.specific_price.reduction_type == 'amount' ? Math.round((100 - (price * 100 / oldPrice))) : combination.specific_price.reduction * 100; + $('.product-reduction span').html(percent); + } + } + + // Green Tax (Eco tax) + // Update display of Green Tax + if (default_eco_tax) + { + ecotax = default_eco_tax; + + // If the default product ecotax is overridden by the combination + if (combination.ecotax) + ecotax = +combination.ecotax; + + if (!noTaxForThisProduct) + ecotax = ecotax * (1 + ecotaxTax_rate/100) + + $('#ecotax_price_display').text(formatCurrency(ecotax * currencyRate, currencyFormat, currencySign, currencyBlank)); + $('.price-ecotax').show(); + } + + // Unit price are the price per piece, per Kg, per m² + // It doesn't modify the price, it's only for display + if (productUnitPriceRatio > 0) + { + $('#unit_price_display').text(formatCurrency(unit_price * currencyRate, currencyFormat, currencySign, currencyBlank)); + $('.unit-price').show(); + } + + // If there is a quantity discount table, + // we update it according to the new price + updateDiscountTable(priceWithDiscountsDisplay); +} + +//update display of the large image +function displayImage(domAAroundImgThumb, no_animation) +{ + if (typeof(no_animation) == 'undefined') + no_animation = false; + if (domAAroundImgThumb.attr('href')) + { + var new_src = domAAroundImgThumb.attr('href').replace('thickbox', 'large'); + var new_title = domAAroundImgThumb.attr('title'); + var new_href = domAAroundImgThumb.attr('href'); + if ($('#bigpic').attr('src') != new_src) + { + $('#bigpic').attr({ + 'src' : new_src, + 'alt' : new_title, + 'title' : new_title + }).load(function(){ + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + $(this).attr('rel', new_href); + }); + } + $('#views_block li a').removeClass('shown'); + $(domAAroundImgThumb).addClass('shown'); + } +} + +//update display of the discounts table +function displayDiscounts(combination) +{ + $('#quantityDiscount tbody tr').each(function(){ + if (($(this).attr('id') != 'quantityDiscount_0') && + ($(this).attr('id') != 'quantityDiscount_' + combination) && + ($(this).attr('id') != 'noQuantityDiscount')) + $(this).fadeOut('slow'); + }); + + if ($('#quantityDiscount_' + combination+',.quantityDiscount_' + combination).length != 0 + || $('#quantityDiscount_0,.quantityDiscount_0').length != 0) + { + $('#quantityDiscount').parent().show(); + $('#quantityDiscount_' + combination+',.quantityDiscount_' + combination).show(); + $('#noQuantityDiscount').hide(); + } + else + { + $('#quantityDiscount').parent().hide(); + $('#noQuantityDiscount').show(); + } +} + +function updateDiscountTable(newPrice) +{ + $('#quantityDiscount tbody tr').each(function(){ + var type = $(this).data("discount-type"); + var discount = $(this).data("discount"); + var quantity = $(this).data("discount-quantity"); + + if (type == 'percentage') + { + var discountedPrice = newPrice * (1 - discount/100); + var discountUpTo = newPrice * (discount/100) * quantity; + } + else if (type == 'amount') + { + var discountedPrice = newPrice - discount; + var discountUpTo = discount * quantity; + } + + if (displayDiscountPrice != 0) + $(this).children('td').eq(1).text( formatCurrency(discountedPrice * currencyRate, currencyFormat, currencySign, currencyBlank) ); + $(this).children('td').eq(2).text(upToTxt + ' ' + formatCurrency(discountUpTo * currencyRate, currencyFormat, currencySign, currencyBlank)); + }); +} + +function serialScrollFixLock(event, targeted, scrolled, items, position) +{ + return true; +} + +function serialScrollSetNbImages() +{ + +} + + +// Change the current product images regarding the combination selected +function refreshProductImages(id_product_attribute) +{ + id_product_attribute = parseInt(id_product_attribute); + + if (id_product_attribute > 0 && typeof(combinationImages) != 'undefined' && typeof(combinationImages[id_product_attribute]) != 'undefined') + { + $('#thumbs_list li').hide(); + for (var i = 0; i < combinationImages[id_product_attribute].length; i++) + if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) + $('#thumbnail_' + parseInt(combinationImages[id_product_attribute][i])).show().children('a.shown').trigger('click'); + else + $('#thumbnail_' + parseInt(combinationImages[id_product_attribute][i])).show(); + } + else + $('#thumbs_list li').show(); + + if (parseInt($('#thumbs_list_frame >li:visible').length) != parseInt($('#thumbs_list_frame >li').length)) + $('#wrapResetImages').stop(true, true).show(); + else + $('#wrapResetImages').stop(true, true).hide(); + + $('#thumbs_list').trigger('goto', 0); + serialScrollFixLock('', '', '', '', 0); +} + +function saveCustomization() +{ + $('#quantityBackup').val($('#quantity_wanted').val()); + $('#customizationForm').submit(); +} + +function submitPublishProduct(url, redirect, token) +{ + var id_product = $('#admin-action-product-id').val(); + + $.ajaxSetup({async: false}); + $.post(url + '/index.php', { + action:'publishProduct', + id_product: id_product, + status: 1, + redirect: redirect, + ajax: 1, + tab: 'AdminProducts', + token: token + }, + function(data) + { + if (data.indexOf('error') === -1) + document.location.href = data; + } + ); + return true; +} + +function checkMinimalQuantity(minimal_quantity) +{ + if ($('#quantity_wanted').val() < minimal_quantity) + { + $('#quantity_wanted').css('border', '1px solid red'); + $('#minimal_quantity_wanted_p').css('color', 'red'); + } + else + { + $('#quantity_wanted').css('border', '1px solid #BDC2C9'); + $('#minimal_quantity_wanted_p').css('color', '#374853'); + } +} + +function colorPickerClick(elt) +{ + id_attribute = $(elt).attr('id').replace('color_', ''); + $(elt).parent().parent().children().removeClass('selected'); + $(elt).fadeTo('fast', 1, function(){ + $(this).fadeTo('fast', 0, function(){ + $(this).fadeTo('fast', 1, function(){ + $(this).parent().addClass('selected'); + }); + }); + }); + $(elt).parent().parent().parent().children('.color_pick_hidden').val(id_attribute); + findCombination(); +} + + +function getProductAttribute() +{ + // get every attributes values + request = ''; + //create a temporary 'tab_attributes' array containing the choices of the customer + var tab_attributes = []; + var radio_inputs = parseInt($('#attributes .checked > input[type=radio]').length); + if (radio_inputs) + radio_inputs = '#attributes .checked > input[type=radio]'; + else + radio_inputs = '#attributes input[type=radio]:checked'; + + $('#attributes select, #attributes input[type=hidden], ' + radio_inputs).each(function(){ + tab_attributes.push($(this).val()); + }); + + // build new request + for (var i in attributesCombinations) + for (var a in tab_attributes) + if (attributesCombinations[i]['id_attribute'] === tab_attributes[a]) + request += '/'+attributesCombinations[i]['group'] + attribute_anchor_separator + attributesCombinations[i]['attribute']; + request = request.replace(request.substring(0, 1), '#/'); + var url = window.location + ''; + + // redirection + if (url.indexOf('#') != -1) + url = url.substring(0, url.indexOf('#')); + + if ($('#customizationForm').length) + { + // set ipa to the customization form + customAction = $('#customizationForm').attr('action'); + if (customAction.indexOf('#') != -1) + customAction = customAction.substring(0, customAction.indexOf('#')); + $('#customizationForm').attr('action', customAction + request); + } + + window.location = url + request; +} + +function initLocationChange(time) +{ + if (!time) time = 500; + setInterval(checkUrl, time); +} + +function checkUrl() +{ + if (original_url != window.location || first_url_check) + { + first_url_check = false; + var url = window.location + ''; + // if we need to load a specific combination + if (url.indexOf('#/') != -1) + { + // get the params to fill from a "normal" url + params = url.substring(url.indexOf('#') + 1, url.length); + tabParams = params.split('/'); + tabValues = []; + if (tabParams[0] == '') + tabParams.shift(); + for (var i in tabParams) + tabValues.push(tabParams[i].split(attribute_anchor_separator)); + // fill html with values + $('.color_pick').removeClass('selected').parent().parent().children().removeClass('selected'); + + count = 0; + for (var z in tabValues) + for (var a in attributesCombinations) + if (attributesCombinations[a]['group'] === decodeURIComponent(tabValues[z][0]) + && attributesCombinations[a]['attribute'] === decodeURIComponent(tabValues[z][1])) + { + count++; + + // add class 'selected' to the selected color + $('#color_' + attributesCombinations[a]['id_attribute']).addClass('selected').parent().addClass('selected'); + $('input:radio[value=' + attributesCombinations[a]['id_attribute'] + ']').attr('checked', true); + $('input[type=hidden][name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']); + $('select[name=group_' + attributesCombinations[a]['id_attribute_group'] + ']').val(attributesCombinations[a]['id_attribute']); + } + // find combination and select corresponding thumbs + if (count >= 0) + { + firstTime = false; + findCombination(); + original_url = url; + return true; + } + // no combination found = removing attributes from url + else + window.location = url.substring(0, url.indexOf('#')); + } + } + return false; +} + + +function stackProductMenu() +{ + + $(document).on('click', '.product-menu li a', function(e) { + e.preventDefault(); + + $that = $(this); + $targetBlock = $($that.attr('href')); + $targetPosition = $targetBlock.offset().top - 115; // - la hauteur de la barre de navigation + marginTop de la div cible + + $('html, body').animate({ scrollTop : $targetPosition }); + }); + + + getElementsPosition(); + $menuProduit = $('.product-menu'); + + $(window).scroll(function() { + if(typeof($position) !== 'undefined') + { + $windowTop = $(this).scrollTop(); + if($windowTop > $scrollStart) + { + $menuProduit.addClass('stack'); + + $menuProduit.find('a.active').removeClass('active'); + if($windowTop > $position[0][0] && $windowTop < $position[1][0]) + { + $menuProduit.find('a[href="#'+$position[0][1]+'"]').addClass('active'); + } + else if(typeof($position[2]) !== 'undefined' && $windowTop > $position[1][0] && $windowTop < $position[2][0]) + { + $menuProduit.find('a[href="#'+$position[1][1]+'"]').addClass('active'); + } + else if(typeof($position[3]) !== 'undefined' && $windowTop > $position[2][0] && $windowTop < $position[3][0]) + { + $menuProduit.find('a[href="#'+$position[2][1]+'"]').addClass('active'); + } + else if(typeof($position[4]) !== 'undefined' && $windowTop > $position[3][0] && $windowTop < $position[4][0]) + { + $menuProduit.find('a[href="#'+$position[3][1]+'"]').addClass('active'); + } + else if(typeof($position[5]) !== 'undefined' && $windowTop > $position[4][0] && $windowTop < $position[5][0]) + { + $menuProduit.find('a[href="#'+$position[4][1]+'"]').addClass('active'); + } + else if(typeof($position[6]) !== 'undefined' && $windowTop > $position[5][0] && $windowTop < $position[6][0]) + { + $menuProduit.find('a[href="#'+$position[5][1]+'"]').addClass('active'); + } + else + { + $menuProduit.find('a[href="#'+$position[$position.length-1][1]+'"]').addClass('active') + } + } + else + { + $menuProduit.removeClass('stack'); + $menuProduit.find('a.active').removeClass('active'); + } + } + }) + + $(window).resize(function() { + getElementsPosition(); + }) +} + +function getElementsPosition() +{ + $scrollStart = $('#description').offset().top - 85 ; + $position = Array(); + + $blocksProduct = $('.tab-title'); + $blocksProduct.each(function(key, el) { + $index = $(el).attr('id'); + $position.push(Array($('#'+$index).offset().top - 85, $index)); + }); +} \ No newline at end of file diff --git a/themes/toutpratique/js/products-comparison.js b/themes/toutpratique/js/products-comparison.js new file mode 100644 index 00000000..6b22d5c9 --- /dev/null +++ b/themes/toutpratique/js/products-comparison.js @@ -0,0 +1,143 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + $(document).on('click', '.add_to_compare', function(e){ + e.preventDefault(); + if (typeof addToCompare != 'undefined') + addToCompare(parseInt($(this).data('id-product'))); + }); + + reloadProductComparison(); + compareButtonsStatusRefresh(); + totalCompareButtons(); +}); + +function addToCompare(productId) +{ + var totalValueNow = parseInt($('.bt_compare').next('.compare_product_count').val()); + var action, totalVal; + if ($.inArray(parseInt(productId),comparedProductsIds) === -1) + action = 'add'; + else + action = 'remove'; + + $.ajax({ + url: baseUri + 'index.php?controller=products-comparison&ajax=1&action=' + action + '&id_product=' + productId, + async: true, + cache: false, + success: function(data) { + if (action === 'add' && comparedProductsIds.length < comparator_max_item) { + comparedProductsIds.push(parseInt(productId)), + compareButtonsStatusRefresh(), + totalVal = totalValueNow +1, + $('.bt_compare').next('.compare_product_count').val(totalVal), + totalValue(totalVal); + } + else if (action === 'remove') { + comparedProductsIds.splice($.inArray(parseInt(productId), comparedProductsIds), 1), + compareButtonsStatusRefresh(), + totalVal = totalValueNow -1, + $('.bt_compare').next('.compare_product_count').val(totalVal), + totalValue(totalVal); + } + else + { + if (!!$.prototype.fancybox) + $.fancybox.open([{ + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + max_item + '

      ' + }], { + padding: 0 + }); + else + alert(max_item); + } + totalCompareButtons(); + }, + error: function(){} + }); +} + +function reloadProductComparison() +{ + $(document).on('click', 'a.cmp_remove', function(e){ + e.preventDefault(); + var idProduct = parseInt($(this).data('id-product')); + $.ajax({ + url: baseUri + 'index.php?controller=products-comparison&ajax=1&action=remove&id_product=' + idProduct, + async: false, + cache: false + }); + $('td.product-' + idProduct).fadeOut(600); + + var compare_product_list = get('compare_product_list'); + var bak = compare_product_list; + var new_compare_product_list = []; + compare_product_list = decodeURIComponent(compare_product_list).split('|'); + for (var i in compare_product_list) + if (parseInt(compare_product_list[i]) != idProduct) + new_compare_product_list.push(compare_product_list[i]); + if (new_compare_product_list.length) + window.location.search = window.location.search.replace(bak, new_compare_product_list.join(encodeURIComponent('|'))); + }); +}; + +function compareButtonsStatusRefresh() +{ + $('.add_to_compare').each(function() { + if ($.inArray(parseInt($(this).data('id-product')), comparedProductsIds) !== -1) + $(this).addClass('checked'); + else + $(this).removeClass('checked'); + }); +} + +function totalCompareButtons() +{ + var totalProductsToCompare = parseInt($('.bt_compare .total-compare-val').html()); + if (typeof totalProductsToCompare !== "number" || totalProductsToCompare === 0) + $('.bt_compare').attr("disabled",true); + else + $('.bt_compare').attr("disabled",false); +} + +function totalValue(value) +{ + $('.bt_compare').find('.total-compare-val').html(value); +} + +function get(name) +{ + var regexS = "[\\?&]" + name + "=([^&#]*)"; + var regex = new RegExp(regexS); + var results = regex.exec(window.location.search); + + if (results == null) + return ""; + else + return results[1]; +} diff --git a/themes/toutpratique/js/scenes.js b/themes/toutpratique/js/scenes.js new file mode 100644 index 00000000..bd025be3 --- /dev/null +++ b/themes/toutpratique/js/scenes.js @@ -0,0 +1,112 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +//global variables +var nb_move_available = null; +var current_move = 0; +var next_scene_is_at_right = true; + +$(document).ready(function(){ + /* calcul nb of click to see every scenes */ + var ul_width = parseInt($('#scenes_list ul').width()); + var div_width = parseInt($('#scenes_list').width()); + nb_move_available = Math.ceil((ul_width-div_width)/ul_width)+1; + if (nb_move_available < 2) + $('#scenes .next').hide(); + + /* set serialscroll parameters */ + $('#scenes_list').serialScroll({ + items:'a', + duration:1000, + lock:false, + axis:'x', + cycle:false, + force:true, + lazy:true, + step:1, + onBefore:onSceneMove + }); + + $('#scenes_list').trigger( 'goto', 0); + + $('#scenes .popover-button').each(function(){ + var id_product_scene = $(this).data('id_product_scene'); + if (id_product_scene) + { + $(this).click(function(e){ + e.preventDefault(); + }); + var htmlContent = $('#scene_products_cluetip_' + id_product_scene).html(); + $(this).popover({ + placement : 'bottom', //placement of the popover. also can use top, bottom, left or right + trigger:'hover', + title : false, //this is the top title bar of the popover. add some basic css + html: 'true', //needed to show html of course + content : htmlContent //this is the content of the html box. add the image here or anything you want really. + }); + } + }); + + $(document).on('click', '.prev', function(e){ + e.preventDefault(); + next_scene_is_at_right = false; + $(this).parent().next().trigger('stop').trigger('prev'); + }); + + $(document).on('click', '.prev', function(e){ + e.preventDefault(); + next_scene_is_at_right = true; + $(this).parent().prev().trigger('stop').trigger('next'); + }); + + $(document).on('click', '.scene_thumb', function(e){ + e.preventDefault(); + loadScene($(this).date('id_scene')); + }); +}); + +function loadScene(id_scene) +{ + $('#scenes').find('.screen_scene:visible').fadeTo(300, 0, function(){ + $(this).hide(); + $('#scenes').find('#screen_scene_' + id_scene).css('opacity', '0').show().fadeTo(500, 1); + }); +} + +function onSceneMove() +{ + if (next_scene_is_at_right) + current_move++; + else + current_move--; + if (current_move === nb_move_available - 1) + $('#scenes .next').fadeOut(); + else + $('#scenes .next:hidden').fadeIn().css('display','block'); + if (current_move === 0) + $('#scenes .prev').fadeOut().css('display','block'); + else + $('#scenes .prev').fadeIn().css('display','block'); + return true; +} diff --git a/themes/toutpratique/js/stores.js b/themes/toutpratique/js/stores.js new file mode 100644 index 00000000..127c4738 --- /dev/null +++ b/themes/toutpratique/js/stores.js @@ -0,0 +1,248 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + map = new google.maps.Map(document.getElementById('map'), { + center: new google.maps.LatLng(defaultLat, defaultLong), + zoom: 10, + mapTypeId: 'roadmap', + mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU} + }); + infoWindow = new google.maps.InfoWindow(); + + locationSelect = document.getElementById('locationSelect'); + locationSelect.onchange = function() { + var markerNum = locationSelect.options[locationSelect.selectedIndex].value; + if (markerNum !== 'none') + google.maps.event.trigger(markers[markerNum], 'click'); + }; + + $('#addressInput').keypress(function(e) { + code = e.keyCode ? e.keyCode : e.which; + if(code.toString() === 13) + searchLocations(); + }); + + $(document).on('click', 'input[name=location]', function(e){ + e.preventDefault(); + $(this).val(''); + }); + + $(document).on('click', 'button[name=search_locations]', function(e){ + e.preventDefault(); + searchLocations(); + }); + + initMarkers(); +}); + +function initMarkers() +{ + searchUrl += '?ajax=1&all=1'; + downloadUrl(searchUrl, function(data) { + var xml = parseXml(data); + var markerNodes = xml.documentElement.getElementsByTagName('marker'); + var bounds = new google.maps.LatLngBounds(); + for (var i = 0; i < markerNodes.length; i++) + { + var name = markerNodes[i].getAttribute('name'); + var address = markerNodes[i].getAttribute('address'); + var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); + var other = markerNodes[i].getAttribute('other'); + var id_store = markerNodes[i].getAttribute('id_store'); + var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); + var latlng = new google.maps.LatLng( + parseFloat(markerNodes[i].getAttribute('lat')), + parseFloat(markerNodes[i].getAttribute('lng'))); + createMarker(latlng, name, address, other, id_store, has_store_picture); + bounds.extend(latlng); + } + map.fitBounds(bounds); + var zoomOverride = map.getZoom(); + if(zoomOverride > 10) + zoomOverride = 10; + map.setZoom(zoomOverride); + }); +} + +function searchLocations() +{ + $('#stores_loader').show(); + var address = document.getElementById('addressInput').value; + var geocoder = new google.maps.Geocoder(); + geocoder.geocode({address: address}, function(results, status) { + if (status === google.maps.GeocoderStatus.OK) + searchLocationsNear(results[0].geometry.location); + else + { + if (!!$.prototype.fancybox && isCleanHtml(address)) + $.fancybox.open([ + { + type: 'inline', + autoScale: true, + minHeight: 30, + content: '

      ' + address + ' ' + translation_6 + '

      ' + } + ], { + padding: 0 + }); + else + alert(address + ' ' + translation_6); + } + $('#stores_loader').hide(); + }); +} + +function clearLocations(n) +{ + infoWindow.close(); + for (var i = 0; i < markers.length; i++) + markers[i].setMap(null); + + markers.length = 0; + + locationSelect.innerHTML = ''; + var option = document.createElement('option'); + option.value = 'none'; + if (!n) + option.innerHTML = translation_1; + else + { + if (n === 1) + option.innerHTML = '1'+' '+translation_2; + else + option.innerHTML = n+' '+translation_3; + } + locationSelect.appendChild(option); + $('#stores-table tr.node').remove(); +} + +function searchLocationsNear(center) +{ + var radius = document.getElementById('radiusSelect').value; + var searchUrl = baseUri+'?controller=stores&ajax=1&latitude=' + center.lat() + '&longitude=' + center.lng() + '&radius=' + radius; + downloadUrl(searchUrl, function(data) { + var xml = parseXml(data); + var markerNodes = xml.documentElement.getElementsByTagName('marker'); + var bounds = new google.maps.LatLngBounds(); + + clearLocations(markerNodes.length); + $('table#stores-table').find('tbody tr').remove(); + for (var i = 0; i < markerNodes.length; i++) + { + var name = markerNodes[i].getAttribute('name'); + var address = markerNodes[i].getAttribute('address'); + var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); + var other = markerNodes[i].getAttribute('other'); + var distance = parseFloat(markerNodes[i].getAttribute('distance')); + var id_store = parseFloat(markerNodes[i].getAttribute('id_store')); + var phone = markerNodes[i].getAttribute('phone'); + var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); + var latlng = new google.maps.LatLng( + parseFloat(markerNodes[i].getAttribute('lat')), + parseFloat(markerNodes[i].getAttribute('lng'))); + + createOption(name, distance, i); + createMarker(latlng, name, address, other, id_store, has_store_picture); + bounds.extend(latlng); + address = address.replace(phone, ''); + + $('table#stores-table').find('tbody').append(''+parseInt(i + 1)+''+(has_store_picture == 1 ? '' : '')+''+name+''+address+(phone !== '' ? ''+translation_4+' '+phone : '')+''+distance+' '+distance_unit+''); + $('#stores-table').show(); + } + + if (markerNodes.length) + { + map.fitBounds(bounds); + var listener = google.maps.event.addListener(map, "idle", function() { + if (map.getZoom() > 13) map.setZoom(13); + google.maps.event.removeListener(listener); + }); + } + locationSelect.style.visibility = 'visible'; + $(locationSelect).parent().parent().addClass('active').show(); + locationSelect.onchange = function() { + var markerNum = locationSelect.options[locationSelect.selectedIndex].value; + google.maps.event.trigger(markers[markerNum], 'click'); + }; + }); +} + +function createMarker(latlng, name, address, other, id_store, has_store_picture) +{ + var html = ''+name+'
      '+address+(has_store_picture === 1 ? '

      ' : '')+other+'
      '+translation_5+'<\/a>'; + var image = new google.maps.MarkerImage(img_ps_dir+logo_store); + var marker = ''; + + if (hasStoreIcon) + marker = new google.maps.Marker({ map: map, icon: image, position: latlng }); + else + marker = new google.maps.Marker({ map: map, position: latlng }); + google.maps.event.addListener(marker, 'click', function() { + infoWindow.setContent(html); + infoWindow.open(map, marker); + }); + markers.push(marker); +} + +function createOption(name, distance, num) +{ + var option = document.createElement('option'); + option.value = num; + option.innerHTML = name+' ('+distance.toFixed(1)+' '+distance_unit+')'; + locationSelect.appendChild(option); +} + +function downloadUrl(url, callback) +{ + var request = window.ActiveXObject ? + new ActiveXObject('Microsoft.XMLHTTP') : + new XMLHttpRequest(); + + request.onreadystatechange = function() { + if (request.readyState === 4) { + request.onreadystatechange = doNothing; + callback(request.responseText, request.status); + } + }; + + request.open('GET', url, true); + request.send(null); +} + +function parseXml(str) +{ + if (window.ActiveXObject) + { + var doc = new ActiveXObject('Microsoft.XMLDOM'); + doc.loadXML(str); + return doc; + } + else if (window.DOMParser) + return (new DOMParser()).parseFromString(str, 'text/xml'); +} + +function doNothing() +{ +} \ No newline at end of file diff --git a/themes/toutpratique/js/tools/index.php b/themes/toutpratique/js/tools/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/js/tools/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/js/tools/statesManagement.js b/themes/toutpratique/js/tools/statesManagement.js new file mode 100644 index 00000000..29c877bf --- /dev/null +++ b/themes/toutpratique/js/tools/statesManagement.js @@ -0,0 +1,135 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +//global variables +var countriesNeedIDNumber = []; +var countriesNeedZipCode = []; + +$(document).ready(function(){ + setCountries(); + bindPostcode(); +}); + +function setCountries() +{ + if (typeof countries !== 'undefined' && countries) + { + var countriesPS = []; + for (var i in countries) + { + var id_country = countries[i]['id_country']; + if (typeof countries[i]['states'] !== 'undefined' && countries[i]['states'] && countries[i]['contains_states']) + { + countriesPS[id_country] = []; + for (var j in countries[i]['states']) + countriesPS[parseInt(id_country)].push({'id' : parseInt(countries[i]['states'][j]['id_state']), 'name' : countries[i]['states'][j]['name']}); + } + if (typeof countries[i]['need_identification_number'] !== 'undefined' && parseInt(countries[i]['need_identification_number']) > 0) + countriesNeedIDNumber.push(parseInt(countries[i]['id_country'])); + if (typeof countries[i]['need_zip_code'] !== 'undefined' && parseInt(countries[i]['need_zip_code']) > 0) + countriesNeedZipCode[parseInt(countries[i]['id_country'])] = countries[i]['zip_code_format']; + } + } + countries = countriesPS; +} + +function bindPostcode() +{ + $(document).on('keyup', 'input[name=postcode]', function(e) + { + $(this).val($(this).val().toUpperCase()); + }); +} + +function bindStateInputAndUpdate() +{ + $('.id_state, .dni, .postcode').css({'display':'none'}); + updateState(); + updateNeedIDNumber(); + updateZipCode(); + + $(document).on('change', '#id_country', function(e) + { + updateState(); + updateNeedIDNumber(); + updateZipCode(); + }); + + if ($('#id_country_invoice').length !== 0) + { + $(document).on('change', '#id_country_invoice', function(e) + { + updateState('invoice'); + updateNeedIDNumber('invoice'); + updateZipCode('invoice'); + }); + updateState('invoice'); + updateNeedIDNumber('invoice'); + updateZipCode('invoice'); + } + + if (typeof idSelectedState !== 'undefined' && idSelectedState) + $('.id_state option[value=' + idSelectedState + ']').prop('selected', true); + if (typeof idSelectedStateInvoice !== 'undefined' && idSelectedStateInvoice) + $('.id_state_invoice option[value=' + idSelectedStateInvoice + ']').prop('selected', true); +} + +function updateState(suffix) +{ + $('#id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '')+' option:not(:first-child)').remove(); + if (typeof countries !== 'undefined') + var states = countries[parseInt($('#id_country' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).val())]; + if (typeof states !== 'undefined') + { + $(states).each(function(key, item){ + $('#id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).append(''); + }); + + $('.id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '') + ':hidden').fadeIn('slow'); + } + else + $('.id_state' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).fadeOut('fast'); +} + +function updateNeedIDNumber(suffix) +{ + var idCountry = parseInt($('#id_country' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).val()); + if (typeof countriesNeedIDNumber !== 'undefined' && in_array(idCountry, countriesNeedIDNumber)) + { + $('.dni' + (typeof suffix !== 'undefined' ? '_' + suffix : '') + ':hidden').fadeIn('slow'); + } + else + $('.dni' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).fadeOut('fast'); +} + +function updateZipCode(suffix) +{ + var idCountry = parseInt($('#id_country' + (typeof suffix !== 'undefined' ? '_' + suffix : '')).val()); + if (typeof countriesNeedZipCode !== 'undefined' && typeof countriesNeedZipCode[idCountry] !== 'undefined') + { + $('.postcode' + (typeof suffix !== 'undefined' ? '_' + suffix : '') + ':hidden').fadeIn('slow'); + } + else + $('.postcode'+(typeof suffix !== 'undefined' ? '_' + suffix : '')).fadeOut('fast'); +} \ No newline at end of file diff --git a/themes/toutpratique/js/tools/treeManagement.js b/themes/toutpratique/js/tools/treeManagement.js new file mode 100644 index 00000000..57b9f32b --- /dev/null +++ b/themes/toutpratique/js/tools/treeManagement.js @@ -0,0 +1,85 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + $('ul.tree.dhtml').hide(); + + //to do not execute this script as much as it's called... + if(!$('ul.tree.dhtml').hasClass('dynamized')) + { + //add growers to each ul.tree elements + $('ul.tree.dhtml ul').prev().before(" "); + + //dynamically add the '.last' class on each last item of a branch + $('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last'); + + //collapse every expanded branch + $('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide(); + $('ul.tree.dhtml').show(); + + //open the tree for the selected branch + $('ul.tree.dhtml .selected').parents().each( function() { + if ($(this).is('ul')) + toggleBranch($(this).prev().prev(), true); + }); + toggleBranch( $('ul.tree.dhtml .selected').prev(), true); + + //add a fonction on clicks on growers + $('ul.tree.dhtml span.grower').click(function(){ + toggleBranch($(this)); + }); + //mark this 'ul.tree' elements as already 'dynamized' + $('ul.tree.dhtml').addClass('dynamized'); + + $('ul.tree.dhtml').removeClass('dhtml'); + } +}); + +//animate the opening of the branch (span.grower jQueryElement) +function openBranch(jQueryElement, noAnimation) +{ + jQueryElement.addClass('OPEN').removeClass('CLOSE'); + if(noAnimation) + jQueryElement.parent().find('ul:first').show(); + else + jQueryElement.parent().find('ul:first').slideDown(); +} +//animate the closing of the branch (span.grower jQueryElement) +function closeBranch(jQueryElement, noAnimation) +{ + jQueryElement.addClass('CLOSE').removeClass('OPEN'); + if(noAnimation) + jQueryElement.parent().find('ul:first').hide(); + else + jQueryElement.parent().find('ul:first').slideUp(); +} + +//animate the closing or opening of the branch (ul jQueryElement) +function toggleBranch(jQueryElement, noAnimation) +{ + if(jQueryElement.hasClass('OPEN')) + closeBranch(jQueryElement, noAnimation); + else + openBranch(jQueryElement, noAnimation); +} \ No newline at end of file diff --git a/themes/toutpratique/js/tools/vatManagement.js b/themes/toutpratique/js/tools/vatManagement.js new file mode 100644 index 00000000..326ea2a8 --- /dev/null +++ b/themes/toutpratique/js/tools/vatManagement.js @@ -0,0 +1,86 @@ +/* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ +$(document).ready(function(){ + vat_number(); + vat_number_ajax(); + + $(document).on('input', '#company, #company_invoice', function(){ + vat_number(); + }); +}); + +function vat_number() +{ + if ($('#company').length && ($('#company').val() != '')) + $('#vat_number, #vat_number_block').show(); + else + $('#vat_number, #vat_number_block').hide(); + + if ($('#company_invoice').length && ($('#company_invoice').val() != '')) + $('#vat_number_block_invoice').show(); + else + $('#vat_number_block_invoice').hide(); +} + +function vat_number_ajax() +{ + $(document).on('change', '#id_country', function() + { + if (typeof vatnumber_ajax_call !== 'undefined' && vatnumber_ajax_call) + $.ajax({ + type: 'POST', + headers: {"cache-control": "no-cache"}, + url: baseDir + 'modules/vatnumber/ajax.php?id_country=' + parseInt($(this).val()) + '&rand=' + new Date().getTime(), + success: function(isApplicable){ + if(isApplicable == "1") + { + $('#vat_area').show(); + $('#vat_number').show(); + } + else + $('#vat_area').hide(); + } + }); + }); + + $(document).on('change', '#id_country_invoice', function() + { + if (typeof vatnumber_ajax_call !== 'undefined' && vatnumber_ajax_call) + $.ajax({ + type: 'POST', + headers: {"cache-control": "no-cache"}, + url: baseDir + 'modules/vatnumber/ajax.php?id_country=' + parseInt($(this).val()) + '&rand=' + new Date().getTime(), + success: function(isApplicable){ + if(isApplicable == "1") + { + $('#vat_area_invoice').show(); + $('#vat_number_invoice').show(); + } + else + $('#vat_area_invoice').hide(); + } + }); + }); +} \ No newline at end of file diff --git a/themes/toutpratique/lang/en.php b/themes/toutpratique/lang/en.php new file mode 100644 index 00000000..b4c41a4a --- /dev/null +++ b/themes/toutpratique/lang/en.php @@ -0,0 +1,433 @@ + \ No newline at end of file diff --git a/themes/toutpratique/lang/index.php b/themes/toutpratique/lang/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/lang/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/layout.tpl b/themes/toutpratique/layout.tpl new file mode 100644 index 00000000..c7fb7b85 --- /dev/null +++ b/themes/toutpratique/layout.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{assign var='left_column_size' value=0}{assign var='right_column_size' value=0} +{if isset($HOOK_LEFT_COLUMN) && $HOOK_LEFT_COLUMN|trim && !$hide_left_column}{$left_column_size=3}{/if} +{if isset($HOOK_RIGHT_COLUMN) && $HOOK_RIGHT_COLUMN|trim && !$hide_right_column}{$right_column_size=3}{/if} +{if !empty($display_header)}{include file="$tpl_dir./header.tpl" HOOK_HEADER=$HOOK_HEADER}{/if} +{if !empty($template)}{$template}{/if} +{if !empty($display_footer)}{include file="$tpl_dir./footer.tpl"}{/if} +{if !empty($live_edit)}{$live_edit}{/if} \ No newline at end of file diff --git a/themes/toutpratique/mails/en/account.html b/themes/toutpratique/mails/en/account.html new file mode 100644 index 00000000..4a8da1c0 --- /dev/null +++ b/themes/toutpratique/mails/en/account.html @@ -0,0 +1,147 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for creating a customer account at {shop_name}. +
      +
      + + + + + + +
        + +

      + Your {shop_name} login details

      + + Here are your login details:
      + E-mail address: {email}
      + Password: {passwd} +
      +
      +
       
      +
      + + + + + + +
        + +

      Important Security Tips:

      +
        +
      1. Always keep your account details safe.
      2. +
      3. Never disclose your login details to anyone.
      4. +
      5. Change your password regularly.
      6. +
      7. Should you suspect someone is using your account illegally, please notify us immediately.
      8. +
      +
      +
       
      +
      + + Vous pouvez dès à présent passer commande sur notre boutique : {shop_name} + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/account.txt b/themes/toutpratique/mails/en/account.txt new file mode 100644 index 00000000..c8c84d8c --- /dev/null +++ b/themes/toutpratique/mails/en/account.txt @@ -0,0 +1,30 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for creating a customer account at {shop_name}. + +Here are your login details: + +E-MAIL ADDRESS: {email} + +PASSWORD: {passwd} + +Important Security Tips: + +* Always keep your account details safe. + +* Never disclose your login details to anyone. + +* Change your password regularly. + +* Should you suspect someone is using your account illegally, please +notify us immediately. + +You can now place orders on our shop: {shop_name} +[{shop_url}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/backoffice_order.html b/themes/toutpratique/mails/en/backoffice_order.html new file mode 100644 index 00000000..8bb073f6 --- /dev/null +++ b/themes/toutpratique/mails/en/backoffice_order.html @@ -0,0 +1,114 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + A new order has been generated on your behalf.

      + + Please go on {order_link} to finalize the payment. +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/backoffice_order.txt b/themes/toutpratique/mails/en/backoffice_order.txt new file mode 100644 index 00000000..4c2acca9 --- /dev/null +++ b/themes/toutpratique/mails/en/backoffice_order.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +A new order has been generated on your behalf. + +Please go on {order_link} [{order_link}] to finalize +the payment. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/bankwire.html b/themes/toutpratique/mails/en/bankwire.html new file mode 100644 index 00000000..26d686fc --- /dev/null +++ b/themes/toutpratique/mails/en/bankwire.html @@ -0,0 +1,156 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for shopping with {shop_name}! +
      +
      + + + + + + +
        + +

      + Order {order_name} - Awaiting wire payment +

      + + Your order with the reference {order_name} has been placed successfully and will be shipped as soon as we receive your payment. +
      +
       
      +
      + + + + + + +
        + +

      + You have selected to pay by wire transfer.

      + + Here are the bank details for your transfer:
      + Amount: {total_paid}
      + Account owner: {bankwire_owner}
      + Account details: {bankwire_details}
      + Bank address: {bankwire_address} +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/bankwire.txt b/themes/toutpratique/mails/en/bankwire.txt new file mode 100644 index 00000000..324fb5e1 --- /dev/null +++ b/themes/toutpratique/mails/en/bankwire.txt @@ -0,0 +1,34 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for shopping with {shop_name}! + +Your order with the reference {order_name} has been placed +successfully and will be SHIPPED AS SOON AS WE RECEIVE YOUR PAYMENT. + +You have selected to pay by wire transfer. + +Here are the bank details for your transfer: + +AMOUNT: {total_paid} + +ACCOUNT OWNER: {bankwire_owner} + +ACCOUNT DETAILS: {bankwire_details} + +BANK ADDRESS: {bankwire_address} + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" [{guest_tracking_url}] section on +our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/cheque.html b/themes/toutpratique/mails/en/cheque.html new file mode 100644 index 00000000..70c3f288 --- /dev/null +++ b/themes/toutpratique/mails/en/cheque.html @@ -0,0 +1,155 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for shopping with {shop_name}! +
      +
      + + + + + + +
        + +

      + Order {order_name} - Awaiting check payment

      + + Your order with the reference {order_name} has been placed successfully and will be shipped as soon as we receive your payment. +
      +
       
      +
      + + + + + + +
        + +

      + You have selected to pay by check.

      + + Here are the bank details for your check:
      + Amount: {total_paid}
      + Payable to the order of: {cheque_name}
      + Please mail your check to: {cheque_address_html} +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/cheque.txt b/themes/toutpratique/mails/en/cheque.txt new file mode 100644 index 00000000..38d7768b --- /dev/null +++ b/themes/toutpratique/mails/en/cheque.txt @@ -0,0 +1,32 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for shopping with {shop_name}! + +Your order with the reference {order_name} has been placed +successfully and will be SHIPPED AS SOON AS WE RECEIVE YOUR PAYMENT. + +You have selected to pay by check. + +Here are the bank details for your check: + +AMOUNT: {total_paid} + +PAYABLE TO THE ORDER OF: {cheque_name} + +PLEASE MAIL YOUR CHECK TO: {cheque_address} + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" [{guest_tracking_url}] section on +our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/contact.html b/themes/toutpratique/mails/en/contact.html new file mode 100644 index 00000000..bd133795 --- /dev/null +++ b/themes/toutpratique/mails/en/contact.html @@ -0,0 +1,115 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Message from a {shop_name} customer + +
      + + + + + + +
        + + + Customer e-mail address: {email}

      + Customer message: {message}

      + Order ID: {order_name}
      + Attached file: {attached_file} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/contact.txt b/themes/toutpratique/mails/en/contact.txt new file mode 100644 index 00000000..1c8edb41 --- /dev/null +++ b/themes/toutpratique/mails/en/contact.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Message from a {shop_name} customer + +CUSTOMER E-MAIL ADDRESS: {email} + +CUSTOMER MESSAGE: {message} + +ORDER ID: {order_name} + +ATTACHED FILE: {attached_file} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/contact_form.html b/themes/toutpratique/mails/en/contact_form.html new file mode 100644 index 00000000..87a4c4ec --- /dev/null +++ b/themes/toutpratique/mails/en/contact_form.html @@ -0,0 +1,125 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Your message to {shop_name} Customer Service + +
      + + + + + + +
        + + + Your message has been sent successfully.

      + Message: {message}

      + Order ID: {order_name}
      + Product: {product_name}
      + Attached file: {attached_file} +
      +
      +
       
      +
      + + + We will answer as soon as possible. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/contact_form.txt b/themes/toutpratique/mails/en/contact_form.txt new file mode 100644 index 00000000..e04cf835 --- /dev/null +++ b/themes/toutpratique/mails/en/contact_form.txt @@ -0,0 +1,20 @@ + +[{shop_url}] + +Your message to {shop_name} Customer Service + +Your message has been sent successfully. + +MESSAGE: {message} + +ORDER ID: {order_name} + +PRODUCT: {product_name} + +ATTACHED FILE: {attached_file} + +We will answer as soon as possible. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/credit_slip.html b/themes/toutpratique/mails/en/credit_slip.html new file mode 100644 index 00000000..b4d93e8b --- /dev/null +++ b/themes/toutpratique/mails/en/credit_slip.html @@ -0,0 +1,122 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Credit slip created

      + + We have generated a credit slip in your name for order with the reference {order_name}. +
      +
       
      +
      + + + You can review this credit slip and download your invoice from the "My credit slips" section of your account by clicking "My account" on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/credit_slip.txt b/themes/toutpratique/mails/en/credit_slip.txt new file mode 100644 index 00000000..1e782d95 --- /dev/null +++ b/themes/toutpratique/mails/en/credit_slip.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +We have generated a credit slip in your name for order with the +reference {order_name}. + +You can review this credit slip and download your invoice from the +"My credit slips" [{history_url}] section of your +account by clicking "My account" [{my_account_url}] +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/download-product.tpl b/themes/toutpratique/mails/en/download-product.tpl new file mode 100644 index 00000000..3ad0101b --- /dev/null +++ b/themes/toutpratique/mails/en/download-product.tpl @@ -0,0 +1,13 @@ +
      \ No newline at end of file diff --git a/themes/toutpratique/mails/en/download_product.html b/themes/toutpratique/mails/en/download_product.html new file mode 100644 index 00000000..ac540b80 --- /dev/null +++ b/themes/toutpratique/mails/en/download_product.html @@ -0,0 +1,133 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for your order with the reference {order_name} from {shop_name} +
      +
      + + + + + + +
        + +

      + Product(s) now available for download

      + + You have {nbProducts} product(s) now available for download using the following link(s):

      + {virtualProducts} +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/download_product.txt b/themes/toutpratique/mails/en/download_product.txt new file mode 100644 index 00000000..a7560f92 --- /dev/null +++ b/themes/toutpratique/mails/en/download_product.txt @@ -0,0 +1,26 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for your order with the reference {order_name} from +{shop_name} + +You have {nbproducts} product(s) now available for download using the +following link(s): + +{virtualproducts} + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/employee_password.html b/themes/toutpratique/mails/en/employee_password.html new file mode 100644 index 00000000..2d2bb16b --- /dev/null +++ b/themes/toutpratique/mails/en/employee_password.html @@ -0,0 +1,118 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Your {shop_name} login information

      + + Here is your personal login information for {shop_name}:

      + First name: {firstname}
      + Last name: {lastname}
      + Password: {passwd}
      + E-mail address: {email} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/employee_password.txt b/themes/toutpratique/mails/en/employee_password.txt new file mode 100644 index 00000000..5871c124 --- /dev/null +++ b/themes/toutpratique/mails/en/employee_password.txt @@ -0,0 +1,18 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Here is your personal login information for {shop_name}: + +FIRST NAME: {firstname} + +LAST NAME: {lastname} + +PASSWORD: {passwd} + +E-MAIL ADDRESS: {email} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/forward_msg.html b/themes/toutpratique/mails/en/forward_msg.html new file mode 100644 index 00000000..876508d1 --- /dev/null +++ b/themes/toutpratique/mails/en/forward_msg.html @@ -0,0 +1,116 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Customer service - Forwarded discussion

      + + {employee} wanted to forward this discussion to you.

      + Discussion history: {messages}

      + {employee} added "{comment}" +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/forward_msg.txt b/themes/toutpratique/mails/en/forward_msg.txt new file mode 100644 index 00000000..abd4ced8 --- /dev/null +++ b/themes/toutpratique/mails/en/forward_msg.txt @@ -0,0 +1,14 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +{employee} wanted to forward this discussion to you. + +DISCUSSION HISTORY: {messages} + +{employee} added "{comment}" + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/guest_to_customer.html b/themes/toutpratique/mails/en/guest_to_customer.html new file mode 100644 index 00000000..eb2b8fb0 --- /dev/null +++ b/themes/toutpratique/mails/en/guest_to_customer.html @@ -0,0 +1,134 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Your customer account creation

      + + Your guest account for {shop_name} has been transformed into a customer account.

      + E-mail address: {email}

      + Password: {passwd} +
      +
      +
       
      +
      + + + Please be careful when sharing these login details with others. + +
      + + + You can access your customer account on our shop: {shop_url} + + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/guest_to_customer.txt b/themes/toutpratique/mails/en/guest_to_customer.txt new file mode 100644 index 00000000..fd6816d2 --- /dev/null +++ b/themes/toutpratique/mails/en/guest_to_customer.txt @@ -0,0 +1,19 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Your guest account for {shop_name} has been transformed into a +customer account. + +E-MAIL ADDRESS: {email} + +PASSWORD: {passwd} + +Please be careful when sharing these login details with others. + +You can access your customer account on our shop: {shop_url} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/in_transit.html b/themes/toutpratique/mails/en/in_transit.html new file mode 100644 index 00000000..883b89df --- /dev/null +++ b/themes/toutpratique/mails/en/in_transit.html @@ -0,0 +1,132 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - In transit

      + + Your order with the reference {order_name} is currently in transit.

      + You can track your package using the following link: {followup} +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/in_transit.txt b/themes/toutpratique/mails/en/in_transit.txt new file mode 100644 index 00000000..f5df19c2 --- /dev/null +++ b/themes/toutpratique/mails/en/in_transit.txt @@ -0,0 +1,23 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Your order with the reference {order_name} is currently in transit. + +You can track your package using the following link: {followup} +[{followup}] + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/lang.php b/themes/toutpratique/mails/en/lang.php new file mode 100644 index 00000000..b7355987 --- /dev/null +++ b/themes/toutpratique/mails/en/lang.php @@ -0,0 +1,61 @@ + +* @copyright 2007-2014 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*/ + +global $_LANGMAIL; +$_LANGMAIL = array(); + +$_LANGMAIL['Virtual product to download'] = 'Virtual product(s) available for download'; +$_LANGMAIL['Your guest account has been transformed to customer account'] = 'Your guest account has been transformed to a customer account'; +$_LANGMAIL['Your order return state has changed'] = 'Your order return status has changed'; +$_LANGMAIL['Password query confirmation'] = 'Forgot password'; +$_LANGMAIL['New voucher regarding your order %s'] = 'New voucher for your order %s'; +$_LANGMAIL['Newsletter confirmation'] = 'Newsletter subscription confirmation'; +$_LANGMAIL['Your cart and your discount'] = 'Discount offer for items in your cart'; +$_LANGMAIL['Thanks for your order'] = 'Thanks for your order!'; +$_LANGMAIL['You are one of our best customers'] = 'Thank you for being one of our best customers'; +$_LANGMAIL['Product available'] = 'Your watched product is now available'; +$_LANGMAIL['Product out of stock'] = 'One or more products are almost out of stock'; +$_LANGMAIL['We miss you'] = 'We miss you'; +$_LANGMAIL['Email verification'] = 'Email verification'; +$_LANGMAIL['Newsletter voucher'] = 'Newsletter voucher'; +$_LANGMAIL['New order'] = 'New order : #%d - %s'; +$_LANGMAIL['Stock coverage'] = 'Stock coverage'; +$_LANGMAIL['Congratulations!'] = 'Congratulations!'; +$_LANGMAIL['Your wishlist\\\'s link'] = 'Your wishlist\'s link'; +$_LANGMAIL['Message from %1$s %2$s'] = 'Message from %1$s %2$s'; +$_LANGMAIL['Your order has been changed'] = 'Your order has been changed'; +$_LANGMAIL['Welcome!'] = 'Welcome!'; +$_LANGMAIL['New credit slip regarding your order'] = 'New credit slip regarding your order'; +$_LANGMAIL['Fwd: Customer message'] = 'Fwd: Customer message'; +$_LANGMAIL['Package in transit'] = 'Package in transit'; +$_LANGMAIL['Order confirmation'] = 'Order confirmation'; +$_LANGMAIL['Message from a customer'] = 'Message from a customer'; +$_LANGMAIL['New message regarding your order'] = 'New message regarding your order'; +$_LANGMAIL['Process the payment of your order'] = 'Process the payment of your order'; +$_LANGMAIL['Log: You have a new alert from your shop'] = 'Log: You have a new alert from your shop'; +$_LANGMAIL['Your new password'] = 'Your new password'; +$_LANGMAIL['An answer to your message is available #ct%1$s #tc%2$s'] = 'An answer to your message is available #ct%1$s #tc%2$s'; +$_LANGMAIL['%1$s sent you a link to %2$s'] = '%1$s sent you a link to %2$s'; diff --git a/themes/toutpratique/mails/en/log_alert.html b/themes/toutpratique/mails/en/log_alert.html new file mode 100644 index 00000000..7fa989be --- /dev/null +++ b/themes/toutpratique/mails/en/log_alert.html @@ -0,0 +1,114 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + You have received a new log alert

      + + Warning: you have received a new log alert in your Back Office.

      + You can check for it in the "Tools" > "Logs" section of your Back Office.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/log_alert.txt b/themes/toutpratique/mails/en/log_alert.txt new file mode 100644 index 00000000..81724f53 --- /dev/null +++ b/themes/toutpratique/mails/en/log_alert.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +WARNING: you have received a new log alert in your Back Office. + +You can check for it in the "TOOLS" > "LOGS" section of your Back +Office. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/newsletter.html b/themes/toutpratique/mails/en/newsletter.html new file mode 100644 index 00000000..9314b000 --- /dev/null +++ b/themes/toutpratique/mails/en/newsletter.html @@ -0,0 +1,97 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + +
      + Hi {firstname} {lastname}, +
      + {message} +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/newsletter.txt b/themes/toutpratique/mails/en/newsletter.txt new file mode 100644 index 00000000..c2462b28 --- /dev/null +++ b/themes/toutpratique/mails/en/newsletter.txt @@ -0,0 +1,10 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +{message} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_canceled.html b/themes/toutpratique/mails/en/order_canceled.html new file mode 100644 index 00000000..87568ca1 --- /dev/null +++ b/themes/toutpratique/mails/en/order_canceled.html @@ -0,0 +1,130 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Order cancelled

      + + Your order with the reference {order_name} from {shop_name} has been cancelled. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_canceled.txt b/themes/toutpratique/mails/en/order_canceled.txt new file mode 100644 index 00000000..cd181ea3 --- /dev/null +++ b/themes/toutpratique/mails/en/order_canceled.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Your order with the reference {order_name} from {shop_name} has +been cancelled. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_changed.html b/themes/toutpratique/mails/en/order_changed.html new file mode 100644 index 00000000..f3ea3650 --- /dev/null +++ b/themes/toutpratique/mails/en/order_changed.html @@ -0,0 +1,130 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Order changed

      + + Your order with the reference {order_name} from {shop_name} has been changed by the merchant. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_changed.txt b/themes/toutpratique/mails/en/order_changed.txt new file mode 100644 index 00000000..57d4eb43 --- /dev/null +++ b/themes/toutpratique/mails/en/order_changed.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Your order with the reference {order_name} from {shop_name} has +been changed by the merchant. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_conf.html b/themes/toutpratique/mails/en/order_conf.html new file mode 100644 index 00000000..7c5c2673 --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf.html @@ -0,0 +1,394 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for shopping with {shop_name}! +
      +
      + + + + + + +
        + +

      + Order details

      + + Order: {order_name} Placed on {date}

      + Payment: {payment} +
      +
      +
       
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      ReferenceProductUnit priceQuantityTotal price
      +   {products} +
      +   {discounts} +
      + + + + + + +
        + + Products + +  
      +
      + + + + + + +
        + + {total_products} + +  
      +
      + + + + + + +
        + + Discounts + +  
      +
      + + + + + + +
        + + {total_discounts} + +  
      +
      + + + + + + +
        + + Gift-wrapping + +  
      +
      + + + + + + +
        + + {total_wrapping} + +  
      +
      + + + + + + +
        + + Shipping + +  
      +
      + + + + + + +
        + + {total_shipping} + +  
      +
      + + + + + + +
        + + Total Tax paid + +  
      +
      + + + + + + +
        + + {total_tax_paid} + +  
      +
      + + + + + + +
        + + Total paid + +  
      +
      + + + + + + +
        + + {total_paid} + +  
      +
      +
      +
      + + + + + + +
        + +

      + Shipping

      + + Carrier: {carrier}

      + Payment: {payment} +
      +
      +
       
      +
      + + + + + + +
      + + + + + + +
        + +

      + Delivery address

      + + {delivery_block_html} + +
      +
       
      +
        + + + + + + +
        + +

      + Billing address

      + + {invoice_block_html} + +
      +
       
      +
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_conf.txt b/themes/toutpratique/mails/en/order_conf.txt new file mode 100644 index 00000000..718bd1fc --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf.txt @@ -0,0 +1,70 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for shopping with {shop_name}! + +ORDER: {order_name} Placed on {date} + +PAYMENT: {payment} + +REFERENCE + +PRODUCT + +UNIT PRICE + +QUANTITY + +TOTAL PRICE + +{products_txt} + +{discounts} + +PRODUCTS + +{total_products} + +DISCOUNTS + +{total_discounts} + +GIFT-WRAPPING + +{total_wrapping} + +SHIPPING + +{total_shipping} + +TOTAL TAX PAID + +{total_tax_paid} + +TOTAL PAID + +{total_paid} + +CARRIER: {carrier} + +PAYMENT: {payment} + +{delivery_block_txt} + +{invoice_block_txt} + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_conf_cart_rules.tpl b/themes/toutpratique/mails/en/order_conf_cart_rules.tpl new file mode 100644 index 00000000..742554d7 --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf_cart_rules.tpl @@ -0,0 +1,30 @@ +{foreach $list as $cart_rule} + + + + + + + + +
      + + {$cart_rule['voucher_name']} + +
      + + + + + + + + +
      + + {$cart_rule['voucher_reduction']} + +
      + + +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_conf_cart_rules.txt b/themes/toutpratique/mails/en/order_conf_cart_rules.txt new file mode 100644 index 00000000..72a6970d --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf_cart_rules.txt @@ -0,0 +1,3 @@ +{foreach $list as $cart_rule} + {$cart_rule['voucher_name']} {$cart_rule['voucher_reduction']} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_conf_product_list.tpl b/themes/toutpratique/mails/en/order_conf_product_list.tpl new file mode 100644 index 00000000..104b21db --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf_product_list.tpl @@ -0,0 +1,126 @@ +{foreach $list as $product} + + + + + + + + +
        + + {$product['reference']} + +  
      + + + + + + + + +
        + + {$product['name']} + +  
      + + + + + + + + +
        + + {$product['unit_price']} + +  
      + + + + + + + + +
        + + {$product['quantity']} + +  
      + + + + + + + + +
        + + {$product['price']} + +  
      + + + {foreach $product['customization'] as $customization} + + + + + + + + +
        + + {$product['name']}
      + {$customization['customization_text']} +
      +
       
      + + + + + + + + +
        + + {$product['unit_price']} + +  
      + + + + + + + + +
        + + {$customization['customization_quantity']} + +  
      + + + + + + + + +
        + + {$customization['quantity']} + +  
      + + + {/foreach} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_conf_product_list.txt b/themes/toutpratique/mails/en/order_conf_product_list.txt new file mode 100644 index 00000000..0ffd7db7 --- /dev/null +++ b/themes/toutpratique/mails/en/order_conf_product_list.txt @@ -0,0 +1,21 @@ +{foreach $list as $product} + {$product['reference']} + + {$product['name']} + + {$product['price']} + + {$product['quantity']} + + {$product['price']} + + {foreach $product['customization'] as $customization} + {$product['name']} {$customization['customization_text']} + + {$product['price']} + + {$product['customization_quantity']} + + {$product['quantity']} + {/foreach} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_customer_comment.html b/themes/toutpratique/mails/en/order_customer_comment.html new file mode 100644 index 00000000..e6548bba --- /dev/null +++ b/themes/toutpratique/mails/en/order_customer_comment.html @@ -0,0 +1,116 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Message from a customer

      + + You have received a new message regarding order with the reference {order_name}.

      + Customer: {firstname} {lastname} ({email})

      + {message} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_customer_comment.txt b/themes/toutpratique/mails/en/order_customer_comment.txt new file mode 100644 index 00000000..fb58f272 --- /dev/null +++ b/themes/toutpratique/mails/en/order_customer_comment.txt @@ -0,0 +1,15 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +You have received a new message regarding order with the reference +{order_name}. + +CUSTOMER: {firstname} {lastname} ({email}) + +{message} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_merchant_comment.html b/themes/toutpratique/mails/en/order_merchant_comment.html new file mode 100644 index 00000000..f8a128a3 --- /dev/null +++ b/themes/toutpratique/mails/en/order_merchant_comment.html @@ -0,0 +1,115 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Message from {shop_name}

      + + You have received a new message from {shop_name} regarding order with the reference {order_name}.

      + Message: {message} +
      +
      +
       
      +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/en/order_merchant_comment.txt b/themes/toutpratique/mails/en/order_merchant_comment.txt new file mode 100644 index 00000000..5d98d633 --- /dev/null +++ b/themes/toutpratique/mails/en/order_merchant_comment.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +You have received a new message from {shop_name} regarding order with +the reference {order_name}. + +MESSAGE: {message} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/order_return_state.html b/themes/toutpratique/mails/en/order_return_state.html new file mode 100644 index 00000000..76085db2 --- /dev/null +++ b/themes/toutpratique/mails/en/order_return_state.html @@ -0,0 +1,123 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Return #{id_order_return} - update

      + + We have updated the progress on your return #{id_order_return}, the new status is: "{state_order_return}"
      +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/order_return_state.txt b/themes/toutpratique/mails/en/order_return_state.txt new file mode 100644 index 00000000..097c9ba5 --- /dev/null +++ b/themes/toutpratique/mails/en/order_return_state.txt @@ -0,0 +1,15 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +We have updated the progress on your return #{id_order_return}, the +new status is: "{state_order_return}" + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] \ No newline at end of file diff --git a/themes/toutpratique/mails/en/outofstock.html b/themes/toutpratique/mails/en/outofstock.html new file mode 100644 index 00000000..b079833c --- /dev/null +++ b/themes/toutpratique/mails/en/outofstock.html @@ -0,0 +1,131 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thanks for your order with the reference {order_name} from {shop_name}. +
      +
      + + + + + + +
        + +

      + Order {order_name} - Item(s) out of stock

      + + Unfortunately, one or more items are currently out of stock. This may cause a slight delay in your delivery. Please accept our apologies and rest assured that we are working hard to rectify this. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/outofstock.txt b/themes/toutpratique/mails/en/outofstock.txt new file mode 100644 index 00000000..9d02b4f4 --- /dev/null +++ b/themes/toutpratique/mails/en/outofstock.txt @@ -0,0 +1,25 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thanks for your order with the reference {order_name} from +{shop_name}. + +Unfortunately, one or more items are currently out of stock. This +may cause a slight delay in your delivery. Please accept our apologies +and rest assured that we are working hard to rectify this. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/password.html b/themes/toutpratique/mails/en/password.html new file mode 100644 index 00000000..1b03b5b9 --- /dev/null +++ b/themes/toutpratique/mails/en/password.html @@ -0,0 +1,132 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Your new {shop_name} login details

      + + E-mail address: {email}
      + Password: {passwd} +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/password.txt b/themes/toutpratique/mails/en/password.txt new file mode 100644 index 00000000..51994c84 --- /dev/null +++ b/themes/toutpratique/mails/en/password.txt @@ -0,0 +1,22 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +E-MAIL ADDRESS: {email} + +PASSWORD: {passwd} + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/password_query.html b/themes/toutpratique/mails/en/password_query.html new file mode 100644 index 00000000..393a0d1e --- /dev/null +++ b/themes/toutpratique/mails/en/password_query.html @@ -0,0 +1,116 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Password reset request for {shop_name}

      + + You have requested to reset your {shop_name} login details.

      + Please note that this will change your current password.

      + To confirm this action, please use the following link:
      {url} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/password_query.txt b/themes/toutpratique/mails/en/password_query.txt new file mode 100644 index 00000000..caf9fa5f --- /dev/null +++ b/themes/toutpratique/mails/en/password_query.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +You have requested to reset your {shop_name} login details. + +Please note that this will change your current password. + +To confirm this action, please use the following link: + +{url} [{url}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/payment.html b/themes/toutpratique/mails/en/payment.html new file mode 100644 index 00000000..4623d905 --- /dev/null +++ b/themes/toutpratique/mails/en/payment.html @@ -0,0 +1,131 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for shopping with {shop_name}! +
      +
      + + + + + + +
        + +

      + Order {order_name} - Payment processed

      + + Your payment for order with the reference {order_name} was successfully processed. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/en/payment.txt b/themes/toutpratique/mails/en/payment.txt new file mode 100644 index 00000000..12a46736 --- /dev/null +++ b/themes/toutpratique/mails/en/payment.txt @@ -0,0 +1,23 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for shopping with {shop_name}! + +Your payment for order with the reference {order_name} was +successfully processed. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/payment_error.html b/themes/toutpratique/mails/en/payment_error.html new file mode 100644 index 00000000..e15334ab --- /dev/null +++ b/themes/toutpratique/mails/en/payment_error.html @@ -0,0 +1,132 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Payment processing error

      + + There is a problem with your payment for {shop_name} order with the reference {order_name}. Please contact us at your earliest convenience.
      + We cannot ship your order until we receive your payment. +
      +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/payment_error.txt b/themes/toutpratique/mails/en/payment_error.txt new file mode 100644 index 00000000..11d1a7cd --- /dev/null +++ b/themes/toutpratique/mails/en/payment_error.txt @@ -0,0 +1,24 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +There is a problem with your payment for {shop_name} order with the +reference {order_name}. Please contact us at your earliest +convenience. + +WE CANNOT SHIP YOUR ORDER UNTIL WE RECEIVE YOUR PAYMENT. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/preparation.html b/themes/toutpratique/mails/en/preparation.html new file mode 100644 index 00000000..37e23088 --- /dev/null +++ b/themes/toutpratique/mails/en/preparation.html @@ -0,0 +1,130 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Processing

      + + We are currently processing your {shop_name} order with the reference {order_name}. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/preparation.txt b/themes/toutpratique/mails/en/preparation.txt new file mode 100644 index 00000000..ff3f62e2 --- /dev/null +++ b/themes/toutpratique/mails/en/preparation.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +We are currently processing your {shop_name} order with the +reference {order_name}. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/refund.html b/themes/toutpratique/mails/en/refund.html new file mode 100644 index 00000000..8ee5e1a1 --- /dev/null +++ b/themes/toutpratique/mails/en/refund.html @@ -0,0 +1,130 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Refund processed

      + + We have processed your {shop_name} refund for order with the reference {order_name}. +
      +
       
      +
      + + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. + +
      + + + If you have a guest account, you can follow your order via the "Guest Tracking" section on our shop. + +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/en/refund.txt b/themes/toutpratique/mails/en/refund.txt new file mode 100644 index 00000000..9f42f6a1 --- /dev/null +++ b/themes/toutpratique/mails/en/refund.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +We have processed your {shop_name} refund for order with the +reference {order_name}. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +If you have a guest account, you can follow your order via the +"Guest Tracking" +[{guest_tracking_url}?id_order={order_name}] section +on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/reply_msg.html b/themes/toutpratique/mails/en/reply_msg.html new file mode 100644 index 00000000..943edc48 --- /dev/null +++ b/themes/toutpratique/mails/en/reply_msg.html @@ -0,0 +1,107 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + +
      + Hi {firstname} {lastname}, +
      + {reply} +
      + +Please do not reply to this message, we will not receive it.

      In order to reply, please use the following link: {link} +
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/reply_msg.txt b/themes/toutpratique/mails/en/reply_msg.txt new file mode 100644 index 00000000..b356b060 --- /dev/null +++ b/themes/toutpratique/mails/en/reply_msg.txt @@ -0,0 +1,14 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +{reply} + +Please do not reply to this message, we will not receive it. + +In order to reply, please use the following link: {link} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/shipped.html b/themes/toutpratique/mails/en/shipped.html new file mode 100644 index 00000000..680a142b --- /dev/null +++ b/themes/toutpratique/mails/en/shipped.html @@ -0,0 +1,121 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + +
      + + Hi {firstname} {lastname},
      + Thank you for shopping with {shop_name}! +
      +
      + + + + + + +
        + +

      + Order {order_name} - Shipped

      + + Your order with the reference {order_name} has been shipped.
      + You will soon receive a link to track the delivery progress of your package.
      +
      +
       
      +
      + + You can review your order and download your invoice from the "Order history" section of your customer account by clicking "My account" on our shop. +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/en/shipped.txt b/themes/toutpratique/mails/en/shipped.txt new file mode 100644 index 00000000..bd10852b --- /dev/null +++ b/themes/toutpratique/mails/en/shipped.txt @@ -0,0 +1,20 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Thank you for shopping with {shop_name}! + +Your order with the reference {order_name} has been shipped. + +You will soon receive a link to track the delivery progress of your +package. + +You can review your order and download your invoice from the +"Order history" [{history_url}] section of your +customer account by clicking "My account" +[{my_account_url}] on our shop. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/test.html b/themes/toutpratique/mails/en/test.html new file mode 100644 index 00000000..82450537 --- /dev/null +++ b/themes/toutpratique/mails/en/test.html @@ -0,0 +1,100 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + Hello +
      + + This is a test e-mail from your shop.

      If you can read this, the test was successful!. +
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/test.txt b/themes/toutpratique/mails/en/test.txt new file mode 100644 index 00000000..a3fc6153 --- /dev/null +++ b/themes/toutpratique/mails/en/test.txt @@ -0,0 +1,12 @@ + +[{shop_url}] + +Hello + +This is a TEST E-MAIL from your shop. + +If you can read this, the test was successful!. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/voucher.html b/themes/toutpratique/mails/en/voucher.html new file mode 100644 index 00000000..577965b7 --- /dev/null +++ b/themes/toutpratique/mails/en/voucher.html @@ -0,0 +1,115 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Order {order_name} - Voucher created

      + + A voucher has been created in your name as a result of your order with the reference {order_name}.

      + Voucher code: {voucher_num} in the amount of {voucher_amount}

      + Simply copy/paste this code during the payment process for your next order.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/voucher.txt b/themes/toutpratique/mails/en/voucher.txt new file mode 100644 index 00000000..d548df8f --- /dev/null +++ b/themes/toutpratique/mails/en/voucher.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +A voucher has been created in your name as a result of your order +with the reference {order_name}. + +VOUCHER CODE: {voucher_num} in the amount of {voucher_amount} + +Simply copy/paste this code during the payment process for your next +order. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/en/voucher_new.html b/themes/toutpratique/mails/en/voucher_new.html new file mode 100644 index 00000000..ca9e80f6 --- /dev/null +++ b/themes/toutpratique/mails/en/voucher_new.html @@ -0,0 +1,114 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Hi {firstname} {lastname}, + +
      + + + + + + +
        + +

      + This is to inform you about the creation of a voucher.

      + + Here is the code of your voucher: {voucher_num}

      + Simply copy/paste this code during the payment process for your next order.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/en/voucher_new.txt b/themes/toutpratique/mails/en/voucher_new.txt new file mode 100644 index 00000000..f32c3ab4 --- /dev/null +++ b/themes/toutpratique/mails/en/voucher_new.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Hi {firstname} {lastname}, + +Here is the code of your voucher: {voucher_num} + +Simply copy/paste this code during the payment process for your next +order. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/footer-mail.jpg b/themes/toutpratique/mails/footer-mail.jpg new file mode 100644 index 00000000..d046869d Binary files /dev/null and b/themes/toutpratique/mails/footer-mail.jpg differ diff --git a/themes/toutpratique/mails/fr/account.html b/themes/toutpratique/mails/fr/account.html new file mode 100644 index 00000000..5456c1b7 --- /dev/null +++ b/themes/toutpratique/mails/fr/account.html @@ -0,0 +1,146 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Votre compte a bien été validé par nos équipes. Vous pouvez désormais accéder à l'ensemble des produits et services disponibles sur notre site. +
      +
      + + + + + + +
        + +

      + Vos codes d'accès sur {shop_name}.

      + + Vos codes d'accès :
      + Adresse e-mail : {email}
      + Mot de passe : Mot de passe choisi lors de votre inscription +
      +

      Mot de passe oublié ?

      +
      +
       
      +
      + + + + + + +
        + +

      Conseils de sécurité importants :

      +
        +
      1. Vos informations de compte doivent rester confidentielles.
      2. +
      3. Ne les communiquez jamais à qui que ce soit.
      4. +
      5. Changez votre mot de passe régulièrement.
      6. +
      7. Si vous pensez que quelqu'un utilise votre compte illégalement, veuillez nous prévenir immédiatement.
      8. +
      +
      +
       
      +
      + + Vous pouvez dès à présent passer commande sur notre boutique : {shop_name} + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/account.txt b/themes/toutpratique/mails/fr/account.txt new file mode 100644 index 00000000..5d5c032f --- /dev/null +++ b/themes/toutpratique/mails/fr/account.txt @@ -0,0 +1,30 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre compte a bien été validé par nos équipes. Vous pouvez désormais accéder à l'ensemble des produits et services disponibles sur notre site. + +Vos codes d'accès : + +ADRESSE E-MAIL : {email} + +MOT DE PASSE : Mot de passe choisi lors de votre inscription + +Conseils de sécurité importants : + +* Vos informations de compte doivent rester confidentielles. + +* Ne les communiquez jamais à qui que ce soit. + +* Changez votre mot de passe régulièrement. + +* Si vous pensez que quelqu'un utilise votre compte illégalement, +veuillez nous prévenir immédiatement. + +Vous pouvez dès à présent passer commande sur notre boutique : +{shop_name} [{shop_url}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/alert_1.html b/themes/toutpratique/mails/fr/alert_1.html new file mode 100644 index 00000000..0d691047 --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_1.html @@ -0,0 +1,118 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      +
      +
      + + + + + + +
        + +

      + De nouveaux produits ont étés ajoutés. +

      + {products} +
      +
       
      +
      + + Vous pouvez dès à présent passer commande sur notre boutique : {shop_name} + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/alert_1.txt b/themes/toutpratique/mails/fr/alert_1.txt new file mode 100644 index 00000000..95c73b72 --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_1.txt @@ -0,0 +1,11 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +De nouveaux produits ont été ajoutés + +{products} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/alert_2.html b/themes/toutpratique/mails/fr/alert_2.html new file mode 100644 index 00000000..eb417a8c --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_2.html @@ -0,0 +1,119 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      +
      +
      + + + + + + +
        + +

      + Les produits suivants sont en rupture de stock +

      + {products} +
      +
       
      +
      + + Vous pouvez dès à présent passer commande sur notre boutique : {shop_name} + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/alert_2.txt b/themes/toutpratique/mails/fr/alert_2.txt new file mode 100644 index 00000000..a6a69f19 --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_2.txt @@ -0,0 +1,11 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Les produits suivants sont en rupture de stock + +{products} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/alert_3.html b/themes/toutpratique/mails/fr/alert_3.html new file mode 100644 index 00000000..a5d38e9c --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_3.html @@ -0,0 +1,119 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      +
      +
      + + + + + + +
        + +

      + Les produits suivants sont de nouveau en stock +

      + {products} +
      +
       
      +
      + + Vous pouvez dès à présent passer commande sur notre boutique : {shop_name} + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/alert_3.txt b/themes/toutpratique/mails/fr/alert_3.txt new file mode 100644 index 00000000..7b9324c0 --- /dev/null +++ b/themes/toutpratique/mails/fr/alert_3.txt @@ -0,0 +1,11 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Les produits suivants sont de nouveau en stock + +{products} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/backoffice_order.html b/themes/toutpratique/mails/fr/backoffice_order.html new file mode 100644 index 00000000..b1c1ca01 --- /dev/null +++ b/themes/toutpratique/mails/fr/backoffice_order.html @@ -0,0 +1,115 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Une nouvelle commande a été générée à votre demande.

      + + Veuillez vous rendre sur {order_link} pour finaliser votre paiement. +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/backoffice_order.txt b/themes/toutpratique/mails/fr/backoffice_order.txt new file mode 100644 index 00000000..bf1d6855 --- /dev/null +++ b/themes/toutpratique/mails/fr/backoffice_order.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Une nouvelle commande a été générée à votre demande. + +Veuillez vous rendre sur {order_link} [{order_link}] +pour finaliser votre paiement. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/bankwire.html b/themes/toutpratique/mails/fr/bankwire.html new file mode 100644 index 00000000..d42f6d48 --- /dev/null +++ b/themes/toutpratique/mails/fr/bankwire.html @@ -0,0 +1,156 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci d'avoir effectué vos achats sur {shop_name}! +
      +
      + + + + + + +
        + +

      + Commande {order_name} - En attente du paiement +

      + + Nous avons bien enregistré votre commande ayant pour référence {order_name}. Celle-ci vous sera envoyée dès réception de votre paiement. +
      +
       
      +
      + + + + + + +
        + +

      + Pour rappel, vous avez sélectionné le mode de paiement par virement bancaire.

      + + Voici les informations dont vous avez besoin pour effectuer votre virement :
      + Montant : {total_paid}
      + Titulaire du compte : {bankwire_owner}
      + Détails du compte : {bankwire_details}
      + Adresse de la banque : {bankwire_address} +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande via la section "Guest Tracking" sur notre boutique. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/bankwire.txt b/themes/toutpratique/mails/fr/bankwire.txt new file mode 100644 index 00000000..d6daf74e --- /dev/null +++ b/themes/toutpratique/mails/fr/bankwire.txt @@ -0,0 +1,37 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci d'avoir effectué vos achats sur {shop_name}! + +Nous avons bien enregistré votre commande ayant pour référence +{order_name}. Celle-ci vous sera ENVOYÉE DÈS RÉCEPTION DE VOTRE +PAIEMENT. + +Pour rappel, vous avez sélectionné le mode de paiement par virement +bancaire. + +Voici les informations dont vous avez besoin pour effectuer votre +virement : + +MONTANT : {total_paid} + +TITULAIRE DU COMPTE : {bankwire_owner} + +DÉTAILS DU COMPTE : {bankwire_details} + +ADRESSE DE LA BANQUE : {bankwire_address} + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +via la section "Guest Tracking" +[{guest_tracking_url}] sur notre boutique. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/cheque.html b/themes/toutpratique/mails/fr/cheque.html new file mode 100644 index 00000000..8d856f23 --- /dev/null +++ b/themes/toutpratique/mails/fr/cheque.html @@ -0,0 +1,155 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci d'avoir effectué vos achats sur {shop_name}! +
      +
      + + + + + + +
        + +

      + Commande {order_name} - En attente du paiement par chèque

      + + Nous avons bien enregistré votre commande ayant pour référence {order_name}. Celle-ci vous sera envoyée dès réception de votre paiement. +
      +
       
      +
      + + + + + + +
        + +

      + Vous avez choisi de payer par chèque.

      + + Voici les informations dont vous avez besoin pour effectuer le paiement :
      + Montant : {total_paid}
      + À l'ordre de : {cheque_name}
      + Veuillez envoyer votre chèque à l'adresse suivante : {cheque_address_html} +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande via la section "Guest Tracking" sur notre boutique. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/cheque.txt b/themes/toutpratique/mails/fr/cheque.txt new file mode 100644 index 00000000..c97794c1 --- /dev/null +++ b/themes/toutpratique/mails/fr/cheque.txt @@ -0,0 +1,35 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci d'avoir effectué vos achats sur {shop_name}! + +Nous avons bien enregistré votre commande ayant pour référence +{order_name}. Celle-ci vous sera ENVOYÉE DÈS RÉCEPTION DE VOTRE +PAIEMENT. + +Vous avez choisi de payer par chèque. + +Voici les informations dont vous avez besoin pour effectuer le +paiement : + +MONTANT : {total_paid} + +À L'ORDRE DE : {cheque_name} + +VEUILLEZ ENVOYER VOTRE CHÈQUE À L'ADRESSE SUIVANTE : +{cheque_address} + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +via la section "Guest Tracking" +[{guest_tracking_url}] sur notre boutique. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/contact.html b/themes/toutpratique/mails/fr/contact.html new file mode 100644 index 00000000..86ad0a3b --- /dev/null +++ b/themes/toutpratique/mails/fr/contact.html @@ -0,0 +1,115 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Message de la part d'un client de {shop_name} + +
      + + + + + + +
        + + + Adresse e-mail du client : {email}

      + Message du client : {message}

      + Commande # : {order_name}
      + Pièce jointe : {attached_file} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/contact.txt b/themes/toutpratique/mails/fr/contact.txt new file mode 100644 index 00000000..6176baab --- /dev/null +++ b/themes/toutpratique/mails/fr/contact.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Message de la part d'un client de {shop_name} + +ADRESSE E-MAIL DU CLIENT : {email} + +MESSAGE DU CLIENT : {message} + +COMMANDE # : {order_name} + +PIÈCE JOINTE : {attached_file} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/contact_form.html b/themes/toutpratique/mails/fr/contact_form.html new file mode 100644 index 00000000..9bba5613 --- /dev/null +++ b/themes/toutpratique/mails/fr/contact_form.html @@ -0,0 +1,125 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Votre message à l'attention du service client de {shop_name} + +
      + + + + + + +
        + + + Votre message a bien été envoyé à notre service client.

      + Message : {message}

      + Commande # : {order_name}
      + Produit : {product_name}
      + Pièce jointe : {attached_file} +
      +
      +
       
      +
      + + + Nous vous répondrons dés que possible. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/contact_form.txt b/themes/toutpratique/mails/fr/contact_form.txt new file mode 100644 index 00000000..631367d9 --- /dev/null +++ b/themes/toutpratique/mails/fr/contact_form.txt @@ -0,0 +1,20 @@ + +[{shop_url}] + +Votre message à l'attention du service client de {shop_name} + +Votre message a bien été envoyé à notre service client. + +MESSAGE : {message} + +COMMANDE # : {order_name} + +PRODUIT : {product_name} + +PIÈCE JOINTE : {attached_file} + +Nous vous répondrons dés que possible. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/credit_slip.html b/themes/toutpratique/mails/fr/credit_slip.html new file mode 100644 index 00000000..f96812c2 --- /dev/null +++ b/themes/toutpratique/mails/fr/credit_slip.html @@ -0,0 +1,122 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Nouvel avoir

      + + Nous vous informons de la génération d'un avoir à votre nom relatif à votre commande ayant pour référence {order_name}. +
      +
       
      +
      + + + Vous pouvez accéder à cet avoir et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/credit_slip.txt b/themes/toutpratique/mails/fr/credit_slip.txt new file mode 100644 index 00000000..fcfc0447 --- /dev/null +++ b/themes/toutpratique/mails/fr/credit_slip.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Nous vous informons de la génération d'un avoir à votre nom +relatif à votre commande ayant pour référence {order_name}. + +Vous pouvez accéder à cet avoir et télécharger votre facture +dans "Historique des commandes" [{history_url}] de la +rubrique "Mon compte" [{my_account_url}] sur notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/download-product.tpl b/themes/toutpratique/mails/fr/download-product.tpl new file mode 100644 index 00000000..3ad0101b --- /dev/null +++ b/themes/toutpratique/mails/fr/download-product.tpl @@ -0,0 +1,13 @@ +
        +{foreach from=$virtualProducts item=product} +
      • + {$product.name} + {if isset($product.deadline)} + expires on {$product.deadline} + {/if} + {if isset($product.downloadable)} + downloadable {$product.downloadable} time(s) + {/if} +
      • +{/foreach} +
      \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/download_product.html b/themes/toutpratique/mails/fr/download_product.html new file mode 100644 index 00000000..25b6d690 --- /dev/null +++ b/themes/toutpratique/mails/fr/download_product.html @@ -0,0 +1,133 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci pour votre commande portant la référence {order_name} sur {shop_name} +
      +
      + + + + + + +
        + +

      + Produit(s) à télécharger

      + + Vous avez {nbProducts} produit(s) à télécharger.

      + {virtualProducts} +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/download_product.txt b/themes/toutpratique/mails/fr/download_product.txt new file mode 100644 index 00000000..0b4ea13e --- /dev/null +++ b/themes/toutpratique/mails/fr/download_product.txt @@ -0,0 +1,25 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci pour votre commande portant la référence {order_name} sur +{shop_name} + +Vous avez {nbproducts} produit(s) à télécharger. + +{virtualproducts} + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/employee_password.html b/themes/toutpratique/mails/fr/employee_password.html new file mode 100644 index 00000000..55281d95 --- /dev/null +++ b/themes/toutpratique/mails/fr/employee_password.html @@ -0,0 +1,118 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Voici vos informations personnelles pour {shop_name}

      + + Voici vos informations d'identification sur {shop_name} :

      + Prénom : {firstname}
      + Nom : {lastname}
      + Mot de passe : {passwd}
      + Adresse e-mail : {email} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/employee_password.txt b/themes/toutpratique/mails/fr/employee_password.txt new file mode 100644 index 00000000..5c757b4c --- /dev/null +++ b/themes/toutpratique/mails/fr/employee_password.txt @@ -0,0 +1,18 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Voici vos informations d'identification sur {shop_name} : + +PRÉNOM : {firstname} + +NOM : {lastname} + +MOT DE PASSE : {passwd} + +ADRESSE E-MAIL : {email} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/forward_msg.html b/themes/toutpratique/mails/fr/forward_msg.html new file mode 100644 index 00000000..79523e53 --- /dev/null +++ b/themes/toutpratique/mails/fr/forward_msg.html @@ -0,0 +1,116 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Service client - Discussion transférée

      + + {employee} souhaite vous transférer cette discussion.

      + Historique de la discussion : {messages}

      + {employee} a ajouté "{comment}" +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/forward_msg.txt b/themes/toutpratique/mails/fr/forward_msg.txt new file mode 100644 index 00000000..b0d336e4 --- /dev/null +++ b/themes/toutpratique/mails/fr/forward_msg.txt @@ -0,0 +1,14 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +{employee} souhaite vous transférer cette discussion. + +HISTORIQUE DE LA DISCUSSION : {messages} + +{employee} a ajouté "{comment}" + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/guest_to_customer.html b/themes/toutpratique/mails/fr/guest_to_customer.html new file mode 100644 index 00000000..455ec030 --- /dev/null +++ b/themes/toutpratique/mails/fr/guest_to_customer.html @@ -0,0 +1,134 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Votre compte invité a été transformé en compte client

      + + Votre compte invité sur {shop_name} a été transformé en compte client.

      + Adresse e-mail : {email}

      + Mot de passe : {passwd} +
      +
      +
       
      +
      + + + Conservez ces informations confidentielles. + +
      + + + Vous pouvez accéder à votre compte sur notre site Internet : {shop_url} + + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/guest_to_customer.txt b/themes/toutpratique/mails/fr/guest_to_customer.txt new file mode 100644 index 00000000..bf8f8b4d --- /dev/null +++ b/themes/toutpratique/mails/fr/guest_to_customer.txt @@ -0,0 +1,20 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre compte invité sur {shop_name} a été transformé en compte +client. + +ADRESSE E-MAIL : {email} + +MOT DE PASSE : {passwd} + +Conservez ces informations confidentielles. + +Vous pouvez accéder à votre compte sur notre site Internet : +{shop_url} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/in_transit.html b/themes/toutpratique/mails/fr/in_transit.html new file mode 100644 index 00000000..fd22c4a7 --- /dev/null +++ b/themes/toutpratique/mails/fr/in_transit.html @@ -0,0 +1,132 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - En cours d'expédition

      + + La livraison de votre commande ayant pour référence {order_name} est en cours.

      + Vous pouvez suivre la progression de votre livraison à l'adresse suivante: {followup} +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/in_transit.txt b/themes/toutpratique/mails/fr/in_transit.txt new file mode 100644 index 00000000..5a50d325 --- /dev/null +++ b/themes/toutpratique/mails/fr/in_transit.txt @@ -0,0 +1,24 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +La livraison de votre commande ayant pour référence {order_name} +est en cours. + +Vous pouvez suivre la progression de votre livraison à l'adresse +suivante: {followup} [{followup}] + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/lang.php b/themes/toutpratique/mails/fr/lang.php new file mode 100644 index 00000000..2d4516e7 --- /dev/null +++ b/themes/toutpratique/mails/fr/lang.php @@ -0,0 +1,45 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Nouveau message d'alerte enregistré

      + + Attention : vous avez reçu un nouveau message d'alerte dans votre Back-Office.

      + Vous pouvez voir ce message dans votre Panneau d'administration dans Outils > Log.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/log_alert.txt b/themes/toutpratique/mails/fr/log_alert.txt new file mode 100644 index 00000000..3ac0d618 --- /dev/null +++ b/themes/toutpratique/mails/fr/log_alert.txt @@ -0,0 +1,14 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +ATTENTION : vous avez reçu un nouveau message d'alerte dans votre +Back-Office. + +Vous pouvez voir ce message dans votre Panneau d'administration dans +OUTILS > LOG. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/newsletter.html b/themes/toutpratique/mails/fr/newsletter.html new file mode 100644 index 00000000..8df3ba19 --- /dev/null +++ b/themes/toutpratique/mails/fr/newsletter.html @@ -0,0 +1,97 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + +
      + Bonjour {firstname} {lastname}, +
      + {message} +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/newsletter.txt b/themes/toutpratique/mails/fr/newsletter.txt new file mode 100644 index 00000000..d3135c8f --- /dev/null +++ b/themes/toutpratique/mails/fr/newsletter.txt @@ -0,0 +1,10 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +{message} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_canceled.html b/themes/toutpratique/mails/fr/order_canceled.html new file mode 100644 index 00000000..cb641438 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_canceled.html @@ -0,0 +1,130 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Commande annulée

      + + Votre commande sur {shop_name} ayant pour référence {order_name} a été annulée. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_canceled.txt b/themes/toutpratique/mails/fr/order_canceled.txt new file mode 100644 index 00000000..0bde0b72 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_canceled.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre commande sur {shop_name} ayant pour référence {order_name} +a été annulée. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_changed.html b/themes/toutpratique/mails/fr/order_changed.html new file mode 100644 index 00000000..540eb6f3 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_changed.html @@ -0,0 +1,130 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Commande modifiée

      + + Votre commande sur {shop_name} ayant pour référence {order_name} a été modifiée par le marchand. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_changed.txt b/themes/toutpratique/mails/fr/order_changed.txt new file mode 100644 index 00000000..e918a5c5 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_changed.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre commande sur {shop_name} ayant pour référence {order_name} +a été modifiée par le marchand. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_conf.html b/themes/toutpratique/mails/fr/order_conf.html new file mode 100644 index 00000000..ac4f9300 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf.html @@ -0,0 +1,395 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci d'avoir effectué vos achats sur {shop_name}! +
      +
      + + + + + + +
        + +

      + Détails de la commande

      + + Commande : {order_name} Date {date}

      + Paiement : {payment} +
      +
      +
       
      +
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      RéférenceProduitPrix unitaireQuantitéPrix total
      +   {products} +
      +   {discounts} +
      + + + + + + +
        + + Produits + +  
      +
      + + + + + + +
        + + {total_products} + +  
      +
      + + + + + + +
        + + Réductions + +  
      +
      + + + + + + +
        + + {total_discounts} + +  
      +
      + + + + + + +
        + + Paquet cadeau + +  
      +
      + + + + + + +
        + + {total_wrapping} + +  
      +
      + + + + + + +
        + + Livraison + +  
      +
      + + + + + + +
        + + {total_shipping} + +  
      +
      + + + + + + +
        + + TVA totale + +  
      +
      + + + + + + +
        + + {total_tax_paid} + +  
      +
      + + + + + + +
        + + Total payé + +  
      +
      + + + + + + +
        + + {total_paid} + +  
      +
      +
      +
      + + + + + + +
        + +

      + Livraison

      + + Transporteur : {carrier}

      + Paiement : {payment} +
      +
      +
       
      +
      + + + + + + +
      + + + + + + +
        + +

      + Adresse de livraison

      + + {delivery_block_html} + + +
      +
       
      +
        + + + + + + +
        + +

      + Adresse de facturation

      + + {invoice_block_html} + + +
      +
       
      +
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_conf.txt b/themes/toutpratique/mails/fr/order_conf.txt new file mode 100644 index 00000000..6cb2d422 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf.txt @@ -0,0 +1,70 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci d'avoir effectué vos achats sur {shop_name}! + +COMMANDE : {order_name} Date {date} + +PAIEMENT : {payment} + +RÉFÉRENCE + +PRODUIT + +PRIX UNITAIRE + +QUANTITÉ + +PRIX TOTAL + +{products_txt} + +{discounts} + +PRODUITS + +{total_products} + +RÉDUCTIONS + +{total_discounts} + +PAQUET CADEAU + +{total_wrapping} + +LIVRAISON + +{total_shipping} + +TVA TOTALE + +{total_tax_paid} + +TOTAL PAYÉ + +{total_paid} + +TRANSPORTEUR : {carrier} + +PAIEMENT : {payment} + +{delivery_block_txt} + +{invoice_block_txt} + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_conf_cart_rules.tpl b/themes/toutpratique/mails/fr/order_conf_cart_rules.tpl new file mode 100644 index 00000000..742554d7 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf_cart_rules.tpl @@ -0,0 +1,30 @@ +{foreach $list as $cart_rule} + + + + + + + + +
      + + {$cart_rule['voucher_name']} + +
      + + + + + + + + +
      + + {$cart_rule['voucher_reduction']} + +
      + + +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_conf_cart_rules.txt b/themes/toutpratique/mails/fr/order_conf_cart_rules.txt new file mode 100644 index 00000000..72a6970d --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf_cart_rules.txt @@ -0,0 +1,3 @@ +{foreach $list as $cart_rule} + {$cart_rule['voucher_name']} {$cart_rule['voucher_reduction']} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_conf_product_list.tpl b/themes/toutpratique/mails/fr/order_conf_product_list.tpl new file mode 100644 index 00000000..104b21db --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf_product_list.tpl @@ -0,0 +1,126 @@ +{foreach $list as $product} + + + + + + + + +
        + + {$product['reference']} + +  
      + + + + + + + + +
        + + {$product['name']} + +  
      + + + + + + + + +
        + + {$product['unit_price']} + +  
      + + + + + + + + +
        + + {$product['quantity']} + +  
      + + + + + + + + +
        + + {$product['price']} + +  
      + + + {foreach $product['customization'] as $customization} + + + + + + + + +
        + + {$product['name']}
      + {$customization['customization_text']} +
      +
       
      + + + + + + + + +
        + + {$product['unit_price']} + +  
      + + + + + + + + +
        + + {$customization['customization_quantity']} + +  
      + + + + + + + + +
        + + {$customization['quantity']} + +  
      + + + {/foreach} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_conf_product_list.txt b/themes/toutpratique/mails/fr/order_conf_product_list.txt new file mode 100644 index 00000000..0ffd7db7 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_conf_product_list.txt @@ -0,0 +1,21 @@ +{foreach $list as $product} + {$product['reference']} + + {$product['name']} + + {$product['price']} + + {$product['quantity']} + + {$product['price']} + + {foreach $product['customization'] as $customization} + {$product['name']} {$customization['customization_text']} + + {$product['price']} + + {$product['customization_quantity']} + + {$product['quantity']} + {/foreach} +{/foreach} \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_customer_comment.html b/themes/toutpratique/mails/fr/order_customer_comment.html new file mode 100644 index 00000000..70c9aba4 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_customer_comment.html @@ -0,0 +1,116 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Message d'un client

      + + Vous avez reçu un nouveau message concernant la commande ayant pour référence : {order_name}.

      + Client : {firstname} {lastname} ({email})

      + {message} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_customer_comment.txt b/themes/toutpratique/mails/fr/order_customer_comment.txt new file mode 100644 index 00000000..5f753d76 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_customer_comment.txt @@ -0,0 +1,15 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Vous avez reçu un nouveau message concernant la commande ayant pour +référence : {order_name}. + +CLIENT : {firstname} {lastname} ({email}) + +{message} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_merchant_comment.html b/themes/toutpratique/mails/fr/order_merchant_comment.html new file mode 100644 index 00000000..a08cfe52 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_merchant_comment.html @@ -0,0 +1,115 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Message de {shop_name}

      + + Vous avez reçu un nouveau message de {shop_name} concernant la commande ayant pour référence {order_name}.

      + Message : {message} +
      +
      +
       
      +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/fr/order_merchant_comment.txt b/themes/toutpratique/mails/fr/order_merchant_comment.txt new file mode 100644 index 00000000..216bfad1 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_merchant_comment.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Vous avez reçu un nouveau message de {shop_name} concernant la +commande ayant pour référence {order_name}. + +MESSAGE : {message} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/order_return_state.html b/themes/toutpratique/mails/fr/order_return_state.html new file mode 100644 index 00000000..08f617d5 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_return_state.html @@ -0,0 +1,123 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Retour de commande #{id_order_return} - mise à jour

      + + Votre bon de retour #{id_order_return} est passé à l'état : "{state_order_return}"
      +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/order_return_state.txt b/themes/toutpratique/mails/fr/order_return_state.txt new file mode 100644 index 00000000..67d73214 --- /dev/null +++ b/themes/toutpratique/mails/fr/order_return_state.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre bon de retour #{id_order_return} est passé à l'état : +"{state_order_return}" + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/outofstock.html b/themes/toutpratique/mails/fr/outofstock.html new file mode 100644 index 00000000..5f68c619 --- /dev/null +++ b/themes/toutpratique/mails/fr/outofstock.html @@ -0,0 +1,131 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci pour votre commande ayant pour référence {order_name} sur {shop_name} +
      +
      + + + + + + +
        + +

      + Commande {order_name} - Réapprovisionnement nécessaire

      + + Malheureusement, un ou plusieurs des produits que vous avez commandés sont actuellement en rupture de stock. Ceci peut entraîner un léger retard de livraison. Veuillez nous excuser pour pour ce délai et soyez assurés que nous faisons nos meilleurs efforts pour rectifier la situation rapidement. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/outofstock.txt b/themes/toutpratique/mails/fr/outofstock.txt new file mode 100644 index 00000000..f299f2a5 --- /dev/null +++ b/themes/toutpratique/mails/fr/outofstock.txt @@ -0,0 +1,27 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci pour votre commande ayant pour référence {order_name} sur +{shop_name} + +Malheureusement, un ou plusieurs des produits que vous avez +commandés sont actuellement en rupture de stock. Ceci peut entraîner +un léger retard de livraison. Veuillez nous excuser pour pour ce +délai et soyez assurés que nous faisons nos meilleurs efforts pour +rectifier la situation rapidement. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/password.html b/themes/toutpratique/mails/fr/password.html new file mode 100644 index 00000000..70d65a23 --- /dev/null +++ b/themes/toutpratique/mails/fr/password.html @@ -0,0 +1,132 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Vos nouvelles informations d'identification sur {shop_name}

      + + Adresse e-mail : {email}
      + Mot de passe : {passwd} +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/password.txt b/themes/toutpratique/mails/fr/password.txt new file mode 100644 index 00000000..444315e9 --- /dev/null +++ b/themes/toutpratique/mails/fr/password.txt @@ -0,0 +1,22 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +ADRESSE E-MAIL : {email} + +MOT DE PASSE : {passwd} + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/password_query.html b/themes/toutpratique/mails/fr/password_query.html new file mode 100644 index 00000000..81fb6b4d --- /dev/null +++ b/themes/toutpratique/mails/fr/password_query.html @@ -0,0 +1,116 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Confirmation de demande de mot de passe sur {shop_name}

      + + Vous avez demandé à récupérer vos codes d'accès sur {shop_name}.

      + Cette opération vous attribuera un nouveau mot de passe.

      + Si vous souhaitez confirmer cette demande, cliquez sur le lien suivant :
      {url} +
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/password_query.txt b/themes/toutpratique/mails/fr/password_query.txt new file mode 100644 index 00000000..4c5dc202 --- /dev/null +++ b/themes/toutpratique/mails/fr/password_query.txt @@ -0,0 +1,17 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Vous avez demandé à récupérer vos codes d'accès sur {shop_name}. + +Cette opération vous attribuera un nouveau mot de passe. + +Si vous souhaitez confirmer cette demande, cliquez sur le lien +suivant : + +{url} [{url}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/payment.html b/themes/toutpratique/mails/fr/payment.html new file mode 100644 index 00000000..ae29ba48 --- /dev/null +++ b/themes/toutpratique/mails/fr/payment.html @@ -0,0 +1,131 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Merci d'avoir effectué vos achats sur {shop_name}! +
      +
      + + + + + + +
        + +

      + Commande {order_name} - Paiement accepté

      + + Le paiement pour votre commande ayant pour référence {order_name} a été accepté. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/fr/payment.txt b/themes/toutpratique/mails/fr/payment.txt new file mode 100644 index 00000000..ef0320c4 --- /dev/null +++ b/themes/toutpratique/mails/fr/payment.txt @@ -0,0 +1,23 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci d'avoir effectué vos achats sur {shop_name}! + +Le paiement pour votre commande ayant pour référence +{order_name} a été accepté. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/payment_error.html b/themes/toutpratique/mails/fr/payment_error.html new file mode 100644 index 00000000..bb5dd0d0 --- /dev/null +++ b/themes/toutpratique/mails/fr/payment_error.html @@ -0,0 +1,132 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Erreur de paiement

      + + Un problème a été constaté pour le paiement de votre commande sur {shop_name} ayant pour référence {order_name}. Veuillez nous contacter le plus rapidement possible.
      + Nous ne pouvons malheureusement pas expédier votre commande tant que nous n'avons pas reçu votre paiement. +
      +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/payment_error.txt b/themes/toutpratique/mails/fr/payment_error.txt new file mode 100644 index 00000000..5a3ec256 --- /dev/null +++ b/themes/toutpratique/mails/fr/payment_error.txt @@ -0,0 +1,25 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Un problème a été constaté pour le paiement de votre commande sur +{shop_name} ayant pour référence {order_name}. Veuillez nous +contacter le plus rapidement possible. + +NOUS NE POUVONS MALHEUREUSEMENT PAS EXPÉDIER VOTRE COMMANDE TANT QUE +NOUS N'AVONS PAS REÇU VOTRE PAIEMENT. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/preparation.html b/themes/toutpratique/mails/fr/preparation.html new file mode 100644 index 00000000..7936ed6e --- /dev/null +++ b/themes/toutpratique/mails/fr/preparation.html @@ -0,0 +1,130 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - En cours de préparation

      + + Votre commande sur {shop_name} ayant pour référence {order_name} est en cours de préparation. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/preparation.txt b/themes/toutpratique/mails/fr/preparation.txt new file mode 100644 index 00000000..04c5ec2c --- /dev/null +++ b/themes/toutpratique/mails/fr/preparation.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre commande sur {shop_name} ayant pour référence {order_name} +est en cours de préparation. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/refund.html b/themes/toutpratique/mails/fr/refund.html new file mode 100644 index 00000000..fcbd9b85 --- /dev/null +++ b/themes/toutpratique/mails/fr/refund.html @@ -0,0 +1,130 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Remboursement effectué

      + + Nous avons procédé au remboursement de votre commande sur {shop_name} portant la référence {order_name}. +
      +
       
      +
      + + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. + +
      + + + Si vous avez un compte invité, vous pouvez suivre votre commande dans la section "Suivi invité" de notre site. + +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/mails/fr/refund.txt b/themes/toutpratique/mails/fr/refund.txt new file mode 100644 index 00000000..f053d4dd --- /dev/null +++ b/themes/toutpratique/mails/fr/refund.txt @@ -0,0 +1,21 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Nous avons procédé au remboursement de votre commande sur +{shop_name} portant la référence {order_name}. + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +Si vous avez un compte invité, vous pouvez suivre votre commande +dans la section "Suivi invité" +[{guest_tracking_url}?id_order={order_name}] de notre +site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/reply_msg.html b/themes/toutpratique/mails/fr/reply_msg.html new file mode 100644 index 00000000..6034c225 --- /dev/null +++ b/themes/toutpratique/mails/fr/reply_msg.html @@ -0,0 +1,106 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + + +
      + Bonjour {firstname} {lastname}, +
      + {reply} +
      + + Veuillez ne pas répondre directement à ce message, nous ne recevrons pas votre réponse.
      + Pour répondre, veuillez utiliser le lien suivant : {link}
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/reply_msg.txt b/themes/toutpratique/mails/fr/reply_msg.txt new file mode 100644 index 00000000..3b30ff6f --- /dev/null +++ b/themes/toutpratique/mails/fr/reply_msg.txt @@ -0,0 +1,16 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +{reply} + +Veuillez ne pas répondre directement à ce message, nous ne +recevrons pas votre réponse. + +Pour répondre, veuillez utiliser le lien suivant : {link} +[{link}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/shipped.html b/themes/toutpratique/mails/fr/shipped.html new file mode 100644 index 00000000..112604dc --- /dev/null +++ b/themes/toutpratique/mails/fr/shipped.html @@ -0,0 +1,120 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname},
      + Votre commande a été expédiée +
      +
      + + + + + + +
        + +

      + Commande {order_name} - Expédié

      + + Votre commande ayant la référence {order_name} vient d'être expédiée.
      + Merci d'avoir effectué vos achats sur {shop_name}!
      +
      +
       
      +
      + + Vous pouvez accéder à tout moment au suivi de votre commande et télécharger votre facture dans "Historique des commandes" de la rubrique "Mon compte" sur notre site. +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/shipped.txt b/themes/toutpratique/mails/fr/shipped.txt new file mode 100644 index 00000000..5a4d30be --- /dev/null +++ b/themes/toutpratique/mails/fr/shipped.txt @@ -0,0 +1,20 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Votre commande a été expédiée + +Votre commande ayant la référence {order_name} vient d'être +expédiée. + +Merci d'avoir effectué vos achats sur {shop_name}! + +Vous pouvez accéder à tout moment au suivi de votre commande et +télécharger votre facture dans "Historique des commandes" +[{history_url}] de la rubrique "Mon compte" +[{my_account_url}] sur notre site. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/test.html b/themes/toutpratique/mails/fr/test.html new file mode 100644 index 00000000..49c00bbe --- /dev/null +++ b/themes/toutpratique/mails/fr/test.html @@ -0,0 +1,118 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + + + + +
      + Bonjour +
      + + + + + + +
        + +

      + Test de titre

      + + Test de contenu +
      +
       
      +
      + + Voici un e-mail de test de votre boutique.

      Si vous parvenez à lire ceci, le test a réussi!. +
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/test.txt b/themes/toutpratique/mails/fr/test.txt new file mode 100644 index 00000000..77aac01c --- /dev/null +++ b/themes/toutpratique/mails/fr/test.txt @@ -0,0 +1,12 @@ + +[{shop_url}] + +Bonjour + +Voici un E-MAIL de test de votre boutique. + +Si vous parvenez à lire ceci, le test a réussi!. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/voucher.html b/themes/toutpratique/mails/fr/voucher.html new file mode 100644 index 00000000..33273d99 --- /dev/null +++ b/themes/toutpratique/mails/fr/voucher.html @@ -0,0 +1,114 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Commande {order_name} - Bon de réduction créé

      + + Nous vous informons de la génération d'un bon de réduction à votre nom relatif à votre commande ayant pour référence {order_name}.

      + Code du bon de réduction : {voucher_num} Montant: {voucher_amount}

      + Copiez-collez ce numéro dans le panier de votre prochain achat avant de régler la commande.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/voucher.txt b/themes/toutpratique/mails/fr/voucher.txt new file mode 100644 index 00000000..ec9b2d6d --- /dev/null +++ b/themes/toutpratique/mails/fr/voucher.txt @@ -0,0 +1,17 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Nous vous informons de la génération d'un bon de réduction à +votre nom relatif à votre commande ayant pour référence +{order_name}. + +CODE DU BON DE RÉDUCTION : {voucher_num} Montant: {voucher_amount} + +Copiez-collez ce numéro dans le panier de votre prochain achat avant +de régler la commande. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/fr/voucher_new.html b/themes/toutpratique/mails/fr/voucher_new.html new file mode 100644 index 00000000..1374be41 --- /dev/null +++ b/themes/toutpratique/mails/fr/voucher_new.html @@ -0,0 +1,114 @@ + + + + + + Message de {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + + + + +
        + +

      + Nous vous informons de la génération d'un bon de réduction.

      + + Voici le numéro de votre bon de réduction : {voucher_num}

      + Copiez-collez ce numéro dans le panier de votre prochain achat avant de régler la commande.
      +
      +
       
      +
      + + + + +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/mails/fr/voucher_new.txt b/themes/toutpratique/mails/fr/voucher_new.txt new file mode 100644 index 00000000..7c9420af --- /dev/null +++ b/themes/toutpratique/mails/fr/voucher_new.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Voici le numéro de votre bon de réduction : {voucher_num} + +Copiez-collez ce numéro dans le panier de votre prochain achat avant +de régler la commande. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/mails/header-mail.jpg b/themes/toutpratique/mails/header-mail.jpg new file mode 100644 index 00000000..fbb1a89e Binary files /dev/null and b/themes/toutpratique/mails/header-mail.jpg differ diff --git a/themes/toutpratique/maintenance.tpl b/themes/toutpratique/maintenance.tpl new file mode 100644 index 00000000..5e89833a --- /dev/null +++ b/themes/toutpratique/maintenance.tpl @@ -0,0 +1,55 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + + {$meta_title|escape:'html':'UTF-8'} + +{if isset($meta_description)} + +{/if} +{if isset($meta_keywords)} + +{/if} + + + + + + +
      +
      + + {$HOOK_MAINTENANCE} +
      +

      {l s='Maintenance mode'}

      + {l s='In order to perform website maintenance, our online store will be temporarily offline.'} + {l s='We apologize for the inconvenience and ask that you please try again later.'} +
      +
      +
      + + diff --git a/themes/toutpratique/manufacturer-list.tpl b/themes/toutpratique/manufacturer-list.tpl new file mode 100644 index 00000000..a3e03a3e --- /dev/null +++ b/themes/toutpratique/manufacturer-list.tpl @@ -0,0 +1,157 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path}{l s='Manufacturers:'}{/capture} + +

      + {l s='Brands'} + {strip} + + {if $nbManufacturers == 0}{l s='There are no manufacturers.'} + {else} + {if $nbManufacturers == 1} + {l s='There is 1 brand'} + {else} + {l s='There are %d brands' sprintf=$nbManufacturers} + {/if} + {/if} + + {/strip} +

      +{if isset($errors) AND $errors} + {include file="$tpl_dir./errors.tpl"} +{else} + {if $nbManufacturers > 0} +
      +
      + {if isset($manufacturer) && $manufacturer.nb_products > 0} + + {/if} + {include file="./nbr-product-page.tpl"} +
      +
      + {include file="$tpl_dir./pagination.tpl"} +
      +
      + + {assign var='nbItemsPerLine' value=3} + {assign var='nbItemsPerLineTablet' value=2} + {assign var='nbLi' value=$manufacturers|@count} + {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} + {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} + + +
      +
      + {include file="$tpl_dir./pagination.tpl" paginationId='bottom'} +
      +
      + {/if} +{/if} diff --git a/themes/toutpratique/manufacturer.tpl b/themes/toutpratique/manufacturer.tpl new file mode 100644 index 00000000..34651960 --- /dev/null +++ b/themes/toutpratique/manufacturer.tpl @@ -0,0 +1,76 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +{include file="$tpl_dir./errors.tpl"} + +{if !isset($errors) OR !sizeof($errors)} +

      + {l s='List of products by manufacturer'} {$manufacturer->name|escape:'html':'UTF-8'} +

      + {if !empty($manufacturer->description) || !empty($manufacturer->short_description)} +
      + {if !empty($manufacturer->short_description)} +
      + {$manufacturer->short_description} +
      +
      + {$manufacturer->description} +
      + + {l s='More'} + + {else} +
      + {$manufacturer->description} +
      + {/if} +
      + {/if} + + {if $products} +
      +
      + {include file="./product-sort.tpl"} + {include file="./nbr-product-page.tpl"} +
      +
      + {include file="./product-compare.tpl"} + {include file="$tpl_dir./pagination.tpl"} +
      +
      + + {include file="./product-list.tpl" products=$products} + +
      +
      + {include file="./product-compare.tpl"} + {include file="./pagination.tpl" paginationId='bottom'} +
      +
      + {else} +

      {l s='No products for this manufacturer.'}

      + {/if} +{/if} diff --git a/themes/toutpratique/mobile/css/autoload/index.php b/themes/toutpratique/mobile/css/autoload/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/mobile/css/autoload/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/mobile/css/index.php b/themes/toutpratique/mobile/css/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/mobile/css/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/mobile/index.php b/themes/toutpratique/mobile/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/mobile/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/mobile/js/autoload/index.php b/themes/toutpratique/mobile/js/autoload/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/mobile/js/autoload/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/mobile/js/index.php b/themes/toutpratique/mobile/js/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/mobile/js/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/additionalproductsorder/list.tpl b/themes/toutpratique/modules/additionalproductsorder/list.tpl new file mode 100644 index 00000000..13708f3a --- /dev/null +++ b/themes/toutpratique/modules/additionalproductsorder/list.tpl @@ -0,0 +1,44 @@ +{if $additionalProductsActive == true && $additionalProductsCount > 0} +
      + {foreach from=$additionalProducts item=additionalProduct name=additionalProduct} + {assign var=allow_oosp value=$additionalProduct->isAvailableWhenOutOfStock($additionalProduct->out_of_stock)} + {assign var=coverWs value=$additionalProduct->getCoverWs()} + {assign var=productId value=$additionalProduct->id} + {assign var=imageIds value="$productId-$coverWs"} + {if !(!$allow_oosp && $additionalProduct->quantity <= 0) OR !$additionalProduct->available_for_order OR $PS_CATALOG_MODE} +
      +
      +
      + + + + +
      +
      + {$additionalProduct->description_short|strip_tags} + {$additionalProduct->name|escape:'htmlall':'UTF-8'} +
      +
      + {l s='Prix' mod='additionalproductsorder'} : + {if isset($displaying_price) && $displaying_price == '1'} + {if $additionalProduct->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} + {if !$priceDisplay}{convertPrice price=$additionalProduct->getPrice()}{else}{convertPrice price=$additionalProduct->getPrice(false)}{/if} + {/if} + {/if} +
      +
      + +
      + {/if} + {/foreach} +
      +{/if} diff --git a/themes/toutpratique/modules/additionalproductsorder/translations/fr.php b/themes/toutpratique/modules/additionalproductsorder/translations/fr.php new file mode 100644 index 00000000..662a2f7e --- /dev/null +++ b/themes/toutpratique/modules/additionalproductsorder/translations/fr.php @@ -0,0 +1,158 @@ +additionalproductsorder_0c235c810dc9551a273c67f658f7d210'] = 'Lineven - Produits complémentaires à la commande'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0a6852a78441a1ea63fc6cbe2a38f73a'] = 'Produits Complémentaires'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_7b9c97364f2ce847edbe1afa6f3e6be9'] = 'Affiche des produits complémentaires sur la page de commande.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fa214007826415a21a8456e3e09f999d'] = 'Etes-vous sûr(e) de vouloir supprimer tout vos détails ?'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_dff45818b241d969063c2214d8ffb604'] = 'Pour finaliser votre commande, nous vous proposons ces produits'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_de62775a71fc2bf7a13d7530ae24a7ed'] = 'Paramètres généraux'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_2b5932460c4f1e726c2fe5eb4c84cf64'] = 'Produits complémentaires'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_1afa74da05ca145d3418aad9af510109'] = 'Design'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_a083cbc8301f26b7e625cd6d13c697aa'] = 'Le nombre de produits à afficher est requis. Mettre 0 pour tous les produits.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9cf97aee1c6cc0fce9e3a984965e9fed'] = 'Le nombre de produits à afficher ne peut être négatif. Mettre 0 pour tous les produits.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_c1a76dbab2e1784b7fa1ddfd7a29d042'] = 'Vous devez sélectionner le type d\'image pour vos produits.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_f6112d4849f54caaad29ea819aa94810'] = 'Vous devez sélectionner un mode d\'affichage.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_a9cdcc18460acaa871065741010360a3'] = 'Vous devez sélectionner la priorité d\'affichage pour les accessoires.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_ec912f029d050400f24d5ffef42f7e05'] = 'Vos paramètres généraux ont été mis à jour.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_d95c3da1e9c2f0c4233f212b9f243897'] = 'Vous devez sélectionner la catégorie de produit relative au panier client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_204f3ad6bcb2f38ed47bf7248c4a3e4f'] = 'Vous devez sélectionner le produit relatif au panier client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_688f4f00b296e9625d62bf0ba38c3020'] = 'L\'identifiant du produit relatif au panier client est incorrect.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_e15e40b3f99d881d444839f78e585d51'] = 'La référence du produit relatif au panier client est incorrecte.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_4b9365c5c9b70fa23d20e3289953f53a'] = 'Le produit relatif au panier client est incorrect.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_7fb7482f3eb91e981e370104061d92fc'] = 'Le produit relatif au panier client n\'existe pas pour cette boutique.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_5346021dc4eb63d4b6f389c66fc06cb4'] = 'Vous devez sélectionner un produit à afficher.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0ec9d2f7d6b6d97a46a52b0ef0bf1919'] = 'L\'identifiant du produit à afficher est incorrect.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_1b0a3c7f49ae3f9b1cb58bfabdccbef0'] = 'La référence du produit à afficher est incorrecte.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_8446937b5a4ee8c4e16f109b84574699'] = 'Le produit à afficher saisi est incorrect.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0bf9a5e9f3dac2d3adb3e5a05f839e68'] = 'Le produit à afficher n\'existe pas pour cette boutique.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b7adf7bc3150e73bdb0c95359fdf54e5'] = 'Vous devez sélectionner un mode d\'affichage pour modifier son apparence.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_a0fd56a68e84c8e095b2f91ff8be5e16'] = 'La zone de texte ne contient aucun style. Vous devez définir l\'apparence de votre module.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b323cbcbb58c61c26842b7abf2d10f5c'] = 'Votre design a été mis à jour.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_bd864e0c8e29723996ec98f396cf2282'] = 'Activer le module'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Actif'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b9f5c797ebbf55adccdd8539a65a0241'] = 'Inactif'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_7b058d2a2bc435374b0243f59844e3b1'] = 'Titre de la section'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9d2acde010ce03ad6c39696471fa4fad'] = 'Le titre de la section est affichée à vos clients dans leur page de commande avant la liste des produits complémentaires.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_8dd7d411d5a13557c31357c94488e49c'] = 'Suggérer les accessoires configurés pour chaque produit du catalogue et les afficher'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_2f44417567bc123bd7c60de8c2a2b444'] = 'avant'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_632a2406bbcbcd553eec45ac14b40a0a'] = 'après'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b8fba6f8f0ad5c11833db694251cbd2a'] = 'les produits complémentaires.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_af142fb98b63b5a73153b2b60800ebd6'] = 'Paramètres généraux d\'affichage'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_6aabfce2634f1b90b50553dc532dea73'] = 'Paramètres généraux pour l\'affichage.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9487709d5f0a828765e61893c890f3a2'] = 'Maximum de produits à afficher'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_ee9f9dd8e8b10f7c40fb5a0f82965905'] = 'La valeur doit être numérique et positive.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0f39be97a9dafa408af568df0b3b248a'] = 'Cette valeur est requise. Mettre à 0 pour afficher tous les produits.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_f4178c990cf6782268585043efa3c4a5'] = 'Le nombre maximum de produits à afficher inclus les accessoires et les produits complémentaires. Vous pouvez définir ce paramètre à 0 pour afficher tous les produits configurés.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b9f575d4e3451c42a4500e04da59cda1'] = 'Mode d\'affichage'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_4ee29ca12c7d126654bd0e5275de6135'] = 'Liste'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_acc66e14d297c1bfc20986bf593cb054'] = 'Miniatures'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_c5472d07bbd0020ceabe8d5344961edb'] = 'Type d\'image à utiliser'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_6527c4431570be5c78dcd3f6dae8f3fa'] = 'Affichage du prix'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_1eb432e14baaadb8ed3175bbadab7b42'] = 'Affichage de \"Ajouter au panier\"'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_7f3478f7a6ed0d8a16c497817671ce77'] = 'Paramètres du mode miniature'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_6f603c7a9f6112a1ffa7e85d3816af5c'] = 'Paramètres complémentaires pour le mode miniature.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_83e5aaeb2365c0d9e33752e5eff763c2'] = 'Affichage du titre'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_216ad031e89513a2f768b9126a81a172'] = 'Affichage de la description'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_25ea4c70cb4736c17db7d68f65345082'] = 'Base produits volumineuse'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_46b89a19a48a625e2d7a957665e5c640'] = 'Une base produits volumineuse peut empêcher l\'affichage des produits dans les listes déroulantes.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_f44073e2105c23b38f884b2e70abddc6'] = 'Pour cela, vous pouvez activer le paramètre ci-dessous pour une recherche alternative des produits.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_a6a527afc2271eec0f1541c4a5fb4140'] = 'Activer la base produits volumineuse'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_481a37072645bd5fba8498cf72504f61'] = 'Utiliser la référence produit pour la recherche des produits (par défaut, l\'identifiant produit est utilisé)'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_e86dbc63a7580d10b268037d390b47f3'] = 'Produits complémentaires dans le menu du backoffice'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9ae1ff10de2da0facd94dc5f5b52a6fc'] = 'Vous pouvez activer le menu du backoffice pour gérer vos produits sans avoir à passer par le module.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_70c1514a453f3f2bbd9e90f5f51f3789'] = 'Si vous activez ce paramètres, vous pouvez gérer les produits en vous rendant dans \"Catalogue > Produits complémentaires\".'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_8c01924e6cf57038148e499f66491717'] = 'Activer le menu backoffice'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_2f078b9f833fd1289791dd7e0e248a99'] = 'Dans cette section, vous pouvez définir les paramètres du module.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fba2d82f3edfec62b26c3d28022770ce'] = 'Ajouter / mettre à jour un produit complémentaire'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_e1700af2853e53e4b35e3974363d8499'] = 'Id.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_ebc3c3d65e3058ceacbec8a95420c882'] = 'Catégorie ou produit du panier'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_5b9f38d9c7b46591f4be1e4573d6cb20'] = 'Produit à afficher'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0f9fe2f953f093d3abb3f4b454d54c57'] = 'Groupe / Boutique'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_c6c32cc86c8b79bd2d06bc7f35877dc0'] = 'Pour trier les produits, vous devez sélectionner \"Toutes les boutiques\" dans la liste déroulante.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fcbe714269098fc87aa908539244fd76'] = 'Avec cette section, vous pouvez définir les produits complémentaires à afficher sur la page de commande.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_cec5987965b2309363e8da1b9072c9a9'] = 'Recherche produit'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_c302e7d8ac9d123ce4a7177e8924e6b8'] = 'Votre type d\'association'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_56dfd295b21e7d778fd4f2d107f14079'] = 'Affichage systématique'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_27413ea0ce81fd6ba430cd370b6c2330'] = 'Pour la catégorie relative dans le panier'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fad2e80164630a545f6ad1bb98cddc0f'] = 'Pour un produit spécifique dans le panier'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9fe8a1aeff069182b6f6cb225057ded3'] = 'Vous pouvez sélectionner les règles d\'affichage des produits sur la page de commande sur la base du panier client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_539581ff37d1a8bc6bd4fab1e07b78f9'] = 'Affichage systématique :'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_84e11205eed1bcd4ea4917f67f1e79e0'] = 'le produit est systématiquement affiché au client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_cbd1bd9863bd81652ef006c802990d53'] = 'Pour la catégorie relative dans le panier :'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_b79693184722ac0e1c8e0ebec175d23f'] = 'Si l\'un des produits du panier appartient à la catégorie sélectionnée, le produit complémentaire sera affiché au client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_a5c8f6d43e567fbab7ea9833c1682086'] = 'Pour un produit spécifique dans le panier :'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_dcd880199f2f0786f16912955ff2cbe1'] = 'Si le produit sélectionné est dans le panier client, le produit complémentaire sera affiché au client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_813b3dcaa6eb3f5317ce244aeaea0b88'] = 'Type d\'association'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fb91ba12b1a20cabda8db3465ee7d5dc'] = 'Votre association de produit'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_72f258e1f1708715100f62d95d5ba6b2'] = 'Sélectionnez les informations dépendantes de votre type d\'association.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0bae9ce2106e449e417af4cf793e0f91'] = 'Catégorie relative dans le panier'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_cdd486a40b3b1a401d7b2f53943e443e'] = 'Produit dans le panier'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_6cb992d5437a4ede03db13efd51213a8'] = 'Si vous connaissez l\'identifiant ou la référence du produit (selon votre configuration), vous pouvez directement le saisir dans ce champ.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9381a50f87b61385c028298208d188c9'] = 'Sinon, vous pouvez utiliser ce champ comme un champ de recherche et cliquez sur le bouton de recherche.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_66d70a6dd6eee5f37e352a684e30101d'] = 'Produit à afficher sur la page de commande du client.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0a3f082873eb454bde444150b70253cc'] = 'Extras'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_4a2ab24d2627fb9d5e026292901ae8b9'] = 'Vous pouvez définir un titre et / ou une description pour l\'affichage du produit sur la page de commande (par défaut, le titre et la description du produit sont pris en compte).'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_04ff30c5456fd551cf0c446afa8489fd'] = 'Le champs commentaire est uniquement destiné pour vos informations (n\'apparaît pas pour le client)'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_df644ae155e79abf54175bd15d75f363'] = 'Nom du produit'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_fe606d6919a8f41ca9022c887cc94035'] = 'Par défaut, le nom du produit est utilisé. Vous pouvez définir, pour chaque langue, un nom spécifique pour l\'affichage sur la page de commande.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_9d2680138cc4698f7fc3440496ffaa68'] = 'Description du produit'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_d57af9a5c85d73ad9ebeccf4a23c9d80'] = 'Par défaut, la description courte du produit est utilisée. Vous pouvez définir, pour chaque langue, une description spécifique pour l\'affichage sur la page de commande.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Commentaires'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_f83447f0f3bd6ff818de9782313a396a'] = 'Cette zone commentaire vous est uniquement destiné.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_8bea2286b4c164dc70496b01e246cd6d'] = 'Aperçu produit indisponible.'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_63d5049791d9d79d86e9a108b0a999ca'] = 'Référence'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_6f4a3e962df8132875be2ddd5dfaeb3f'] = 'Utilisez l\'apparence par défaut'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_2ca2a4f656b0550ea694e7243d815f44'] = 'Apparence pour le mode d\'affichage'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_007ab15b817f3b4a0b5ca91edb3a6f63'] = 'Recharge l\'apparence par défaut'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_0cb9f1007b726a4eb5023fb8b29db416'] = 'Avec cette section, vous pouvez modifier l\'affichage du module pour vos clients (réservé au experts css).'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_d615ef69ed0ccd6871d55c7ef082aef0'] = '(affichage systématique du produit)'; +$_MODULE['<{additionalproductsorder}wedigital>additionalproductsorder_804ccd6219996d12eda865d1c0707423'] = 'Toutes les boutiques'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_4245499695408b974322be6f01b0d17a'] = 'Mode test'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_8361ef88fda5b6d7f0a48ac2efc2bbcb'] = 'Support Lineven'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_73ff07f9e519c4fc199d1d8bda6b77a0'] = 'Vous devez mettre à jour votre module pour la version'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_f683581d3e75f05f9d9215f9b4696cef'] = 'Mettre à jour'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_9fde9515d3a1ede8d6f12a1892c894ec'] = 'Aide en ligne'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_28dfaa98287148b155b2d8abafaf90c7'] = 'Soyez patient pendant l\'initialisation.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_2b8f2dc215aa1bca815f6f8f28f22be0'] = 'Vous devez fournir votre adresse IP pour le test. Sans adresse IP, le mode test reste inactif.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_6af91e35dff67a43ace060d1d57d5d1a'] = 'Vos paramètres ont été mis à jour.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_34b6cd75171affba6957e308dcbd92be'] = 'Version'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_0b3ee670d256e009ab0614ca0db9ede0'] = 'Le mode de test est activé. Ce module ne sera pas actif pour vos clients'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_a8d69cdfad4c19ed22bf693b8871064e'] = 'Choisissez un langage'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_7fbd9b5594d82640856cd636bd961217'] = 'Quoi de neuf dans cette version'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_fa1bbaa5dd3b6afb1fd9ec60247490f4'] = 'Mettre à jour la version'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_2d4eaef3450482e64b96866ff17eb72d'] = 'Votre module doit être mis à jour'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_ab57754739890098ec15eb7cae381cb6'] = 'Activer le mode test'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Actif'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_b9f5c797ebbf55adccdd8539a65a0241'] = 'Inactif'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_3b8f9f4818c2a5a0f12a1e9825428bdb'] = 'Votre adresse IP'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_38f3a0c06b648a8defc0d6fce6d14ff5'] = 'Pour le mode test, cette valeur est requise.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_0b297d113a4bc48c3f67be90ef046383'] = 'Récupérer votre adresse IP'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_90c891bfd57f807459580df490a83c43'] = 'Entrer les adresses IP séparées par des virgules.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_740f2da58651fd971198beb69f86acf9'] = 'Paramètres pour le Support Lineven.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_ae2a4a935e93a745f81693622440fd8f'] = 'Aide contextuelle'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_2a43f8406eb6c10f3f76a60f064e67fb'] = 'Version de Prestashop'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_70caaddcbad80f951491db3341e36515'] = 'Nom technique du module'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_b1c1d84a65180d5912b2dee38a48d6b5'] = 'Version du module'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_96c2a2dfe1e5c880659be10de6bd072c'] = 'Version par défaut de Dojo'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_8a0d41e9d17cd5d7db5fa04fe0cbae41'] = 'Version de Dojo du module'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_90abb82b815ba71b02decf9f5a514cec'] = 'Pour tous problèmes ou questions, vous pouvez contactez le support par email : support-prestashop@lineven.com'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_a2bec2d2144163ccfd0b059e0a70d55f'] = 'Code à transmettre'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_897356954c2cd3d41b221e3f24f99bba'] = 'Clé'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_97967f5dbf5ab4cb5e75ffd9adebed51'] = 'Version de Dojo'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_3ac4344e7eea900ffa7d38b3af8beaa1'] = 'Activer le debug'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_c7235176493fa911bd50ad6c8ecfad5d'] = 'Pour les utilisateurs d\'Internet Explorer'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_eb19e027d1ecf18ff023a5e63e03a46f'] = 'Le rafraîchissement des données dans les tableaux peut ne pas être opérationnel. Internet Explorer garde en cache les données et n\'applique pas les changements lorsque les tableaux sont rafraîchis. Pour palier au problème, forcez Internet Explorer à prendre en compte les modifications en allant dans les options d\'Internet Explorer : Option > Historique de navigation > bouton Paramètres > A chaque visite de cette page web'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_0e1a01542dd46ddfc79639523cd5b132'] = 'Avec cette section vous pouvez tester vos paramètres sans impact pour vos clients.'; +$_MODULE['<{additionalproductsorder}wedigital>apo_linevenmodule_fb0ae8bfb05cbece64ee0ceb18d77600'] = 'Si le mode test est actif, le module est automatiquement inactif pour vos clients.'; +$_MODULE['<{additionalproductsorder}wedigital>list-1.3_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{additionalproductsorder}wedigital>list_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{additionalproductsorder}wedigital>thumbnails-1.3_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{additionalproductsorder}wedigital>thumbnails_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{additionalproductsorder}wedigital>list_bc138131629e312572f811a97f506f44'] = ''; diff --git a/themes/toutpratique/modules/bankwire/index.php b/themes/toutpratique/modules/bankwire/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/bankwire/translations/en.php b/themes/toutpratique/modules/bankwire/translations/en.php new file mode 100644 index 00000000..7862d87e --- /dev/null +++ b/themes/toutpratique/modules/bankwire/translations/en.php @@ -0,0 +1,13 @@ +bankwire_c888438d14855d7d96a2724ee9c306bd'] = 'Your settings have been updated.'; +$_MODULE['<{bankwire}prestashop>bankwire_5dd532f0a63d89c5af0243b74732f63c'] = 'Contact details'; +$_MODULE['<{bankwire}prestashop>bankwire_3ec365dd533ddb7ef3d1c111186ce872'] = 'Details'; +$_MODULE['<{bankwire}prestashop>payment_execution_e2867a925cba382f1436d1834bb52a1c'] = 'The total amount of your order comes to:'; +$_MODULE['<{bankwire}prestashop>payment_execution_1f87346a16cf80c372065de3c54c86d9'] = '(tax incl.)'; +$_MODULE['<{bankwire}prestashop>payment_return_b2f40690858b404ed10e62bdf422c704'] = 'Amount'; +$_MODULE['<{bankwire}prestashop>payment_return_63fb3f7c94ee5d8027bf599885de279d'] = 'Do not forget to insert your order number #%d in the subject of your bank wire.'; +$_MODULE['<{bankwire}prestashop>payment_eb1d50032721fa4c9d3518c417f91b9d'] = 'Pay by bank wire (order processing will take more time)'; diff --git a/themes/toutpratique/modules/bankwire/translations/fr.php b/themes/toutpratique/modules/bankwire/translations/fr.php new file mode 100644 index 00000000..26c58991 --- /dev/null +++ b/themes/toutpratique/modules/bankwire/translations/fr.php @@ -0,0 +1,55 @@ +bankwire_05adcee99142c1a60fb38bb1330bbbc1'] = 'Virement bancaire'; +$_MODULE['<{bankwire}wedigital>bankwire_a246a8e9907530c4c36b8b4c37bbc823'] = 'Accepter les paiements par virement.'; +$_MODULE['<{bankwire}wedigital>bankwire_cbe0a99684b145e77f3e14174ac212e3'] = 'Êtes-vous certain de vouloir effacer vos données ?'; +$_MODULE['<{bankwire}wedigital>bankwire_0ea0227283d959415eda0cfa31d9f718'] = 'Le titulaire du compte et les informations bancaires doivent être configurés.'; +$_MODULE['<{bankwire}wedigital>bankwire_a02758d758e8bec77a33d7f392eb3f8a'] = 'Aucune devise disponible pour ce module'; +$_MODULE['<{bankwire}wedigital>bankwire_bfa43217dfe8261ee7cb040339085677'] = 'Les détails du compte sont requis'; +$_MODULE['<{bankwire}wedigital>bankwire_ccab155f173ac76f79eb192703f86b18'] = 'Le titulaire du compte est requis.'; +$_MODULE['<{bankwire}wedigital>bankwire_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{bankwire}wedigital>bankwire_4ffaad55a1d22c453e7c9bad67b0598f'] = 'Payer par virement bancaire'; +$_MODULE['<{bankwire}wedigital>bankwire_5dd532f0a63d89c5af0243b74732f63c'] = 'Coordonnées'; +$_MODULE['<{bankwire}wedigital>bankwire_857216dd1b374de9bf54068fcd78a8f3'] = 'Titulaire'; +$_MODULE['<{bankwire}wedigital>bankwire_3ec365dd533ddb7ef3d1c111186ce872'] = 'Détails'; +$_MODULE['<{bankwire}wedigital>bankwire_6b154cafbab54ba3a1e76a78c290c02a'] = 'Comme le code banque, l\'IBAN ou encore le BIC.'; +$_MODULE['<{bankwire}wedigital>bankwire_f9a1a1bb716cbae0503d351ea2af4b34'] = 'Adresse de la banque'; +$_MODULE['<{bankwire}wedigital>bankwire_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{bankwire}wedigital>validation_e2b7dec8fa4b498156dfee6e4c84b156'] = 'Cette méthode de paiement n\'est pas disponible.'; +$_MODULE['<{bankwire}wedigital>payment_execution_644818852b4dd8cf9da73543e30f045a'] = 'Retour à la commande'; +$_MODULE['<{bankwire}wedigital>payment_execution_6ff063fbc860a79759a7369ac32cee22'] = 'Processus de commande'; +$_MODULE['<{bankwire}wedigital>payment_execution_511e8b930b4d3d6002984c0373eb6d4b'] = 'Paiement par virement bancaire'; +$_MODULE['<{bankwire}wedigital>payment_execution_f1d3b424cd68795ecaa552883759aceb'] = 'Récapitulatif de commande'; +$_MODULE['<{bankwire}wedigital>payment_execution_879f6b8877752685a966564d072f498f'] = 'Votre panier est vide'; +$_MODULE['<{bankwire}wedigital>payment_execution_05adcee99142c1a60fb38bb1330bbbc1'] = 'Virement bancaire'; +$_MODULE['<{bankwire}wedigital>payment_execution_afda466128ee0594745d9f8152699b74'] = 'Vous avez choisi de régler par virement bancaire.'; +$_MODULE['<{bankwire}wedigital>payment_execution_c884ed19483d45970c5bf23a681e2dd2'] = 'Voici un bref récapitulatif de votre commande :'; +$_MODULE['<{bankwire}wedigital>payment_execution_e2867a925cba382f1436d1834bb52a1c'] = 'Le montant total de votre commande s\'élève à'; +$_MODULE['<{bankwire}wedigital>payment_execution_1f87346a16cf80c372065de3c54c86d9'] = 'TTC'; +$_MODULE['<{bankwire}wedigital>payment_execution_b28be4c423d93e02081f4e79fe2434e8'] = 'Nous acceptons plusieurs devises pour votre virement.'; +$_MODULE['<{bankwire}wedigital>payment_execution_a7a08622ee5c8019b57354b99b7693b2'] = 'Merci de choisir parmi les suivantes :'; +$_MODULE['<{bankwire}wedigital>payment_execution_a854d894458d66d92cabf0411c499ef4'] = 'Nous acceptons la devise suivante pour votre paiement :'; +$_MODULE['<{bankwire}wedigital>payment_execution_3dd021316505c0204989f984246c6ff1'] = 'Nos coordonnées bancaires seront affichées sur la page suivante.'; +$_MODULE['<{bankwire}wedigital>payment_execution_edd87c9059d88fea45c0bd6384ce92b9'] = 'Veuillez confirmer votre commande en cliquant sur « Je confirme ma commande ».'; +$_MODULE['<{bankwire}wedigital>payment_execution_46b9e3665f187c739c55983f757ccda0'] = 'Je confirme ma commande'; +$_MODULE['<{bankwire}wedigital>payment_execution_569fd05bdafa1712c4f6be5b153b8418'] = 'Autres moyens de paiement'; +$_MODULE['<{bankwire}wedigital>infos_c1be305030739396775edaca9813f77d'] = 'Ce module vous permet d\'accepter les paiements par virement bancaire.'; +$_MODULE['<{bankwire}wedigital>infos_60742d06006fde3043c77e6549d71a99'] = 'Si le client choisit ce mode de paiement, la commande passera à l\'état \"Paiement en attente\".'; +$_MODULE['<{bankwire}wedigital>infos_5fb4bbf993c23848433caf58e6b2816d'] = 'Par conséquent, vous devez confirmer manuellement la commande dès que vous recevrez le virement.'; +$_MODULE['<{bankwire}wedigital>payment_return_88526efe38fd18179a127024aba8c1d7'] = 'Votre commande sur %s a bien été enregistrée.'; +$_MODULE['<{bankwire}wedigital>payment_return_1f8cdc30326f1f930b0c87b25fdac965'] = 'Veuillez nous envoyer un virement bancaire avec :'; +$_MODULE['<{bankwire}wedigital>payment_return_b2f40690858b404ed10e62bdf422c704'] = 'Montant'; +$_MODULE['<{bankwire}wedigital>payment_return_5ca0b1b910f393ed1f9f6fa99e414255'] = 'à l\'ordre de'; +$_MODULE['<{bankwire}wedigital>payment_return_d717aa33e18263b8405ba00e94353cdc'] = 'suivant ces détails'; +$_MODULE['<{bankwire}wedigital>payment_return_984482eb9ff11e6310fef641d2268a2a'] = 'à cette banque'; +$_MODULE['<{bankwire}wedigital>payment_return_bb4ec5aac6864a05fcc220cccd8e82f9'] = 'N\'oubliez pas d\'indiquer votre numéro de commande %d dans l\'objet de votre virement.'; +$_MODULE['<{bankwire}wedigital>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'N\'oubliez pas d\'indiquer votre référence de commande %s dans le sujet de votre virement.'; +$_MODULE['<{bankwire}wedigital>payment_return_19c419a8a4f1cd621853376a930a2e24'] = 'Un e-mail contenant ces informations vous a été envoyé.'; +$_MODULE['<{bankwire}wedigital>payment_return_b9a1cae09e5754424e33764777cfcaa0'] = 'Votre commande sera expédiée dès réception de votre virement.'; +$_MODULE['<{bankwire}wedigital>payment_return_ca7e41a658753c87973936d7ce2429a8'] = 'Pour toute question ou information complémentaire, veuillez contacter notre'; +$_MODULE['<{bankwire}wedigital>payment_return_66fcf4c223bbf4c7c886d4784e1f62e4'] = 'service client'; +$_MODULE['<{bankwire}wedigital>payment_return_d15feee53d81ea16269e54d4784fa123'] = 'Nous avons rencontré un problème avec votre commande. Nous vous invitons à prendre contact avec notre'; +$_MODULE['<{bankwire}wedigital>payment_5e1695822fc5af98f6b749ea3cbc9b4c'] = 'Payer par virement bancaire'; +$_MODULE['<{bankwire}wedigital>payment_4e1fb9f4b46556d64db55d50629ee301'] = '(le traitement de la commande sera plus long)'; diff --git a/themes/toutpratique/modules/bankwire/translations/index.php b/themes/toutpratique/modules/bankwire/translations/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/translations/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/bankwire/translations/it.php b/themes/toutpratique/modules/bankwire/translations/it.php new file mode 100644 index 00000000..2d84631e --- /dev/null +++ b/themes/toutpratique/modules/bankwire/translations/it.php @@ -0,0 +1,54 @@ +bankwire_85ee0d0492a4e37e6c183520f5d59c40'] = 'Bonifico Bancario'; +$_MODULE['<{bankwire}prestashop>bankwire_65104b0722c068ec3e8ac48153af597b'] = 'Accetta pagamenti tramite bonifico bancario.'; +$_MODULE['<{bankwire}prestashop>bankwire_cbe0a99684b145e77f3e14174ac212e3'] = 'Sei sicuro di voler cancellare questi dati?'; +$_MODULE['<{bankwire}prestashop>bankwire_0ea0227283d959415eda0cfa31d9f718'] = 'Il proprietario dell\'account e i dati devono essere configurati per usare questo modulo correttamente.'; +$_MODULE['<{bankwire}prestashop>bankwire_a02758d758e8bec77a33d7f392eb3f8a'] = 'Nessuna valuta impostata per questo modulo.'; +$_MODULE['<{bankwire}prestashop>bankwire_bfa43217dfe8261ee7cb040339085677'] = 'I dati dell\'account sono obbligatori.'; +$_MODULE['<{bankwire}prestashop>bankwire_ccab155f173ac76f79eb192703f86b18'] = 'Il proprietario dell\'account è obbligatorio.'; +$_MODULE['<{bankwire}prestashop>bankwire_c888438d14855d7d96a2724ee9c306bd'] = 'Impostazioni aggiornate'; +$_MODULE['<{bankwire}prestashop>bankwire_c1be305030739396775edaca9813f77d'] = 'Questo modulo ti permette di accettare pagamenti tramite bonifico bancario.'; +$_MODULE['<{bankwire}prestashop>bankwire_c2886e6bed60f357b08b6e99ac390c25'] = 'Se il cliente sceglie questa modalità di pagamento, l\'ordine cambierà il proprio status in \'attesa di pagamento\'.'; +$_MODULE['<{bankwire}prestashop>bankwire_f001fc4497defe598043407d06be06e5'] = 'Pertanto, dovrai confermare l\'ordine non appena ricevi il bonifico'; +$_MODULE['<{bankwire}prestashop>bankwire_5dd532f0a63d89c5af0243b74732f63c'] = 'Informazioni di contatto'; +$_MODULE['<{bankwire}prestashop>bankwire_51634daae434ad5789f89024b20e4dac'] = 'Specifica i dati del bonifico bancario per i clienti.'; +$_MODULE['<{bankwire}prestashop>bankwire_857216dd1b374de9bf54068fcd78a8f3'] = 'Intestatario del conto'; +$_MODULE['<{bankwire}prestashop>bankwire_3ec365dd533ddb7ef3d1c111186ce872'] = 'Dati'; +$_MODULE['<{bankwire}prestashop>bankwire_5fe24fbb39b58daacb7c7905ba6e3534'] = 'Come filiale della banca, codice IBAN, BIC, ecc...'; +$_MODULE['<{bankwire}prestashop>bankwire_f9a1a1bb716cbae0503d351ea2af4b34'] = 'Indirizzo della banca'; +$_MODULE['<{bankwire}prestashop>bankwire_b17f3f4dcf653a5776792498a9b44d6a'] = 'Aggiorna le impostazioni'; +$_MODULE['<{bankwire}prestashop>validation_e2b7dec8fa4b498156dfee6e4c84b156'] = 'Questo metodo di pagamento non è disponibile.'; +$_MODULE['<{bankwire}prestashop>payment_execution_99227bacb2b4dfa29ce1701ac265a923'] = 'Pagamento bonifico bancario.'; +$_MODULE['<{bankwire}prestashop>payment_execution_f1d3b424cd68795ecaa552883759aceb'] = 'Sintesi dell\'ordine'; +$_MODULE['<{bankwire}prestashop>payment_execution_879f6b8877752685a966564d072f498f'] = 'Il carrello è vuoto.'; +$_MODULE['<{bankwire}prestashop>payment_execution_05adcee99142c1a60fb38bb1330bbbc1'] = 'Bonifico bancario'; +$_MODULE['<{bankwire}prestashop>payment_execution_afda466128ee0594745d9f8152699b74'] = 'Hai scelto di pagare con bonifico bancario.'; +$_MODULE['<{bankwire}prestashop>payment_execution_c884ed19483d45970c5bf23a681e2dd2'] = 'Ecco un breve riepilogo del tuo ordine:'; +$_MODULE['<{bankwire}prestashop>payment_execution_e2867a925cba382f1436d1834bb52a1c'] = 'L\'importo totale del tuo ordine è'; +$_MODULE['<{bankwire}prestashop>payment_execution_1f87346a16cf80c372065de3c54c86d9'] = '(tasse incl.)'; +$_MODULE['<{bankwire}prestashop>payment_execution_b28be4c423d93e02081f4e79fe2434e8'] = 'Si accettano diverse valute da inviare tramite bonifico bancario.'; +$_MODULE['<{bankwire}prestashop>payment_execution_a7a08622ee5c8019b57354b99b7693b2'] = 'Scegli una delle seguenti:'; +$_MODULE['<{bankwire}prestashop>payment_execution_a854d894458d66d92cabf0411c499ef4'] = 'Accettiamo le seguente valute da inviare tramite bonifico bancario:'; +$_MODULE['<{bankwire}prestashop>payment_execution_3dd021316505c0204989f984246c6ff1'] = 'Le informazioni sul conto corrente saranno visualizzate nella pagina successiva.'; +$_MODULE['<{bankwire}prestashop>payment_execution_93c1f9dffc8c38b2c108d449a9181d92'] = 'Conferma l\'ordine cliccando su \'confermo il mio ordine\''; +$_MODULE['<{bankwire}prestashop>payment_execution_baa62374832554652160fe5a827b2741'] = 'Confermo il mio ordine'; +$_MODULE['<{bankwire}prestashop>payment_execution_569fd05bdafa1712c4f6be5b153b8418'] = 'Altri metodi di pagamento'; +$_MODULE['<{bankwire}prestashop>payment_return_88526efe38fd18179a127024aba8c1d7'] = 'Il tuo ordine su %s è completo.'; +$_MODULE['<{bankwire}prestashop>payment_return_1f8cdc30326f1f930b0c87b25fdac965'] = 'Inviaci un bonifico bancario con'; +$_MODULE['<{bankwire}prestashop>payment_return_b2f40690858b404ed10e62bdf422c704'] = 'Importo'; +$_MODULE['<{bankwire}prestashop>payment_return_5ca0b1b910f393ed1f9f6fa99e414255'] = 'Beneficiario'; +$_MODULE['<{bankwire}prestashop>payment_return_d717aa33e18263b8405ba00e94353cdc'] = 'Con questi dati'; +$_MODULE['<{bankwire}prestashop>payment_return_984482eb9ff11e6310fef641d2268a2a'] = 'Istituto bancario'; +$_MODULE['<{bankwire}prestashop>payment_return_63fb3f7c94ee5d8027bf599885de279d'] = 'Non dimenticarti di inserire il tuo numero d\'ordine n.%d nel campo oggetto del tuo bonifico'; +$_MODULE['<{bankwire}prestashop>payment_return_1faa25b80a8d31e5ef25a78d3336606d'] = 'Non dimenticarti di inserire il riferimento d\'ordine %s nel campo oggetto del tuo bonifico.'; +$_MODULE['<{bankwire}prestashop>payment_return_19c419a8a4f1cd621853376a930a2e24'] = 'Ti è stata inviata una email con queste informazioni.'; +$_MODULE['<{bankwire}prestashop>payment_return_b9a1cae09e5754424e33764777cfcaa0'] = 'Il tuo ordine verrà inviato non appena avremo ricevuto la tua transazione.'; +$_MODULE['<{bankwire}prestashop>payment_return_ca7e41a658753c87973936d7ce2429a8'] = 'Per eventuali domande o per ulteriori informazioni, contatta la nostra'; +$_MODULE['<{bankwire}prestashop>payment_return_dfe239de8c0b2453a8e8f7657a191d5d'] = 'assistenza clienti'; +$_MODULE['<{bankwire}prestashop>payment_return_d15feee53d81ea16269e54d4784fa123'] = 'Abbiamo notato un problema con il tuo ordine. Se pensi che sia un errore, puoi contattare il nostro'; +$_MODULE['<{bankwire}prestashop>payment_5e1695822fc5af98f6b749ea3cbc9b4c'] = 'Paga con bonifico bancario'; +$_MODULE['<{bankwire}prestashop>payment_eb1d50032721fa4c9d3518c417f91b9d'] = 'Paga con bonifico bancario (l\'elaborazione dell\'ordine sarà più lunga)'; diff --git a/themes/toutpratique/modules/bankwire/views/index.php b/themes/toutpratique/modules/bankwire/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/bankwire/views/templates/front/index.php b/themes/toutpratique/modules/bankwire/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/bankwire/views/templates/front/payment_execution.tpl b/themes/toutpratique/modules/bankwire/views/templates/front/payment_execution.tpl new file mode 100644 index 00000000..b620d79b --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/front/payment_execution.tpl @@ -0,0 +1,98 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path} + {l s='Checkout' mod='bankwire'}{$navigationPipe}{l s='Bank-wire payment' mod='bankwire'} +{/capture} + +

      + {l s='Order summary' mod='bankwire'} +

      + +{assign var='current_step' value='payment'} +{include file="$tpl_dir./order-steps.tpl"} + +{if $nbProducts <= 0} +

      + {l s='Your shopping cart is empty.' mod='bankwire'} +

      +{else} +
      +
      +

      + {l s='Bank-wire payment' mod='bankwire'} +

      +

      + + {l s='You have chosen to pay by bank wire.' mod='bankwire'} {l s='Here is a short summary of your order:' mod='bankwire'} + +

      +

      + - {l s='The total amount of your order is' mod='bankwire'} + {displayPrice price=$total} + {if $use_taxes == 1} + {l s='(tax incl.)' mod='bankwire'} + {/if} +

      +

      + - + {if $currencies|@count > 1} + {l s='We allow several currencies to be sent via bank wire.' mod='bankwire'} +

      + + +
      + {else} + {l s='We allow the following currency to be sent via bank wire:' mod='bankwire'} {$currencies.0.name} + + {/if} +

      +

      + - {l s='Bank wire account information will be displayed on the next page.' mod='bankwire'} +
      + - {l s='Please confirm your order by clicking "I confirm my order".' mod='bankwire'} +

      +
      + +

      + + {l s='Other payment methods' mod='bankwire'} + + +

      +
      +{/if} diff --git a/themes/toutpratique/modules/bankwire/views/templates/hook/index.php b/themes/toutpratique/modules/bankwire/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/bankwire/views/templates/hook/payment.tpl b/themes/toutpratique/modules/bankwire/views/templates/hook/payment.tpl new file mode 100644 index 00000000..647c5299 --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/hook/payment.tpl @@ -0,0 +1,33 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + diff --git a/themes/toutpratique/modules/bankwire/views/templates/hook/payment_return.tpl b/themes/toutpratique/modules/bankwire/views/templates/hook/payment_return.tpl new file mode 100644 index 00000000..7ab2ae48 --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/hook/payment_return.tpl @@ -0,0 +1,49 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if $status == 'ok'} +
      +

      + {l s='Your order on %s is complete.' sprintf=$shop_name mod='bankwire'} +

      + {l s='Please send us a bank wire with' mod='bankwire'} +
      - {l s='Amount' mod='bankwire'} {$total_to_pay} +
      - {l s='Name of account owner' mod='bankwire'} {if $bankwireOwner}{$bankwireOwner}{else}___________{/if} +
      - {l s='Include these details' mod='bankwire'} {if $bankwireDetails}{$bankwireDetails}{else}___________{/if} +
      - {l s='Bank name' mod='bankwire'} {if $bankwireAddress}{$bankwireAddress}{else}___________{/if} + {if !isset($reference)} +
      - {l s='Do not forget to insert your order number #%d in the subject of your bank wire.' sprintf=$id_order mod='bankwire'} + {else} +
      - {l s='Do not forget to insert your order reference %s in the subject of your bank wire.' sprintf=$reference mod='bankwire'} + {/if}
      {l s='An email has been sent with this information.' mod='bankwire'} +
      {l s='Your order will be sent as soon as we receive payment.' mod='bankwire'} +
      {l s='If you have questions, comments or concerns, please contact our' mod='bankwire'} {l s='expert customer support team' mod='bankwire'}. +
      +{else} +

      + {l s='We noticed a problem with your order. If you think this is an error, feel free to contact our' mod='bankwire'} + {l s='expert customer support team' mod='bankwire'}. +

      +{/if} diff --git a/themes/toutpratique/modules/bankwire/views/templates/index.php b/themes/toutpratique/modules/bankwire/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/bankwire/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/belvg_blockconstructor/translations/fr.php b/themes/toutpratique/modules/belvg_blockconstructor/translations/fr.php new file mode 100644 index 00000000..cce4359c --- /dev/null +++ b/themes/toutpratique/modules/belvg_blockconstructor/translations/fr.php @@ -0,0 +1,7 @@ +belvg_blockconstructor_226d0234bc471eaaf5930db7cd7a860b'] = ''; +$_MODULE['<{belvg_blockconstructor}wedigital>adminblockconstructor_79750ba11832a44ccf92e15eb0e84ae4'] = ''; +$_MODULE['<{belvg_blockconstructor}wedigital>adminblockconstructor_0e7ed6ddc1cb1b8462f9b68f996f4920'] = ''; diff --git a/themes/toutpratique/modules/blockbanner/translations/fr.php b/themes/toutpratique/modules/blockbanner/translations/fr.php new file mode 100644 index 00000000..4814ce4b --- /dev/null +++ b/themes/toutpratique/modules/blockbanner/translations/fr.php @@ -0,0 +1,16 @@ +blockbanner_4b92fcfe6f0ec26909935aa960b7b81f'] = 'Bloc bannière'; +$_MODULE['<{blockbanner}wedigital>blockbanner_9ec3d0f07db2d25a37ec4b7a21c788f8'] = 'Permet d\'afficher une bannière dans l\'en-tête du site.'; +$_MODULE['<{blockbanner}wedigital>blockbanner_df7859ac16e724c9b1fba0a364503d72'] = 'une erreur s\'est produite lors de l\'envoi'; +$_MODULE['<{blockbanner}wedigital>blockbanner_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour'; +$_MODULE['<{blockbanner}wedigital>blockbanner_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockbanner}wedigital>blockbanner_9edcdbdff24876b0dac92f97397ae497'] = 'Image de la bannière d\'en-tête'; +$_MODULE['<{blockbanner}wedigital>blockbanner_e90797453e35e4017b82e54e2b216290'] = 'Choisissez l\'image à mettre en ligne pour votre bannière. Si vous utilisez le thème par défaut, les dimensions recommandées sont 1170 x 65 px.'; +$_MODULE['<{blockbanner}wedigital>blockbanner_46fae48f998058600248a16100acfb7e'] = 'Lien de la bannière'; +$_MODULE['<{blockbanner}wedigital>blockbanner_084fa1da897dfe3717efa184616ff91c'] = 'Entrez le lien associé à votre bannière. Quand un visiteur clique sur la bannière, le lien s\'ouvre dans la même fenêtre. Si aucun lien n\'est entré, il redirige vers la page d\'accueil.'; +$_MODULE['<{blockbanner}wedigital>blockbanner_ff09729bee8a82c374f6b61e14a4af76'] = 'Description pour la bannière'; +$_MODULE['<{blockbanner}wedigital>blockbanner_112f6f9a1026d85f440e5ca68d8e2ec5'] = 'Veuillez saisir une description courte mais précise pour votre bannière.'; +$_MODULE['<{blockbanner}wedigital>blockbanner_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/blockbestsellers/blockbestsellers-home.tpl b/themes/toutpratique/modules/blockbestsellers/blockbestsellers-home.tpl new file mode 100644 index 00000000..62222720 --- /dev/null +++ b/themes/toutpratique/modules/blockbestsellers/blockbestsellers-home.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA + +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($best_sellers) && $best_sellers} +{include file="$tpl_dir./product-list.tpl" products=$best_sellers class='blockbestsellers tab-pane' id='blockbestsellers'} +{else} +
        +
      • {l s='No best sellers at this time.' mod='blockbestsellers'}
      • +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockbestsellers/blockbestsellers.tpl b/themes/toutpratique/modules/blockbestsellers/blockbestsellers.tpl new file mode 100644 index 00000000..675bc7ec --- /dev/null +++ b/themes/toutpratique/modules/blockbestsellers/blockbestsellers.tpl @@ -0,0 +1,64 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA + +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + {l s='Top sellers' mod='blockbestsellers'} +

      +
      + {if $best_sellers && $best_sellers|@count > 0} + + + {else} +

      {l s='No best sellers at this time' mod='blockbestsellers'}

      + {/if} +
      +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockbestsellers/index.php b/themes/toutpratique/modules/blockbestsellers/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockbestsellers/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockbestsellers/tab.tpl b/themes/toutpratique/modules/blockbestsellers/tab.tpl new file mode 100644 index 00000000..c6b795f4 --- /dev/null +++ b/themes/toutpratique/modules/blockbestsellers/tab.tpl @@ -0,0 +1,25 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
    1. {l s='Best Sellers' mod='blockbestsellers'}
    2. \ No newline at end of file diff --git a/themes/toutpratique/modules/blockbestsellers/translations/fr.php b/themes/toutpratique/modules/blockbestsellers/translations/fr.php new file mode 100644 index 00000000..d9819cf3 --- /dev/null +++ b/themes/toutpratique/modules/blockbestsellers/translations/fr.php @@ -0,0 +1,22 @@ +blockbestsellers_9862f1949f776f69155b6e6b330c7ee1'] = 'Bloc meilleures ventes'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_ed6476843a865d9daf92e409082b76e1'] = 'Ajoute un bloc qui affiche les meilleures ventes de la boutique.'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_26986c3388870d4148b1b5375368a83d'] = 'Produits à afficher'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_2b21378492166b0e5a855e2da611659c'] = 'Définit le nombre de produits à afficher dans ce bloc'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_24ff4e4d39bb7811f6bdf0c189462272'] = 'Toujours afficher ce bloc'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_84b0c5fdef19ab8ef61cd809f9250d85'] = 'Afficher le bloc même si il n\'y a aucune meilleure vente à afficher.'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers-home_09a5fe24fe0fc9ce90efc4aa507c66e7'] = 'Aucune meilleure vente à l\'heure actuelle.'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_1d0a2e1f62ccf460d604ccbc9e09da95'] = 'Voir une des meilleures ventes'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_3cb29f0ccc5fd220a97df89dafe46290'] = 'Meilleures ventes'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_eae99cd6a931f3553123420b16383812'] = 'Toutes les meilleures ventes'; +$_MODULE['<{blockbestsellers}wedigital>blockbestsellers_f7be84d6809317a6eb0ff3823a936800'] = 'Pas encore de meilleure vente'; +$_MODULE['<{blockbestsellers}wedigital>tab_d7b2933ba512ada478c97fa43dd7ebe6'] = 'Meilleures Ventes'; diff --git a/themes/toutpratique/modules/blockcart/blockcart-json.tpl b/themes/toutpratique/modules/blockcart/blockcart-json.tpl new file mode 100644 index 00000000..2bd8b7f2 --- /dev/null +++ b/themes/toutpratique/modules/blockcart/blockcart-json.tpl @@ -0,0 +1,123 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{ldelim} +"products": [ +{if $products} +{foreach from=$products item=product name='products'} +{assign var='productId' value=$product.id_product} +{assign var='productAttributeId' value=$product.id_product_attribute} + {ldelim} + "id": {$product.id_product|intval}, + "link": {$link->getProductLink($product.id_product, $product.link_rewrite, $product.category, null, null, $product.id_shop, $product.id_product_attribute)|json_encode}, + "quantity": {$product.cart_quantity|intval}, + "image": {$link->getImageLink($product.link_rewrite, $product.id_image, 'home_default')|json_encode}, + "image_cart": {$link->getImageLink($product.link_rewrite, $product.id_image, 'cart_default')|json_encode}, + "priceByLine": {if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice|json_encode p=$product.total}{else}{displayWtPrice|json_encode p=$product.total_wt}{/if}, + "name": {$product.name|trim|html_entity_decode:2:'UTF-8'|json_encode}, + "price": {if $priceDisplay == $smarty.const.PS_TAX_EXC}{displayWtPrice|json_encode p=$product.total}{else}{displayWtPrice|json_encode p=$product.total_wt}{/if}, + "price_float": {$product.total|floatval|json_encode}, + "idCombination": {if isset($product.attributes_small)}{$productAttributeId|intval}{else}0{/if}, + "idAddressDelivery": {if isset($product.id_address_delivery)}{$product.id_address_delivery|intval}{else}0{/if}, + "is_gift": {if isset($product.is_gift) && $product.is_gift}true{else}false{/if}, +{if isset($product.attributes_small)} + "hasAttributes": true, + "attributes": {$product.attributes_small|json_encode}, +{else} + "hasAttributes": false, +{/if} + "hasCustomizedDatas": {if isset($customizedDatas.$productId.$productAttributeId)}true{else}false{/if}, + "customizedDatas": [ + {if isset($customizedDatas.$productId.$productAttributeId[$product.id_address_delivery])} + {foreach from=$customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] key='id_customization' item='customization' name='customizedDatas'}{ldelim} +{* This empty line was made in purpose (product addition debug), please leave it here *} + "customizationId": {$id_customization|intval}, + "quantity": {$customization.quantity|intval}, + "datas": [ + {foreach from=$customization.datas key='type' item='datas' name='customization'} + {ldelim} + "type": {$type|json_encode}, + "datas": [ + {foreach from=$datas key='index' item='data' name='datas'} + {ldelim} + "index": {$index|intval}, + "value": {Tools::nl2br($data.value)|json_encode}, + "truncatedValue": {Tools::nl2br($data.value|truncate:28:'...')|json_encode} + {rdelim}{if !$smarty.foreach.datas.last},{/if} + {/foreach}] + {rdelim}{if !$smarty.foreach.customization.last},{/if} + {/foreach} + ] + {rdelim}{if !$smarty.foreach.customizedDatas.last},{/if} + {/foreach} + {/if} + ] + {rdelim}{if !$smarty.foreach.products.last},{/if} +{/foreach}{/if} +], + +{if $product_added} + "added": [ + {$product_added|json_encode} + ], +{/if} + +"discounts": [ +{if $discounts}{foreach from=$discounts item=discount name='discounts'} + {ldelim} + "id": {$discount.id_discount|intval}, + "name": {$discount.name|trim|truncate:18:'...'|json_encode}, + "description": {$discount.description|json_encode}, + "nameDescription": {$discount.name|cat:' : '|cat:$discount.description|trim|truncate:18:'...'|json_encode}, + "code": {$discount.code|json_encode}, + "link": {$link->getPageLink("$order_process", true, NULL, "deleteDiscount={$discount.id_discount}")|json_encode}, + "price": {if $priceDisplay == 1}{convertPrice|json_encode price=$discount.value_tax_exc}{else}{convertPrice|json_encode price=$discount.value_real}{/if}, + "price_float": {if $priceDisplay == 1}{$discount.value_tax_exc|json_encode}{else}{$discount.value_real|json_encode}{/if} + {rdelim} + {if !$smarty.foreach.discounts.last},{/if} +{/foreach}{/if} +], +"shippingCost": {$shipping_cost|json_encode}, +"shippingCostFloat": {$shipping_cost_float|json_encode}, +{if isset($tax_cost)} +"taxCost": {$tax_cost|json_encode}, +{/if} +"wrappingCost": {$wrapping_cost|json_encode}, +"nbTotalProducts": {$nb_total_products|intval}, +"total": {$total|json_encode}, +"productTotal": {$product_total|json_encode}, +"freeShipping": {displayWtPrice|json_encode p=$free_shipping}, +"freeShippingFloat": {$free_shipping|json_encode}, +{if isset($errors) && $errors} +"hasError" : true, +"errors" : [ +{foreach from=$errors key=k item=error name='errors'} + {$error|json_encode} + {if !$smarty.foreach.errors.last},{/if} +{/foreach} +] +{else} +"hasError" : false +{/if} +{rdelim} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcart/blockcart.tpl b/themes/toutpratique/modules/blockcart/blockcart.tpl new file mode 100644 index 00000000..ecbaa9f7 --- /dev/null +++ b/themes/toutpratique/modules/blockcart/blockcart.tpl @@ -0,0 +1,193 @@ + +
      + + {$cart_qties} +   + + + {if !$PS_CATALOG_MODE} +
      +
      + + + +
      +
      + {/if} +
      + + +{if !$PS_CATALOG_MODE} +
      + +
      +
      +
      +

      + {l s='Product successfully added to your shopping cart' mod='blockcart'} +

      +
      +
      +
      +

      +

      {l s='Quantity 1' mod='blockcart'}

      +
      + + {l s='instead of' mod='blockcart'} + +
      +
      +
      +
      +
      +
      + + {l s='Continue shopping' mod='blockcart'} + + + {l s='Proceed to checkout' mod='blockcart'} + +
      +
      +
      +
      +
      +
      +
      +{/if} +{strip} +{addJsDef CUSTOMIZE_TEXTFIELD=$CUSTOMIZE_TEXTFIELD} +{addJsDef img_dir=$img_dir|escape:'quotes':'UTF-8'} +{addJsDef generated_date=$smarty.now|intval} +{addJsDef ajax_allowed=$ajax_allowed|boolval} + +{addJsDefL name=customizationIdMessage}{l s='Customization #' mod='blockcart' js=1}{/addJsDefL} +{addJsDefL name=removingLinkText}{l s='remove this product from my cart' mod='blockcart' js=1}{/addJsDefL} +{addJsDefL name=freeShippingTranslation}{l s='Free shipping!' mod='blockcart' js=1}{/addJsDefL} +{addJsDefL name=freeProductTranslation}{l s='Free!' mod='blockcart' js=1}{/addJsDefL} +{addJsDefL name=delete_txt}{l s='Delete' mod='blockcart' js=1}{/addJsDefL} +{/strip} + diff --git a/themes/toutpratique/modules/blockcart/crossselling.tpl b/themes/toutpratique/modules/blockcart/crossselling.tpl new file mode 100644 index 00000000..045cef02 --- /dev/null +++ b/themes/toutpratique/modules/blockcart/crossselling.tpl @@ -0,0 +1,8 @@ +{if isset($orderProducts) && is_array($orderProducts) && count($orderProducts) > 0} +

      {l s='Customers who bought this product also bought:' mod='blockcart'}

      +
      +
      + {include file="{$tpl_dir}product-list.tpl" products=$orderProducts nbProduct="3"} +
      +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcart/index.php b/themes/toutpratique/modules/blockcart/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcart/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcart/translations/fr.php b/themes/toutpratique/modules/blockcart/translations/fr.php new file mode 100644 index 00000000..e0acd587 --- /dev/null +++ b/themes/toutpratique/modules/blockcart/translations/fr.php @@ -0,0 +1,48 @@ +blockcart_c2e1362a9710a3dd86f937c2ea1f336d'] = 'Bloc panier'; +$_MODULE['<{blockcart}wedigital>blockcart_e03093a5753b436ee1de63b6e3e1bd02'] = 'Ajoute un bloc avec le contenu du panier du client'; +$_MODULE['<{blockcart}wedigital>blockcart_a21e5718d2a196280b729438933501c7'] = 'Ajax : choix non valable.'; +$_MODULE['<{blockcart}wedigital>blockcart_02c793e3df4632db20e4d6e146095d62'] = 'Vous devez remplir le champ \"Produits Affichés\".'; +$_MODULE['<{blockcart}wedigital>blockcart_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blockcart}wedigital>blockcart_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockcart}wedigital>blockcart_614a8820aa4ac08ce2ee398a41b10778'] = 'Panier Ajax'; +$_MODULE['<{blockcart}wedigital>blockcart_eefd19ecf1f6d94a308dcfc95981bbf9'] = 'Activer le mode Ajax du panier (compatible avec le thème par défaut).'; +$_MODULE['<{blockcart}wedigital>blockcart_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blockcart}wedigital>blockcart_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blockcart}wedigital>blockcart_ce8bd2479bb85218eb304a9a2903a157'] = 'Produits à afficher dans les ventes croisées'; +$_MODULE['<{blockcart}wedigital>blockcart_5f2effb52d25d197793288dfa94c27ce'] = 'Détermine le nombre de produits affichés dans le bloc ventes croisées.'; +$_MODULE['<{blockcart}wedigital>blockcart_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcart}wedigital>blockcart_20351b3328c35ab617549920f5cb4939'] = 'Personnalisation'; +$_MODULE['<{blockcart}wedigital>blockcart_ed6e9a09a111035684bb23682561e12d'] = 'supprimer cet article du panier'; +$_MODULE['<{blockcart}wedigital>blockcart_c6995d6cc084c192bc2e742f052a5c74'] = 'Offerte'; +$_MODULE['<{blockcart}wedigital>blockcart_e7a6ca4e744870d455a57b644f696457'] = 'Offert !'; +$_MODULE['<{blockcart}wedigital>blockcart_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blockcart}wedigital>blockcart_0c3bf3014aafb90201805e45b5e62881'] = 'Voir mon panier'; +$_MODULE['<{blockcart}wedigital>blockcart_a85eba4c6c699122b2bb1387ea4813ad'] = 'Panier'; +$_MODULE['<{blockcart}wedigital>blockcart_068f80c7519d0528fb08e82137a72131'] = 'Produits'; +$_MODULE['<{blockcart}wedigital>blockcart_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{blockcart}wedigital>blockcart_9e65b51e82f2a9b9f72ebe3e083582bb'] = '(vide)'; +$_MODULE['<{blockcart}wedigital>blockcart_0da4d96cad73748e2f608d31cfb3247c'] = 'supprimer cet article du panier'; +$_MODULE['<{blockcart}wedigital>blockcart_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Détails de l\'article'; +$_MODULE['<{blockcart}wedigital>blockcart_3d9e3bae9905a12dae384918ed117a26'] = 'Personnalisation n°%d :'; +$_MODULE['<{blockcart}wedigital>blockcart_09dc02ecbb078868a3a86dded030076d'] = 'Aucun produit'; +$_MODULE['<{blockcart}wedigital>blockcart_ea9cf7e47ff33b2be14e6dd07cbcefc6'] = 'Livraison'; +$_MODULE['<{blockcart}wedigital>blockcart_ba794350deb07c0c96fe73bd12239059'] = 'Emballage'; +$_MODULE['<{blockcart}wedigital>blockcart_4b78ac8eb158840e9638a3aeb26c4a9d'] = 'Taxes'; +$_MODULE['<{blockcart}wedigital>blockcart_96b0141273eabab320119c467cdcaf17'] = 'Total'; +$_MODULE['<{blockcart}wedigital>blockcart_0d11c2b75cf03522c8d97938490466b2'] = 'Les prix sont TTC'; +$_MODULE['<{blockcart}wedigital>blockcart_41202aa6b8cf7ae885644717dab1e8b4'] = 'Les prix sont HT'; +$_MODULE['<{blockcart}wedigital>blockcart_377e99e7404b414341a9621f7fb3f906'] = 'Mon panier'; +$_MODULE['<{blockcart}wedigital>crossselling_ef2b66b0b65479e08ff0cce29e19d006'] = 'Nous vous suggérons également'; +$_MODULE['<{blockcart}wedigital>crossselling_dd1f775e443ff3b9a89270713580a51b'] = 'Précédent'; +$_MODULE['<{blockcart}wedigital>crossselling_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{blockcart}wedigital>crossselling_10ac3d04253ef7e1ddc73e6091c0cd55'] = 'Suivant'; +$_MODULE['<{blockcart}wedigital>blockcart_98b3009e61879600839e1ee486bb3282'] = 'Fermer la fenêtre'; +$_MODULE['<{blockcart}wedigital>blockcart_544c3bd0eac526113a9c66542be1e5bc'] = 'Ce produit a bien été ajouté à votre panier'; +$_MODULE['<{blockcart}wedigital>blockcart_5b57ddeb2d0a8e4181a2e38bb470e79f'] = 'Quantité 1'; +$_MODULE['<{blockcart}wedigital>blockcart_7bb63c7de5a5ee79356083a12f21e1e8'] = 'Au lieu de '; +$_MODULE['<{blockcart}wedigital>blockcart_300225ee958b6350abc51805dab83c24'] = 'Continuer mes achats'; +$_MODULE['<{blockcart}wedigital>blockcart_7e0bf6d67701868aac3116ade8fea957'] = 'Voir mon panier'; diff --git a/themes/toutpratique/modules/blockcategories/blockcategories.tpl b/themes/toutpratique/modules/blockcategories/blockcategories.tpl new file mode 100644 index 00000000..d4fbc202 --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/blockcategories.tpl @@ -0,0 +1,48 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $blockCategTree && $blockCategTree.children|@count} + +
      +

      + {if isset($currentCategory)} + {$currentCategory->name|escape} + {else} + {l s='Categories' mod='blockcategories'} + {/if} +

      +
      +
        + {foreach from=$blockCategTree.children item=child name=blockCategTree} + {if $smarty.foreach.blockCategTree.last} + {include file="$branche_tpl_path" node=$child last='true'} + {else} + {include file="$branche_tpl_path" node=$child} + {/if} + {/foreach} +
      +
      +
      + +{/if} diff --git a/themes/toutpratique/modules/blockcategories/blockcategories_footer.tpl b/themes/toutpratique/modules/blockcategories/blockcategories_footer.tpl new file mode 100644 index 00000000..afd721fe --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/blockcategories_footer.tpl @@ -0,0 +1,19 @@ + +
      +
      {l s='Categories' mod='blockcategories'}
      +
        + {foreach from=$blockCategTree.children item=child name=blockCategTree} + {if $smarty.foreach.blockCategTree.last} + {include file="$branche_tpl_path" node=$child last='true'} + {else} + {include file="$branche_tpl_path" node=$child} + {/if} + + {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last} +
      +
        + {/if} + {/foreach} +
      +
      + diff --git a/themes/toutpratique/modules/blockcategories/blockcategories_top.tpl b/themes/toutpratique/modules/blockcategories/blockcategories_top.tpl new file mode 100644 index 00000000..2b642f81 --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/blockcategories_top.tpl @@ -0,0 +1,59 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +
      +
      +
        + {foreach from=$blockCategTree.children item=child name=blockCategTree} + {if $smarty.foreach.blockCategTree.last} + {include file="$branche_tpl_path" node=$child last='true'} + {else} + {include file="$branche_tpl_path" node=$child} + {/if} + + {if isset($blockCategTree.thumbnails) && $blockCategTree.thumbnails|count > 0} +
        + {foreach $blockCategTree.thumbnails as $thumbnail} +
        {$thumbnail}
        + {/foreach} +
        + {/if} + {if ($smarty.foreach.blockCategTree.iteration mod $numberColumn) == 0 AND !$smarty.foreach.blockCategTree.last} +
      +
      +
      + + +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcategories/category-tree-branch-top.tpl b/themes/toutpratique/modules/blockcategories/category-tree-branch-top.tpl new file mode 100644 index 00000000..d1c15d27 --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/category-tree-branch-top.tpl @@ -0,0 +1,44 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
    3. +

      + + {$node.name|escape:'html':'UTF-8'} + +

      + + {if $node.children|@count > 0} +
        + {foreach from=$node.children item=child name=categoryTreeBranch} + {if $smarty.foreach.categoryTreeBranch.last} + {include file="$branche_tpl_path" node=$child last='true'} + {else} + {include file="$branche_tpl_path" node=$child last='false'} + {/if} + {/foreach} +
      + {/if} +
    4. diff --git a/themes/toutpratique/modules/blockcategories/category-tree-branch.tpl b/themes/toutpratique/modules/blockcategories/category-tree-branch.tpl new file mode 100644 index 00000000..1a4a4d48 --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/category-tree-branch.tpl @@ -0,0 +1,42 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
    5. + + {$node.name|escape:'html':'UTF-8'} + + {if $node.children|@count > 0} +
        + {foreach from=$node.children item=child name=categoryTreeBranch} + {if $smarty.foreach.categoryTreeBranch.last} + {include file="$branche_tpl_path" node=$child last='true'} + {else} + {include file="$branche_tpl_path" node=$child last='false'} + {/if} + {/foreach} +
      + {/if} +
    6. diff --git a/themes/toutpratique/modules/blockcategories/index.php b/themes/toutpratique/modules/blockcategories/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcategories/translations/fr.php b/themes/toutpratique/modules/blockcategories/translations/fr.php new file mode 100644 index 00000000..6d6b8e97 --- /dev/null +++ b/themes/toutpratique/modules/blockcategories/translations/fr.php @@ -0,0 +1,34 @@ +blockcategories_footer_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blockcategories}wedigital>blockcategories_8f0ed7c57fca428f7e3f8e64d2f00918'] = 'Bloc catégories'; +$_MODULE['<{blockcategories}wedigital>blockcategories_15a6f5841d9e4d7e62bec3319b4b7036'] = 'Ajoute un bloc proposant une navigation au sein de vos catégories de produits'; +$_MODULE['<{blockcategories}wedigital>blockcategories_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockcategories}wedigital>blockcategories_23e0d4ecc25de9b2777fdaca3e2f3193'] = 'Profondeur maximum : nombre invalide'; +$_MODULE['<{blockcategories}wedigital>blockcategories_0cf328636f0d607ac24a5c435866b94b'] = 'Dynamic HTML : choix invalide'; +$_MODULE['<{blockcategories}wedigital>blockcategories_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockcategories}wedigital>blockcategories_1379a6b19242372c1f23cc9adedfcdd6'] = 'Catégorie racine'; +$_MODULE['<{blockcategories}wedigital>blockcategories_c6d333d07d30f7b4c31a94bbd510bf88'] = 'Choisissez quelle catégorie afficher dans ce bloc. La catégorie actuelle est celle où le visiteur navigue actuellement.'; +$_MODULE['<{blockcategories}wedigital>blockcategories_89b278a71f2be5f620307502326587a0'] = 'Catégorie d\'accueil'; +$_MODULE['<{blockcategories}wedigital>blockcategories_62381fc27e62649a16182a616de3f7ea'] = 'Catégorie actuelle'; +$_MODULE['<{blockcategories}wedigital>blockcategories_52b68aaa602d202c340d9e4e9157f276'] = 'Catégorie parente'; +$_MODULE['<{blockcategories}wedigital>blockcategories_199f6ead1ce5a19131b6b6c568306d81'] = 'Catégorie actuelle, ou, si elle n\'a pas de sous-catégorie, la catégorie parent'; +$_MODULE['<{blockcategories}wedigital>blockcategories_19561e33450d1d3dfe6af08df5710dd0'] = 'Profondeur maximum'; +$_MODULE['<{blockcategories}wedigital>blockcategories_584d4e251b6f778eda9cfc2fc756b0b0'] = 'Détermine la profondeur maximale des catégories affichées (0 = infinie).'; +$_MODULE['<{blockcategories}wedigital>blockcategories_971fd8cc345d8bd9f92e9f7d88fdf20c'] = 'Dynamique'; +$_MODULE['<{blockcategories}wedigital>blockcategories_c10efcaa2a8ff4eedaa3538fff78eb53'] = 'Activer l\'arbre dynamique (animé) pour les sous-catégories.'; +$_MODULE['<{blockcategories}wedigital>blockcategories_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blockcategories}wedigital>blockcategories_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blockcategories}wedigital>blockcategories_6b46ae48421828d9973deec5fa9aa0c3'] = 'Trier'; +$_MODULE['<{blockcategories}wedigital>blockcategories_54e4f98fb34254a6678f0795476811ed'] = 'par nom'; +$_MODULE['<{blockcategories}wedigital>blockcategories_883f0bd41a4fcee55680446ce7bec0d9'] = 'par position'; +$_MODULE['<{blockcategories}wedigital>blockcategories_06f1ac65b0a6a548339a38b348e64d79'] = 'Sens du tri'; +$_MODULE['<{blockcategories}wedigital>blockcategories_e3cf5ac19407b1a62c6fccaff675a53b'] = 'décroissant'; +$_MODULE['<{blockcategories}wedigital>blockcategories_cf3fb1ff52ea1eed3347ac5401ee7f0c'] = 'croissant'; +$_MODULE['<{blockcategories}wedigital>blockcategories_5f73e737cedf8f4ccf880473a7823005'] = 'Nombre de colonnes pour le pied de page'; +$_MODULE['<{blockcategories}wedigital>blockcategories_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcategories}wedigital>blockcategories_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blockcategories}wedigital>blockcategories_admin_c69d9eead832257f587f7c9ec0026fe2'] = 'Vous pouvez mettre en ligne 3 images au maximum.'; +$_MODULE['<{blockcategories}wedigital>blockcategories_admin_acc66e14d297c1bfc20986bf593cb054'] = 'Miniatures'; diff --git a/themes/toutpratique/modules/blockcms/blockcms.tpl b/themes/toutpratique/modules/blockcms/blockcms.tpl new file mode 100644 index 00000000..6ac5e976 --- /dev/null +++ b/themes/toutpratique/modules/blockcms/blockcms.tpl @@ -0,0 +1,69 @@ +{if $blocks} + {foreach $blocks as $key => $block} + + {/foreach} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcms/index.php b/themes/toutpratique/modules/blockcms/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcms/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcms/translations/en.php b/themes/toutpratique/modules/blockcms/translations/en.php new file mode 100644 index 00000000..309fa07b --- /dev/null +++ b/themes/toutpratique/modules/blockcms/translations/en.php @@ -0,0 +1,25 @@ +blockcms_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Information'; +$_MODULE['<{blockcms}prestashop>blockcms_ea4788705e6873b424c65e91c2846b19'] = 'Cancel'; +$_MODULE['<{blockcms}prestashop>blockcms_ef61fb324d729c341ea8ab9901e23566'] = 'Add new'; +$_MODULE['<{blockcms}prestashop>blockcms_c9cc8cce247e49bae79f15173ce97354'] = 'Save'; +$_MODULE['<{blockcms}prestashop>blockcms_965be994da393e5aa15bd3a2444c6ccf'] = 'Footer\'s various links Configuration'; +$_MODULE['<{blockcms}prestashop>blockcms_9aa03a5dca2e060a4ecbff0dd8616692'] = 'Save'; +$_MODULE['<{blockcms}prestashop>blockcms_93cba07454f06a4a960172bbd6e2a435'] = 'Yes'; +$_MODULE['<{blockcms}prestashop>blockcms_bafd7322c6e97d25b6299b5d6fe8920b'] = 'No'; +$_MODULE['<{blockcms}prestashop>blockcms_87a2663d841b78f01c27c0edb4f50b76'] = 'Deletion successful'; +$_MODULE['<{blockcms}prestashop>blockcms_34c869c542dee932ef8cd96d2f91cae6'] = 'Our stores'; +$_MODULE['<{blockcms}prestashop>blockcms_3cb29f0ccc5fd220a97df89dafe46290'] = 'Best sellers'; +$_MODULE['<{blockcms}prestashop>blockcms_e1da49db34b0bdfdddaba2ad6552f848'] = 'Sitemap'; +$_MODULE['<{blockcms}prestashop>form_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blockcms}prestashop>form_52f5e0bc3859bc5f5e25130b6c7e8881'] = 'Position'; +$_MODULE['<{blockcms}prestashop>form_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions'; +$_MODULE['<{blockcms}prestashop>form_08a38277b0309070706f6652eeae9a53'] = 'Down'; +$_MODULE['<{blockcms}prestashop>form_258f49887ef8d14ac268c92b02503aaa'] = 'Up'; +$_MODULE['<{blockcms}prestashop>form_7dce122004969d56ae2e0245cb754d35'] = 'Edit'; +$_MODULE['<{blockcms}prestashop>form_f2a6c498fb90ee345d997f888fce3b18'] = 'Delete'; +$_MODULE['<{blockcms}prestashop>form_49ee3087348e8d44e1feda1917443987'] = 'Name'; diff --git a/themes/toutpratique/modules/blockcms/translations/fr.php b/themes/toutpratique/modules/blockcms/translations/fr.php new file mode 100644 index 00000000..bf788c05 --- /dev/null +++ b/themes/toutpratique/modules/blockcms/translations/fr.php @@ -0,0 +1,78 @@ +blockcms_ca3e06233b736d289df9f4580a4ab19a'] = 'Bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_cdca12007979fc49008fd125cdb775fc'] = 'Ajoute un bloc contenant plusieurs lien vers vos pages CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Informations'; +$_MODULE['<{blockcms}wedigital>blockcms_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{blockcms}wedigital>blockcms_ef61fb324d729c341ea8ab9901e23566'] = 'Ajouter'; +$_MODULE['<{blockcms}wedigital>blockcms_97390dd0b5ba7867120aee2ff22bfa38'] = 'Configuration du bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_6f0091f0c2b3ef334a8f5359f462b63f'] = 'Blocs CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_0a41f7ebbcf8a28362f8635ca8341d28'] = 'Nouveau bloc'; +$_MODULE['<{blockcms}wedigital>blockcms_528c17398f985a94f4cc7c5b2d32c8c0'] = 'Configuration des divers liens du pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_c93efb366650d08e5827974c0ddec8d8'] = 'Afficher divers liens et informations dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_6f3ebe2ce8a7c3b873c1003b6ead60df'] = 'Liens de pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_e363df19c685465bca24d0c06d9394c7'] = 'Sélectionnez les pages que vous souhaitez afficher dans le bloc CMS de pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_b0f8cd6eb22f287563dad544796b4118'] = 'Informations de pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_75cb29c17cf91bef81cc289b0dd1b1fa'] = 'Ajouter le lien \"Nos magasins\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_0e5da791148c92be6eca8c537a47569e'] = 'Ajouter le lien \"Promotions\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_e995cfe1489190cf28799a16d23be91a'] = 'Ajouter le lien \"Nouveaux produits\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_edeab890c4f02138691d67eefcbfe7e8'] = 'Ajouter le lien \"Meilleures ventes\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_45bc5fe3bf5717315e42a831ba7da748'] = 'Ajouter le lien \"Nous contacter\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_68b7b9e603633d155941fb1d665c3997'] = 'Ajouter le lien du plan du site dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_573a06e2ae339eeb4fb19e7f689bd3d8'] = 'Ajouter le lien \"Propulsé par PrestaShop\" dans le pied de page'; +$_MODULE['<{blockcms}wedigital>blockcms_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcms}wedigital>blockcms_be58fccb15fb119b8c3d485e3a8561c4'] = 'Configuration du bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_0eb46571f3ff926d8b2408cafcfc17e3'] = 'Modification du bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_5aa1602194579edb6f91d7dd53eadb32'] = 'Nouveau bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_dd57f561a17388f38ac26a2f0321776b'] = 'Nom du bloc CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_51b274d417210e74d2cfe9e0713602f2'] = 'Si vous laissez ce champ vide, le nom du bloc sera le nom de la catégorie'; +$_MODULE['<{blockcms}wedigital>blockcms_ac37b115bc4e914c9ab63bd4a1c1746a'] = 'Catégorie CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_ce5bf551379459c1c61d2a204061c455'] = 'Emplacement'; +$_MODULE['<{blockcms}wedigital>blockcms_f9e4884c7654daa6581b42ed90aeaba4'] = 'Colonne de gauche'; +$_MODULE['<{blockcms}wedigital>blockcms_feb6cc332459769fe15570bf332a6b50'] = 'Colonne de droite'; +$_MODULE['<{blockcms}wedigital>blockcms_ef0e9df97eac6e978e72eeaf5abb8b0e'] = 'Ajouter un lien vers le localisateur de magasins'; +$_MODULE['<{blockcms}wedigital>blockcms_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blockcms}wedigital>blockcms_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blockcms}wedigital>blockcms_9a8d463045dc8c2ad89bcd455fd937e8'] = 'Ajoute le lien \"Nos magasins\" à la fin du bloc.'; +$_MODULE['<{blockcms}wedigital>blockcms_bbfdbbf61a22c160c5498b6ae08cb356'] = 'Contenu CMS'; +$_MODULE['<{blockcms}wedigital>blockcms_04313a11bf4a501b7cf2273ea7b32862'] = 'Sélectionnez les pages que vous souhaitez afficher dans ce bloc'; +$_MODULE['<{blockcms}wedigital>blockcms_0d6d7a7c758cd16507d4aebf18305691'] = 'Valeur d\'affichage non valable pour le magasin'; +$_MODULE['<{blockcms}wedigital>blockcms_4eb9b68883615faa427da721fad14422'] = 'Emplacement non valable pour le bloc'; +$_MODULE['<{blockcms}wedigital>blockcms_795c54de995b69fe05142dad6f99ef92'] = 'Vous devez choisir au moins une page ou sous-catégorie pour créer un bloc CMS.'; +$_MODULE['<{blockcms}wedigital>blockcms_0788bfffae213b06afb540bf06926652'] = 'Page ou catégorie CMS non valable'; +$_MODULE['<{blockcms}wedigital>blockcms_7125483712689cd7a6f85b466a8a7632'] = 'Le nom du bloc est trop long'; +$_MODULE['<{blockcms}wedigital>blockcms_ede67d50014846cb8bb1b00d5fde77be'] = 'id_cms_block invalide'; +$_MODULE['<{blockcms}wedigital>blockcms_2d81a9da91ff3f073e6aecbe42c33e69'] = 'Veuillez fournir un text de pied de page pour la langue par défaut'; +$_MODULE['<{blockcms}wedigital>blockcms_af979c5a556c7a2c5340a06273046b0d'] = 'Activation du pied de page non valide.'; +$_MODULE['<{blockcms}wedigital>blockcms_dc08eb6c896a19dd0f0585ab7205ed17'] = 'Impossible de créer un bloc !'; +$_MODULE['<{blockcms}wedigital>blockcms_f3d25e325923cd522fd610bd869d736c'] = 'Erreur : vous essayez de supprimer un bloc CMS inexistant.'; +$_MODULE['<{blockcms}wedigital>blockcms_0c579767f53365887ac199a96e26c591'] = 'Informations du pied de page mises à jour'; +$_MODULE['<{blockcms}wedigital>blockcms_c28716416d2fd75a37b4496586755853'] = 'Le bloc CMS a bien été ajouté'; +$_MODULE['<{blockcms}wedigital>blockcms_a94db349ae0c662fd55c9d402481165b'] = 'Le bloc CMS a bien été modifié'; +$_MODULE['<{blockcms}wedigital>blockcms_64e1a7a1be29d5937f2eaa90a3d32ad0'] = 'Suppression réussie.'; +$_MODULE['<{blockcms}wedigital>blockcms_34c869c542dee932ef8cd96d2f91cae6'] = 'Nos magasins'; +$_MODULE['<{blockcms}wedigital>blockcms_d1aa22a3126f04664e0fe3f598994014'] = 'Promotions'; +$_MODULE['<{blockcms}wedigital>blockcms_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits'; +$_MODULE['<{blockcms}wedigital>blockcms_01f7ac959c1e6ebbb2e0ee706a7a5255'] = 'Meilleures ventes'; +$_MODULE['<{blockcms}wedigital>blockcms_02d4482d332e1aef3437cd61c9bcc624'] = 'Contactez-nous'; +$_MODULE['<{blockcms}wedigital>blockcms_5813ce0ec7196c492c97596718f71969'] = 'sitemap'; +$_MODULE['<{blockcms}wedigital>blockcms_650f3a4b9d4a9f149c69327fb8239121'] = '[1]Logiciel e-commerce par %s[/1]'; +$_MODULE['<{blockcms}wedigital>form_4dabfa54822012dfc78d6ef40f224173'] = 'Blocs à gauche'; +$_MODULE['<{blockcms}wedigital>form_d9ca3009e18447d91cd2e324e8e680ce'] = 'Blocs à droite'; +$_MODULE['<{blockcms}wedigital>form_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blockcms}wedigital>form_83ef1503b3bd9858cc923a74e5f9e917'] = 'Nom du bloc'; +$_MODULE['<{blockcms}wedigital>form_bb34a159a88035cce7ef1607e7907f8f'] = 'Nom de la catégorie'; +$_MODULE['<{blockcms}wedigital>form_52f5e0bc3859bc5f5e25130b6c7e8881'] = 'Position'; +$_MODULE['<{blockcms}wedigital>form_08a38277b0309070706f6652eeae9a53'] = 'Descendre'; +$_MODULE['<{blockcms}wedigital>form_258f49887ef8d14ac268c92b02503aaa'] = 'Monter'; +$_MODULE['<{blockcms}wedigital>form_7dce122004969d56ae2e0245cb754d35'] = 'Modifier'; +$_MODULE['<{blockcms}wedigital>form_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blockcms}wedigital>form_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{blockcms}wedigital>form_f7c68d40f8727c658e821c6e6d56af07'] = 'Aucune page créée'; +$_MODULE['<{blockcms}wedigital>blockcms_c49134bd656eb002a7739b11867d89f7'] = 'Mises à jours'; +$_MODULE['<{blockcms}wedigital>blockcms_c9416c12dd017a6cb2108bf6b636427d'] = 'Enregistrer votre produit'; +$_MODULE['<{blockcms}wedigital>blockcms_940acd7b10db3d56318cbc48e1e961b9'] = 'Offres de remboursement'; +$_MODULE['<{blockcms}wedigital>blockcms_e8e47a1105883fef7aa47a3a973fa319'] = 'Espace investisseurs'; +$_MODULE['<{blockcms}wedigital>blockcms_126d7aacfa3a37a94cf8876c1f14ee31'] = 'Le groupe'; diff --git a/themes/toutpratique/modules/blockcms/translations/index.php b/themes/toutpratique/modules/blockcms/translations/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcms/translations/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcmsinfo/translations/fr.php b/themes/toutpratique/modules/blockcmsinfo/translations/fr.php new file mode 100644 index 00000000..d6ce1ee4 --- /dev/null +++ b/themes/toutpratique/modules/blockcmsinfo/translations/fr.php @@ -0,0 +1,17 @@ +blockcmsinfo_988659f6c5d3210a3f085ecfecccf5d3'] = 'Bloc CMS d\'information client'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_cd4abd29bdc076fb8fabef674039cd6e'] = 'Ajoute un bloc d\'information client sur votre boutique.'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_86432715902fbaf53de469fed3fa6c53'] = 'Vous devez sélectionner au moins une boutique.'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_d52eaeff31af37a4a7e0550008aff5df'] = 'Une erreur est survenue lors de la sauvegarde'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_6f16c729fadd8aa164c6c47853983dd2'] = 'Nouveau bloc CMS'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_9dffbf69ffba8bc38bc4e01abf4b1675'] = 'Texte'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_630f6dc397fe74e52d5189e2c80f282b'] = 'Retour à la liste'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_9d55fc80bbb875322aa67fd22fc98469'] = 'Boutiques associées'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_6fcdef6ca2bb47a0cf61cd41ccf274f4'] = 'Identifiant du bloc'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_9f82518d468b9fee614fcc92f76bb163'] = 'Boutique'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_56425383198d22fc8bb296bcca26cecf'] = 'Texte du bloc'; +$_MODULE['<{blockcmsinfo}wedigital>blockcmsinfo_ef61fb324d729c341ea8ab9901e23566'] = 'Ajouter'; diff --git a/themes/toutpratique/modules/blockcontact/blockcontact.tpl b/themes/toutpratique/modules/blockcontact/blockcontact.tpl new file mode 100644 index 00000000..dd5f0e44 --- /dev/null +++ b/themes/toutpratique/modules/blockcontact/blockcontact.tpl @@ -0,0 +1,45 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
      +

      + {l s='Contact Us' mod='blockcontact'} +

      +
      +

      + {l s='Our support hotline is available 24/7.' mod='blockcontact'} +

      + {if $telnumber != ''} +

      + {l s='Phone:' mod='blockcontact'}{$telnumber|escape:'html':'UTF-8'} +

      + {/if} + {if $email != ''} + + {l s='Contact our expert support team!' mod='blockcontact'} + + {/if} +
      +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcontact/index.php b/themes/toutpratique/modules/blockcontact/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcontact/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcontact/nav.tpl b/themes/toutpratique/modules/blockcontact/nav.tpl new file mode 100644 index 00000000..f8a77571 --- /dev/null +++ b/themes/toutpratique/modules/blockcontact/nav.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if $telnumber} + + {l s='Call us now:' mod='blockcontact'} {$telnumber} + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcontact/translations/fr.php b/themes/toutpratique/modules/blockcontact/translations/fr.php new file mode 100644 index 00000000..09d726dd --- /dev/null +++ b/themes/toutpratique/modules/blockcontact/translations/fr.php @@ -0,0 +1,22 @@ +blockcontact_df8f3e2cd8d1acbb2d1aa46a45045ec5'] = 'Bloc contact'; +$_MODULE['<{blockcontact}wedigital>blockcontact_318ed85b9852475f24127167815e85d9'] = 'Permet d\'ajouter des informations supplémentaires concernant le service client'; +$_MODULE['<{blockcontact}wedigital>blockcontact_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; +$_MODULE['<{blockcontact}wedigital>blockcontact_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockcontact}wedigital>blockcontact_90a613a116f4bd9390ff7379a114f8d7'] = 'Ce bloc affiche dans l\'en-tête votre numéro de téléphone (\"Appelez-nous au\") et un lien vers la page Contact (\"Contactez-nous\").'; +$_MODULE['<{blockcontact}wedigital>blockcontact_5f6e75192756d3ad45cff4a1ee0a45ba'] = 'Vous pouvez modifier les adresses e-mail de votre page \"Contact\" dans la page \"Contacts\" du menu \"Clients\".'; +$_MODULE['<{blockcontact}wedigital>blockcontact_ccffe09c1cd18f73ad1f76762fded097'] = 'Vous pouvez modifier les contacts de votre pied de page grâce au module \"Bloc Informations de contact\".'; +$_MODULE['<{blockcontact}wedigital>blockcontact_7551cf1a985728fa2798db32c2ff7887'] = 'Numéro de téléphone'; +$_MODULE['<{blockcontact}wedigital>blockcontact_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail'; +$_MODULE['<{blockcontact}wedigital>blockcontact_52e878b67e9d94d25425231162ef5133'] = 'Renseignez ici les informations relatives à votre service clients.'; +$_MODULE['<{blockcontact}wedigital>blockcontact_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcontact}wedigital>blockcontact_02d4482d332e1aef3437cd61c9bcc624'] = 'Contactez-nous'; +$_MODULE['<{blockcontact}wedigital>blockcontact_75858d311c84e7ba706b69bea5c71d36'] = 'Notre service client est disponible 24h/24, 7j/7'; +$_MODULE['<{blockcontact}wedigital>blockcontact_673ae02fffb72f0fe68a66f096a01347'] = 'Tél. :'; +$_MODULE['<{blockcontact}wedigital>blockcontact_736c5a7e834b7021bfa97180fc453115'] = 'Contacter notre service client'; +$_MODULE['<{blockcontact}wedigital>nav_02d4482d332e1aef3437cd61c9bcc624'] = 'Contactez-nous'; +$_MODULE['<{blockcontact}wedigital>nav_320abee94a07e976991e4df0d4afb319'] = 'Appelez-nous au :'; +$_MODULE['<{blockcontact}wedigital>blockcontact_9cfc9b74983d504ec71db33967591249'] = 'Contactez-nous'; diff --git a/themes/toutpratique/modules/blockcontactinfos/blockcontactinfos.tpl b/themes/toutpratique/modules/blockcontactinfos/blockcontactinfos.tpl new file mode 100644 index 00000000..1890b7fc --- /dev/null +++ b/themes/toutpratique/modules/blockcontactinfos/blockcontactinfos.tpl @@ -0,0 +1,52 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA + +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + diff --git a/themes/toutpratique/modules/blockcontactinfos/index.php b/themes/toutpratique/modules/blockcontactinfos/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcontactinfos/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcontactinfos/translations/fr.php b/themes/toutpratique/modules/blockcontactinfos/translations/fr.php new file mode 100644 index 00000000..418585b6 --- /dev/null +++ b/themes/toutpratique/modules/blockcontactinfos/translations/fr.php @@ -0,0 +1,18 @@ +blockcontactinfos_fc02586aa99596947b184a01f43fb4ae'] = 'Bloc informations de contact'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_86458ae1631be34a6fcbf1a4584f5abe'] = 'Ajoute un bloc permettant d\'afficher des informations sur les moyens de contacter la boutique'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_c281f92b77ba329f692077d23636f5c9'] = 'Nom de la société'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_1f8261d17452a959e013666c5df45e07'] = 'Numéro de téléphone'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_02d4482d332e1aef3437cd61c9bcc624'] = 'Contactez-nous'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_2e006b735fbd916d8ab26978ae6714d4'] = 'Tél. :'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_6a1e265f92087bb6dd18194833fe946b'] = 'E-mail :'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_80a11d2a54a677f6fadd9c041c0d6b98'] = 'Informations sur votre boutique'; +$_MODULE['<{blockcontactinfos}wedigital>blockcontactinfos_320abee94a07e976991e4df0d4afb319'] = 'Appelez-nous au :'; diff --git a/themes/toutpratique/modules/blockcurrencies/blockcurrencies.tpl b/themes/toutpratique/modules/blockcurrencies/blockcurrencies.tpl new file mode 100644 index 00000000..0d1d7c3f --- /dev/null +++ b/themes/toutpratique/modules/blockcurrencies/blockcurrencies.tpl @@ -0,0 +1,49 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if count($currencies) > 1} +
      +
      +
      + + + {l s='Currency' mod='blockcurrencies'} : + {foreach from=$currencies key=k item=f_currency} + {if $cookie->id_currency == $f_currency.id_currency}{$f_currency.iso_code}{/if} + {/foreach} +
      +
        + {foreach from=$currencies key=k item=f_currency} +
      • id_currency == $f_currency.id_currency}class="selected"{/if}> + + {$f_currency.name} + +
      • + {/foreach} +
      +
      +
      +{/if} + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcurrencies/index.php b/themes/toutpratique/modules/blockcurrencies/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcurrencies/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockcurrencies/translations/fr.php b/themes/toutpratique/modules/blockcurrencies/translations/fr.php new file mode 100644 index 00000000..9734c2a3 --- /dev/null +++ b/themes/toutpratique/modules/blockcurrencies/translations/fr.php @@ -0,0 +1,7 @@ +blockcurrencies_f7a31ae8f776597d4282bd3b1013f08b'] = 'Bloc devises'; +$_MODULE['<{blockcurrencies}wedigital>blockcurrencies_80ed40ee905b534ee85ce49a54380107'] = 'Ajoute un bloc permettant au client de choisir sa devise'; +$_MODULE['<{blockcurrencies}wedigital>blockcurrencies_386c339d37e737a436499d423a77df0c'] = 'Devise'; diff --git a/themes/toutpratique/modules/blockcustomerprivacy/blockcustomerprivacy.tpl b/themes/toutpratique/modules/blockcustomerprivacy/blockcustomerprivacy.tpl new file mode 100644 index 00000000..28db29b3 --- /dev/null +++ b/themes/toutpratique/modules/blockcustomerprivacy/blockcustomerprivacy.tpl @@ -0,0 +1,38 @@ +{* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockcustomerprivacy/index.php b/themes/toutpratique/modules/blockcustomerprivacy/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockcustomerprivacy/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockfacebook/translations/fr.php b/themes/toutpratique/modules/blockfacebook/translations/fr.php new file mode 100644 index 00000000..33449533 --- /dev/null +++ b/themes/toutpratique/modules/blockfacebook/translations/fr.php @@ -0,0 +1,12 @@ +blockfacebook_43d541d80b37ddb75cde3906b1ded452'] = 'Bloc Facebook Like Box'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_e2887a32ddafab9926516d8cb29aab76'] = 'Affiche un bloc pour s\'inscrire à votre page Facebook.'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_c98cf18081245e342d7929c117066f0b'] = 'Lien Facebook (mettez l\'adresse complète)'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockfacebook}wedigital>blockfacebook_374fe11018588d3d27e630b2dffb7909'] = 'Suivez-nous sur Facebook'; +$_MODULE['<{blockfacebook}wedigital>preview_374fe11018588d3d27e630b2dffb7909'] = 'Suivez-nous sur Facebook'; diff --git a/themes/toutpratique/modules/blocklanguages/blocklanguages.tpl b/themes/toutpratique/modules/blocklanguages/blocklanguages.tpl new file mode 100644 index 00000000..4b368696 --- /dev/null +++ b/themes/toutpratique/modules/blocklanguages/blocklanguages.tpl @@ -0,0 +1,24 @@ + +{if count($languages) > 1} +
      + +
      +{/if} + diff --git a/themes/toutpratique/modules/blocklanguages/index.php b/themes/toutpratique/modules/blocklanguages/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocklanguages/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocklanguages/translations/fr.php b/themes/toutpratique/modules/blocklanguages/translations/fr.php new file mode 100644 index 00000000..830f0f21 --- /dev/null +++ b/themes/toutpratique/modules/blocklanguages/translations/fr.php @@ -0,0 +1,6 @@ +blocklanguages_d33f69bfa67e20063a8905c923d9cf59'] = 'Bloc sélecteur de langue'; +$_MODULE['<{blocklanguages}wedigital>blocklanguages_5bc2cbadb5e09b5ef9b9d1724072c4f9'] = 'Ajoute un bloc permettant à vos clients de sélectionner la langue de votre boutique.'; diff --git a/themes/toutpratique/modules/blocklayered/blocklayered-no-products.tpl b/themes/toutpratique/modules/blocklayered/blocklayered-no-products.tpl new file mode 100644 index 00000000..4315e8a7 --- /dev/null +++ b/themes/toutpratique/modules/blocklayered/blocklayered-no-products.tpl @@ -0,0 +1,3 @@ +
      +

      {l s='There are no products.' mod='blocklayered'}

      +
      diff --git a/themes/toutpratique/modules/blocklayered/blocklayered.tpl b/themes/toutpratique/modules/blocklayered/blocklayered.tpl new file mode 100644 index 00000000..2d7dd10a --- /dev/null +++ b/themes/toutpratique/modules/blocklayered/blocklayered.tpl @@ -0,0 +1,162 @@ + +{if $nbr_filterBlocks != 0} +
      +
      +
      + {foreach from=$filters item=filter} + {if isset($filter.values)} + {if isset($filter.slider)} + + +
      + {if isset($selected_filters) && $n_filters > 0} +
        + {foreach from=$selected_filters key=filter_type item=filter_values} + {foreach from=$filter_values key=filter_key item=filter_value name=f_values} + {foreach from=$filters item=filter} + {if $filter.type == $filter_type && isset($filter.values)} + {if isset($filter.slider)} + {if $smarty.foreach.f_values.first} +
      • + + {if $filter.format == 1} + {l s='%1$s: %2$s - %3$s'|sprintf:$filter.name:{displayPrice price=$filter.values[0]}:{displayPrice price=$filter.values[1]}|escape:'html':'UTF-8' mod='blocklayered'} + {else} + {l s='%1$s: %2$s %4$s - %3$s %4$s'|sprintf:$filter.name:$filter.values[0]:$filter.values[1]:$filter.unit|escape:'html':'UTF-8' mod='blocklayered'} + {/if} +
      • + {/if} + {else} + {foreach from=$filter.values key=id_value item=value} + {if $id_value == $filter_key && !is_numeric($filter_value) && ($filter.type eq 'id_attribute_group' || $filter.type eq 'id_feature') || $id_value == $filter_value && $filter.type neq 'id_attribute_group' && $filter.type neq 'id_feature'} +
      • + + {l s='%1$s: %2$s' mod='blocklayered' sprintf=[$filter.name, $value.name]} +
      • + {/if} + {/foreach} + {/if} + {/if} + {/foreach} + {/foreach} + {/foreach} +
      + {/if} +
      + + + {foreach from=$filters item=filter} + {if $filter.type_lite == 'id_attribute_group' && isset($filter.is_color_group) && $filter.is_color_group && $filter.filter_type != 2} + {foreach from=$filter.values key=id_value item=value} + {if isset($value.checked)} + + {/if} + {/foreach} + {/if} + {/foreach} + +
      + +
      +{else} +
      +
      +
      + +
      +
      +
      +

      + +
      {l s='Loading...' mod='blocklayered'} +

      +
      +
      +{/if} + +{if $nbr_filterBlocks != 0} +{strip} + {if version_compare($smarty.const._PS_VERSION_,'1.5','>')} + {addJsDef param_product_url='#'|cat:$param_product_url} + {else} + {addJsDef param_product_url=''} + {/if} + {addJsDef blocklayeredSliderName=$blocklayeredSliderName} + + {if isset($filters) && $filters|@count} + {addJsDef filters=$filters} + {/if} +{/strip} +{/if} diff --git a/themes/toutpratique/modules/blocklayered/index.php b/themes/toutpratique/modules/blocklayered/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocklayered/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocklayered/translations/fr.php b/themes/toutpratique/modules/blocklayered/translations/fr.php new file mode 100644 index 00000000..024894e2 --- /dev/null +++ b/themes/toutpratique/modules/blocklayered/translations/fr.php @@ -0,0 +1,260 @@ +blocklayered-no-products_5c9838becf9bbce28ba90a7426daf171'] = 'Il n\'y a pas de produit.'; +$_MODULE['<{blocklayered}wedigital>blocklayered_84241e458cdd5162745500a59a3680f3'] = 'Bloc navigation à facettes'; +$_MODULE['<{blocklayered}wedigital>blocklayered_2d08fa8e157fe3f1875402cbd98aee1b'] = 'Affiche un bloc avec les filtres de la navigation à facettes'; +$_MODULE['<{blocklayered}wedigital>blocklayered_b15e7271053fe9dd22d80db100179085'] = 'Ce module nécessite d\'être greffé sur une colonne, mais votre thème n\'a pas de colonne.'; +$_MODULE['<{blocklayered}wedigital>blocklayered_b3786b970611c1a3809dd51b630812a7'] = '\"%s\" n\'est pas une URL valable'; +$_MODULE['<{blocklayered}wedigital>blocklayered_ccc12c5568381293a27db0232877937b'] = 'Nom du modèle de filtre nécessaire (ne doit être vide)'; +$_MODULE['<{blocklayered}wedigital>blocklayered_8c97e587c1b4e519bec26f3903561da3'] = 'Vous devez sélectionner au moins une catégorie'; +$_MODULE['<{blocklayered}wedigital>blocklayered_817c37b9c1f5cd4a450dad384e63e6c7'] = 'Votre filtre'; +$_MODULE['<{blocklayered}wedigital>blocklayered_3185cefd67b575e582063148e4f15860'] = 'a été mis à jour avec succès.'; +$_MODULE['<{blocklayered}wedigital>blocklayered_7ccab4d8de5d6b9bb61e99c7bba343ab'] = 'a été ajouté avec succès.'; +$_MODULE['<{blocklayered}wedigital>blocklayered_fe016d3b990c2a9dd72ab6b45892f2ae'] = 'Paramètres enregistrés avec succès'; +$_MODULE['<{blocklayered}wedigital>blocklayered_0d07af70081a2421e2b2972609d699db'] = 'Modèle de filtres supprimé, catégories mises à jour (modèle par défaut appliqué).'; +$_MODULE['<{blocklayered}wedigital>blocklayered_491f46aa6101560e9f1e0d55a063231b'] = 'Modèle de filtres introuvable'; +$_MODULE['<{blocklayered}wedigital>blocklayered_fa03eb688ad8aa1db593d33dabd89bad'] = 'Racine'; +$_MODULE['<{blocklayered}wedigital>blocklayered_a3868119dc6858db57127fd26e6f9656'] = 'Mon modèle %s'; +$_MODULE['<{blocklayered}wedigital>blocklayered_3601146c4e948c32b6424d2c0a7f0118'] = 'Prix'; +$_MODULE['<{blocklayered}wedigital>blocklayered_8c489d0946f66d17d73f26366a4bf620'] = 'Poids'; +$_MODULE['<{blocklayered}wedigital>blocklayered_03c2e7e41ffc181a4e84080b4710e81e'] = 'Nouveau'; +$_MODULE['<{blocklayered}wedigital>blocklayered_019d1ca7d50cc54b995f60d456435e87'] = 'Utilisé'; +$_MODULE['<{blocklayered}wedigital>blocklayered_6da03a74721a0554b7143254225cc08a'] = 'Reconditionné'; +$_MODULE['<{blocklayered}wedigital>blocklayered_9e2941b3c81256fac10392aaca4ccfde'] = 'État'; +$_MODULE['<{blocklayered}wedigital>blocklayered_2d25c72c1b18e562f6654fff8e11711e'] = 'Non disponible'; +$_MODULE['<{blocklayered}wedigital>blocklayered_fcebe56087b9373f15514831184fa572'] = 'En Stock'; +$_MODULE['<{blocklayered}wedigital>blocklayered_faeaec9eda6bc4c8cb6e1a9156a858be'] = 'Disponibilité'; +$_MODULE['<{blocklayered}wedigital>blocklayered_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricant'; +$_MODULE['<{blocklayered}wedigital>blocklayered_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blocklayered}wedigital>blocklayered_78a5eb43deef9a7b5b9ce157b9d52ac4'] = 'Prix'; +$_MODULE['<{blocklayered}wedigital>blocklayered_7edabf994b76a00cbc60c95af337db8f'] = 'Poids'; +$_MODULE['<{blocklayered}wedigital>blocklayered_32d2e6cd4bb1719c572ef470a3a525b6'] = 'Mon modèle %s'; +$_MODULE['<{blocklayered}wedigital>blocklayered_c32516babc5b6c47eb8ce1bfc223253c'] = 'Catalogue'; +$_MODULE['<{blocklayered}wedigital>blocklayered_1262d1b9fbffb3a8e85ac9e4b449e989'] = 'Filtres actifs :'; +$_MODULE['<{blocklayered}wedigital>blocklayered_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{blocklayered}wedigital>blocklayered_9b569fa0e7896f0e96164b954265eac5'] = '%1$s : %2$s - %3$s'; +$_MODULE['<{blocklayered}wedigital>blocklayered_cf4c997f944b08d0eff346a32272998c'] = '%1$s : %2$s %4$s - %3$s %4$s'; +$_MODULE['<{blocklayered}wedigital>blocklayered_6c03a470e52036813f268bbfa0873529'] = '%1$s : %2$s'; +$_MODULE['<{blocklayered}wedigital>blocklayered_b47b72ddf8a3fa1949a7fb6bb5dbc60c'] = 'Aucun filtre'; +$_MODULE['<{blocklayered}wedigital>blocklayered_75954a3c6f2ea54cb9dff249b6b5e8e6'] = 'Tranche :'; +$_MODULE['<{blocklayered}wedigital>blocklayered_5da618e8e4b89c66fe86e32cdafde142'] = 'Du'; +$_MODULE['<{blocklayered}wedigital>blocklayered_01b6e20344b68835c5ed1ddedf20d531'] = 'jusqu\'au'; +$_MODULE['<{blocklayered}wedigital>blocklayered_146ffe2fd9fa5bec3b63b52543793ec7'] = 'Voir plus'; +$_MODULE['<{blocklayered}wedigital>blocklayered_c74ea6dbff701bfa23819583c52ebd97'] = 'Voir moins'; +$_MODULE['<{blocklayered}wedigital>blocklayered_8524de963f07201e5c086830d370797f'] = 'Chargement...'; +$_MODULE['<{blocklayered}wedigital>add_1.6_51e17eed0057675de4bde1b34206bb12'] = 'Nouveau modèle de filtres'; +$_MODULE['<{blocklayered}wedigital>add_1.6_f8263d99054a4cdb3428196f078fa212'] = 'Nom du modèle :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_4284fda63513b7da70b5d8f032900580'] = 'Ne sert que de rappel'; +$_MODULE['<{blocklayered}wedigital>add_1.6_5d9632c49fb1586eed7123afe2bd806f'] = 'Catégories utilisées dans ce modèle :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_c2d0bf5ad42279c519cdcb4a94eb46b6'] = 'Choisissez les boutiques associées :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_88ec58dbbe7a8b727200696cfca4df3d'] = 'Vous pouvez glisser-déposer les filtres pour modifier leurs positions'; +$_MODULE['<{blocklayered}wedigital>add_1.6_60266302eeda2ac9775c3a2036ae25ca'] = 'Filtres :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_29da3cb8b65298a3e88f5041e9fb9761'] = 'Nombre de filtre : %s'; +$_MODULE['<{blocklayered}wedigital>add_1.6_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>add_1.6_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>add_1.6_cfbc982f8fb7a0cc3abb3c85c795ab41'] = 'Filtre de sous-catégorie'; +$_MODULE['<{blocklayered}wedigital>add_1.6_379d3973e10dfd90c475060f31b9ae74'] = 'Limite de résultat du filtre :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_af605ea55ee39e54c444f217e346048f'] = 'Aucune limite'; +$_MODULE['<{blocklayered}wedigital>add_1.6_284fd1ee8a33e84e08699ba0bbc44943'] = 'Style de filtre :'; +$_MODULE['<{blocklayered}wedigital>add_1.6_4f8222964f9a317cef99dddc23a121bd'] = 'Case à cocher'; +$_MODULE['<{blocklayered}wedigital>add_1.6_07a9ca8c8228dd3399141e228034fedf'] = 'Bouton radio'; +$_MODULE['<{blocklayered}wedigital>add_1.6_5204077231fc7164e2269e96b584dd95'] = 'Liste déroulante'; +$_MODULE['<{blocklayered}wedigital>add_1.6_cd50ff1c5332f9920acf8173c4aab425'] = 'Filtre du stock de produits'; +$_MODULE['<{blocklayered}wedigital>add_1.6_048c1728a0a6cf36f56c9dcdd23d8a14'] = 'Filtre des conditions de produits'; +$_MODULE['<{blocklayered}wedigital>add_1.6_02ecc2cbb645a2b859deba6907334cc8'] = 'Filtre des fabricants de produits'; +$_MODULE['<{blocklayered}wedigital>add_1.6_cc72ed9534a489b5d2e5882735bf1364'] = 'Filtre des poids de produits (glissière)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_2d9b9a764fb0be4be10e1b2fce63f561'] = 'Glissière'; +$_MODULE['<{blocklayered}wedigital>add_1.6_7e650380ef2b9cec2f2a96e6266ca93d'] = 'Zone de saisie'; +$_MODULE['<{blocklayered}wedigital>add_1.6_010359888c6e811caee8e540221f0a21'] = 'Liste de valeurs'; +$_MODULE['<{blocklayered}wedigital>add_1.6_0649bb392812f99ff6b0e2ba160675fa'] = 'Filtre de prix des produits (glissière)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_88abab51d4f2e6732b518911bfca58a4'] = 'Groupe d\'attributs : %1$s (%2$d attributs)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_e38ebd31243143bf3f3bd3810b5fc156'] = 'Groupe d\'attributs : %1$s (%2$d attribut)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_ee59f74265cd7f85d0ad30206a1a89b0'] = 'Ce groupe autorisera l\'utilisateur à choisir une couleur'; +$_MODULE['<{blocklayered}wedigital>add_1.6_7d06fc6f3166570e5d8995088066c0a2'] = 'Caractéristique : %1$s (%2$d valeurs)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_57d6fd5e5b9c215d6edac66b67e65773'] = 'Caractéristique : %1$s (%2$d valeur)'; +$_MODULE['<{blocklayered}wedigital>add_1.6_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocklayered}wedigital>add_1.6_18c6120643596bd2626f3b0720b1df3a'] = 'Vous devez sélectionner au moins une catégorie'; +$_MODULE['<{blocklayered}wedigital>add_1.6_dc3f85827350641490287c65c0c4ddf8'] = 'Vous devez choisir au moins un filtre'; +$_MODULE['<{blocklayered}wedigital>add_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{blocklayered}wedigital>add_51e17eed0057675de4bde1b34206bb12'] = 'Nouveau modèle de filtres'; +$_MODULE['<{blocklayered}wedigital>add_f8263d99054a4cdb3428196f078fa212'] = 'Nom du modèle :'; +$_MODULE['<{blocklayered}wedigital>add_4284fda63513b7da70b5d8f032900580'] = 'Ne sert que de rappel'; +$_MODULE['<{blocklayered}wedigital>add_5d9632c49fb1586eed7123afe2bd806f'] = 'Catégories utilisées dans ce modèle :'; +$_MODULE['<{blocklayered}wedigital>add_c2d0bf5ad42279c519cdcb4a94eb46b6'] = 'Choisissez les boutiques associées :'; +$_MODULE['<{blocklayered}wedigital>add_60266302eeda2ac9775c3a2036ae25ca'] = 'Filtres :'; +$_MODULE['<{blocklayered}wedigital>add_88ec58dbbe7a8b727200696cfca4df3d'] = 'Vous pouvez glisser-déposer les filtres pour modifier leurs positions'; +$_MODULE['<{blocklayered}wedigital>add_29da3cb8b65298a3e88f5041e9fb9761'] = 'Nombre de filtre : %s'; +$_MODULE['<{blocklayered}wedigital>add_a4f642ec06cf1e96bcac483ce1fff234'] = 'Filtres sélectionnés : %s'; +$_MODULE['<{blocklayered}wedigital>add_cfbc982f8fb7a0cc3abb3c85c795ab41'] = 'Filtre de sous-catégorie'; +$_MODULE['<{blocklayered}wedigital>add_379d3973e10dfd90c475060f31b9ae74'] = 'Limite de résultat du filtre :'; +$_MODULE['<{blocklayered}wedigital>add_af605ea55ee39e54c444f217e346048f'] = 'Aucune limite'; +$_MODULE['<{blocklayered}wedigital>add_284fd1ee8a33e84e08699ba0bbc44943'] = 'Style de filtre :'; +$_MODULE['<{blocklayered}wedigital>add_4f8222964f9a317cef99dddc23a121bd'] = 'Case à cocher'; +$_MODULE['<{blocklayered}wedigital>add_07a9ca8c8228dd3399141e228034fedf'] = 'Bouton radio'; +$_MODULE['<{blocklayered}wedigital>add_5204077231fc7164e2269e96b584dd95'] = 'Liste déroulante'; +$_MODULE['<{blocklayered}wedigital>add_cd50ff1c5332f9920acf8173c4aab425'] = 'Filtre du stock de produits'; +$_MODULE['<{blocklayered}wedigital>add_048c1728a0a6cf36f56c9dcdd23d8a14'] = 'Filtre des conditions de produits'; +$_MODULE['<{blocklayered}wedigital>add_02ecc2cbb645a2b859deba6907334cc8'] = 'Filtre des fabricants de produits'; +$_MODULE['<{blocklayered}wedigital>add_cc72ed9534a489b5d2e5882735bf1364'] = 'Filtre des poids de produits (glissière)'; +$_MODULE['<{blocklayered}wedigital>add_2d9b9a764fb0be4be10e1b2fce63f561'] = 'Glissière'; +$_MODULE['<{blocklayered}wedigital>add_7e650380ef2b9cec2f2a96e6266ca93d'] = 'Zone de saisie'; +$_MODULE['<{blocklayered}wedigital>add_010359888c6e811caee8e540221f0a21'] = 'Liste de valeurs'; +$_MODULE['<{blocklayered}wedigital>add_0649bb392812f99ff6b0e2ba160675fa'] = 'Filtre de prix des produits (glissière)'; +$_MODULE['<{blocklayered}wedigital>add_88abab51d4f2e6732b518911bfca58a4'] = 'Groupe d\'attributs : %1$s (%2$d attributs)'; +$_MODULE['<{blocklayered}wedigital>add_e38ebd31243143bf3f3bd3810b5fc156'] = 'Groupe d\'attributs : %1$s (%2$d attribut)'; +$_MODULE['<{blocklayered}wedigital>add_ee59f74265cd7f85d0ad30206a1a89b0'] = 'Ce groupe autorisera l\'utilisateur à choisir une couleur'; +$_MODULE['<{blocklayered}wedigital>add_7d06fc6f3166570e5d8995088066c0a2'] = 'Caractéristique : %1$s (%2$d valeurs)'; +$_MODULE['<{blocklayered}wedigital>add_57d6fd5e5b9c215d6edac66b67e65773'] = 'Caractéristique : %1$s (%2$d valeur)'; +$_MODULE['<{blocklayered}wedigital>add_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocklayered}wedigital>add_18c6120643596bd2626f3b0720b1df3a'] = 'Vous devez sélectionner au moins une catégorie'; +$_MODULE['<{blocklayered}wedigital>add_dc3f85827350641490287c65c0c4ddf8'] = 'Vous devez choisir au moins un filtre'; +$_MODULE['<{blocklayered}wedigital>add_841458c43f0de2d163857cb64435b767'] = 'Filtres sélectionnés : %s'; +$_MODULE['<{blocklayered}wedigital>view_1.6_df2bbc994d10995dcffdf96dbb7acbb1'] = 'Index et caches'; +$_MODULE['<{blocklayered}wedigital>view_1.6_ad3e7eb269d8ba0ac388267627f45b5a'] = 'Indexation en cours. Veuillez ne pas quitter cette page'; +$_MODULE['<{blocklayered}wedigital>view_1.6_5e2420d2318025812dc3e231ddb66b0b'] = 'Indexer tous les prix manquants'; +$_MODULE['<{blocklayered}wedigital>view_1.6_9612e005e96ad32b8830be4d0377e7e6'] = 'Reconstruire l\'index intégralement'; +$_MODULE['<{blocklayered}wedigital>view_1.6_d47f700b6db025d98cae0b340ed847e9'] = 'Indexer les attributs'; +$_MODULE['<{blocklayered}wedigital>view_1.6_341ce134fbec9978d185ff533931b1b3'] = 'Indexer les URL'; +$_MODULE['<{blocklayered}wedigital>view_1.6_53795c3624ae2361363780589aa2aa42'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des prix en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_1.6_e43b32b88c77e49f06144cd1ffaeba96'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des attributs en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_1.6_94f6d9bfb2c36037040b5764e73dca47'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des URL en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_1.6_16349835364cf839e6670b0de7da6362'] = 'Il est recommandé de reconstruire les indices tous les jours (de préférence à une heure où le site est peu fréquenté, la nuit par exemple).'; +$_MODULE['<{blocklayered}wedigital>view_1.6_dc83eb2d8601743d8111c5150b93fc71'] = 'Modèles de filtres'; +$_MODULE['<{blocklayered}wedigital>view_1.6_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blocklayered}wedigital>view_1.6_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{blocklayered}wedigital>view_1.6_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blocklayered}wedigital>view_1.6_f7f19392da30e81c3abf433ce7b8ca38'] = 'Créé le'; +$_MODULE['<{blocklayered}wedigital>view_1.6_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions'; +$_MODULE['<{blocklayered}wedigital>view_1.6_7dce122004969d56ae2e0245cb754d35'] = 'Modifier'; +$_MODULE['<{blocklayered}wedigital>view_1.6_7761b816560ae2618f40143bf3e585c8'] = 'Voulez-vous vraiment supprimer ce modèle de filtre ?'; +$_MODULE['<{blocklayered}wedigital>view_1.6_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blocklayered}wedigital>view_1.6_058eeeba77f547f8a9a295a0efd4f6cd'] = 'Aucun modèle de filtre trouvé.'; +$_MODULE['<{blocklayered}wedigital>view_1.6_ae2b83a081959fff7ab2e96f4ce972d1'] = 'Créer un modèle'; +$_MODULE['<{blocklayered}wedigital>view_1.6_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{blocklayered}wedigital>view_1.6_73a0fc0e322b9bc84628ea8d122cba7c'] = 'Masquer les filtres qui ne correspondent à aucun produit'; +$_MODULE['<{blocklayered}wedigital>view_1.6_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>view_1.6_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>view_1.6_8531c73de81b9ed94322dda7cf947daa'] = 'Afficher le nombre de produits correspondants'; +$_MODULE['<{blocklayered}wedigital>view_1.6_ee61c015043c79c1370fc14980dd27b9'] = 'Afficher les produits des sous catégories'; +$_MODULE['<{blocklayered}wedigital>view_1.6_a19399fa42f1ab059401a14b9f13eba1'] = 'Profondeur du filtre des catégories (0 = pas de limite, valeur par défaut : 1)'; +$_MODULE['<{blocklayered}wedigital>view_1.6_3e652bd299bb3ee3d458c0dcc7fd706e'] = 'Appliquer les filtres sur les prix TTC et non HT'; +$_MODULE['<{blocklayered}wedigital>view_1.6_bb17448782eea2b49a97deac234e9851'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Condition'; +$_MODULE['<{blocklayered}wedigital>view_1.6_affe7250d1c6cfb3ac0dd054376d4b55'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Disponibilité'; +$_MODULE['<{blocklayered}wedigital>view_1.6_e1d2fdc12d2e2303a2853e2ba4ff6524'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Fabricant'; +$_MODULE['<{blocklayered}wedigital>view_1.6_eaa38d85cd4f2e76882142aad173a1c1'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Catégorie'; +$_MODULE['<{blocklayered}wedigital>view_1.6_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocklayered}wedigital>view_1.6_56fc8142961f1f3e9f9ec0c178881b69'] = '(en cours)'; +$_MODULE['<{blocklayered}wedigital>view_1.6_8c83a87ac8ee57d9bcd79d1aa9243bc0'] = 'Indexation des URL terminée'; +$_MODULE['<{blocklayered}wedigital>view_1.6_49afa0d9ad5c1f8bf5413b9dc8a252c9'] = 'Indexation des attributs terminée'; +$_MODULE['<{blocklayered}wedigital>view_1.6_9ea5bab5df9a3f3abaa64951daf07e9b'] = 'L\'indexation des URL a échoué'; +$_MODULE['<{blocklayered}wedigital>view_1.6_414301b329318b3e916c5b91b0ca9126'] = 'L\'indexation des attributs a échoué'; +$_MODULE['<{blocklayered}wedigital>view_1.6_fa059e7a64ab37fe21b01a220b6c073f'] = 'Indexation des prix terminée'; +$_MODULE['<{blocklayered}wedigital>view_1.6_b55143bb1f46af4207ea4b5eb8e844ed'] = 'L\'indexation des prix a échoué'; +$_MODULE['<{blocklayered}wedigital>view_1.6_7cf7d150dd287df0a8e17eeb4cf2161d'] = '(en cours, %s prix de produits à indexer)'; +$_MODULE['<{blocklayered}wedigital>view_1.6_8524de963f07201e5c086830d370797f'] = 'Chargement...'; +$_MODULE['<{blocklayered}wedigital>view_1.6_eb9c805f7590679f0742ba0ea0a3e77f'] = 'Vous avez sélectionné -Toutes les catégories- : tous les modèles de filtres existants seront supprimés. Est-ce bien ce que vous voulez ?'; +$_MODULE['<{blocklayered}wedigital>view_1.6_18c6120643596bd2626f3b0720b1df3a'] = 'Vous devez sélectionner au moins une catégorie'; +$_MODULE['<{blocklayered}wedigital>view_df2bbc994d10995dcffdf96dbb7acbb1'] = 'Index et caches'; +$_MODULE['<{blocklayered}wedigital>view_ad3e7eb269d8ba0ac388267627f45b5a'] = 'Indexation en cours. Veuillez ne pas quitter cette page'; +$_MODULE['<{blocklayered}wedigital>view_5e2420d2318025812dc3e231ddb66b0b'] = 'Indexer tous les prix manquants'; +$_MODULE['<{blocklayered}wedigital>view_9612e005e96ad32b8830be4d0377e7e6'] = 'Reconstruire l\'index intégralement'; +$_MODULE['<{blocklayered}wedigital>view_d47f700b6db025d98cae0b340ed847e9'] = 'Indexer les attributs'; +$_MODULE['<{blocklayered}wedigital>view_341ce134fbec9978d185ff533931b1b3'] = 'Indexer les URL'; +$_MODULE['<{blocklayered}wedigital>view_53795c3624ae2361363780589aa2aa42'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des prix en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_e43b32b88c77e49f06144cd1ffaeba96'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des attributs en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_94f6d9bfb2c36037040b5764e73dca47'] = 'Vous pouvez définir une tâche cron qui va reconstruire l\'index des URL en utilisant l\'URL suivante :'; +$_MODULE['<{blocklayered}wedigital>view_16349835364cf839e6670b0de7da6362'] = 'Il est recommandé de reconstruire les indices tous les jours (de préférence à une heure où le site est peu fréquenté, la nuit par exemple).'; +$_MODULE['<{blocklayered}wedigital>view_dc83eb2d8601743d8111c5150b93fc71'] = 'Modèles de filtres'; +$_MODULE['<{blocklayered}wedigital>view_2198220edde014ff59601bb2646fed00'] = 'Modèles de filtres (%d)'; +$_MODULE['<{blocklayered}wedigital>view_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blocklayered}wedigital>view_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{blocklayered}wedigital>view_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blocklayered}wedigital>view_f7f19392da30e81c3abf433ce7b8ca38'] = 'Créé le'; +$_MODULE['<{blocklayered}wedigital>view_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions'; +$_MODULE['<{blocklayered}wedigital>view_7dce122004969d56ae2e0245cb754d35'] = 'Modifier'; +$_MODULE['<{blocklayered}wedigital>view_eb0728df77683ac0f7210ed0d4a18d62'] = 'Voulez-vous vraiment supprimer ce modèle de filtres ?'; +$_MODULE['<{blocklayered}wedigital>view_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blocklayered}wedigital>view_058eeeba77f547f8a9a295a0efd4f6cd'] = 'Aucun modèle de filtre trouvé.'; +$_MODULE['<{blocklayered}wedigital>view_49e61d3c2ed19d967aa62a2cc64b5d12'] = 'Ajouter un nouveau modèle de filtres'; +$_MODULE['<{blocklayered}wedigital>view_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{blocklayered}wedigital>view_73a0fc0e322b9bc84628ea8d122cba7c'] = 'Masquer les filtres qui ne correspondent à aucun produit'; +$_MODULE['<{blocklayered}wedigital>view_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>view_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>view_8531c73de81b9ed94322dda7cf947daa'] = 'Afficher le nombre de produits correspondants'; +$_MODULE['<{blocklayered}wedigital>view_ee61c015043c79c1370fc14980dd27b9'] = 'Afficher les produits des sous catégories'; +$_MODULE['<{blocklayered}wedigital>view_a19399fa42f1ab059401a14b9f13eba1'] = 'Profondeur du filtre des catégories (0 = pas de limite, valeur par défaut : 1)'; +$_MODULE['<{blocklayered}wedigital>view_3e652bd299bb3ee3d458c0dcc7fd706e'] = 'Appliquer les filtres sur les prix TTC et non HT'; +$_MODULE['<{blocklayered}wedigital>view_bb17448782eea2b49a97deac234e9851'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Condition'; +$_MODULE['<{blocklayered}wedigital>view_affe7250d1c6cfb3ac0dd054376d4b55'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Disponibilité'; +$_MODULE['<{blocklayered}wedigital>view_e1d2fdc12d2e2303a2853e2ba4ff6524'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Fabricant'; +$_MODULE['<{blocklayered}wedigital>view_eaa38d85cd4f2e76882142aad173a1c1'] = 'Autoriser les robots d\'indexation (Google, Yahoo!, Bing, etc.) pour le filtre Catégorie'; +$_MODULE['<{blocklayered}wedigital>view_cf565402d32b79d33f626252949a6941'] = 'Enregistrer la configuration'; +$_MODULE['<{blocklayered}wedigital>view_56fc8142961f1f3e9f9ec0c178881b69'] = '(en cours)'; +$_MODULE['<{blocklayered}wedigital>view_8c83a87ac8ee57d9bcd79d1aa9243bc0'] = 'Indexation des URL terminée'; +$_MODULE['<{blocklayered}wedigital>view_49afa0d9ad5c1f8bf5413b9dc8a252c9'] = 'Indexation des attributs terminée'; +$_MODULE['<{blocklayered}wedigital>view_9ea5bab5df9a3f3abaa64951daf07e9b'] = 'L\'indexation des URL a échoué'; +$_MODULE['<{blocklayered}wedigital>view_414301b329318b3e916c5b91b0ca9126'] = 'L\'indexation des attributs a échoué'; +$_MODULE['<{blocklayered}wedigital>view_fa059e7a64ab37fe21b01a220b6c073f'] = 'Indexation des prix terminée'; +$_MODULE['<{blocklayered}wedigital>view_b55143bb1f46af4207ea4b5eb8e844ed'] = 'L\'indexation des prix a échoué'; +$_MODULE['<{blocklayered}wedigital>view_7cf7d150dd287df0a8e17eeb4cf2161d'] = '(en cours, %s prix de produits à indexer)'; +$_MODULE['<{blocklayered}wedigital>view_8524de963f07201e5c086830d370797f'] = 'Chargement...'; +$_MODULE['<{blocklayered}wedigital>view_eb9c805f7590679f0742ba0ea0a3e77f'] = 'Vous avez sélectionné -Toutes les catégories- : tous les modèles de filtres existants seront supprimés. Est-ce bien ce que vous voulez ?'; +$_MODULE['<{blocklayered}wedigital>view_18c6120643596bd2626f3b0720b1df3a'] = 'Vous devez sélectionner au moins une catégorie'; +$_MODULE['<{blocklayered}wedigital>attribute_form_1.6_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>attribute_form_1.6_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>attribute_form_1.6_56275a38c626cbd17c0447d9391b1ab4'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_form_1.6_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>attribute_form_1.6_ad77792302a1f606d8839ebdc6c07e1a'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_form_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>attribute_form_56275a38c626cbd17c0447d9391b1ab4'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_form_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>attribute_form_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>attribute_form_ad77792302a1f606d8839ebdc6c07e1a'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_56275a38c626cbd17c0447d9391b1ab4'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_ad77792302a1f606d8839ebdc6c07e1a'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_0bcff42b5aed2b0e4501ed178e4f2510'] = 'Indexable'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_1.6_57b5952263e4fd4b8749787283abf85a'] = 'Utiliser cet attribut dans l\'URL générée par le module de navigation à facettes.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_56275a38c626cbd17c0447d9391b1ab4'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_ad77792302a1f606d8839ebdc6c07e1a'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cet attribut. Par défaut, PrestaShop utilise le nom de l\'attribut, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_0bcff42b5aed2b0e4501ed178e4f2510'] = 'Indexable'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>attribute_group_form_57b5952263e4fd4b8749787283abf85a'] = 'Utiliser cet attribut dans l\'URL générée par le module de navigation à facettes.'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_bc40dafe9618ddeea3f01bf6df090432'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cette caractéristique. Par défaut, PrestaShop utilise le nom de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_989bf7df8a803fcbf82801b1b0811aac'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cette caractéristique. Par défaut, PrestaShop utilise le nom de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_0bcff42b5aed2b0e4501ed178e4f2510'] = 'Indexable'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>feature_form_1.6_57b5952263e4fd4b8749787283abf85a'] = 'Utiliser cet attribut dans l\'URL générée par le module de navigation à facettes.'; +$_MODULE['<{blocklayered}wedigital>feature_form_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>feature_form_bc40dafe9618ddeea3f01bf6df090432'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux cette caractéristique. Par défaut, PrestaShop utilise le nom de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_form_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>feature_form_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>feature_form_989bf7df8a803fcbf82801b1b0811aac'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux cette caractéristique. Par défaut, PrestaShop utilise le nom de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_form_0bcff42b5aed2b0e4501ed178e4f2510'] = 'Indexable'; +$_MODULE['<{blocklayered}wedigital>feature_form_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocklayered}wedigital>feature_form_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocklayered}wedigital>feature_form_57b5952263e4fd4b8749787283abf85a'] = 'Utiliser cet attribut dans l\'URL générée par le module de navigation à facettes.'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_1.6_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_1.6_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_1.6_a6c8c88e5e16cba7b9d65ca76dc0a45c'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux la valeur de cette caractéristique. Par défaut, PrestaShop utilise la valeur de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_1.6_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_1.6_26029c4864b0b6843acfe55ee14ba807'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux la valeur de cette caractéristique. Par défaut, PrestaShop utilise la valeur de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_a6c8c88e5e16cba7b9d65ca76dc0a45c'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des URL plus détaillées en choisissant le mot qui représente le mieux la valeur de cette caractéristique. Par défaut, PrestaShop utilise la valeur de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_28034a200e932f22b324a4dda1bb9f64'] = 'Caractères invalides : >'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_9e11e4b371570340ca07913bc4783a7a'] = 'Balise titre'; +$_MODULE['<{blocklayered}wedigital>feature_value_form_26029c4864b0b6843acfe55ee14ba807'] = 'Quand le module Bloc navigation à facettes est activé, vous pouvez avoir des titres de page plus détaillés en choisissant le mot qui représente le mieux la valeur de cette caractéristique. Par défaut, PrestaShop utilise la valeur de la caractéristique, mais vous pouvez changer ce paramètre en utilisant ce champ.'; diff --git a/themes/toutpratique/modules/blocklink/blocklink.tpl b/themes/toutpratique/modules/blocklink/blocklink.tpl new file mode 100644 index 00000000..79624875 --- /dev/null +++ b/themes/toutpratique/modules/blocklink/blocklink.tpl @@ -0,0 +1,45 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + diff --git a/themes/toutpratique/modules/blocklink/index.php b/themes/toutpratique/modules/blocklink/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocklink/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocklink/translations/fr.php b/themes/toutpratique/modules/blocklink/translations/fr.php new file mode 100644 index 00000000..c467c090 --- /dev/null +++ b/themes/toutpratique/modules/blocklink/translations/fr.php @@ -0,0 +1,36 @@ +blocklink_fc738410141e4ec0c0319a81255a1431'] = 'Bloc liens'; +$_MODULE['<{blocklink}wedigital>blocklink_baa2ae9622a47c3217d725d1537e5187'] = 'Ajoute un bloc avec des liens additionels.'; +$_MODULE['<{blocklink}wedigital>blocklink_8d85948ef8fda09c2100de886e8663e5'] = 'Êtes-vous sûr de vouloir supprimer tous vos liens ?'; +$_MODULE['<{blocklink}wedigital>blocklink_666f6333e43c215212b916fef3d94af0'] = 'Vous devez remplir tous les champs.'; +$_MODULE['<{blocklink}wedigital>blocklink_9394bb34611399534ffac4f0ece96b7f'] = 'Mauvaise URL'; +$_MODULE['<{blocklink}wedigital>blocklink_3da9d5745155a430aac6d7de3b6de0c8'] = 'Le lien a été ajouté'; +$_MODULE['<{blocklink}wedigital>blocklink_898536ebd630aa3a9844e9cd9d1ebb9b'] = 'Une erreur est survenue lors de la création du lien.'; +$_MODULE['<{blocklink}wedigital>blocklink_b18032737875f7947443c98824103a1f'] = 'Le champ \"titre\" ne peut être laissé vide.'; +$_MODULE['<{blocklink}wedigital>blocklink_43b38b9a2fe65059bed320bd284047e3'] = 'Le titre n\'est pas valable.'; +$_MODULE['<{blocklink}wedigital>blocklink_eb74914f2759760be5c0a48f699f8541'] = 'Une erreur est survenue lors de la mise à jour du titre.'; +$_MODULE['<{blocklink}wedigital>blocklink_5c0f7e2db8843204f422a369f2030b37'] = 'Le titre du bloc a bien été mis à jour.'; +$_MODULE['<{blocklink}wedigital>blocklink_5d73d4c0bcb035a1405e066eb0cdf832'] = 'Une erreur est survenue lors de la suppression du lien.'; +$_MODULE['<{blocklink}wedigital>blocklink_9bbcafcc85be214aaff76dffb8b72ce9'] = 'Le lien a bien été supprimé.'; +$_MODULE['<{blocklink}wedigital>blocklink_7e5748d8c44f33c9cde08ac2805e5621'] = 'Ordre de tri mis à jour.'; +$_MODULE['<{blocklink}wedigital>blocklink_46cff2568b00bc09d66844849d0b1309'] = 'Une erreur est survenue lors du changement de l\'ordre de tri.'; +$_MODULE['<{blocklink}wedigital>blocklink_449f6d82cde894eafd3c85b6fa918f89'] = 'ID du lien'; +$_MODULE['<{blocklink}wedigital>blocklink_63a11faa3a692d4e00fa8e03bbe8a0d6'] = 'Texte du lien'; +$_MODULE['<{blocklink}wedigital>blocklink_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{blocklink}wedigital>blocklink_387a8014f530f080bf2f3be723f8c164'] = 'Liste des liens'; +$_MODULE['<{blocklink}wedigital>blocklink_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Ajouter un nouveau lien'; +$_MODULE['<{blocklink}wedigital>blocklink_e124f0a8a383171357b9614a45349fb5'] = 'Ouvrir dans une nouvelle fenêtre'; +$_MODULE['<{blocklink}wedigital>blocklink_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blocklink}wedigital>blocklink_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blocklink}wedigital>blocklink_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocklink}wedigital>blocklink_9d55fc80bbb875322aa67fd22fc98469'] = 'Boutiques associées'; +$_MODULE['<{blocklink}wedigital>blocklink_d4bc72be9854ed72e4a1da1509021bf4'] = 'Paramètres du bloc'; +$_MODULE['<{blocklink}wedigital>blocklink_b22c8f9ad7db023c548c3b8e846cb169'] = 'Titre du bloc'; +$_MODULE['<{blocklink}wedigital>blocklink_85c75f5424ba98bfc9dfc05ea8c08415'] = 'URL pour le titre du bloc'; +$_MODULE['<{blocklink}wedigital>blocklink_b408f3291aaca11c030e806d8b66ee6d'] = 'Paramètres d\'affichage des liens'; +$_MODULE['<{blocklink}wedigital>blocklink_3c2c4126af13baa9c6949bc7bcbb0664'] = 'Ordre'; +$_MODULE['<{blocklink}wedigital>blocklink_c07fa9efcc1618d6ef1a12d4f1107dea'] = 'liens les plus récents en premier'; +$_MODULE['<{blocklink}wedigital>blocklink_e83cb6a9bccb5b3fbed4bbeae17b2d12'] = 'liens les plus anciens en premier'; diff --git a/themes/toutpratique/modules/blockmanufacturer/blockmanufacturer.tpl b/themes/toutpratique/modules/blockmanufacturer/blockmanufacturer.tpl new file mode 100644 index 00000000..0a441a40 --- /dev/null +++ b/themes/toutpratique/modules/blockmanufacturer/blockmanufacturer.tpl @@ -0,0 +1,70 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + {if $display_link_manufacturer} + + {/if} + {l s='Manufacturers' mod='blockmanufacturer'} + {if $display_link_manufacturer} + + {/if} +

      +
      + {if $manufacturers} + {if $text_list} + + {/if} + {if $form_list} +
      +
      + +
      +
      + {/if} + {else} +

      {l s='No manufacturer' mod='blockmanufacturer'}

      + {/if} +
      +
      + diff --git a/themes/toutpratique/modules/blockmanufacturer/index.php b/themes/toutpratique/modules/blockmanufacturer/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockmanufacturer/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockmanufacturer/translations/fr.php b/themes/toutpratique/modules/blockmanufacturer/translations/fr.php new file mode 100644 index 00000000..02e8b847 --- /dev/null +++ b/themes/toutpratique/modules/blockmanufacturer/translations/fr.php @@ -0,0 +1,23 @@ +blockmanufacturer_bc3e73cfa718a3237fb1d7e1da491395'] = 'Bloc fabricants'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_71087c7035e626bd33c72ae9a7f042af'] = 'Ajoute un bloc avec les fabricants/marques.'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_f8c922e47935b3b76a749334045d61cf'] = 'Le nombre d\'éléments n\'est pas valide.'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_5b2e13ff6fa0da895d14bd56f2cb2d2d'] = 'Veuillez activer au moins une liste.'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_f38f5974cdc23279ffe6d203641a8bdf'] = 'Réglages mis à jour.'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_bfdff752293014f11f17122c92909ad5'] = 'Utiliser une liste textuelle'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_a7c6946ecc7f4ed19c2691a1e7a28f97'] = 'Afficher les fabricants dans une liste textuelle.'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_2eef734f174a02ae3d7aaafefeeedb42'] = 'Nombre d\'éléments à afficher'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_b0fa976774d2acf72f9c62e9ab73de38'] = 'Utiliser une liste déroulante'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_56353167778d1520bfecc70c470e6d8a'] = 'Affiche les fabricants sous forme de menu déroulant'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_2377be3c2ad9b435ba277a73f0f1ca76'] = 'Fabricants'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_c70ad5f80e4c6f299013e08cabc980df'] = 'En savoir plus sur %s'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_bf24faeb13210b5a703f3ccef792b000'] = 'Tous les fabricants'; +$_MODULE['<{blockmanufacturer}wedigital>blockmanufacturer_1c407c118b89fa6feaae6b0af5fc0970'] = 'Aucun fabricant'; diff --git a/themes/toutpratique/modules/blockmyaccount/blockmyaccount.tpl b/themes/toutpratique/modules/blockmyaccount/blockmyaccount.tpl new file mode 100644 index 00000000..7a49f5c7 --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccount/blockmyaccount.tpl @@ -0,0 +1,49 @@ + + + + diff --git a/themes/toutpratique/modules/blockmyaccount/index.php b/themes/toutpratique/modules/blockmyaccount/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccount/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockmyaccount/translations/fr.php b/themes/toutpratique/modules/blockmyaccount/translations/fr.php new file mode 100644 index 00000000..67822b72 --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccount/translations/fr.php @@ -0,0 +1,14 @@ +blockmyaccount_ecf3e4f8f34a293099620cc25d5b4d93'] = 'Bloc Mon compte'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_ecf2ffd31994b3edea4b916011b08bfa'] = 'Affiche un bloc avec des liens relatifs au compte du client.'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_74ecd9234b2a42ca13e775193f391833'] = 'Mes commandes'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_89080f0eedbd5491a93157930f1e45fc'] = 'Mes retours de marchandise'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_9132bc7bac91dd4e1c453d4e96edf219'] = 'Mes avoirs'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_e45be0a0d4a0b62b15694c1a631e6e62'] = 'Mes adresses'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_63b1ba91576576e6cf2da6fab7617e58'] = 'Mes informations personnelles'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_95d2137c196c7f84df5753ed78f18332'] = 'Mes bons de réduction'; +$_MODULE['<{blockmyaccount}wedigital>blockmyaccount_c87aacf5673fada1108c9f809d354311'] = 'Déconnexion'; diff --git a/themes/toutpratique/modules/blockmyaccountfooter/blockmyaccountfooter.tpl b/themes/toutpratique/modules/blockmyaccountfooter/blockmyaccountfooter.tpl new file mode 100644 index 00000000..d7d8720f --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccountfooter/blockmyaccountfooter.tpl @@ -0,0 +1,42 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + diff --git a/themes/toutpratique/modules/blockmyaccountfooter/index.php b/themes/toutpratique/modules/blockmyaccountfooter/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccountfooter/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockmyaccountfooter/translations/fr.php b/themes/toutpratique/modules/blockmyaccountfooter/translations/fr.php new file mode 100644 index 00000000..47623516 --- /dev/null +++ b/themes/toutpratique/modules/blockmyaccountfooter/translations/fr.php @@ -0,0 +1,17 @@ +blockmyaccountfooter_b97d23f7cde011d190f39468e146425e'] = 'Bloc Mon compte dans le pied de page'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_abdb95361b4c92488add0a5a37afabcb'] = 'Affiche un bloc avec des liens relatifs au compte du client.'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_ae9ec80afffec5a455fbf2361a06168a'] = 'Gérer mon compte client'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_74ecd9234b2a42ca13e775193f391833'] = 'Mes commandes'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_5973e925605a501b18e48280f04f0347'] = 'Voir mes retours produits'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_89080f0eedbd5491a93157930f1e45fc'] = 'Mes retours de marchandise'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_9132bc7bac91dd4e1c453d4e96edf219'] = 'Mes avoirs'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_e45be0a0d4a0b62b15694c1a631e6e62'] = 'Mes adresses'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_b4b80a59559e84e8497f746aac634674'] = 'Gérer mes informations personnelles'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_63b1ba91576576e6cf2da6fab7617e58'] = 'Mes informations personnelles'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_95d2137c196c7f84df5753ed78f18332'] = 'Mes bons de réduction'; +$_MODULE['<{blockmyaccountfooter}wedigital>blockmyaccountfooter_c87aacf5673fada1108c9f809d354311'] = 'Déconnexion'; diff --git a/themes/toutpratique/modules/blocknewproducts/blocknewproducts.tpl b/themes/toutpratique/modules/blocknewproducts/blocknewproducts.tpl new file mode 100644 index 00000000..8c6ad45d --- /dev/null +++ b/themes/toutpratique/modules/blocknewproducts/blocknewproducts.tpl @@ -0,0 +1,62 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
      +

      + {l s='New products' mod='blocknewproducts'} +

      +
      + {if $new_products !== false} +
        + {foreach from=$new_products item=newproduct name=myLoop} +
      • + {$newproduct.name|escape:html:'UTF-8'} +
        +
        + {$newproduct.name|strip_tags|escape:html:'UTF-8'} +
        +

        {$newproduct.description_short|strip_tags:'UTF-8'|truncate:75:'...'}

        + {if (!$PS_CATALOG_MODE AND ((isset($newproduct.show_price) && $newproduct.show_price) || (isset($newproduct.available_for_order) && $newproduct.available_for_order)))} + {if isset($newproduct.show_price) && $newproduct.show_price && !isset($restricted_country_mode)} +
        + + {if !$priceDisplay}{convertPrice price=$newproduct.price}{else}{convertPrice price=$newproduct.price_tax_exc}{/if} + +
        + {/if} + {/if} +
        +
      • + {/foreach} +
      + + {else} +

      » {l s='Do not allow new products at this time.' mod='blocknewproducts'}

      + {/if} +
      +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewproducts/blocknewproducts_home.tpl b/themes/toutpratique/modules/blocknewproducts/blocknewproducts_home.tpl new file mode 100644 index 00000000..29a758de --- /dev/null +++ b/themes/toutpratique/modules/blocknewproducts/blocknewproducts_home.tpl @@ -0,0 +1,31 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($new_products) && $new_products} + {include file="$tpl_dir./product-list.tpl" products=$new_products class='blocknewproducts tab-pane' id='blocknewproducts'} +{else} +
        +
      • {l s='No new products at this time.' mod='blocknewproducts'}
      • +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewproducts/index.php b/themes/toutpratique/modules/blocknewproducts/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocknewproducts/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocknewproducts/tab.tpl b/themes/toutpratique/modules/blocknewproducts/tab.tpl new file mode 100644 index 00000000..0fac31a2 --- /dev/null +++ b/themes/toutpratique/modules/blocknewproducts/tab.tpl @@ -0,0 +1,25 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
    7. {l s='New arrivals' mod='blocknewproducts'}
    8. \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewproducts/translations/fr.php b/themes/toutpratique/modules/blocknewproducts/translations/fr.php new file mode 100644 index 00000000..ccfc7965 --- /dev/null +++ b/themes/toutpratique/modules/blocknewproducts/translations/fr.php @@ -0,0 +1,25 @@ +blocknewproducts_f7c34fc4a48bc683445c1e7bbc245508'] = 'Bloc nouveaux produits'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_d3ee346c7f6560faa13622b6fef26f96'] = 'Ajoute un bloc proposant les derniers produits ajoutés.'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_1cd777247f2a6ed79534d4ace72d78ce'] = 'Vous devez remplir le champ \"produit affiché\".'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_73293a024e644165e9bf48f270af63a0'] = 'Nombre invalide.'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_26986c3388870d4148b1b5375368a83d'] = 'Produits à afficher'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_3ea7689283770958661c27c37275b89c'] = 'Détermine le nombre de produits à afficher dans ce bloc'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_85dd6b2059e1ff8fbefcc9cf6e240933'] = 'Nombre de jours durant lesquels un produit est considéré comme \"nouveau\"'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_24ff4e4d39bb7811f6bdf0c189462272'] = 'Toujours afficher ce bloc'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_d68e7b860a7dba819fa1c75225c284b5'] = 'Afficher le bloc même s\'il n\'y a pas de nouveau produit disponible.'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_home_0af0aac2e9f6bd1d5283eed39fe265cc'] = 'Aucun nouveau produit à l\'heure actuelle.'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_9ff0635f5737513b1a6f559ac2bff745'] = 'Nouveaux produits'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_43340e6cc4e88197d57f8d6d5ea50a46'] = 'En savoir plus'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_60efcc704ef1456678f77eb9ee20847b'] = 'Tous les nouveaux produits'; +$_MODULE['<{blocknewproducts}wedigital>blocknewproducts_18cc24fb12f89c839ab890f8188febe8'] = 'Aucun nouveau produit à l\'heure actuelle'; +$_MODULE['<{blocknewproducts}wedigital>tab_a0d0ebc37673b9ea77dd7c1a02160e2d'] = 'Nouveautés'; diff --git a/themes/toutpratique/modules/blocknewsletter/blocknewsletter.tpl b/themes/toutpratique/modules/blocknewsletter/blocknewsletter.tpl new file mode 100644 index 00000000..9565a880 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/blocknewsletter.tpl @@ -0,0 +1,28 @@ + + + +{strip} +{if isset($msg) && $msg} +{addJsDef msg_newsl=$msg|@addcslashes:'\''} +{/if} +{if isset($nw_error)} +{addJsDef nw_error=$nw_error} +{/if} +{addJsDefL name=placeholder_blocknewsletter}{l s='Enter your e-mail' mod='blocknewsletter' js=1}{/addJsDefL} +{if isset($msg) && $msg} + {addJsDefL name=alert_blocknewsletter}{l s='%1$s' sprintf=$msg js=1 mod="blocknewsletter"}{/addJsDefL} +{/if} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/index.php b/themes/toutpratique/modules/blocknewsletter/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.html b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.html new file mode 100644 index 00000000..551139a0 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.html @@ -0,0 +1,113 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + + + + + + + + + + + + + + + + + + +
      + + Hi, + +
      + + + + + + +
        + + + + Thank you for subscribing to our newsletter. + + +  
      +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.txt b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.txt new file mode 100644 index 00000000..84fae860 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_conf.txt @@ -0,0 +1,10 @@ + +[{shop_url}] + +Hi, + +THANK YOU FOR SUBSCRIBING TO OUR NEWSLETTER. + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.html b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.html new file mode 100644 index 00000000..bcfddf69 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.html @@ -0,0 +1,113 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + + + + + + + + + + + + + + + + + + +
      + + Hi, + +
      + + + + + + +
        + + + Thank you for subscribing to our newsletter, please confirm your request by clicking the link below :
      + {verif_url} +
      +
      +
       
      +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.txt b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.txt new file mode 100644 index 00000000..995296d0 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_verif.txt @@ -0,0 +1,13 @@ + +[{shop_url}] + +Hi, + +Thank you for subscribing to our newsletter, please confirm your +request by clicking the link below : + +{verif_url} [{verif_url}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.html b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.html new file mode 100644 index 00000000..e030c282 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.html @@ -0,0 +1,114 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + + + + + + + + + + + + + + + + + + +
      + + Hi, + +
      + + + + + + +
        + +

      + Newsletter subscription

      + + Regarding your newsletter subscription, we are pleased to offer you the following voucher: {discount} + +
      +
       
      +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.txt b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.txt new file mode 100644 index 00000000..b7d7994e --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/en/newsletter_voucher.txt @@ -0,0 +1,11 @@ + +[{shop_url}] + +Hi, + +Regarding your newsletter subscription, we are pleased to offer +you the following voucher: {discount} + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.html b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.html new file mode 100644 index 00000000..d5b44119 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.html @@ -0,0 +1,32 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + + + + Merci de vous être inscrit à notre newsletter. + + +  
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.txt b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.txt new file mode 100644 index 00000000..138b18ab --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_conf.txt @@ -0,0 +1,9 @@ +[{shop_url}] + +Bonjour, + +MERCI DE VOUS ÊTRE INSCRIT À NOTRE NEWSLETTER. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.html b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.html new file mode 100644 index 00000000..b3abf4b9 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.html @@ -0,0 +1,31 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + + + Merci de vous être inscrit à notre newsletter, veuillez confirmer votre inscription en cliquant sur le lien ci-dessous :
      {verif_url} +
      +
      +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.txt b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.txt new file mode 100644 index 00000000..33b27fe9 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_verif.txt @@ -0,0 +1,12 @@ +[{shop_url}] + +Bonjour, + +Merci de vous être inscrit à notre newsletter, veuillez confirmer +votre inscription en cliquant sur le lien ci-dessous : + +{verif_url} [{verif_url}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.html b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.html new file mode 100644 index 00000000..f1bda14d --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + Inscription à la newsletter

      + + En remerciement pour votre inscription à notre newsletter nous avons le plaisir de vous offrir un bon de réduction : {discount} + + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.txt b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.txt new file mode 100644 index 00000000..71cfbe62 --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/mails/fr/newsletter_voucher.txt @@ -0,0 +1,10 @@ +[{shop_url}] + +Bonjour, + +En remerciement pour votre inscription à notre newsletter nous +avons le plaisir de vous offrir un bon de réduction : {discount} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blocknewsletter/translations/fr.php b/themes/toutpratique/modules/blocknewsletter/translations/fr.php new file mode 100644 index 00000000..11b3de9c --- /dev/null +++ b/themes/toutpratique/modules/blocknewsletter/translations/fr.php @@ -0,0 +1,52 @@ +blocknewsletter_9e31b08a00c1ed653bcaa517dee84714'] = 'Bloc newsletter'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_ba457fab18d697d978befb95e827eb91'] = 'Ajoute un bloc newsletter pour vos clients'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_396c88991101b5ca362932952293d291'] = 'Êtes-vous sûr de vouloir supprimer tous vos contacts ?'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_417d63b1effb110e438d4b4b9f0fbd95'] = 'Code de bon de réduction non valable'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_d37faa29432d65368723e141a02fb55c'] = 'Exporter en CSV'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_9f82518d468b9fee614fcc92f76bb163'] = 'Boutique'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_019ec3132cdf8ee0f2e2a75cf5d3e459'] = 'Sexe'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_dff4bf10409100d989495c6d5486035e'] = 'Nom'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_04176f095283bc729f1e3926967e7034'] = 'Prénom'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_808c7457c768423c5651cbf676d9f6d7'] = 'Abonné'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_ec59738d441f28011a81e62bdcea6200'] = 'Abonné le'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_3a1205098d0a13a9c41a8d538fd6a34a'] = 'Inscriptions à la newsletter'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_0095a9fa74d1713e43e370a7d7846224'] = 'Exporter'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_4182c8f19d40c7ca236a5f4f83faeb6b'] = 'Désabonner'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_e267e2be02cf3e29f4ba53b5d97cf78a'] = 'Adresse e-mail invalide.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_1c623b291d95f4f1b1d0c03d0dc0ffa1'] = 'Adresse e-mail introuvable.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_3b1f17a6fd92e35bc744e986b8e7a61c'] = 'Erreur lors de la désinscription'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_d4197f3e8e8b4b5d06b599bc45d683bb'] = 'Votre désinscription a bien été prise en compte.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_f6618fce0acbfca15e1f2b0991ddbcd0'] = 'Cette adresse e-mail est déjà utilisée.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_e172cb581e84f43a3bd8ee4e3b512197'] = 'Une erreur est survenue lors de votre inscription'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_ebc069b1b9a2c48edfa39e344103be1e'] = 'Un e-mail de vérification a été envoyé. Veuillez l\'ouvrir.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_77c576a354d5d6f5e2c1ba50167addf8'] = 'Votre inscription a bien été prise en compte'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_99c8b8e5e51bf8f00f1d66820684be9a'] = 'Cette adresse e-mail est déjà utilisée et/ou invalide.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_4e1c51e233f1ed368c58db9ef09010ba'] = 'Merci de vous être inscrit à notre newsletter.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_54d2f1bab16b550e32395a7e6edb8de5'] = 'Envoyer un e-mail de vérification après inscription ?'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_b37f32d509cf5aabe806b16791588aa3'] = 'Envoyer un e-mail de confirmation après inscription ?'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_506e58042922bff5bd753dc612e84f5b'] = 'Code de réduction offert'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_1d612b943b8f4792bff603384a46e5f1'] = 'Laissez vide pour désactiver'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_b192ab83a19105bbf1e2d1fab548249a'] = 'Exporter les inscrits à la newsletter'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_c97b56b16c6fda0ef4e93f2135479647'] = 'Génère un fichier .CSV à partir des données des inscrits de BlockNewsletter. Exporte uniquement les inscrits qui n\'ont pas de compte.'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_dbb392a2dc9b38722e69f6032faea73e'] = 'Exporte un fichier CSV'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_f6df4ad6dc4798f26d1f2460eef4f2e9'] = 'Rechercher des adresses'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_375afa60efcc1d48300bd339cb8154b0'] = 'Adresse e-mail à rechercher'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_e347582d22a4ba3c822de504b23d4704'] = 'Par exemple : contact@prestashop.com ou @prestashop.com'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_13348442cc6a27032d2b4aa28b75a5d3'] = 'Rechercher'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_ffb7e666a70151215b4c55c6268d7d72'] = 'Lettre d\'informations'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_416f61a2ce16586f8289d41117a2554e'] = 'votre e-mail'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_0107953d273251a21eb11b6fdb3d221a'] = 'Abonnez-vous pour recevoir chaque mois nos nouveautés et nos bons plans par email !'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_d8335f4a5d918134bd0bdc47cc487d74'] = 'Indiquez votre e-mail'; +$_MODULE['<{blocknewsletter}wedigital>blocknewsletter_6190c4d84c9d6eef5d18f5f5f6415822'] = 'Je m\'inscris'; diff --git a/themes/toutpratique/modules/blockpaymentlogo/translations/fr.php b/themes/toutpratique/modules/blockpaymentlogo/translations/fr.php new file mode 100644 index 00000000..18493413 --- /dev/null +++ b/themes/toutpratique/modules/blockpaymentlogo/translations/fr.php @@ -0,0 +1,12 @@ +blockpaymentlogo_eaaf494f0c90a2707d768a9df605e94b'] = 'Bloc des logos de paiement'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_3fd11fa0ede1bd0ace9b3fcdbf6a71c9'] = 'Ajoute un bloc qui affiche tous vos logos de paiement.'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_5c5e5371da7ab2c28d1af066a1a1cc0d'] = 'Aucune page CMS n\'est disponible'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_829cb250498661a9f98a58dc670a9675'] = 'Page de destination pour le lien du bloc'; +$_MODULE['<{blockpaymentlogo}wedigital>blockpaymentlogo_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/blockreinsurance/blockreinsurance.tpl b/themes/toutpratique/modules/blockreinsurance/blockreinsurance.tpl new file mode 100644 index 00000000..559d4242 --- /dev/null +++ b/themes/toutpratique/modules/blockreinsurance/blockreinsurance.tpl @@ -0,0 +1,18 @@ +{if $infos|@count > 0} + +
      +
      +
      + {foreach from=$infos item=info} +
      +
      + {$info.text|escape:html:'UTF-8'} + {$info.text|escape:html:'UTF-8'} +
      +
      + {/foreach} +
      +
      +
      + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockreinsurance/translations/fr.php b/themes/toutpratique/modules/blockreinsurance/translations/fr.php new file mode 100644 index 00000000..b39ef478 --- /dev/null +++ b/themes/toutpratique/modules/blockreinsurance/translations/fr.php @@ -0,0 +1,21 @@ +blockreinsurance_873330fc1881555fffe2bc471d04bf5d'] = 'Bloc réassurance'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_7e7f70db3c75e428db8e2d0a1765c4e9'] = 'Ajoute un bloc pour afficher des informations pour rassurer vos clients'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_d52eaeff31af37a4a7e0550008aff5df'] = 'Une erreur est survenue lors de la sauvegarde'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_0366c7b2ea1bb228cd44aec7e3e26a3e'] = 'Configuration mise à jour'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_8363eee01f4da190a4cef9d26a36750c'] = 'Nouveau bloc de réassurance'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_9dffbf69ffba8bc38bc4e01abf4b1675'] = 'Texte'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_630f6dc397fe74e52d5189e2c80f282b'] = 'Retour à la liste'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_23498d91b6017e5d7f4ddde70daba286'] = 'ID de la boutique'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_ef61fb324d729c341ea8ab9901e23566'] = 'Ajouter'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_f3295a93167b56c5a19030e91823f7bf'] = 'Satisfait ou remboursé'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_56e140ebd6f399c22c8859a694b247f3'] = 'Échange en magasin'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_597ce11744f9bbf116ec9e4a719ec9d3'] = 'Paiement à l\'expédition.'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_3aca7ac5cf7e462b658960931946f824'] = 'Livraison gratuite'; +$_MODULE['<{blockreinsurance}wedigital>blockreinsurance_d05244e0e410a6b85ed53a014908c657'] = 'Paiement 100% sécurisé'; diff --git a/themes/toutpratique/modules/blockrss/blockrss.tpl b/themes/toutpratique/modules/blockrss/blockrss.tpl new file mode 100644 index 00000000..77645ab5 --- /dev/null +++ b/themes/toutpratique/modules/blockrss/blockrss.tpl @@ -0,0 +1,41 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      {$title}

      +
      + {if $rss_links} + + {else} +

      {l s='No RSS feed added' mod='blockrss'}

      + {/if} +
      +
      + diff --git a/themes/toutpratique/modules/blockrss/index.php b/themes/toutpratique/modules/blockrss/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockrss/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocksearch/blocksearch-top.tpl b/themes/toutpratique/modules/blocksearch/blocksearch-top.tpl new file mode 100644 index 00000000..ecd2ba62 --- /dev/null +++ b/themes/toutpratique/modules/blocksearch/blocksearch-top.tpl @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocksearch/blocksearch.tpl b/themes/toutpratique/modules/blocksearch/blocksearch.tpl new file mode 100644 index 00000000..d6664d9a --- /dev/null +++ b/themes/toutpratique/modules/blocksearch/blocksearch.tpl @@ -0,0 +1,40 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      {l s='Search' mod='blocksearch'}

      + +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blocksearch/index.php b/themes/toutpratique/modules/blocksearch/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocksearch/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocksearch/translations/fr.php b/themes/toutpratique/modules/blocksearch/translations/fr.php new file mode 100644 index 00000000..5d0f1411 --- /dev/null +++ b/themes/toutpratique/modules/blocksearch/translations/fr.php @@ -0,0 +1,11 @@ +blocksearch_e2ca130372651672ba285abd796412ed'] = 'Bloc recherche rapide'; +$_MODULE['<{blocksearch}wedigital>blocksearch_be305c865235f417d9b4d22fcdf9f1c5'] = 'Ajoute un bloc avec un champ de recherche rapide'; +$_MODULE['<{blocksearch}wedigital>blocksearch-top_13348442cc6a27032d2b4aa28b75a5d3'] = 'Ok'; +$_MODULE['<{blocksearch}wedigital>blocksearch_13348442cc6a27032d2b4aa28b75a5d3'] = 'Rechercher'; +$_MODULE['<{blocksearch}wedigital>blocksearch_ce1b00a24b52e74de46971b174d2aaa6'] = 'Rechercher un produit'; +$_MODULE['<{blocksearch}wedigital>blocksearch_5f075ae3e1f9d0382bb8c4632991f96f'] = 'Go'; +$_MODULE['<{blocksearch}wedigital>blocksearch-top_2e6811823e15e32cb509c2ca22d89d19'] = 'Saisissez votre recherche'; diff --git a/themes/toutpratique/modules/blocksocial/blocksocial.tpl b/themes/toutpratique/modules/blocksocial/blocksocial.tpl new file mode 100644 index 00000000..2c23710d --- /dev/null +++ b/themes/toutpratique/modules/blocksocial/blocksocial.tpl @@ -0,0 +1,56 @@ + +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blocksocial/index.php b/themes/toutpratique/modules/blocksocial/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocksocial/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocksocial/translations/fr.php b/themes/toutpratique/modules/blocksocial/translations/fr.php new file mode 100644 index 00000000..5af0f4d2 --- /dev/null +++ b/themes/toutpratique/modules/blocksocial/translations/fr.php @@ -0,0 +1,35 @@ +blocksocial_3c3fcc2aa9705117ce4b589ed5a72853'] = 'Bloc social'; +$_MODULE['<{blocksocial}wedigital>blocksocial_094d3ac865853e0be9ba42e80f0f7ee7'] = 'Permet d\'ajouter des informations supplémentaires concernant les réseaux sociaux de votre marque.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blocksocial}wedigital>blocksocial_76f8961bb8f4bb2b95c07650f30a7e7b'] = 'URL Facebook'; +$_MODULE['<{blocksocial}wedigital>blocksocial_c162369096f0fe5784f05052ceee6b47'] = 'Votre page de fan Facebook.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_bcca29e10968edaf6e0154d2339ad556'] = 'URL Twitter'; +$_MODULE['<{blocksocial}wedigital>blocksocial_6aadf667dfc3538abc2708ba76861bba'] = 'Votre compte officiel Twitter.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_1a530e4877d8d41f810d9d05f065722d'] = 'URL de flux RSS'; +$_MODULE['<{blocksocial}wedigital>blocksocial_672f301ddc5372b2477ed3c1d9322949'] = 'Le flux RSS de votre choix (votre blog, votre boutique, etc.).'; +$_MODULE['<{blocksocial}wedigital>blocksocial_ad7198d676478ac70c3243c1d3446331'] = 'URL YouTube'; +$_MODULE['<{blocksocial}wedigital>blocksocial_5817a34292f074f9f596de6cb3607540'] = 'Votre compte officiel YouTube.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_1dd99e363d1bebee81578708c1e8a5e0'] = 'URL Google+'; +$_MODULE['<{blocksocial}wedigital>blocksocial_1dd0a74974711190139fa51579765a04'] = 'Votre page officielle Google+.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_76abe3a162f22f63fae44d60fbe8f11b'] = 'URL Pinterest'; +$_MODULE['<{blocksocial}wedigital>blocksocial_e158a81859319b5e442bc490b0e81af3'] = 'Votre compte officiel Pinterest.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_815f12ace0a25af8c12e036810002683'] = 'URL Vimeo'; +$_MODULE['<{blocksocial}wedigital>blocksocial_cba991994fe165dfcf4f5bd256bbe119'] = 'Votre compte officiel Vimeo.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_130bab903955b2f6047a0db82f460386'] = 'URL Instagram'; +$_MODULE['<{blocksocial}wedigital>blocksocial_d55a27c3408d38f3137182c89b69a7a7'] = 'Votre compte officiel Instagram.'; +$_MODULE['<{blocksocial}wedigital>blocksocial_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocksocial}wedigital>blocksocial_d918f99442796e88b6fe5ad32c217f76'] = 'Nous suivre'; +$_MODULE['<{blocksocial}wedigital>blocksocial_d85544fce402c7a2a96a48078edaf203'] = 'Facebook'; +$_MODULE['<{blocksocial}wedigital>blocksocial_2491bc9c7d8731e1ae33124093bc7026'] = 'Twitter'; +$_MODULE['<{blocksocial}wedigital>blocksocial_bf1981220040a8ac147698c85d55334f'] = 'RSS'; +$_MODULE['<{blocksocial}wedigital>blocksocial_8dd1bae8da2e2408210d0656fbe6b7d1'] = 'YouTube'; +$_MODULE['<{blocksocial}wedigital>blocksocial_5b2c8bfd1bc974966209b7be1cb51a72'] = 'Google+'; +$_MODULE['<{blocksocial}wedigital>blocksocial_86709a608bd914b28221164e6680ebf7'] = 'Pinterest'; +$_MODULE['<{blocksocial}wedigital>blocksocial_15db599e0119be476d71bfc1fda72217'] = 'Vimeo'; +$_MODULE['<{blocksocial}wedigital>blocksocial_55f015a0c5605702f913536afe70cfb0'] = 'Instagram'; +$_MODULE['<{blocksocial}wedigital>blocksocial_970cfba66b8380fb97b742e4571356c6'] = 'YouTube'; +$_MODULE['<{blocksocial}wedigital>blocksocial_dda8dc38128a8c843ba9f496d6ee7186'] = 'Google Plus'; diff --git a/themes/toutpratique/modules/blockspecials/blockspecials.tpl b/themes/toutpratique/modules/blockspecials/blockspecials.tpl new file mode 100644 index 00000000..b6dec322 --- /dev/null +++ b/themes/toutpratique/modules/blockspecials/blockspecials.tpl @@ -0,0 +1,91 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + + {l s='Specials' mod='blockspecials'} + +

      +
      + {if $special} +
        +
      • + + {$special.legend|escape:'html':'UTF-8'} + +
        +
        + + {$special.name|escape:'html':'UTF-8'} + +
        + {if isset($special.description_short) && $special.description_short} +

        + {$special.description_short|strip_tags:'UTF-8'|truncate:40} +

        + {/if} +
        + {if !$PS_CATALOG_MODE} + + {if !$priceDisplay} + {displayWtPrice p=$special.price}{else}{displayWtPrice p=$special.price_tax_exc} + {/if} + + {if $special.specific_prices} + {assign var='specific_prices' value=$special.specific_prices} + {if $specific_prices.reduction_type == 'percentage' && ($specific_prices.from == $specific_prices.to OR ($smarty.now|date_format:'%Y-%m-%d %H:%M:%S' <= $specific_prices.to && $smarty.now|date_format:'%Y-%m-%d %H:%M:%S' >= $specific_prices.from))} + -{$specific_prices.reduction*100|floatval}% + {/if} + {/if} + + {if !$priceDisplay} + {displayWtPrice p=$special.price_without_reduction}{else}{displayWtPrice p=$priceWithoutReduction_tax_excl} + {/if} + + {/if} +
        +
        +
      • +
      + + {else} +
      {l s='No specials at this time.' mod='blockspecials'}
      + {/if} +
      +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockspecials/index.php b/themes/toutpratique/modules/blockspecials/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockspecials/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockspecials/translations/fr.php b/themes/toutpratique/modules/blockspecials/translations/fr.php new file mode 100644 index 00000000..04325f9e --- /dev/null +++ b/themes/toutpratique/modules/blockspecials/translations/fr.php @@ -0,0 +1,23 @@ +blockspecials_c19ed4ea98cbf319735f6d09bde6c757'] = 'Bloc promotions'; +$_MODULE['<{blockspecials}wedigital>blockspecials_f5bae06098deb9298cb9ceca89171944'] = 'Ajoute un bloc affiche vos produits actuellement en promotion.'; +$_MODULE['<{blockspecials}wedigital>blockspecials_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockspecials}wedigital>blockspecials_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blockspecials}wedigital>blockspecials_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockspecials}wedigital>blockspecials_24ff4e4d39bb7811f6bdf0c189462272'] = 'Toujours afficher ce bloc'; +$_MODULE['<{blockspecials}wedigital>blockspecials_53d61d1ac0507b1bd8cd99db8d64fb19'] = 'Afficher le bloc même si aucun produit n\'est disponible.'; +$_MODULE['<{blockspecials}wedigital>blockspecials_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blockspecials}wedigital>blockspecials_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blockspecials}wedigital>blockspecials_61465481ac2491b37e4517960bbd4a14'] = 'Nombre de fichiers cachés'; +$_MODULE['<{blockspecials}wedigital>blockspecials_e80a11f1704b88ad50f8fc6ce0f43525'] = 'Les produits en promotion affichés sur la page d\'accueil du site sont choisis au hasard parmi l\'ensemble des produits en promotion. Comme cela utilise beaucoup de ressources, il est préférable de mettre les résultats en cache. Le cache est mis à jour quotidiennement. Une valeur de 0 désactivera le cache complètement.'; +$_MODULE['<{blockspecials}wedigital>blockspecials_26986c3388870d4148b1b5375368a83d'] = 'Produits à afficher'; +$_MODULE['<{blockspecials}wedigital>blockspecials_63c150b9c1204c4825ce5914aed20717'] = 'Définissez le nombre de produits à afficher dans ce bloc de la page d\'accueil.'; +$_MODULE['<{blockspecials}wedigital>blockspecials_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockspecials}wedigital>blockspecials-home_e420850bc0f6c94eff7edb2041b206bd'] = 'Aucun produit en promotion en ce moment.'; +$_MODULE['<{blockspecials}wedigital>blockspecials_d1aa22a3126f04664e0fe3f598994014'] = 'Promotions'; +$_MODULE['<{blockspecials}wedigital>blockspecials_b4f95c1ea534936cc60c6368c225f480'] = 'Toutes les promos'; +$_MODULE['<{blockspecials}wedigital>blockspecials_3c9f5a6dc6585f75042bd4242c020081'] = 'Aucune promotion pour le moment.'; +$_MODULE['<{blockspecials}wedigital>tab_d1aa22a3126f04664e0fe3f598994014'] = 'Promotions'; diff --git a/themes/toutpratique/modules/blockstore/blockstore.tpl b/themes/toutpratique/modules/blockstore/blockstore.tpl new file mode 100644 index 00000000..0d99bc39 --- /dev/null +++ b/themes/toutpratique/modules/blockstore/blockstore.tpl @@ -0,0 +1,54 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + + {l s='Our stores' mod='blockstore'} + +

      +
      +

      + + {l s='Our stores' mod='blockstore'} + +

      + {if !empty($store_text)} +

      + {$store_text} +

      + {/if} + +
      +
      + diff --git a/themes/toutpratique/modules/blockstore/index.php b/themes/toutpratique/modules/blockstore/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockstore/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockstore/translations/fr.php b/themes/toutpratique/modules/blockstore/translations/fr.php new file mode 100644 index 00000000..02ad1b76 --- /dev/null +++ b/themes/toutpratique/modules/blockstore/translations/fr.php @@ -0,0 +1,18 @@ +blockstore_68e9ecb0ab69b1121fe06177868b8ade'] = 'Bloc magasins'; +$_MODULE['<{blockstore}wedigital>blockstore_c1104fe0bdaceb2e1c6f77b04977b64b'] = 'Affiche une image avec un lien vers la fonctionnalité de localisation de boutique de PrestaShop.'; +$_MODULE['<{blockstore}wedigital>blockstore_b786bfc116ecf9a6d47ce1114ca6abb7'] = 'Ce module nécessite d\'être greffé sur une colonne, mais votre thème n\'a pas de colonne.'; +$_MODULE['<{blockstore}wedigital>blockstore_7107f6f679c8d8b21ef6fce56fef4b93'] = 'Image non valide.'; +$_MODULE['<{blockstore}wedigital>blockstore_df7859ac16e724c9b1fba0a364503d72'] = 'une erreur s\'est produite lors de l\'envoi'; +$_MODULE['<{blockstore}wedigital>blockstore_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour'; +$_MODULE['<{blockstore}wedigital>blockstore_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockstore}wedigital>blockstore_4d100d8b1b9bcb5a376f78365340cdbe'] = 'Image pour le bloc Magasins'; +$_MODULE['<{blockstore}wedigital>blockstore_a34202cc413553fe0fe2d46f706db435'] = 'Texte pour le bloc Magasins'; +$_MODULE['<{blockstore}wedigital>blockstore_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockstore}wedigital>blockstore_8c0caec5616160618b362bcd4427d97b'] = 'Nos magasins'; +$_MODULE['<{blockstore}wedigital>blockstore_28fe12f949fd191685071517628df9b3'] = 'Découvrez nos magasins!'; +$_MODULE['<{blockstore}wedigital>blockstore_34c869c542dee932ef8cd96d2f91cae6'] = 'Nos magasins'; +$_MODULE['<{blockstore}wedigital>blockstore_61d5070a61ce6eb6ad2a212fdf967d92'] = 'Découvrez nos magasins'; diff --git a/themes/toutpratique/modules/blocksupplier/blocksupplier.tpl b/themes/toutpratique/modules/blocksupplier/blocksupplier.tpl new file mode 100644 index 00000000..27133572 --- /dev/null +++ b/themes/toutpratique/modules/blocksupplier/blocksupplier.tpl @@ -0,0 +1,75 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + {if $display_link_supplier} + + {/if} + {l s='Suppliers' mod='blocksupplier'} + {if $display_link_supplier} + + {/if} +

      +
      + {if $suppliers} + {if $text_list} + + {/if} + {if $form_list} +
      +
      + +
      +
      + {/if} + {else} +

      {l s='No supplier' mod='blocksupplier'}

      + {/if} +
      +
      + diff --git a/themes/toutpratique/modules/blocksupplier/index.php b/themes/toutpratique/modules/blocksupplier/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocksupplier/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocksupplier/translations/fr.php b/themes/toutpratique/modules/blocksupplier/translations/fr.php new file mode 100644 index 00000000..2789ce16 --- /dev/null +++ b/themes/toutpratique/modules/blocksupplier/translations/fr.php @@ -0,0 +1,22 @@ +blocksupplier_9ae42413e3cb9596efe3857f75bad3df'] = 'Bloc fournisseurs'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_e72b2501ba75e9ab754d3294d43c2590'] = 'Ajoute un bloc affiche vos fournisseurs de produits.'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_85ab0c0d250e58397e95c96277a3f8e3'] = 'Nombre invalide d\'éléments.'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_914b0cd4e4aa7cba84a3fd47b880fd2a'] = 'Veuillez activer au moins un type de liste.'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_f38f5974cdc23279ffe6d203641a8bdf'] = 'Réglages mis à jour.'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_bfdff752293014f11f17122c92909ad5'] = 'Utiliser une liste textuelle'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_78b2098aa1d513b5e1852b3140c7ee26'] = 'Affiche les fournisseurs dans une liste textuelle.'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_2eef734f174a02ae3d7aaafefeeedb42'] = 'Nombre d\'éléments à afficher'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_b0fa976774d2acf72f9c62e9ab73de38'] = 'Utiliser une liste déroulante'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_e490c3b296d2f54d65d3d20803f71b55'] = 'Afficher les fournisseurs avec un menu déroulant'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_1814d65a76028fdfbadab64a5a8076df'] = 'Fournisseurs'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_49fa2426b7903b3d4c89e2c1874d9346'] = 'En savoir plus sur'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Tous les fournisseurs'; +$_MODULE['<{blocksupplier}wedigital>blocksupplier_496689fbd342f80d30f1f266d060415a'] = 'Aucun fournisseur'; diff --git a/themes/toutpratique/modules/blocktags/blocktags.tpl b/themes/toutpratique/modules/blocktags/blocktags.tpl new file mode 100644 index 00000000..bd306fd3 --- /dev/null +++ b/themes/toutpratique/modules/blocktags/blocktags.tpl @@ -0,0 +1,47 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      + {l s='Tags' mod='blocktags'} +

      +
      + {if $tags} + {foreach from=$tags item=tag name=myLoop} + + {$tag.name|escape:'html':'UTF-8'} + + {/foreach} + {else} + {l s='No tags specified yet' mod='blocktags'} + {/if} +
      +
      + diff --git a/themes/toutpratique/modules/blocktags/index.php b/themes/toutpratique/modules/blocktags/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocktags/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocktags/translations/fr.php b/themes/toutpratique/modules/blocktags/translations/fr.php new file mode 100644 index 00000000..d084d329 --- /dev/null +++ b/themes/toutpratique/modules/blocktags/translations/fr.php @@ -0,0 +1,28 @@ +blocktags_f2568a62d4ac8d1d5b532556379772ba'] = 'Bloc mots-clés'; +$_MODULE['<{blocktags}wedigital>blocktags_b2de1a21b938fcae9955206a4ca11a12'] = 'Ajoute un bloc contenant vos mots-clés de produit.'; +$_MODULE['<{blocktags}wedigital>blocktags_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blocktags}wedigital>blocktags_8d731d453cacf8cff061df22a269b82b'] = 'Veuillez remplir le champ \"Mots-clés affichés\".'; +$_MODULE['<{blocktags}wedigital>blocktags_73293a024e644165e9bf48f270af63a0'] = 'Nombre invalide.'; +$_MODULE['<{blocktags}wedigital>blocktags_e5b04b8e686367fd0d34e110eb6598c8'] = 'Veuillez renseigner le champ \"Niveaux de mots-clés\".'; +$_MODULE['<{blocktags}wedigital>blocktags_9b374b52b3bbb02ac62cf53d4db5a075'] = 'Valeur invalide pour \"Niveaux de mots-clés\". Choisissez un nombre entier positif.'; +$_MODULE['<{blocktags}wedigital>blocktags_08d5df9c340804cbdd62c0afc6afa784'] = 'Veuillez renseigner le champ \"Affichage aléatoire\".'; +$_MODULE['<{blocktags}wedigital>blocktags_5c35c840e2d37e5cb3b6e1cf8aa78880'] = 'Le champ \"Affichage aléatoire\" n\'est pas valide. Sa valeur doit être booléenne.'; +$_MODULE['<{blocktags}wedigital>blocktags_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blocktags}wedigital>blocktags_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blocktags}wedigital>blocktags_726cefc6088fc537bc5b18f333357724'] = 'Mots-clés affichés'; +$_MODULE['<{blocktags}wedigital>blocktags_34a51d24608287f9b34807c3004b39d9'] = 'Définissez le nombre de mots-clés à afficher dans ce bloc (par défaut : 10).'; +$_MODULE['<{blocktags}wedigital>blocktags_81cd72634d64b8ca3c138a9eb14eac51'] = 'Niveaux de mots-clés'; +$_MODULE['<{blocktags}wedigital>blocktags_d187fc236d189e377e0611a7622e5916'] = 'Définissez le nombre de différents niveaux que vous souhaitez utiliser pour vos mots-clés (par défaut: 3).'; +$_MODULE['<{blocktags}wedigital>blocktags_ac5bf3b321fa29adf8af5c825d670e76'] = 'Affichage aléatoire'; +$_MODULE['<{blocktags}wedigital>blocktags_d4a9f41f7f8d2a65cda97d8b5eb0c9d5'] = 'Quand activé, les mots-clés s\'affichent aléatoirement. Par défault, l\'affichage aléatoire est désactivé et les mots-clés les plus fréquents s\'affichent en premier.'; +$_MODULE['<{blocktags}wedigital>blocktags_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blocktags}wedigital>blocktags_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blocktags}wedigital>blocktags_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocktags}wedigital>blocktags_189f63f277cd73395561651753563065'] = 'Mots-clés'; +$_MODULE['<{blocktags}wedigital>blocktags_49fa2426b7903b3d4c89e2c1874d9346'] = 'En savoir plus sur'; +$_MODULE['<{blocktags}wedigital>blocktags_4e6307cfde762f042d0de430e82ba854'] = 'Aucun mot-clé spécifié pour le moment.'; +$_MODULE['<{blocktags}wedigital>blocktags_70d5e9f2bb7bcb17339709134ba3a2c6'] = 'Aucun mot-clé spécifié pour le moment'; diff --git a/themes/toutpratique/modules/blocktopmenu/blocktopmenu.tpl b/themes/toutpratique/modules/blocktopmenu/blocktopmenu.tpl new file mode 100644 index 00000000..32bdfc25 --- /dev/null +++ b/themes/toutpratique/modules/blocktopmenu/blocktopmenu.tpl @@ -0,0 +1,9 @@ +{if $MENU != ''} + + + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blocktopmenu/index.php b/themes/toutpratique/modules/blocktopmenu/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blocktopmenu/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blocktopmenu/translations/fr.php b/themes/toutpratique/modules/blocktopmenu/translations/fr.php new file mode 100644 index 00000000..81fb748c --- /dev/null +++ b/themes/toutpratique/modules/blocktopmenu/translations/fr.php @@ -0,0 +1,52 @@ +blocktopmenu_e5b7525b4214a759876af4448bd6b87d'] = 'Menu Haut horizontal'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_f7979d86fe0b2cd11f44747ed4ff1100'] = 'Ajouter un nouveau menu horizontal en haut de votre site e-commerce.'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_efc226b17e0532afff43be870bff0de7'] = 'Paramètres mis à jour'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_d9a776c185f73d018b2915f4d5e7cc05'] = 'Impossible de mettre à jour les paramètres pour la (les) boutique(s) suivante(s) : %s'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_f32880ae5183a02c0a743bfd37a42cbc'] = 'Veuillez remplir le champ \"Lien\".'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_cf8d684bd5f89d30da67c95363a48ab9'] = 'Veuillez ajouter un label.'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_e8d6809226ab177013e0a26bd2d8b60d'] = 'Veuillez ajouter un label pour le langage par défaut'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_3da9d5745155a430aac6d7de3b6de0c8'] = 'Le lien a été ajouté'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_022bb0995e3256abeeac1788a5e2c5b3'] = 'Impossible d\'ajouter un lien pour la (les) boutique(s) suivante(s) : %s'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_e24e88b590807c2816be15abd7c7dbbc'] = 'Le lien a été enlevé.'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_e418ee8626f7941239c5b7a0880691ae'] = 'Impossible de supprimer le lien pour la (les) boutiques suivante(s) : %s'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_beb4f951c292ec9218473ffe5f59849d'] = 'Le lien a été modifié.'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_b1a23c1a76918c10acc27bfa60798c42'] = 'Vous ne pouvez pas modifier le menu horizontal pour un groupe de boutiques ou toutes les boutiques à la fois. Sélectionnez uniquement la boutique que vous souhaitez modifier'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_dd25f68471362f6f5f183d6158d67854'] = 'Les modifications seront appliquées à toutes les boutiques'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_bf24faeb13210b5a703f3ccef792b000'] = 'Tous les fabricants'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_ecf253735ac0cba84a9d2eeff1f1b87c'] = 'Tous les fournisseurs'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_944d19a34e5fa333a6a0de27e8c971da'] = 'Lien du menu'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_eacd852cc1f621763dccbda3f3c15081'] = 'Barre de recherche'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_0a112e5da975d8eaf28df9219c397764'] = 'Toutes les quantités des combinaisons de produits actives seront modifiées'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_1a6191a2dc928ff8fb8c02c050975ea7'] = 'Mettre à jour le lien'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_58e9b25bb2e2699986a3abe2c92fc82e'] = 'Ajouter un nouveau lien'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_b021df6aac4654c454f46c77646e745f'] = 'Libellé'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Lien'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_e5dc8e5afea0a065948622039358de37'] = 'Nouvelle fenêtre'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_06933067aafd48425d67bcb01bba5cb6'] = 'Mettre à jour'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_c7da501f54544eba6787960200d9efdb'] = 'CMS'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_ec136b444eede3bc85639fac0dd06229'] = 'Fournisseurs'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_c0bd7654d5b278e65f21cf4e9153fdb4'] = 'Fabricant'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_af1b98adf7f686b84cd0b443e022b7a0'] = 'Catégories'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_12a521af593422cd508f7707662c9eb2'] = 'Boutiques'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_068f80c7519d0528fb08e82137a72131'] = 'Produits'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_778118c7dd993db08f704e15efa4a7fa'] = 'Choisissez un ID de produit'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_56e8bf6c54f1638e7bce5a2fcd5b20fe'] = 'Liens du menu'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_449f6d82cde894eafd3c85b6fa918f89'] = 'ID du lien'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_e93c33bd1341ab74195430daeb63db13'] = 'Nom de la boutique'; +$_MODULE['<{blocktopmenu}wedigital>blocktopmenu_387a8014f530f080bf2f3be723f8c164'] = 'Liste des liens'; +$_MODULE['<{blocktopmenu}wedigital>form_17a1352d3f69a733fd472fce0238a07d'] = 'Indiquez l\'identifiant (ID) du produit'; +$_MODULE['<{blocktopmenu}wedigital>form_6bb999afde6fca60d70edce79d20b370'] = 'Identifiant du produit'; +$_MODULE['<{blocktopmenu}wedigital>form_3ee3549ff0c93372a730749f784e9438'] = 'Veuillez sélectionner un seul élément'; +$_MODULE['<{blocktopmenu}wedigital>form_e1b11c03820641dd1d1441bf68898d08'] = 'Modifier la position'; +$_MODULE['<{blocktopmenu}wedigital>form_3713a99a6284e39061bd48069807aa52'] = 'Éléments sélectionnés'; +$_MODULE['<{blocktopmenu}wedigital>form_8fb31b552d63ffef9df733646a195bc0'] = 'Éléments disponibles'; +$_MODULE['<{blocktopmenu}wedigital>form_1063e38cb53d94d386f21227fcd84717'] = 'Retirer'; +$_MODULE['<{blocktopmenu}wedigital>form_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; diff --git a/themes/toutpratique/modules/blockuserinfo/blockuserinfo.tpl b/themes/toutpratique/modules/blockuserinfo/blockuserinfo.tpl new file mode 100644 index 00000000..e69de29b diff --git a/themes/toutpratique/modules/blockuserinfo/index.php b/themes/toutpratique/modules/blockuserinfo/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockuserinfo/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockuserinfo/nav.tpl b/themes/toutpratique/modules/blockuserinfo/nav.tpl new file mode 100644 index 00000000..d97dd272 --- /dev/null +++ b/themes/toutpratique/modules/blockuserinfo/nav.tpl @@ -0,0 +1,18 @@ + +{if $is_logged} + +{/if} + + diff --git a/themes/toutpratique/modules/blockuserinfo/translations/fr.php b/themes/toutpratique/modules/blockuserinfo/translations/fr.php new file mode 100644 index 00000000..bed53197 --- /dev/null +++ b/themes/toutpratique/modules/blockuserinfo/translations/fr.php @@ -0,0 +1,23 @@ +blockuserinfo_a2e9cd952cda8ba167e62b25a496c6c1'] = 'Bloc informations clients'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_970a31aa19d205f92ccfd1913ca04dc0'] = 'Ajoute un bloc avec des liens utiles pour le client (login, déconnexion...)'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_0c3bf3014aafb90201805e45b5e62881'] = 'Voir mon panier'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_a85eba4c6c699122b2bb1387ea4813ad'] = 'Panier'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_068f80c7519d0528fb08e82137a72131'] = 'Produits'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_9e65b51e82f2a9b9f72ebe3e083582bb'] = '(vide)'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_2cbfb6731610056e1d0aaacde07096c1'] = 'Voir mon compte client'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_a0623b78a5f2cfe415d9dbbd4428ea40'] = 'Votre compte'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_83218ac34c1834c26781fe4bde918ee4'] = 'Bienvenue'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_4b877ba8588b19f1b278510bf2b57ebb'] = 'Me déconnecter'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_c87aacf5673fada1108c9f809d354311'] = 'Déconnexion'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_d4151a9a3959bdd43690735737034f27'] = 'Identifiez-vous'; +$_MODULE['<{blockuserinfo}wedigital>blockuserinfo_b6d4223e60986fa4c9af77ee5f7149c5'] = 'Connexion'; +$_MODULE['<{blockuserinfo}wedigital>nav_2cbfb6731610056e1d0aaacde07096c1'] = 'Voir mon compte client'; +$_MODULE['<{blockuserinfo}wedigital>nav_4b877ba8588b19f1b278510bf2b57ebb'] = 'Me déconnecter'; +$_MODULE['<{blockuserinfo}wedigital>nav_c87aacf5673fada1108c9f809d354311'] = 'Déconnexion'; +$_MODULE['<{blockuserinfo}wedigital>nav_d4151a9a3959bdd43690735737034f27'] = 'Identifiez-vous'; +$_MODULE['<{blockuserinfo}wedigital>nav_b6d4223e60986fa4c9af77ee5f7149c5'] = 'Connexion'; diff --git a/themes/toutpratique/modules/blockviewed/blockviewed.tpl b/themes/toutpratique/modules/blockviewed/blockviewed.tpl new file mode 100644 index 00000000..6ee75473 --- /dev/null +++ b/themes/toutpratique/modules/blockviewed/blockviewed.tpl @@ -0,0 +1,55 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
      +

      {l s='Viewed products' mod='blockviewed'}

      +
      + +
      +
      diff --git a/themes/toutpratique/modules/blockviewed/index.php b/themes/toutpratique/modules/blockviewed/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockviewed/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockviewed/translations/fr.php b/themes/toutpratique/modules/blockviewed/translations/fr.php new file mode 100644 index 00000000..74b74963 --- /dev/null +++ b/themes/toutpratique/modules/blockviewed/translations/fr.php @@ -0,0 +1,17 @@ +blockviewed_859e85774d372c6084d62d02324a1cc3'] = 'Bloc des derniers produits vus'; +$_MODULE['<{blockviewed}wedigital>blockviewed_eaa362292272519b786c2046ab4b68d2'] = 'Ajoute un bloc proposant les derniers produits vus par le client.'; +$_MODULE['<{blockviewed}wedigital>blockviewed_b15e7271053fe9dd22d80db100179085'] = ''; +$_MODULE['<{blockviewed}wedigital>blockviewed_2e57399079951d84b435700493b8a8c1'] = 'Champ \"Produits vus\" obligatoire\"'; +$_MODULE['<{blockviewed}wedigital>blockviewed_73293a024e644165e9bf48f270af63a0'] = 'Nombre invalide.'; +$_MODULE['<{blockviewed}wedigital>blockviewed_f38f5974cdc23279ffe6d203641a8bdf'] = 'Réglages mis à jour.'; +$_MODULE['<{blockviewed}wedigital>blockviewed_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{blockviewed}wedigital>blockviewed_26986c3388870d4148b1b5375368a83d'] = 'Produits à afficher'; +$_MODULE['<{blockviewed}wedigital>blockviewed_d36bbb6066e3744039d38e580f17a2cc'] = 'Définir le nombre de produits affichés dans ce bloc.'; +$_MODULE['<{blockviewed}wedigital>blockviewed_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockviewed}wedigital>blockviewed_43560641f91e63dc83682bc598892fa1'] = 'Déjà vus'; +$_MODULE['<{blockviewed}wedigital>blockviewed_8f7f4c1ce7a4f933663d10543562b096'] = 'En savoir plus sur'; +$_MODULE['<{blockviewed}wedigital>blockviewed_c70ad5f80e4c6f299013e08cabc980df'] = 'En savoir plus sur %s'; diff --git a/themes/toutpratique/modules/blockwishlist/blockwishlist-ajax.tpl b/themes/toutpratique/modules/blockwishlist/blockwishlist-ajax.tpl new file mode 100644 index 00000000..c2becc94 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/blockwishlist-ajax.tpl @@ -0,0 +1,56 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $products} +
      + {foreach from=$products item=product name=i} +
      + + {$product.quantity|intval}x + + + {$product.name|truncate:13:'...'|escape:'html':'UTF-8'} + + + + +
      + {if isset($product.attributes_small)} +
      + + {$product.attributes_small|escape:'html':'UTF-8'} + +
      + {/if} + {/foreach} +
      +{else} +
      + {if isset($error) && $error} +
      {l s='You must create a wishlist before adding products' mod='blockwishlist'}
      + {else} +
      {l s='No products' mod='blockwishlist'}
      + {/if} +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/blockwishlist-extra.tpl b/themes/toutpratique/modules/blockwishlist/blockwishlist-extra.tpl new file mode 100644 index 00000000..de5899fe --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/blockwishlist-extra.tpl @@ -0,0 +1,54 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $wishlists|count == 1} +

      + + {l s='Add to wishlist' mod='blockwishlist'} + +

      +{else} + {foreach name=wl from=$wishlists item=wishlist} + {if $smarty.foreach.wl.first} + {l s='Add to wishlist' mod='blockwishlist'} + + {/if} + {foreachelse} + + {l s='Add to wishlist' mod='blockwishlist'} + + {/foreach} +{/if} diff --git a/themes/toutpratique/modules/blockwishlist/blockwishlist.tpl b/themes/toutpratique/modules/blockwishlist/blockwishlist.tpl new file mode 100644 index 00000000..61aed108 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/blockwishlist.tpl @@ -0,0 +1,83 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/blockwishlist_button.tpl b/themes/toutpratique/modules/blockwishlist/blockwishlist_button.tpl new file mode 100644 index 00000000..f577db46 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/blockwishlist_button.tpl @@ -0,0 +1,30 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/blockwishlist_top.tpl b/themes/toutpratique/modules/blockwishlist/blockwishlist_top.tpl new file mode 100644 index 00000000..d9f5ae91 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/blockwishlist_top.tpl @@ -0,0 +1,30 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{strip} +{addJsDef wishlistProductsIds=$wishlist_products} +{addJsDefL name=loggin_required}{l s='You must be logged in to manage your wishlist.' mod='blockwishlist' js=1}{/addJsDefL} +{addJsDefL name=added_to_wishlist}{l s='Added to your wishlist.' mod='blockwishlist' js=1}{/addJsDefL} +{addJsDef mywishlist_url=$link->getModuleLink('blockwishlist', 'mywishlist', array(), true)|escape:'quotes':'UTF-8'} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/index.php b/themes/toutpratique/modules/blockwishlist/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.html b/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.html new file mode 100644 index 00000000..0b3bf9e4 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.html @@ -0,0 +1,112 @@ + + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + + + + + + + + + + + + + + + + + + +
      + Hi, +
      +

      + Message from {shop_name}

      + + {shop_name} invites you to send this link to your friends, so they can see your wishlist: {wishlist}

      + {message} +
      +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.txt b/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.txt new file mode 100644 index 00000000..98e61a51 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/en/wishlink.txt @@ -0,0 +1,15 @@ + +[{shop_url}] + +Hi, + +Message from {shop_name} + +{shop_name} invites you to send this link to your friends, so they +can see your wishlist: {wishlist} + +{message} [{message}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.html b/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.html new file mode 100644 index 00000000..ef220f26 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.html @@ -0,0 +1,112 @@ + + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + + + + + + + + + + + + + + + + + + +
      + Hi, +
      +

      + Message from {shop_name}

      + + {firstname} {lastname} indicated you may want to see his/her wishlist: {wishlist}

      + {wishlist} +
      +
      +
       
      + + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.txt b/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.txt new file mode 100644 index 00000000..65697c15 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/en/wishlist.txt @@ -0,0 +1,15 @@ + +[{shop_url}] + +Hi, + +Message from {shop_name} + +{firstname} {lastname} indicated you may want to see his/her +wishlist: {wishlist} + +{wishlist} [{message}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.html b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.html new file mode 100644 index 00000000..d6ba641a --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + Message de {shop_name}

      + + {shop_name} vous invite à envoyer ce lien à vos amis qui pourront alors consulter votre liste de cadeaux {wishlist} : {wishlist}

      {message} +
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.txt b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.txt new file mode 100644 index 00000000..336ea2ef --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlink.txt @@ -0,0 +1,12 @@ +[{shop_url}] + +Bonjour, + +{shop_name} vous invite à envoyer ce lien à vos amis qui pourront +alors consulter votre liste de cadeaux {wishlist} : {wishlist} + +{message} [{message}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.html b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.html new file mode 100644 index 00000000..4a450879 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + Message de {shop_name}

      + + {firstname} {lastname} vous invite à visiter sa liste de cadeaux {wishlist} : {wishlist}

      {wishlist} +
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.txt b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.txt new file mode 100644 index 00000000..5daa775f --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/mails/fr/wishlist.txt @@ -0,0 +1,12 @@ +[{shop_url}] + +Bonjour, + +{firstname} {lastname} vous invite à visiter sa liste de cadeaux +{wishlist} : {wishlist} + +{wishlist} [{message}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/blockwishlist/my-account.tpl b/themes/toutpratique/modules/blockwishlist/my-account.tpl new file mode 100644 index 00000000..4d4e08e3 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/my-account.tpl @@ -0,0 +1,33 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
    9. + + + {l s='My wishlists' mod='blockwishlist'} + +
    10. + \ No newline at end of file diff --git a/themes/toutpratique/modules/blockwishlist/translations/fr.php b/themes/toutpratique/modules/blockwishlist/translations/fr.php new file mode 100644 index 00000000..0b7a94db --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/translations/fr.php @@ -0,0 +1,111 @@ +blockwishlist-ajax_4a84e5921e203aede886d04fc41a414b'] = 'Enlever ce produit de ma liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-ajax_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-ajax_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Détails de l\'article'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-ajax_d037160cfb1fa5520563302d3a32630a'] = 'Vous devez créer une liste avant d\'ajouter un produit'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-ajax_09dc02ecbb078868a3a86dded030076d'] = 'Aucun produit'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-extra_2d96bb66d8541a89620d3c158ceef42b'] = 'Ajouter à ma liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-extra_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-extra_15b94c64c4d5a4f7172e5347a36b94fd'] = 'Ajouter à ma liste'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_2715a65604e1af3d6933b61704865daf'] = 'Bloc liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_7244141a5de030c4c882556f4fd70a8b'] = 'Ajoute un bloc gérant les listes d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_9ae79c1fccd231ac7fbbf3235dbf6326'] = 'Ma liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_5ef2d617096ae7b47a83f3d4de9c84bd'] = 'Choix invalide pour l\'activation du module'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantité'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_502996d9790340c5fd7b86a5b93b1c9f'] = 'Priorité'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_655d20c1ca69519ca647684edbb2db35'] = 'Haute'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_87f8a6ab85c9ced3702b4ea641ad4bb5'] = 'Moyenne'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_28d0edd045e05cf5af64e35ae0c4c6ef'] = 'Basse'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_e0fd9b310aba555f96e76738ff192ac3'] = 'Listes d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_862af8838fba380d3b30e63546a394e5'] = 'n\'a pas de liste d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_641254d77e7a473aa5910574f3f9453c'] = 'Liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_88b589bbf6282a2e02f50ebe90aae6f1'] = 'Vous devez être identifié pour gérer vos liste d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_56ee3495a32081ccb6d2376eab391bfa'] = 'Liste'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_6bee4060e5e05246d4bcbb720736417c'] = 'Clients :'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_c515b215b9c6be251c924cc6d1324c41'] = 'Choisissez un client'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_c440899c1d6f8c8271b9b1d171c7e665'] = 'Liste d\'envies :'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_12246cb491c807e85279b8aed74ea3cf'] = 'Choisissez la liste de souhaits'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_47ac923d219501859fb68fed8c8db77b'] = 'Déclinaison'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_81355310011c137fdd21cf9a1394ed6a'] = 'Liste des produits'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_top_16a23698e7cf5188ce1c07df74298076'] = 'Vous devez être connecté pour gérer votre liste d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_top_ab086554d10bb35f820e7a704105abbf'] = 'Ajouté à votre liste d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_7ec9cceb94985909c6994e95c31c1aa8'] = 'Mes listes'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_4a84e5921e203aede886d04fc41a414b'] = 'Enlever ce produit de ma liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_09dc02ecbb078868a3a86dded030076d'] = 'Aucun produit'; +$_MODULE['<{blockwishlist}wedigital>buywishlistproduct_607e1d854783c8229998ac2b5b6923d3'] = 'Jeton non valable'; +$_MODULE['<{blockwishlist}wedigital>buywishlistproduct_b0ffc4925401f6f4edb038f5ca954937'] = 'Vous devez vous connecter'; +$_MODULE['<{blockwishlist}wedigital>cart_607e1d854783c8229998ac2b5b6923d3'] = 'Jeton non valable'; +$_MODULE['<{blockwishlist}wedigital>cart_a9839ad48cf107667f73bad1d651f2ca'] = 'Aucun template trouvé'; +$_MODULE['<{blockwishlist}wedigital>cart_16a23698e7cf5188ce1c07df74298076'] = 'Vous devez être connecté pour gérer votre liste d\'envies.'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_a9839ad48cf107667f73bad1d651f2ca'] = 'Aucun template trouvé'; +$_MODULE['<{blockwishlist}wedigital>my-account_7ec9cceb94985909c6994e95c31c1aa8'] = 'Mes listes'; +$_MODULE['<{blockwishlist}wedigital>sendwishlist_8f4be21ec3cfbba15a349e9c5e888579'] = 'Jeton non valable'; +$_MODULE['<{blockwishlist}wedigital>sendwishlist_90d8a44a1fba13198035d86caeeb2d4d'] = 'Liste d\'envies invalide'; +$_MODULE['<{blockwishlist}wedigital>sendwishlist_072df51ea0cb142b770d6209dab5a85b'] = 'Erreur d\'envoi de liste de cadeaux'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_607e1d854783c8229998ac2b5b6923d3'] = 'Jeton non valable'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_b30545c7b2d429352b9afdd85be810c7'] = 'Vous devez spécifier un nom.'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_b74c118d823d908d653cfbf1c877ae55'] = 'Ce nom est déjà utilisé pour une autre liste.'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_7098d49878bbd102b13038a748125e27'] = 'Impossible de supprimer cette liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_ce7510c007e56bccd6b16af6c40a03de'] = 'Vous n\'êtes pas connecté'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_3c924eebbd7c3447336bbec3b325d3da'] = 'Erreur lors du déplacement du produit vers une autre liste'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_3540aa14bffcdfbbfc3aafbbcb028a1f'] = 'Le produit a bien été changé de liste'; +$_MODULE['<{blockwishlist}wedigital>view_655d20c1ca69519ca647684edbb2db35'] = 'Haute'; +$_MODULE['<{blockwishlist}wedigital>view_87f8a6ab85c9ced3702b4ea641ad4bb5'] = 'Moyenne'; +$_MODULE['<{blockwishlist}wedigital>view_28d0edd045e05cf5af64e35ae0c4c6ef'] = 'Basse'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_f78674b9c6b19504756230c57f6aec38'] = 'Fermer cette liste'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_0ac1aeb2429db494dd42ad2dc219ca7e'] = 'Cacher les produits'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_0de9d09a36e820f9da7e87ab3678dd12'] = 'Afficher les produits'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_e0977812a2d99e320fcaac92ff096b43'] = 'Masquer les produits achetés'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_b1cf536563bc3b97ee404dab65db3a27'] = 'Afficher les produits achetés'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_8725214cdd9f9af24e914b5da135793d'] = 'Lien permanent'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_30820a1bf6a285e45cda2beda3d7738d'] = 'Envoyer cette liste'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Détails de l\'article'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantité'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_502996d9790340c5fd7b86a5b93b1c9f'] = 'Priorité'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_655d20c1ca69519ca647684edbb2db35'] = 'Haute'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_87f8a6ab85c9ced3702b4ea641ad4bb5'] = 'Moyenne'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_28d0edd045e05cf5af64e35ae0c4c6ef'] = 'Basse'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_e68ee0c6758ab5b0eea4e105d694f5c4'] = 'Déplacer vers %s'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'E-mail'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_19f823c6453c2b1ffd09cb715214813d'] = 'Champ requis'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_3384622e86410fd01fa318fedc6a98ce'] = 'Offert par'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_09dc02ecbb078868a3a86dded030076d'] = 'Aucun produit'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_7ec9cceb94985909c6994e95c31c1aa8'] = 'Mes listes'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_06c335f27f292a096a9bf39e3a58e97b'] = 'Nouvelle liste'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_03ab340b3f99e03cff9e84314ead38c0'] = 'Quantité'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_5e729042e30967c9d6f65c6eab73e2fe'] = 'Vues'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_0eceeb45861f9585dd7a97a3e36f85c6'] = 'Créé le'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_45284ef16392f85ff424b2ef36ab5948'] = 'Lien direct'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_7a1920d61156abc05a60135aefe8bc67'] = 'Par défaut'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_d025259319054206be54336a00defe89'] = 'Souhaitez-vous réellement supprimer cette liste ?'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_0b3db27bc15f682e92ff250ebb167d4b'] = 'Retour à votre compte'; +$_MODULE['<{blockwishlist}wedigital>mywishlist_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil'; +$_MODULE['<{blockwishlist}wedigital>view_641254d77e7a473aa5910574f3f9453c'] = 'Liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>view_315356f4c2ed70df345ffc01021f7f56'] = 'Autres listes de %1s %2s'; +$_MODULE['<{blockwishlist}wedigital>view_4b7d496eedb665d0b5f589f2f874e7cb'] = 'Détails de l\'article'; +$_MODULE['<{blockwishlist}wedigital>view_694e8d1f2ee056f98ee488bdc4982d73'] = 'Quantité'; +$_MODULE['<{blockwishlist}wedigital>view_502996d9790340c5fd7b86a5b93b1c9f'] = 'Priorité'; +$_MODULE['<{blockwishlist}wedigital>view_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{blockwishlist}wedigital>view_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist_button_6a5373df703ab2827a4ba7facdfcf779'] = 'Ajouter à ma liste d\'envies'; +$_MODULE['<{blockwishlist}wedigital>blockwishlist-extra_33010ef6524c87c41380e2cc5e212f73'] = 'Ajouter à %s'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_0bb3e067c0514f5ff2d5a8e45fc0f4be'] = 'Cacher les informations des produits achetés'; +$_MODULE['<{blockwishlist}wedigital>managewishlist_6fe88f5681da397d46fefe19b3020a6a'] = 'Afficher les informations des produits achetés'; +$_MODULE['<{blockwishlist}wedigital>view_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{blockwishlist}wedigital>view_7ec9cceb94985909c6994e95c31c1aa8'] = 'Mes listes'; diff --git a/themes/toutpratique/modules/blockwishlist/views/index.php b/themes/toutpratique/modules/blockwishlist/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockwishlist/views/templates/front/index.php b/themes/toutpratique/modules/blockwishlist/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/blockwishlist/views/templates/front/managewishlist.tpl b/themes/toutpratique/modules/blockwishlist/views/templates/front/managewishlist.tpl new file mode 100644 index 00000000..470cda99 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/templates/front/managewishlist.tpl @@ -0,0 +1,217 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if $products} + {if !$refresh} +
      + + +

      + + +

      +

      +

      +

      + {/if} +
      + {assign var='nbItemsPerLine' value=4} + {assign var='nbItemsPerLineTablet' value=3} + {assign var='nbLi' value=$products|@count} + {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} + {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} +
        + {foreach from=$products item=product name=i} + {math equation="(total%perLine)" total=$smarty.foreach.i.total perLine=$nbItemsPerLine assign=totModulo} + {math equation="(total%perLineT)" total=$smarty.foreach.i.total perLineT=$nbItemsPerLineTablet assign=totModuloTablet} + {if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if} + {if $totModuloTablet == 0}{assign var='totModuloTablet' value=$nbItemsPerLineTablet}{/if} +
      • +
        +
        +
        + + {$product.name|escape:'html':'UTF-8'} + +
        +
        +
        +
        + + + + +

        + {$product.name|truncate:30:'...'|escape:'html':'UTF-8'} + {if isset($product.attributes_small)} + + + {$product.attributes_small|escape:'html':'UTF-8'} + + + {/if} +

        +
        +

        + + +

        + +

        + + +

        +
        + +
        +
        +
        +
      • + {/foreach} +
      +
      + {if !$refresh} +
      + +
      +
      + + +
      + {section name=i loop=11 start=2} +
      + + +
      + {/section} +
      + +
      +

      + * {l s='Required field' mod='blockwishlist'} +

      +
      +
      + {if count($productsBoughts)} + + + + + + + + + + + {foreach from=$productsBoughts item=product name=i} + {foreach from=$product.bought item=bought name=j} + {if $bought.quantity > 0} + + + + + + + {/if} + {/foreach} + {/foreach} + +
      {l s='Product' mod='blockwishlist'}{l s='Quantity' mod='blockwishlist'}{l s='Offered by' mod='blockwishlist'}{l s='Date' mod='blockwishlist'}
      + + {$product.name|escape:'html':'UTF-8'} + + + {$product.name|truncate:40:'...'|escape:'html':'UTF-8'} + {if isset($product.attributes_small)} +
      + {$product.attributes_small|escape:'html':'UTF-8'} + {/if} +
      +
      + {$bought.quantity|intval} + + {$bought.firstname} {$bought.lastname} + + {$bought.date_add|date_format:"%Y-%m-%d"} +
      + {/if} + {/if} +{else} +

      + {l s='No products' mod='blockwishlist'} +

      +{/if} diff --git a/themes/toutpratique/modules/blockwishlist/views/templates/front/mywishlist.tpl b/themes/toutpratique/modules/blockwishlist/views/templates/front/mywishlist.tpl new file mode 100644 index 00000000..ff937d68 --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/templates/front/mywishlist.tpl @@ -0,0 +1,143 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
      + {capture name=path} + + {l s='My account' mod='blockwishlist'} + + + {$navigationPipe} + + + {l s='My wishlists' mod='blockwishlist'} + + {/capture} + +

      {l s='My wishlists' mod='blockwishlist'}

      + + {include file="$tpl_dir./errors.tpl"} + + {if $id_customer|intval neq 0} +
      +
      +

      {l s='New wishlist' mod='blockwishlist'}

      +
      + + + +
      +

      + +

      +
      +
      + {if $wishlists} +
      + + + + + + + + + + + + + + {section name=i loop=$wishlists} + + + + + + + + + + {/section} + +
      {l s='Name' mod='blockwishlist'}{l s='Qty' mod='blockwishlist'}{l s='Viewed' mod='blockwishlist'}{l s='Created' mod='blockwishlist'}{l s='Direct Link' mod='blockwishlist'}{l s='Default' mod='blockwishlist'}{l s='Delete' mod='blockwishlist'}
      + + {$wishlists[i].name|truncate:30:'...'|escape:'html':'UTF-8'} + + + {assign var=n value=0} + {foreach from=$nbProducts item=nb name=i} + {if $nb.id_wishlist eq $wishlists[i].id_wishlist} + {assign var=n value=$nb.nbProducts|intval} + {/if} + {/foreach} + {if $n} + {$n|intval} + {else} + 0 + {/if} + {$wishlists[i].counter|intval}{$wishlists[i].date_add|date_format:"%Y-%m-%d"} + + {l s='View' mod='blockwishlist'} + + + {if isset($wishlists[i].default) && $wishlists[i].default == 1} +

      + +

      + {else} + + + + {/if} +
      + + + +
      +
      +
       
      + {/if} + {/if} + +
      diff --git a/themes/toutpratique/modules/blockwishlist/views/templates/front/view.tpl b/themes/toutpratique/modules/blockwishlist/views/templates/front/view.tpl new file mode 100644 index 00000000..b54bc91f --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/templates/front/view.tpl @@ -0,0 +1,158 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
      + {capture name=path} + {l s='My account' mod='blockwishlist'} + {$navigationPipe} + {l s='My wishlists' mod='blockwishlist'} + {$navigationPipe} + {$current_wishlist.name} + {/capture} + +

      + {l s='Wishlist' mod='blockwishlist'} +

      + {if $wishlists} +

      + + {l s='Other wishlists of %1s %2s:' sprintf=[$current_wishlist.firstname, $current_wishlist.lastname] mod='blockwishlist'} + + {foreach from=$wishlists item=wishlist name=i} + {if $wishlist.id_wishlist != $current_wishlist.id_wishlist} + + {$wishlist.name} + + {if !$smarty.foreach.i.last} + / + {/if} + {/if} + {/foreach} +

      + {/if} + +
      + {assign var='nbItemsPerLine' value=3} + {assign var='nbItemsPerLineTablet' value=2} + {assign var='nbLi' value=$products|@count} + {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} + {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} +
        + {foreach from=$products item=product name=i} + {math equation="(total%perLine)" total=$smarty.foreach.i.total perLine=$nbItemsPerLine assign=totModulo} + {math equation="(total%perLineT)" total=$smarty.foreach.i.total perLineT=$nbItemsPerLineTablet assign=totModuloTablet} + {if $totModulo == 0}{assign var='totModulo' value=$nbItemsPerLine}{/if} + {if $totModuloTablet == 0}{assign var='totModuloTablet' value=$nbItemsPerLineTablet}{/if} +
      • +
        +
        +
        + + {$product.name|escape:'html':'UTF-8'} + +
        +
        +
        +
        +

        + {$product.name|truncate:30:'...'|escape:'html':'UTF-8'} + {if isset($product.attributes_small)} + + {$product.attributes_small|escape:'html':'UTF-8'} + + {/if} +

        +
        +

        + + +

        + +

        + {l s='Priority' mod='blockwishlist'}: {$product.priority_name} +

        +
        + {if (isset($product.attribute_quantity) && $product.attribute_quantity >= 1) || (!isset($product.attribute_quantity) && $product.product_quantity >= 1) || (isset($product.allow_oosp) && $product.allow_oosp)} + {if !$ajax} +
        + +
        + {/if} + + {l s='Add to cart' mod='blockwishlist'} + + {else} + + {l s='Add to cart' mod='blockwishlist'} + + {/if} + + {l s='View' mod='blockwishlist'} + +
        + +
        + +
        + +
        +
        +
      • + {/foreach} +
      +
      +
      diff --git a/themes/toutpratique/modules/blockwishlist/views/templates/index.php b/themes/toutpratique/modules/blockwishlist/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/blockwishlist/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/carriercompare/index.php b/themes/toutpratique/modules/carriercompare/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/carriercompare/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/carriercompare/template/carriercompare.tpl b/themes/toutpratique/modules/carriercompare/template/carriercompare.tpl new file mode 100644 index 00000000..546b3e60 --- /dev/null +++ b/themes/toutpratique/modules/carriercompare/template/carriercompare.tpl @@ -0,0 +1,96 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if !$opc} +
      +
      +

      {l s='Estimate the cost of shipping & taxes.' mod='carriercompare'}

      +
      + + +
      + +
      + + ({l s='Needed for certain carriers.' mod='carriercompare'}) +
      + +
      + Loading data
      +

      +
      + + +

      + + +

      +
      +
      +{addJsDef taxEnabled=$use_taxes} +{addJsDef displayPrice=$priceDisplay} +{addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} +{addJsDef currencyRate=$currencyRate|floatval} +{addJsDef currencyFormat=$currencyFormat|intval} +{addJsDef currencyBlank=$currencyBlank|intval} +{addJsDef id_carrier=$id_carrier|intval} +{addJsDef id_state=$id_state|intval} +{addJsDef SE_RefreshMethod=$refresh_method|intval} + +{addJsDefL name=SE_RedirectTS}{l s='Refreshing the page and updating your cart...' mod='carriercompare' js=1}{/addJsDefL} +{addJsDefL name=SE_RefreshStateTS}{l s='Checking available states...' mod='carriercompare' js=1}{/addJsDefL} +{addJsDefL name=SE_RetrievingInfoTS}{l s='Retrieving information...' mod='carriercompare' js=1}{/addJsDefL} +{addJsDefL name=txtFree}{l s='Free!' mod='carriercompare' js=1}{/addJsDefL} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/carriercompare/template/configuration.tpl b/themes/toutpratique/modules/carriercompare/template/configuration.tpl new file mode 100644 index 00000000..83ced78b --- /dev/null +++ b/themes/toutpratique/modules/carriercompare/template/configuration.tpl @@ -0,0 +1,29 @@ +{if isset($display_error)} + {if $display_error} +
      {l s='An error occurred during form validation.' mod='carriercompare'}
      + {else} +
      {l s='Configuration updated' mod='carriercompare'}
      + {/if} +{/if} + +
      +
      +
      + {l s='This module is only available during the standard five-step checkout process. The carrier list has already been defined for one-page checkout.' mod='carriercompare'} +
      + {l s='Global Configuration' mod='carriercompare'} + + +
      + +

      {l s='How would you like to refresh information for a customer?' mod='carriercompare'}

      +
      + +
      + +
      +
      +
      diff --git a/themes/toutpratique/modules/carriercompare/template/index.php b/themes/toutpratique/modules/carriercompare/template/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/carriercompare/template/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cashondelivery/index.php b/themes/toutpratique/modules/cashondelivery/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cashondelivery/views/index.php b/themes/toutpratique/modules/cashondelivery/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/front/index.php b/themes/toutpratique/modules/cashondelivery/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/front/validation.tpl b/themes/toutpratique/modules/cashondelivery/views/templates/front/validation.tpl new file mode 100644 index 00000000..646a9279 --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/front/validation.tpl @@ -0,0 +1,54 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path}{l s='Shipping' mod='cashondelivery'}{/capture} + +

      {l s='Order summary' mod='cashondelivery'}

      + +{assign var='current_step' value='payment'} +{include file="$tpl_dir./order-steps.tpl"} + +
      +
      + +

      {l s='Cash on delivery (COD) payment' mod='cashondelivery'}

      +

      + - {l s='You have chosen the Cash on Delivery method.' mod='cashondelivery'} +
      + - {l s='The total amount of your order is' mod='cashondelivery'} + {convertPrice price=$total} + {if $use_taxes == 1} + {l s='(tax incl.)' mod='cashondelivery'} + {/if} +

      +

      + {l s='Please confirm your order by clicking \'I confirm my order\'.' mod='cashondelivery'}. +

      +
      +

      + {l s='Other payment methods' mod='cashondelivery'} + +

      +
      diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/hook/confirmation.tpl b/themes/toutpratique/modules/cashondelivery/views/templates/hook/confirmation.tpl new file mode 100644 index 00000000..7e8dff5e --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/hook/confirmation.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
      +

      {l s='Your order on' mod='cashondelivery'} {$shop_name} {l s='is complete.' mod='cashondelivery'} +
      + {l s='You have chosen the cash on delivery method.' mod='cashondelivery'} +
      {l s='Your order will be sent very soon.' mod='cashondelivery'} +
      {l s='For any questions or for further information, please contact our' mod='cashondelivery'} {l s='customer support' mod='cashondelivery'}. +

      +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/hook/index.php b/themes/toutpratique/modules/cashondelivery/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/hook/payment.tpl b/themes/toutpratique/modules/cashondelivery/views/templates/hook/payment.tpl new file mode 100644 index 00000000..3111ba43 --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/hook/payment.tpl @@ -0,0 +1,34 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + diff --git a/themes/toutpratique/modules/cashondelivery/views/templates/index.php b/themes/toutpratique/modules/cashondelivery/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/cashondelivery/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/cheque/payment.tpl b/themes/toutpratique/modules/cheque/payment.tpl new file mode 100644 index 00000000..a6dea8ad --- /dev/null +++ b/themes/toutpratique/modules/cheque/payment.tpl @@ -0,0 +1,13 @@ +
      +
      +
      + +
      +
      +
      + +
      +
      + {l s='Pay by check' mod='cheque'} +
      +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/cheque/translations/fr.php b/themes/toutpratique/modules/cheque/translations/fr.php new file mode 100644 index 00000000..d44bfe33 --- /dev/null +++ b/themes/toutpratique/modules/cheque/translations/fr.php @@ -0,0 +1,53 @@ +cheque_7b4cc4f79be9aae43efd53b4ae5cba4d'] = 'Chèque'; +$_MODULE['<{cheque}wedigital>cheque_14e41f4cfd99b10766cc15676d8cda66'] = 'Ce module vous permet d\'accepter des paiements par chèque.'; +$_MODULE['<{cheque}wedigital>cheque_e09484ba6c16bc20236b63cc0d87ee95'] = 'Êtes-vous sûr de vouloir supprimer vos paramètres ?'; +$_MODULE['<{cheque}wedigital>cheque_32776feb26ff6f9648054e796aa0e423'] = 'Les champs \"Payer à l\'ordre de\" et \"Adresse\" doivent être configurés avant d\'utiliser ce module.'; +$_MODULE['<{cheque}wedigital>cheque_a02758d758e8bec77a33d7f392eb3f8a'] = 'Aucune devise disponible pour ce module'; +$_MODULE['<{cheque}wedigital>cheque_81c6c3ba23ca2657a8eedc561f865ddb'] = 'Le champ \"Payer à l\'ordre de\" est requis.'; +$_MODULE['<{cheque}wedigital>cheque_00a369029140cfd18857425d49b472f8'] = 'Le champ \"Adresse\" est requis.'; +$_MODULE['<{cheque}wedigital>cheque_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{cheque}wedigital>cheque_354cafb81a13d2793685e46314bb6932'] = 'Payer par chèque'; +$_MODULE['<{cheque}wedigital>cheque_5dd532f0a63d89c5af0243b74732f63c'] = 'Coordonnées'; +$_MODULE['<{cheque}wedigital>cheque_4b2f62e281e9a6829c6df0e87d34233a'] = 'Payer à l\'ordre de (nom)'; +$_MODULE['<{cheque}wedigital>cheque_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse'; +$_MODULE['<{cheque}wedigital>cheque_0fe62049ad5246bc188ec1bae347269e'] = 'Adresse à laquelle le chèque doit être envoyé.'; +$_MODULE['<{cheque}wedigital>cheque_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{cheque}wedigital>validation_e2b7dec8fa4b498156dfee6e4c84b156'] = 'Cette méthode de paiement n\'est pas disponible.'; +$_MODULE['<{cheque}wedigital>payment_execution_644818852b4dd8cf9da73543e30f045a'] = 'Retour à la commande'; +$_MODULE['<{cheque}wedigital>payment_execution_6ff063fbc860a79759a7369ac32cee22'] = 'Processus de commande'; +$_MODULE['<{cheque}wedigital>payment_execution_8520b283b0884394b13b80d5689628b3'] = 'Paiement par chèque'; +$_MODULE['<{cheque}wedigital>payment_execution_f1d3b424cd68795ecaa552883759aceb'] = 'Récapitulatif de commande'; +$_MODULE['<{cheque}wedigital>payment_execution_879f6b8877752685a966564d072f498f'] = 'Votre panier est vide'; +$_MODULE['<{cheque}wedigital>payment_execution_060bf2d587991d8f090a1309b285291c'] = 'chèque'; +$_MODULE['<{cheque}wedigital>payment_execution_76ca011e4772bfcce26aecd42c598510'] = 'Vous avez choisi de régler par chèque.'; +$_MODULE['<{cheque}wedigital>payment_execution_c884ed19483d45970c5bf23a681e2dd2'] = 'Voici un bref récapitulatif de votre commande :'; +$_MODULE['<{cheque}wedigital>payment_execution_3b3b41f131194e747489ef93e778ed0d'] = 'Le montant total de votre commande s\'élève à'; +$_MODULE['<{cheque}wedigital>payment_execution_1f87346a16cf80c372065de3c54c86d9'] = 'TTC'; +$_MODULE['<{cheque}wedigital>payment_execution_7b1c6e78d93817f61f2b1bbc2108a803'] = 'Nous acceptons plusieurs devises pour les chèques.'; +$_MODULE['<{cheque}wedigital>payment_execution_a7a08622ee5c8019b57354b99b7693b2'] = 'Merci de choisir parmi les suivantes :'; +$_MODULE['<{cheque}wedigital>payment_execution_f73ad0f08052884ff465749bf48b55ce'] = 'Nous acceptons la devise suivante pour votre paiement :'; +$_MODULE['<{cheque}wedigital>payment_execution_7135ff14c7931e1c8e9d33aff3dfc7f7'] = 'L\'ordre et l\'adresse du chèque seront affichés sur la page suivante.'; +$_MODULE['<{cheque}wedigital>payment_execution_52f64bc0164b0e79deaeaaaa7e93f98f'] = 'Veuillez confirmer votre commande en cliquant sur « Je confirme ma commande ».'; +$_MODULE['<{cheque}wedigital>payment_execution_46b9e3665f187c739c55983f757ccda0'] = 'Je confirme ma commande'; +$_MODULE['<{cheque}wedigital>payment_execution_569fd05bdafa1712c4f6be5b153b8418'] = 'Autres moyens de paiement'; +$_MODULE['<{cheque}wedigital>infos_14e41f4cfd99b10766cc15676d8cda66'] = 'Ce module vous permet d\'accepter des paiements par chèque.'; +$_MODULE['<{cheque}wedigital>infos_e444fe40d43bccfad255cf62ddc8d18f'] = 'Si le client choisit ce mode de paiement, la commande passera à l\'état \"Paiement en attente\".'; +$_MODULE['<{cheque}wedigital>infos_8c88bbf5712292b26e2a6bbeb0a7b5c4'] = 'Par conséquent, vous devez valider manuellement la commande dès réception du chèque.'; +$_MODULE['<{cheque}wedigital>payment_return_88526efe38fd18179a127024aba8c1d7'] = 'Votre commande sur %s a bien été enregistrée.'; +$_MODULE['<{cheque}wedigital>payment_return_61da27a5dd1f8ced46c77b0feaa9e159'] = 'Veuillez nous envoyer un chèque avec :'; +$_MODULE['<{cheque}wedigital>payment_return_621455d95c5de701e05900a98aaa9c66'] = 'Montant du règlement.'; +$_MODULE['<{cheque}wedigital>payment_return_9b8f932b1412d130ece5045ecafd1b42'] = 'payable à l\'ordre de'; +$_MODULE['<{cheque}wedigital>payment_return_9a94f1d749a3de5d299674d6c685e416'] = 'à envoyer à'; +$_MODULE['<{cheque}wedigital>payment_return_e1c54fdba2544646684f41ace03b5fda'] = 'N\'oubliez pas d\'indiquer votre numéro de commande n°%d.'; +$_MODULE['<{cheque}wedigital>payment_return_4761b03b53bc2b3bd948bb7443a26f31'] = 'N\'oubliez pas d\'indiquer votre référence de commande %s.'; +$_MODULE['<{cheque}wedigital>payment_return_610abe74e72f00210e3dcb91a0a3f717'] = 'Un e-mail contenant ces informations vous a été envoyé.'; +$_MODULE['<{cheque}wedigital>payment_return_ffd2478830ca2f519f7fe7ee259d4b96'] = 'Votre commande vous sera envoyée dès réception du paiement.'; +$_MODULE['<{cheque}wedigital>payment_return_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute question ou information complémentaire merci de contacter notre'; +$_MODULE['<{cheque}wedigital>payment_return_decce112a9e64363c997b04aa71b7cb8'] = 'support client'; +$_MODULE['<{cheque}wedigital>payment_return_9bdf695c5a30784327137011da6ef568'] = 'Nous avons rencontré un problème avec votre commande, veuillez contacter notre support client'; +$_MODULE['<{cheque}wedigital>payment_4b80fae2153218ed763bdadc418e8589'] = 'Payer par chèque'; +$_MODULE['<{cheque}wedigital>payment_4e1fb9f4b46556d64db55d50629ee301'] = '(le traitement de la commande sera plus long)'; diff --git a/themes/toutpratique/modules/cookiesinfos/translations/fr.php b/themes/toutpratique/modules/cookiesinfos/translations/fr.php new file mode 100644 index 00000000..e27de5ff --- /dev/null +++ b/themes/toutpratique/modules/cookiesinfos/translations/fr.php @@ -0,0 +1,17 @@ +cookiesinfos_157d905f0b5419c59e21bc6bdc48c2c3'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_ed279c170159b26f5396793376536fd9'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_6623be42fdf6209344293c6cfaf70594'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_c9df65120372155187adecbbb9301a69'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_cba68c132e3ffc858ff21eafb042079a'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_c888438d14855d7d96a2724ee9c306bd'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_af798239247bd0ab95de57a037b8305e'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_1cad35d4b3b9f624f82dbf237daaf188'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_9c80169ee64bb02a76abb087b4760a4f'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_97e7c9a7d06eac006a28bf05467fcc8b'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_c9cc8cce247e49bae79f15173ce97354'] = ''; +$_MODULE['<{cookiesinfos}wedigital>cookiesinfos_630f6dc397fe74e52d5189e2c80f282b'] = ''; +$_MODULE['<{cookiesinfos}wedigital>displaytop_d9747f88a30a6dab39a2d392cf265cc4'] = 'Nous utilisons les cookies afin d\'améliorer votre expérience de navigation. En continuant votre visite, vous acceptez l\'utilisation de ces cookies .'; diff --git a/themes/toutpratique/modules/crossselling/crossselling.tpl b/themes/toutpratique/modules/crossselling/crossselling.tpl new file mode 100644 index 00000000..aeef5465 --- /dev/null +++ b/themes/toutpratique/modules/crossselling/crossselling.tpl @@ -0,0 +1,18 @@ +{if isset($orderProducts) && count($orderProducts)} +
      +

      + {if $page_name == 'product'} + {l s='Customers who bought this product also bought:' mod='crossselling'} + {else} + {l s='We recommend' mod='crossselling'} + {/if} +

      +
      +
        + {foreach from=$orderProducts item='orderProduct' name=orderProduct} + {include } + {/foreach} +
      +
      +
      +{/if} diff --git a/themes/toutpratique/modules/crossselling/index.php b/themes/toutpratique/modules/crossselling/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/crossselling/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/dashactivity/translations/fr.php b/themes/toutpratique/modules/dashactivity/translations/fr.php new file mode 100644 index 00000000..301f54ea --- /dev/null +++ b/themes/toutpratique/modules/dashactivity/translations/fr.php @@ -0,0 +1,42 @@ +dashactivity_0369e7f54bf8a30b2766e6a9a708de0b'] = 'Tableau de bord de l\'activité'; +$_MODULE['<{dashactivity}wedigital>dashactivity_02b5205ddff3073efc5c8b5b9cc165ba'] = '(du %s au %s)'; +$_MODULE['<{dashactivity}wedigital>dashactivity_14542f5997c4a02d4276da364657f501'] = 'Lien direct'; +$_MODULE['<{dashactivity}wedigital>dashactivity_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{dashactivity}wedigital>dashactivity_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{dashactivity}wedigital>dashactivity_914030b0a079e4eec3b3f5090c0fc35a'] = 'Panier actif'; +$_MODULE['<{dashactivity}wedigital>dashactivity_78fa968db0e87c6fc302614b26f93b5d'] = 'La durée (en minutes) durant laquelle un panier est considéré comme étant actif, en fonction de la dernière modification enregistrée (par défaut : 30 min).'; +$_MODULE['<{dashactivity}wedigital>dashactivity_47b8a33a5335cce8d4e353c4d1743f31'] = 'Visiteur en ligne'; +$_MODULE['<{dashactivity}wedigital>dashactivity_b13a895857368f29e5e127767388b0ab'] = 'La durée (en minute) durant laquelle un visiteur en considéré comme actif en fonction de leur dernière action (par défaut : 30 min).'; +$_MODULE['<{dashactivity}wedigital>dashactivity_6ad366c171531a83ffbc5625e159f340'] = 'Panier abandonné (min)'; +$_MODULE['<{dashactivity}wedigital>dashactivity_8f1f252cfd3cbbcba7a2325f12e3dbc4'] = 'Durée (en heures) au delà de laquelle un panier est considéré comme abandonné après la dernière action enregistrée (valeur par défaut : 24 h).'; +$_MODULE['<{dashactivity}wedigital>dashactivity_c760237f74bcc7e3f90ad956086edb66'] = 'h'; +$_MODULE['<{dashactivity}wedigital>dashactivity_a5493eb7cba36f452249d093e7757adc'] = 'Panier abandonné (max)'; +$_MODULE['<{dashactivity}wedigital>dashactivity_45e9c82415a3bee4413485c6bcb4347f'] = 'Durée (en heures) au delà de laquelle un panier cesse d\'être considéré comme abandonné après la dernière action enregistrée (valeur par défaut : 48 h).'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_91b1b529580f2bb429493a51a1af932b'] = 'Aperçu de l\'activité'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_f1206f9fadc5ce41694f69129aecac26'] = 'Configurer'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_63a6a88c066880c5ac42394a22803ca6'] = 'Rafraîchir'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_edfc5fccc0439856b5bd432522ef47aa'] = 'Visiteurs en ligne'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_962b7da7912bc637b03626e23b5832b5'] = 'Dans les %d dernières minutes'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_7aaacf26dbf7d8929916618bb57d81f8'] = 'Paniers actifs'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_24042b0e4b783724dac4178df4db5d68'] = 'Actuellement en attente'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_7442e29d7d53e549b78d93c46b8cdcfc'] = 'Commandes'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_247d96cbab5bfc79dff10eb2ce6d8897'] = 'Retours/Échanges'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_54e85d70ea67acdcc86963b14d6223a8'] = 'Paniers abandonnés'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_1c4407dd95b9ef941d30c2838208977e'] = 'Produits en rupture de stock'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_a274f4d4670213a9045ce258c6c56b80'] = 'Notifications'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_a644e8cd597f2b92aa52861632c0363d'] = 'Nouveaux Messages'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_56d4e9a4c8e9f47549e8129393b3740f'] = 'Revues de produits'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_e539ae01694149c9e12295fe564a376b'] = 'Clients & Newsletters'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_8471314b4a53476fbf2379d9a0f7ac28'] = 'Nouveaux Clients'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_d833d1b3c98b980090f79ad42badcf9f'] = 'Nouveaux Abonnements'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_e42bc03dcf18091455cb8a06ce1d56e9'] = 'Total des Abonnés'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_e7935ae6c516d89405ec532359d2d75a'] = 'Trafic'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_1a4aeb4ca6cd736a4a7b25d8657d9972'] = 'Lien vers votre compte Google Analytics'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_945f170a18e4894c90381a3d01bdef8b'] = 'Visiteurs Uniques'; +$_MODULE['<{dashactivity}wedigital>dashboard_zone_one_0fcff541ec15c6ed895d5dec49436488'] = 'Sources de Trafic'; diff --git a/themes/toutpratique/modules/dashgoals/translations/fr.php b/themes/toutpratique/modules/dashgoals/translations/fr.php new file mode 100644 index 00000000..08638a3a --- /dev/null +++ b/themes/toutpratique/modules/dashgoals/translations/fr.php @@ -0,0 +1,36 @@ +dashgoals_50698c5b8ffaf2b7dd089898a244a668'] = 'Tableau de bord des objectifs'; +$_MODULE['<{dashgoals}wedigital>dashgoals_86f5978d9b80124f509bdb71786e929e'] = 'Janvier'; +$_MODULE['<{dashgoals}wedigital>dashgoals_659e59f062c75f81259d22786d6c44aa'] = 'Février'; +$_MODULE['<{dashgoals}wedigital>dashgoals_fa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars'; +$_MODULE['<{dashgoals}wedigital>dashgoals_3fcf026bbfffb63fb24b8de9d0446949'] = 'Avril'; +$_MODULE['<{dashgoals}wedigital>dashgoals_195fbb57ffe7449796d23466085ce6d8'] = 'Mai'; +$_MODULE['<{dashgoals}wedigital>dashgoals_688937ccaf2a2b0c45a1c9bbba09698d'] = 'Juin'; +$_MODULE['<{dashgoals}wedigital>dashgoals_1b539f6f34e8503c97f6d3421346b63c'] = 'Juillet'; +$_MODULE['<{dashgoals}wedigital>dashgoals_41ba70891fb6f39327d8ccb9b1dafb84'] = 'Août'; +$_MODULE['<{dashgoals}wedigital>dashgoals_cc5d90569e1c8313c2b1c2aab1401174'] = 'Septembre'; +$_MODULE['<{dashgoals}wedigital>dashgoals_eca60ae8611369fe28a02e2ab8c5d12e'] = 'Octobre'; +$_MODULE['<{dashgoals}wedigital>dashgoals_7e823b37564da492ca1629b4732289a8'] = 'Novembre'; +$_MODULE['<{dashgoals}wedigital>dashgoals_82331503174acbae012b2004f6431fa5'] = 'Décembre'; +$_MODULE['<{dashgoals}wedigital>dashgoals_e7935ae6c516d89405ec532359d2d75a'] = 'Trafic'; +$_MODULE['<{dashgoals}wedigital>dashgoals_233d48e63da77b092da350559d2f8382'] = 'visites'; +$_MODULE['<{dashgoals}wedigital>dashgoals_3bb1503332637805beddb73a2dd1fe1b'] = 'Transformation'; +$_MODULE['<{dashgoals}wedigital>dashgoals_71241798130f714cbd2786df3da2cf0b'] = 'Valeur du panier moyen'; +$_MODULE['<{dashgoals}wedigital>dashgoals_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; +$_MODULE['<{dashgoals}wedigital>dashgoals_9ac642c5ef334ea05256563f921bb304'] = 'Objectif dépassé'; +$_MODULE['<{dashgoals}wedigital>dashgoals_7c103c9bbbaecee07ca898ed65667cbf'] = 'Objectif non atteint'; +$_MODULE['<{dashgoals}wedigital>dashgoals_eb233580dc419f03df5905f175606e4d'] = 'Objectif :'; +$_MODULE['<{dashgoals}wedigital>config_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{dashgoals}wedigital>config_e7935ae6c516d89405ec532359d2d75a'] = 'Trafic'; +$_MODULE['<{dashgoals}wedigital>config_e4c3da18c66c0147144767efeb59198f'] = 'Taux de transformation'; +$_MODULE['<{dashgoals}wedigital>config_8c804960da61b637c548c951652b0cac'] = 'Panier moyen'; +$_MODULE['<{dashgoals}wedigital>config_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; +$_MODULE['<{dashgoals}wedigital>config_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{dashgoals}wedigital>dashboard_zone_two_89c1265be62d3ba835a3d963db5956b0'] = 'Prévisions'; +$_MODULE['<{dashgoals}wedigital>dashboard_zone_two_e7935ae6c516d89405ec532359d2d75a'] = 'Trafic'; +$_MODULE['<{dashgoals}wedigital>dashboard_zone_two_3bb1503332637805beddb73a2dd1fe1b'] = 'Transformation'; +$_MODULE['<{dashgoals}wedigital>dashboard_zone_two_8c804960da61b637c548c951652b0cac'] = 'Panier moyen'; +$_MODULE['<{dashgoals}wedigital>dashboard_zone_two_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; diff --git a/themes/toutpratique/modules/dashproducts/translations/fr.php b/themes/toutpratique/modules/dashproducts/translations/fr.php new file mode 100644 index 00000000..f10bf99c --- /dev/null +++ b/themes/toutpratique/modules/dashproducts/translations/fr.php @@ -0,0 +1,42 @@ +dashproducts_6655df4af87b2038afd507a33545a56d'] = 'Tableau de bord Produits'; +$_MODULE['<{dashproducts}wedigital>dashproducts_2ea989f83006e233627987293f4bde0a'] = 'Nom du client'; +$_MODULE['<{dashproducts}wedigital>dashproducts_068f80c7519d0528fb08e82137a72131'] = 'Produits'; +$_MODULE['<{dashproducts}wedigital>dashproducts_96b0141273eabab320119c467cdcaf17'] = 'Total'; +$_MODULE['<{dashproducts}wedigital>dashproducts_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{dashproducts}wedigital>dashproducts_004bf6c9a40003140292e97330236c53'] = 'Outils'; +$_MODULE['<{dashproducts}wedigital>dashproducts_3ec365dd533ddb7ef3d1c111186ce872'] = 'Détails'; +$_MODULE['<{dashproducts}wedigital>dashproducts_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; +$_MODULE['<{dashproducts}wedigital>dashproducts_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{dashproducts}wedigital>dashproducts_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie'; +$_MODULE['<{dashproducts}wedigital>dashproducts_2aed3d711270a6ed67d21ec2d7cd4af8'] = 'Total vendu'; +$_MODULE['<{dashproducts}wedigital>dashproducts_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; +$_MODULE['<{dashproducts}wedigital>dashproducts_9e79098315622e58529d664b9a8b3cf8'] = 'Bénéfice net'; +$_MODULE['<{dashproducts}wedigital>dashproducts_ed4832a84ee072b00a6740f657183598'] = 'Vues'; +$_MODULE['<{dashproducts}wedigital>dashproducts_2c04f1ad7694378897b98624780327ff'] = 'Ajoutés au panier'; +$_MODULE['<{dashproducts}wedigital>dashproducts_ce4ee01637f4279d02d0f232459dc9a4'] = 'Achetés'; +$_MODULE['<{dashproducts}wedigital>dashproducts_37be07209f53a5d636d5c904ca9ae64c'] = 'Pourcentage'; +$_MODULE['<{dashproducts}wedigital>dashproducts_1eb18ea1d018abef5759cef60ddc289b'] = 'Vous devez activer l\'option \"Enregistrer les pages vues pour chaque client\" du module \"Récupération des données statistiques\" afin d\'afficher les produits les plus vus, ou utiliser le module Google Analytics.'; +$_MODULE['<{dashproducts}wedigital>dashproducts_cf5f3091e30dee6597885d8c0e0c357f'] = 'Terme'; +$_MODULE['<{dashproducts}wedigital>dashproducts_13348442cc6a27032d2b4aa28b75a5d3'] = 'Rechercher'; +$_MODULE['<{dashproducts}wedigital>dashproducts_fd69c5cf902969e6fb71d043085ddee6'] = 'Résultats'; +$_MODULE['<{dashproducts}wedigital>dashproducts_38fb7d24e0d60a048f540ecb18e13376'] = 'Enregistrer'; +$_MODULE['<{dashproducts}wedigital>dashproducts_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{dashproducts}wedigital>dashproducts_85bf7474324d7d02725e4dca586afcd9'] = 'Nombre de \"Commandes récentes\" à afficher'; +$_MODULE['<{dashproducts}wedigital>dashproducts_735b8c7f6d50b4c6f818deeab3cdea4a'] = 'Nombre de \"Meilleures ventes\" à afficher'; +$_MODULE['<{dashproducts}wedigital>dashproducts_14d24dddc4c67abf8364b980b2ccd5a2'] = 'Nombre de \"Produits les plus vus\" à afficher'; +$_MODULE['<{dashproducts}wedigital>dashproducts_f1ee1eaab342241138d45f35f4d8466a'] = 'Nombre de \"Meilleures recherches\" à afficher'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_3e361ce73ecabd6524af286d55809ed7'] = 'Produits et Ventes'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_fd3458547ef9c3a8bd0e1e1b4ef2b4dd'] = 'Commandes récentes'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_d7b2933ba512ada478c97fa43dd7ebe6'] = 'Meilleures Ventes'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_be5006eb5af9ab6dbca803f8d3065bbc'] = 'plus vus'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_1eb5e5713d7363e921dd7f5500b6d212'] = 'Meilleures recherches'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_3d23ac9ab254a9f1014c3a859b01bcfc'] = '%d dernières commandes'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_82f0f8d535196ce2a6ea16652d981f94'] = '%d meilleurs produits'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_5da618e8e4b89c66fe86e32cdafde142'] = 'Du'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_01b6e20344b68835c5ed1ddedf20d531'] = 'jusqu\'au'; +$_MODULE['<{dashproducts}wedigital>dashboard_zone_two_1daaca459ce1e6610e0b97a9ad723f27'] = '%d mots les plus recherchés'; diff --git a/themes/toutpratique/modules/dashtrends/translations/fr.php b/themes/toutpratique/modules/dashtrends/translations/fr.php new file mode 100644 index 00000000..ea8aad23 --- /dev/null +++ b/themes/toutpratique/modules/dashtrends/translations/fr.php @@ -0,0 +1,28 @@ +dashtrends_ee653ade5f520037ef95e9dc2a42364c'] = 'Tableau de bord des tendances'; +$_MODULE['<{dashtrends}wedigital>dashtrends_2d125dc25b158f28a1960bd96a9fa8d1'] = '%s points'; +$_MODULE['<{dashtrends}wedigital>dashtrends_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; +$_MODULE['<{dashtrends}wedigital>dashtrends_7442e29d7d53e549b78d93c46b8cdcfc'] = 'Commandes'; +$_MODULE['<{dashtrends}wedigital>dashtrends_8c804960da61b637c548c951652b0cac'] = 'Panier moyen'; +$_MODULE['<{dashtrends}wedigital>dashtrends_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites'; +$_MODULE['<{dashtrends}wedigital>dashtrends_e4c3da18c66c0147144767efeb59198f'] = 'Taux de transformation'; +$_MODULE['<{dashtrends}wedigital>dashtrends_43d729c7b81bfa5fc10e756660d877d1'] = 'Bénéfice net'; +$_MODULE['<{dashtrends}wedigital>dashtrends_46418a037045b91e6715c4da91a2a269'] = '%s (période précédente)'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_2938c7f7e560ed972f8a4f68e80ff834'] = 'Tableau de bord'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_f1206f9fadc5ce41694f69129aecac26'] = 'Configurer'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_63a6a88c066880c5ac42394a22803ca6'] = 'Rafraîchir'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_e537825dd409a90ef70d8c2eb56122a1'] = 'Chiffre d\'affaires (HT) généré sur la période donnée par les commandes considérées comme validées.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_11ff9f68afb6b8b5b8eda218d7c83a65'] = 'Ventes'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_8bc1c5ca521b99b87908db0bcd33ec76'] = 'Nombre total de commandes passées dans l\'intervalle de dates et considérées comme validées.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_7442e29d7d53e549b78d93c46b8cdcfc'] = 'Commandes'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_f15f2a2bf99d3dcad2cba1a2c615b9dc'] = 'Le Panier Moyen est une mesure représentant la valeur de la commande moyenne sur la période. Elle est calculée en divisant le montant global des ventes par le nombre de commandes.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_791d6355d34dfaf60d68ef04d1ee5767'] = 'Panier Moyen'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_4f631447981c5fa240006a5ae2c4b267'] = 'Nombre total de visites dans l\'intervalle de dates. Une visite est la durée pendant laquelle un utilisateur est actif sur votre site.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_d7e637a6e9ff116de2fa89551240a94d'] = 'Visites'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_7a6e858f8c7c0b78fb4d43cefcb8c017'] = 'Le taux de conversion e-commerce est le pourcentage de visites ayant abouti à une commande validée.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_e4c3da18c66c0147144767efeb59198f'] = 'Taux de transformation'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_8dedc1b3ee3a92212fb5b5acad7f207f'] = 'Le bénéfice est une mesure de la profitabilité de votre entreprise après déduction de tous les frais de gestion. Vous pouvez renseigner ces coûts en cliquant sur l\'icône de configuration ci-dessus.'; +$_MODULE['<{dashtrends}wedigital>dashboard_zone_two_43d729c7b81bfa5fc10e756660d877d1'] = 'Bénéfice net'; diff --git a/themes/toutpratique/modules/favoriteproducts/index.php b/themes/toutpratique/modules/favoriteproducts/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/favoriteproducts/views/index.php b/themes/toutpratique/modules/favoriteproducts/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl b/themes/toutpratique/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl new file mode 100644 index 00000000..a269e041 --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/front/favoriteproducts-account.tpl @@ -0,0 +1,77 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{capture name=path} + + {l s='My account' mod='favoriteproducts'} + + {$navigationPipe} + {l s='My favorite products' mod='favoriteproducts'} +{/capture} + +
      +

      {l s='My favorite products' mod='favoriteproducts'}

      + {if $favoriteProducts} + + {else} +

      {l s='No favorite products have been determined just yet. ' mod='favoriteproducts'}

      + {/if} + + +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/front/index.php b/themes/toutpratique/modules/favoriteproducts/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-extra.tpl b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-extra.tpl new file mode 100644 index 00000000..1b9d730b --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-extra.tpl @@ -0,0 +1,42 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if !$isCustomerFavoriteProduct AND $is_logged} +
    11. + {l s='Add this product to my list of favorites.' mod='favoriteproducts'} +
    12. +{/if} +{if $isCustomerFavoriteProduct AND $is_logged} +
    13. + {l s='Remove this product from my favorite\'s list. ' mod='favoriteproducts'} +
    14. +{/if} + +
    15. + {l s='Remove this product from my favorite\'s list. ' mod='favoriteproducts'} +
    16. +
    17. + {l s='Add this product to my list of favorites.' mod='favoriteproducts'} +
    18. \ No newline at end of file diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl new file mode 100644 index 00000000..0386276c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/favoriteproducts-header.tpl @@ -0,0 +1,31 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{strip} +{addJsDef favorite_products_url_add=$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'add'])|escape:'quotes':'UTF-8'} +{addJsDef favorite_products_url_remove=$link->getModuleLink('favoriteproducts', 'actions', ['process' => 'remove'], true)|escape:'quotes':'UTF-8'} +{if isset($smarty.get.id_product)} + {addJsDef favorite_products_id_product=$smarty.get.id_product|intval} +{/if} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/hook/index.php b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/hook/my-account.tpl b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/my-account.tpl new file mode 100644 index 00000000..00ceb663 --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/hook/my-account.tpl @@ -0,0 +1,37 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
    19. + + {if !$in_footer} + + {l s='My favorite products' mod='favoriteproducts'} + {else} + {l s='My favorite products' mod='favoriteproducts'} + {/if} + +
    20. diff --git a/themes/toutpratique/modules/favoriteproducts/views/templates/index.php b/themes/toutpratique/modules/favoriteproducts/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/favoriteproducts/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_1.html b/themes/toutpratique/modules/followup/mails/fr/followup_1.html new file mode 100644 index 00000000..3ad6067a --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_1.html @@ -0,0 +1,48 @@ + + + + +
        + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + +
        + +

      + Votre panier chez {shop_name}

      + + Nous avons remarqué que lors de votre dernier passage chez {shop_name}, vous n'avez pas validé la commande que vous aviez entamée.

      + Vous panier a été conservé, vous pouvez reprendre votre commande en vous rendant sur notre boutique : {shop_url}

      + A titre exceptionnel, nous vous accordons également une remise de {amount}% sur votre commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
      + +
       
      + + + +
        + +

      + Vos codes d'accès sur {shop_name}.

      + + Voici votre bon de réduction : {voucher_num}
      + Saisissez ce code dans votre panier afin d'obtenir votre réduction.
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_1.txt b/themes/toutpratique/modules/followup/mails/fr/followup_1.txt new file mode 100644 index 00000000..0040b3b3 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_1.txt @@ -0,0 +1,23 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Nous avons remarqué que lors de votre dernier passage chez +{shop_name}, vous n'avez pas validé la commande que vous aviez +entamée. + +Vous panier a été conservé, vous pouvez reprendre votre commande +en vous rendant sur notre boutique : {shop_url} +[{shop_url}] + +A titre exceptionnel, nous vous accordons également une remise de +{amount}% sur votre commande ! Cette offre est valable {days} jours, +ne perdez plus un instant ! + +VOICI VOTRE BON DE RÉDUCTION : {voucher_num} + +Saisissez ce code dans votre panier afin d'obtenir votre réduction. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_2.html b/themes/toutpratique/modules/followup/mails/fr/followup_2.html new file mode 100644 index 00000000..c9efef58 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_2.html @@ -0,0 +1,31 @@ + + + + +
        + + + + + + +
      + + Bonjour {firstname} {lastname},
      Merci d'avoir passé commande sur {shop_name} +
      +
      + + + +
        + + + À titre exceptionnel, nous vous accordons une remise de {amount}% sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !

      Voici votre bon de réduction : {voucher_num}

      + Saisissez ce code dans votre panier afin d'obtenir votre réduction.
      +
      +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_2.txt b/themes/toutpratique/modules/followup/mails/fr/followup_2.txt new file mode 100644 index 00000000..f3d47d4f --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_2.txt @@ -0,0 +1,17 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci d'avoir passé commande sur {shop_name} + +À titre exceptionnel, nous vous accordons une remise de {amount}% +sur votre prochaine commande ! Cette offre est valable {days} jours, +ne perdez plus un instant ! + +VOICI VOTRE BON DE RÉDUCTION : {voucher_num} + +Saisissez ce code dans votre panier afin d'obtenir votre réduction. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_3.html b/themes/toutpratique/modules/followup/mails/fr/followup_3.html new file mode 100644 index 00000000..dbbcca92 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_3.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour {firstname} {lastname},
      Merci pour votre confiance. +
      +
      + + + +
        + +

      + Vous faites partie de nos meilleurs clients et à ce titre, nous souhaitons vous remercier pour la confiance dont vous nous faites part.

      + + Pour vous remercier de votre fidélité, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !

      Voici votre bon de réduction : {voucher_num}

      + Saisissez ce code dans votre panier afin d'obtenir votre réduction.
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_3.txt b/themes/toutpratique/modules/followup/mails/fr/followup_3.txt new file mode 100644 index 00000000..eeeb8494 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_3.txt @@ -0,0 +1,17 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Merci pour votre confiance. + +Pour vous remercier de votre fidélité, nous vous accordons une +remise de {amount}% valable sur votre prochaine commande ! Cette offre +est valable {days} jours, ne perdez plus un instant ! + +VOICI VOTRE BON DE RÉDUCTION : {voucher_num} + +Saisissez ce code dans votre panier afin d'obtenir votre réduction. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_4.html b/themes/toutpratique/modules/followup/mails/fr/followup_4.html new file mode 100644 index 00000000..6e5dde37 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_4.html @@ -0,0 +1,46 @@ + + + + +
        + + + + + + + + +
      + + Bonjour {firstname} {lastname}, + +
      + + + +
        + +

      + Votre panier chez {shop_name}

      + + Vous faites partie de nos meilleurs clients cependant vous n'avez pas passé de commande depuis {days_threshold} jours.

      + Vous panier a été conservé, vous pouvez reprendre votre commande en vous rendant sur notre boutique : {shop_url}

      + Nous souhaitons vous remercier pour la confiance dont vous nous faites part et à ce titre, nous vous accordons une remise de {amount}% valable sur votre prochaine commande ! Cette offre est valable {days} jours, ne perdez plus un instant !
      + +
       
      + + + +
        + + + Voici votre bon de réduction : {voucher_num}

      + Saisissez ce code dans votre panier afin d'obtenir votre réduction.
      +
      +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/followup/mails/fr/followup_4.txt b/themes/toutpratique/modules/followup/mails/fr/followup_4.txt new file mode 100644 index 00000000..f8c7e6d6 --- /dev/null +++ b/themes/toutpratique/modules/followup/mails/fr/followup_4.txt @@ -0,0 +1,23 @@ +[{shop_url}] + +Bonjour {firstname} {lastname}, + +Vous faites partie de nos meilleurs clients cependant vous n'avez pas +passé de commande depuis {days_threshold} jours. + +Vous panier a été conservé, vous pouvez reprendre votre commande +en vous rendant sur notre boutique : {shop_url} +[{shop_url}] + +Nous souhaitons vous remercier pour la confiance dont vous nous +faites part et à ce titre, nous vous accordons une remise de +{amount}% valable sur votre prochaine commande ! Cette offre est +valable {days} jours, ne perdez plus un instant ! + +VOICI VOTRE BON DE RÉDUCTION : {voucher_num} + +Saisissez ce code dans votre panier afin d'obtenir votre réduction. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/followup/translations/fr.php b/themes/toutpratique/modules/followup/translations/fr.php new file mode 100644 index 00000000..0852bb6c --- /dev/null +++ b/themes/toutpratique/modules/followup/translations/fr.php @@ -0,0 +1,49 @@ +followup_9c34e90380dac7b56fdd19192a99d531'] = 'Relancez vos clients'; +$_MODULE['<{followup}wedigital>followup_57476355fcd04050bff196ae9aa4673c'] = 'Relancez vos clients grâce à des envoi d\'e-mails quotidiens'; +$_MODULE['<{followup}wedigital>followup_f71a41841c80c2ef0ec02a6ad5449c65'] = 'Etes-vous sûr de vouloir supprimer vos paramètres ainsi que vos statistiques liées aux relances ?'; +$_MODULE['<{followup}wedigital>followup_e316b4398212d473f7f53c7728fe1c37'] = 'Paramètres mis à jour avec succès'; +$_MODULE['<{followup}wedigital>followup_003b06dcfe67596f17e3de26e6a436c8'] = 'Une erreur est survenue pendant la mise à jour des paramètres'; +$_MODULE['<{followup}wedigital>followup_edf9feeab43a7623f6afc152d1ede515'] = 'Bon de réduction pour votre panier abandonné'; +$_MODULE['<{followup}wedigital>followup_a053fc9952a7dfc79282eba56ab8ad3a'] = 'Merci pour votre commande'; +$_MODULE['<{followup}wedigital>followup_7fcd592dd47028c7c1f2d0ce9168a303'] = 'Vous êtes l\'un de nos meilleurs clients'; +$_MODULE['<{followup}wedigital>followup_c2ab23672d4bb31c7664bf8e854a10f7'] = 'Vous nous manquez'; +$_MODULE['<{followup}wedigital>followup_4d469abf7834b49015e753c9578a1934'] = ''; +$_MODULE['<{followup}wedigital>followup_c4c95c36570d5a8834be5e88e2f0f6b2'] = 'Informations'; +$_MODULE['<{followup}wedigital>followup_87b1e57b5e8cd700618b6ae4938a4023'] = 'Quatre types de relances afin de rester en contact avec vos clients !'; +$_MODULE['<{followup}wedigital>followup_b547c073d144a57761d1d00d0b9d9f27'] = 'Paniers annulés'; +$_MODULE['<{followup}wedigital>followup_ea9dc62a0ddf4640f019f04a22ab9835'] = 'Pour chaque panier abandonné (sans commande), génère un bon d\'achat et l\'envoie au client.'; +$_MODULE['<{followup}wedigital>followup_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Activer'; +$_MODULE['<{followup}wedigital>followup_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{followup}wedigital>followup_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{followup}wedigital>followup_b30690be173bcd4a83df0cd68f89a385'] = 'Montant de la remise'; +$_MODULE['<{followup}wedigital>followup_2018945d252b94aeb99b0909f288717c'] = 'Durée de validité'; +$_MODULE['<{followup}wedigital>followup_225e75c29d32392d311f5dc94c792384'] = 'jour(s)'; +$_MODULE['<{followup}wedigital>followup_f120254f109d626d73ddddeb9cda26e5'] = 'Le prochain envoi transmettra : %d e-mail(s)'; +$_MODULE['<{followup}wedigital>followup_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{followup}wedigital>followup_a8b8dbd070a92fb8b17baab71d8d633f'] = 'Re-commander'; +$_MODULE['<{followup}wedigital>followup_895858cf10b8a1750a42875cb9c69092'] = 'Pour chaque commande validée, génère un bon d\'achat et l\'envoie au client.'; +$_MODULE['<{followup}wedigital>followup_8b83489bd116cb60e2f348e9c63cd7f6'] = 'Meilleurs clients'; +$_MODULE['<{followup}wedigital>followup_a46ad892f7f00e051cc90050ff2e1ddf'] = 'Pour chaque client dont le total des commandes atteint un certain seuil, génère un bon d\'achat et l\'envoie au client.'; +$_MODULE['<{followup}wedigital>followup_2a63f555989152ba866b43a1faacd680'] = 'Seuil'; +$_MODULE['<{followup}wedigital>followup_7d75b7b0f976b3091f490864c6ffbf97'] = 'Mauvais clients'; +$_MODULE['<{followup}wedigital>followup_e552313de5ebebdafa8bfa0dcc703e19'] = ''; +$_MODULE['<{followup}wedigital>followup_d82843c16839bfb05827d1912d89c917'] = 'Depuis x jours'; +$_MODULE['<{followup}wedigital>followup_0db377921f4ce762c62526131097968f'] = 'Paramètres généraux'; +$_MODULE['<{followup}wedigital>followup_1d52a8fe6cab6930fad9d814a1b0ca4c'] = 'Supprimer les bons d\'achat dont la date d\'expiration est dépassée afin de nettoyer la base de données'; +$_MODULE['<{followup}wedigital>stats_c33e404a441c6ba9648f88af3c68a1ca'] = 'Statistiques'; +$_MODULE['<{followup}wedigital>stats_1deaabda093f617a57f732c07e635fac'] = ''; +$_MODULE['<{followup}wedigital>stats_f23b0eec6c25c49afa4b29c57e671728'] = ''; +$_MODULE['<{followup}wedigital>stats_fde0b9a66bffdd6ee0886613e8031d9a'] = ''; +$_MODULE['<{followup}wedigital>stats_cceb59e78d00c10436ff5e777dd5d895'] = ''; +$_MODULE['<{followup}wedigital>stats_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{followup}wedigital>stats_b547c073d144a57761d1d00d0b9d9f27'] = ''; +$_MODULE['<{followup}wedigital>stats_a8b8dbd070a92fb8b17baab71d8d633f'] = ''; +$_MODULE['<{followup}wedigital>stats_5e53dfa887dfb989f0bc3e9fb9b34a2d'] = ''; +$_MODULE['<{followup}wedigital>stats_66ff4e89c767ab0a4e5ddc0251a101bc'] = ''; +$_MODULE['<{followup}wedigital>stats_5dbc98dcc983a70728bd082d1a47546e'] = ''; +$_MODULE['<{followup}wedigital>stats_4c614360da93c0a041b22e537de151eb'] = ''; +$_MODULE['<{followup}wedigital>stats_85b6769250887ba6c16099596c75164d'] = 'Aucune statistique à l\'heure actuelle.'; diff --git a/themes/toutpratique/modules/ganalytics/translations/fr.php b/themes/toutpratique/modules/ganalytics/translations/fr.php new file mode 100644 index 00000000..08f811c1 --- /dev/null +++ b/themes/toutpratique/modules/ganalytics/translations/fr.php @@ -0,0 +1,25 @@ +ganalytics_d86cf69a8b82547a94ca3f6a307cf9a6'] = 'Google Analytics'; +$_MODULE['<{ganalytics}wedigital>ganalytics_135d2522825fa02688ab25a2e1c88c73'] = 'Gagnez en visibilité sur des indicateurs clés liés à vos clients en utilisant Google Analytics.'; +$_MODULE['<{ganalytics}wedigital>ganalytics_7ed5c154078e30b30b2f214299c5e9f5'] = 'Êtes-vous sûr de vouloir désinstaller Google Analytics ? Vous perdrez toutes les données relatives à ce module.'; +$_MODULE['<{ganalytics}wedigital>ganalytics_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{ganalytics}wedigital>ganalytics_630f6dc397fe74e52d5189e2c80f282b'] = 'Retour à la liste'; +$_MODULE['<{ganalytics}wedigital>ganalytics_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{ganalytics}wedigital>ganalytics_851bd83a102d143ee17d97f9e15e15af'] = 'ID de tracking Google Analytics'; +$_MODULE['<{ganalytics}wedigital>ganalytics_ad8e83a47926dcb12e8a8fccd7fcf604'] = 'Vous trouverez cette information dans votre compte Google Analytics'; +$_MODULE['<{ganalytics}wedigital>ganalytics_462390017ab0938911d2d4e964c0cab7'] = 'Paramètres mis à jour avec succès'; +$_MODULE['<{ganalytics}wedigital>configuration_1f13d86a35be758509f9bdfcce5ec55d'] = 'Vos clients vont partout : vos analyses doivent pouvoir les suivre.'; +$_MODULE['<{ganalytics}wedigital>configuration_7063e771c3bb338ba74ac4e4716dbae1'] = 'Google Analytics brosse un portrait détaillé de vos clients à travers leur utilisation de publicités, vidéos, sites, outils sociaux, tablettes et smartphones. Cela vous permet de mieux répondre à vos clients actuels et d\'en gagner de nouveaux.'; +$_MODULE['<{ganalytics}wedigital>configuration_df15c5cf264eb769b087f9d81aff029f'] = 'Avec la fonctionnalité e-commerce de Google Analytics, vous pouvez affiner vos analyses grâce à des indicateurs clés sur le comportement d\'achat et de conversion, comme :'; +$_MODULE['<{ganalytics}wedigital>configuration_613c191b4a1f82a454b72a840d96eefd'] = 'L\'affichage des détails du produit'; +$_MODULE['<{ganalytics}wedigital>configuration_d88b192dfe623e2a628a919b99fc1a4b'] = 'La performance de votre merchandising'; +$_MODULE['<{ganalytics}wedigital>configuration_ade6a18bb6c147db87bc9463240e455a'] = 'Les actions d\'ajout au panier'; +$_MODULE['<{ganalytics}wedigital>configuration_c975b6b93d71b19da73114c4adcedbda'] = 'Le processus de commande'; +$_MODULE['<{ganalytics}wedigital>configuration_33f50b54625790316b86485ff3e794c4'] = 'Le clics de campagne interne'; +$_MODULE['<{ganalytics}wedigital>configuration_89c48ff165eedcc3cd1bd0007115669d'] = 'et l\'achat'; +$_MODULE['<{ganalytics}wedigital>configuration_4632d86a96205013262bcfdd0279b39f'] = 'Vous pourrez comprendre jusqu\'où les utilisateurs vont dans le processus d\'achat, et où ils l\'abandonnent.'; +$_MODULE['<{ganalytics}wedigital>configuration_16fafb5cce24f766bf2c8fcebecf76fc'] = 'Créez votre compte pour démarrer'; +$_MODULE['<{ganalytics}wedigital>form-ps14_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/graphnvd3/translations/fr.php b/themes/toutpratique/modules/graphnvd3/translations/fr.php new file mode 100644 index 00000000..d1fa9665 --- /dev/null +++ b/themes/toutpratique/modules/graphnvd3/translations/fr.php @@ -0,0 +1,5 @@ +graphnvd3_a9f70dff230e6fc8e878043486e6cddf'] = 'Graphiques NVD3'; diff --git a/themes/toutpratique/modules/gridhtml/translations/fr.php b/themes/toutpratique/modules/gridhtml/translations/fr.php new file mode 100644 index 00000000..26c87b19 --- /dev/null +++ b/themes/toutpratique/modules/gridhtml/translations/fr.php @@ -0,0 +1,6 @@ +gridhtml_cf6b972204ee563b4e5691b293e931b6'] = 'Affichage HTML simple'; +$_MODULE['<{gridhtml}wedigital>gridhtml_05ce5a49b49dd6245f71e384c4b43564'] = 'Permet au système de statistiques d\'afficher ses données dans une grille.'; diff --git a/themes/toutpratique/modules/homefeatured/homefeatured.tpl b/themes/toutpratique/modules/homefeatured/homefeatured.tpl new file mode 100644 index 00000000..7d2b4031 --- /dev/null +++ b/themes/toutpratique/modules/homefeatured/homefeatured.tpl @@ -0,0 +1,31 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($products) && $products} + {include file="$tpl_dir./product-list.tpl" class='homefeatured tab-pane' id='homefeatured'} +{else} +
        +
      • {l s='No featured products at this time.' mod='homefeatured'}
      • +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/homefeatured/index.php b/themes/toutpratique/modules/homefeatured/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/homefeatured/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/homefeatured/tab.tpl b/themes/toutpratique/modules/homefeatured/tab.tpl new file mode 100644 index 00000000..a3b35cbc --- /dev/null +++ b/themes/toutpratique/modules/homefeatured/tab.tpl @@ -0,0 +1,25 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
    21. {l s='Popular' mod='homefeatured'}
    22. \ No newline at end of file diff --git a/themes/toutpratique/modules/homefeatured/translations/fr.php b/themes/toutpratique/modules/homefeatured/translations/fr.php new file mode 100644 index 00000000..28e40479 --- /dev/null +++ b/themes/toutpratique/modules/homefeatured/translations/fr.php @@ -0,0 +1,29 @@ +homefeatured_5d17bf499a1b9b2e816c99eebf0153a9'] = 'Produits mis en avant sur la page d\'accueil'; +$_MODULE['<{homefeatured}wedigital>homefeatured_6d37ec35b5b6820f90394e5ee49e8cec'] = 'Affiche vos produits phares dans la colonne centrale de votre page d\'accueil.'; +$_MODULE['<{homefeatured}wedigital>homefeatured_fddb8a1881e39ad11bfe0d0aca5becc3'] = 'Le nombre de produits n\'est pas valide. Veuillez entrer un nombre positif.'; +$_MODULE['<{homefeatured}wedigital>homefeatured_c284a59996a4e984b30319999a7feb1d'] = 'L\'ID de catégorie n\'est pas valide. Veuillez choisir une ID existante.'; +$_MODULE['<{homefeatured}wedigital>homefeatured_fd2608d329d90e9a49731393427d0a5a'] = 'Valeur non valide pour le champ d\'affichage aléatoire.'; +$_MODULE['<{homefeatured}wedigital>homefeatured_6af91e35dff67a43ace060d1d57d5d1a'] = 'Paramètres mis à jour'; +$_MODULE['<{homefeatured}wedigital>homefeatured_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{homefeatured}wedigital>homefeatured_abc877135a96e04fc076becb9ce6fdfa'] = 'Pour ajouter des produits à votre page d\'accueil, ajoutez-les simplement à la catégorie de produits correspondante (\"Home\" ou \"Accueil\" par défaut).'; +$_MODULE['<{homefeatured}wedigital>homefeatured_d44168e17d91bac89aab3f38d8a4da8e'] = 'Nombre de produits à afficher'; +$_MODULE['<{homefeatured}wedigital>homefeatured_1b73f6b70a0fcd38bbc6a6e4b67e3010'] = 'Indiquez le nombre de produits que vous voulez voir affichés sur la page d\'accueil (par défaut : 8).'; +$_MODULE['<{homefeatured}wedigital>homefeatured_b773a38d8c456f7b24506c0e3cd67889'] = 'Catégorie des produits à afficher'; +$_MODULE['<{homefeatured}wedigital>homefeatured_0db2d53545e2ee088cfb3f45e618ba68'] = 'Choisissez l\'ID de la catégorie des produits que vous souhaitez afficher en page d\'accueil (par défaut \"2\" pour \"Accueil\").'; +$_MODULE['<{homefeatured}wedigital>homefeatured_49417670345173e7b95018b7bf976fc7'] = 'Afficher aléatoirement les produits phares'; +$_MODULE['<{homefeatured}wedigital>homefeatured_3c12c1068fb0e02fe65a6c4fc40bc29a'] = 'Activer si vous souhaitez que les produits phares soient affichés aléatoirement (ce qui n\'est pas le cas par défaut).'; +$_MODULE['<{homefeatured}wedigital>homefeatured_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{homefeatured}wedigital>homefeatured_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{homefeatured}wedigital>homefeatured_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{homefeatured}wedigital>homefeatured_ca7d973c26c57b69e0857e7a0332d545'] = 'Produits phares'; +$_MODULE['<{homefeatured}wedigital>homefeatured_03c2e7e41ffc181a4e84080b4710e81e'] = 'Nouveau'; +$_MODULE['<{homefeatured}wedigital>homefeatured_d3da97e2d9aee5c8fbe03156ad051c99'] = 'Détails'; +$_MODULE['<{homefeatured}wedigital>homefeatured_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{homefeatured}wedigital>homefeatured_2d0f6b8300be19cf35e89e66f0677f95'] = 'Ajouter au panier'; +$_MODULE['<{homefeatured}wedigital>homefeatured_e0e572ae0d8489f8bf969e93d469e89c'] = 'Aucun produit phare'; +$_MODULE['<{homefeatured}wedigital>tab_2cc1943d4c0b46bfcf503a75c44f988b'] = 'Populaire'; +$_MODULE['<{homefeatured}wedigital>homefeatured_d505d41279039b9a68b0427af27705c6'] = 'Aucun produit mis en avant à l\'heure actuelle.'; diff --git a/themes/toutpratique/modules/homeslider/header.tpl b/themes/toutpratique/modules/homeslider/header.tpl new file mode 100644 index 00000000..1ceab61f --- /dev/null +++ b/themes/toutpratique/modules/homeslider/header.tpl @@ -0,0 +1,6 @@ +{if isset($homeslider)} + {addJsDef homeslider_loop=$homeslider.loop|intval} + {addJsDef homeslider_width=$homeslider.width|intval} + {addJsDef homeslider_speed=$homeslider.speed|intval} + {addJsDef homeslider_pause=$homeslider.pause|intval} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/homeslider/homeslider.tpl b/themes/toutpratique/modules/homeslider/homeslider.tpl new file mode 100644 index 00000000..7e3ffd4b --- /dev/null +++ b/themes/toutpratique/modules/homeslider/homeslider.tpl @@ -0,0 +1,41 @@ +{if $page_name =='index'} + + {if isset($homeslider_slides)} +
      + {if isset($homeslider_slides.0) && isset($homeslider_slides.0.sizes.1)}{capture name='height'}{$homeslider_slides.0.sizes.1}{/capture}{/if} +
        + {foreach from=$homeslider_slides item=slide} + {if $slide.active} +
      • + {$slide.legend|escape:'htmlall':'UTF-8'} +
        +

        + {$slide.title} + {$slide.legend} +

        + {if isset($slide.description) && trim($slide.description) != ''} +
        {$slide.description|strip_tags}
        + {/if} + {if $slide.url !== ""} + + {l s='Discover' mod='homeslider'} + + {/if} +
        +
      • + {/if} + {/foreach} +
      +
      + + {/if} + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/homeslider/index.php b/themes/toutpratique/modules/homeslider/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/homeslider/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/homeslider/translations/fr.php b/themes/toutpratique/modules/homeslider/translations/fr.php new file mode 100644 index 00000000..a97e8ca6 --- /dev/null +++ b/themes/toutpratique/modules/homeslider/translations/fr.php @@ -0,0 +1,52 @@ +homeslider_693b83f5eca43e2bb1675287c37ce9e2'] = 'Diaporama (image slider) pour votre page d\'accueil'; +$_MODULE['<{homeslider}wedigital>homeslider_c17aed434289cedd02618451e12c8da6'] = 'Ajouter un carrousel d\'images à votre page d\'accueil'; +$_MODULE['<{homeslider}wedigital>homeslider_3f80dc2cdd06939d4f5514362067cd86'] = 'Valeur non valables'; +$_MODULE['<{homeslider}wedigital>homeslider_a6abafe564d3940cc36ee43e2f09400b'] = 'Diapositive non valable'; +$_MODULE['<{homeslider}wedigital>homeslider_e0ce30bfbf90d2306ecf72f06a83133f'] = 'État non valable.'; +$_MODULE['<{homeslider}wedigital>homeslider_9f79795e050649dc6b8bd0cdc874cbdc'] = 'Position non valable pour la diapositive.'; +$_MODULE['<{homeslider}wedigital>homeslider_5c8bedc4c0c9f42d9b0f14340bbe53da'] = 'ID invalide pour la diapositive'; +$_MODULE['<{homeslider}wedigital>homeslider_14f09fd0804a8f1cd0eb757125fc9c28'] = 'Titre trop long'; +$_MODULE['<{homeslider}wedigital>homeslider_dc89634d1d28cd4e055531e62047156b'] = 'La légende est trop longue.'; +$_MODULE['<{homeslider}wedigital>homeslider_4477f672766f6f255f760649af8bd92a'] = 'URL trop longue'; +$_MODULE['<{homeslider}wedigital>homeslider_62239300ba982b06ab0f1aa7100ad297'] = 'Description trop longue'; +$_MODULE['<{homeslider}wedigital>homeslider_980f56796b8bf9d607283de9815fe217'] = 'Format d\'URL incorrect'; +$_MODULE['<{homeslider}wedigital>homeslider_73133ce32267e8c7a854d15258eb17e0'] = 'Nom de fichier non valable.'; +$_MODULE['<{homeslider}wedigital>homeslider_349097dadf7e6b01dd2af601d54fd59a'] = 'Titre absent'; +$_MODULE['<{homeslider}wedigital>homeslider_a9af2809b02444b9470f97dc66ba57a2'] = 'Pas de légende configurée.'; +$_MODULE['<{homeslider}wedigital>homeslider_0f059227d0a750ce652337d911879671'] = 'URL absente'; +$_MODULE['<{homeslider}wedigital>homeslider_8cf45ba354f4725ec8a0d31164910895'] = 'Image absente'; +$_MODULE['<{homeslider}wedigital>homeslider_7f82c65d548588c8d5412463c182e450'] = 'La configuration n\'a pas pu être mise à jour'; +$_MODULE['<{homeslider}wedigital>homeslider_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; +$_MODULE['<{homeslider}wedigital>homeslider_7cc92687130ea12abb80556681538001'] = 'Une erreur est survenue durant l\'envoi de l\'image'; +$_MODULE['<{homeslider}wedigital>homeslider_cdf841e01e10cae6355f72e6838808eb'] = 'La diapositive n\'a pas pu être ajoutée'; +$_MODULE['<{homeslider}wedigital>homeslider_eb28485b92fbf9201918698245ec6430'] = 'La diapositive n\'a pas pu être mise à jour'; +$_MODULE['<{homeslider}wedigital>homeslider_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{homeslider}wedigital>homeslider_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{homeslider}wedigital>homeslider_ced7338587c502f76917b5a693f848c5'] = 'Paramètres de la diapositive'; +$_MODULE['<{homeslider}wedigital>homeslider_792744786ed30c5623dd1cf0c16f4ffe'] = 'Sélectionner un fichier'; +$_MODULE['<{homeslider}wedigital>homeslider_61c1727eb4c54b859e250c2a76bb40c0'] = 'Titre de la diapositive'; +$_MODULE['<{homeslider}wedigital>homeslider_e64df1d7c22b9638f084ce8a4aff3ff3'] = 'URL cible'; +$_MODULE['<{homeslider}wedigital>homeslider_272ba7d164aa836995be6319a698be84'] = 'Légende'; +$_MODULE['<{homeslider}wedigital>homeslider_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description'; +$_MODULE['<{homeslider}wedigital>homeslider_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{homeslider}wedigital>homeslider_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{homeslider}wedigital>homeslider_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{homeslider}wedigital>homeslider_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{homeslider}wedigital>homeslider_1738daa45f573390d5745fd33ec03fa1'] = 'Largeur maximale de l\'image'; +$_MODULE['<{homeslider}wedigital>homeslider_44877c6aa8e93fa5a91c9361211464fb'] = 'Vitesse'; +$_MODULE['<{homeslider}wedigital>homeslider_11cd394e1bd88abe611fd331887f0c74'] = 'La durée de transition entre deux diapositives.'; +$_MODULE['<{homeslider}wedigital>homeslider_105b296a83f9c105355403f3332af50f'] = 'Pause'; +$_MODULE['<{homeslider}wedigital>homeslider_44f0ca4d7ea17bb667e8d5e31311d959'] = 'Le temps de pause entre deux diapositives.'; +$_MODULE['<{homeslider}wedigital>homeslider_1e6a508c037fc42ef6155eeadbb80331'] = 'Lecture automatique'; +$_MODULE['<{homeslider}wedigital>homeslider_5a3489cc067f89b268b6958bffb98ebf'] = 'Étant donné que plusieurs langues sont activées sur votre boutique, pensez à mettre en ligne une version de votre image par langue.'; +$_MODULE['<{homeslider}wedigital>homeslider_c8a1ed10db4201b3ae06ea0aa912028d'] = 'Vous ne pouvez gérer les diapositives pour un groupe de boutiques ou toutes les boutiques à la fois. Sélectionnez directement la boutique que vous souhaitez modifier'; +$_MODULE['<{homeslider}wedigital>homeslider_71063fd397d237e563089c22dd8b69e8'] = 'Les modifications seront appliquées à toutes les boutiques et tous les groupes de boutiques.'; +$_MODULE['<{homeslider}wedigital>form_92fbf0e5d97b8afd7e73126b52bdc4bb'] = 'Choisissez un fichier'; +$_MODULE['<{homeslider}wedigital>list_c82324ebbcea34f55627a897b37190e3'] = 'Liste des diapositives'; +$_MODULE['<{homeslider}wedigital>list_7dce122004969d56ae2e0245cb754d35'] = 'Modifier'; +$_MODULE['<{homeslider}wedigital>list_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{homeslider}wedigital>homeslider_abfc3a65538a6ec86502b2b498b6b4a6'] = 'Découvrir'; diff --git a/themes/toutpratique/modules/index.php b/themes/toutpratique/modules/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/lightbox/translations/fr.php b/themes/toutpratique/modules/lightbox/translations/fr.php new file mode 100644 index 00000000..e8e10aeb --- /dev/null +++ b/themes/toutpratique/modules/lightbox/translations/fr.php @@ -0,0 +1,31 @@ +lightbox_3a5880f4da49401e2842c47ee179630d'] = 'Votre Lightbox personnelle'; +$_MODULE['<{lightbox}wedigital>lightbox_071db38a1ba73ad263a626274d578067'] = 'Antadis - LightBox'; +$_MODULE['<{lightbox}wedigital>lightbox_876f23178c29dc2552c0b48bf23cd9bd'] = 'Etes-vous sûr de vouloir désinstaller le module?'; +$_MODULE['<{lightbox}wedigital>lightbox_2252338556f89a559230d147d8438192'] = 'Gestionnaire Lightbox'; +$_MODULE['<{lightbox}wedigital>lightbox_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{lightbox}wedigital>lightbox_42a1ccd41184bf864ba3c0536bd79902'] = 'Voir la Lightbox'; +$_MODULE['<{lightbox}wedigital>lightbox_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{lightbox}wedigital>lightbox_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{lightbox}wedigital>lightbox_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_b78a3223503896721cca1303f776159b'] = 'Titre'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_8491174302836786f913d07e6a14e9fa'] = 'Affiché pour toutes les nouvelles visites'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_a1fa27779242b4902f7ae3bdd5c6d508'] = 'Type'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_111893dc2ad3535a627f8d904e9acf80'] = 'Date de début'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_7d6da8f6cb6897fb1a8ce7f74e826c2e'] = 'Date de fin'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activé'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_48a688e2c614f9afa08c207d3556c2c8'] = 'Supprimer les éléments sélectionnés?'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_9c905af19770710c6e00dd48e6066651'] = 'Paramètres des Lightbox'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_f15c1cae7882448b3fb0404682e17e61'] = 'Contenu'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_14fb342ea328486fd5934ff5292cffc7'] = 'Date de départ'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_806e28fc69755225ecfacba6ba869d88'] = 'Date de fin'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_797222ef76d7cb8132e8cd40838a37f7'] = 'Activé cette lightbox'; +$_MODULE['<{lightbox}wedigital>adminlightboxcontroller_471bc574957ea93edddb330d4b83501b'] = 'Retour à la list des Lightbox'; diff --git a/themes/toutpratique/modules/loyalty/index.php b/themes/toutpratique/modules/loyalty/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/loyalty/views/index.php b/themes/toutpratique/modules/loyalty/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/loyalty/views/templates/front/index.php b/themes/toutpratique/modules/loyalty/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/loyalty/views/templates/front/loyalty.tpl b/themes/toutpratique/modules/loyalty/views/templates/front/loyalty.tpl new file mode 100644 index 00000000..4e5afb82 --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/front/loyalty.tpl @@ -0,0 +1,198 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path}{l s='My account' mod='loyalty'}{$navigationPipe}{l s='My loyalty points' mod='loyalty'}{/capture} + +

      {l s='My loyalty points' mod='loyalty'}

      + +{if $orders} +
      + {if $orders && count($orders)} + + + + + + + + + + + + + + + + + + {foreach from=$displayorders item='order'} + + + + + + + {/foreach} + +
      {l s='Order' mod='loyalty'}{l s='Date' mod='loyalty'}{l s='Points' mod='loyalty'}{l s='Points Status' mod='loyalty'}
      {l s='Total points available:' mod='loyalty'}{$totalPoints|intval} 
      {dateFormat date=$order.date full=1}{$order.points|intval}{$order.state|escape:'html':'UTF-8'}
      +
       
      + {else} +

      {l s='You have not placed any orders.' mod='loyalty'}

      + {/if} +
      + + +

      {l s='Vouchers generated here are usable in the following categories : ' mod='loyalty'} +{if $categories}{$categories}{else}{l s='All' mod='loyalty'}{/if}

      + +{if $transformation_allowed} +

      + {l s='Transform my points into a voucher of' mod='loyalty'} {convertPrice price=$voucher}. +

      +{/if} + +

      {l s='My vouchers from loyalty points' mod='loyalty'}

      + +{if $nbDiscounts} +
      + + + + + + + + + + + + + + {foreach from=$discounts item=discount name=myLoop} + + + + + + + + + + {/foreach} + +
      {l s='Created' mod='loyalty'}{l s='Value' mod='loyalty'}{l s='Code' mod='loyalty'}{l s='Valid from' mod='loyalty'}{l s='Valid until' mod='loyalty'}{l s='Status' mod='loyalty'}{l s='Details' mod='loyalty'}
      {dateFormat date=$discount->date_add}{if $discount->reduction_percent > 0} + {$discount->reduction_percent}% + {elseif $discount->reduction_amount} + {displayPrice price=$discount->reduction_amount currency=$discount->reduction_currency} + {else} + {l s='Free shipping' mod='loyalty'} + {/if}{$discount->code}{dateFormat date=$discount->date_from}{dateFormat date=$discount->date_to}{if $discount->quantity > 0}{l s='To use' mod='loyalty'}{else}{l s='Used' mod='loyalty'}{/if} + {l s='more...' mod='loyalty'} + +
      +
       
      +
      + +{if $minimalLoyalty > 0}

      {l s='The minimum order amount in order to use these vouchers is:' mod='loyalty'} {convertPrice price=$minimalLoyalty}

      {/if} + +{else} +

      {l s='No vouchers yet.' mod='loyalty'}

      +{/if} +{else} +

      {l s='No reward points yet.' mod='loyalty'}

      +{/if} + + diff --git a/themes/toutpratique/modules/loyalty/views/templates/hook/index.php b/themes/toutpratique/modules/loyalty/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/loyalty/views/templates/hook/my-account.tpl b/themes/toutpratique/modules/loyalty/views/templates/hook/my-account.tpl new file mode 100644 index 00000000..98babe2d --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/hook/my-account.tpl @@ -0,0 +1,30 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
    23. + {l s='My loyalty points' mod='loyalty'} +
    24. + \ No newline at end of file diff --git a/themes/toutpratique/modules/loyalty/views/templates/hook/product.tpl b/themes/toutpratique/modules/loyalty/views/templates/hook/product.tpl new file mode 100644 index 00000000..25a7ac2c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/hook/product.tpl @@ -0,0 +1,52 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +

      + {if $points} + {l s='By buying this product you can collect up to' mod='loyalty'} {$points} + {if $points > 1}{l s='loyalty points' mod='loyalty'}{else}{l s='loyalty point' mod='loyalty'}{/if}. + {l s='Your cart will total' mod='loyalty'} {$total_points} + {if $total_points > 1}{l s='points' mod='loyalty'}{else}{l s='point' mod='loyalty'}{/if} {l s='that can be converted into a voucher of' mod='loyalty'} + {convertPrice price=$voucher}. + {else} + {if isset($no_pts_discounted) && $no_pts_discounted == 1} + {l s='No reward points for this product because there\'s already a discount.' mod='loyalty'} + {else} + {l s='No reward points for this product.' mod='loyalty'} + {/if} + {/if} +

      +
      +{addJsDef point_rate=$point_rate} +{addJsDef point_value=$point_value} +{addJsDef points_in_cart=$points_in_cart} +{addJsDef none_award=$none_award} + +{addJsDefL name=loyalty_willcollect}{l s='By buying this product you can collect up to' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_already}{l s='No reward points for this product because there\'s already a discount.' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_nopoints}{l s='No reward points for this product.' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_points}{l s='loyalty points' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_point}{l s='loyalty point' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_total}{l s='Your cart will total' mod='loyalty' js=1}{/addJsDefL} +{addJsDefL name=loyalty_converted}{l s='that can be converted into a voucher of' mod='loyalty' js=1}{/addJsDefL} \ No newline at end of file diff --git a/themes/toutpratique/modules/loyalty/views/templates/hook/shopping-cart.tpl b/themes/toutpratique/modules/loyalty/views/templates/hook/shopping-cart.tpl new file mode 100644 index 00000000..9402b3de --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/hook/shopping-cart.tpl @@ -0,0 +1,38 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +

      + + {if $points > 0} + {l s='By checking out this shopping cart you can collect up to' mod='loyalty'} + {if $points > 1}{l s='%d loyalty points' sprintf=$points mod='loyalty'}{else}{l s='%d loyalty point' sprintf=$points mod='loyalty'}{/if} + {l s='that can be converted into a voucher of' mod='loyalty'} {convertPrice price=$voucher}{if isset($guest_checkout) && $guest_checkout}*{/if}.
      + {if isset($guest_checkout) && $guest_checkout}* {l s='Not available for Instant checkout order' mod='loyalty'}{/if} + {else} + {l s='Add some products to your shopping cart to collect some loyalty points.' mod='loyalty'} + {/if} +

      + \ No newline at end of file diff --git a/themes/toutpratique/modules/loyalty/views/templates/index.php b/themes/toutpratique/modules/loyalty/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/loyalty/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/mailalerts/index.php b/themes/toutpratique/modules/mailalerts/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.html b/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.html new file mode 100644 index 00000000..61a8f70e --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.html @@ -0,0 +1,34 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + {product} est maintenant disponible.

      + + Le stock a été réapprovisionné.

      + Vous pouvez accéder à la page produit en cliquant sur le lien suivant: {product}
      + Vous pouvez donc de nouveau commander ce produit depuis notre catalogue en ligne.
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.txt b/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.txt new file mode 100644 index 00000000..8e3aeaa5 --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/customer_qty.txt @@ -0,0 +1,15 @@ +[{shop_url}] + +Bonjour, + +Le stock a été réapprovisionné. + +Vous pouvez accéder à la page produit en cliquant sur le lien +suivant: {product} [{product_link}] + +Vous pouvez donc de nouveau commander ce produit depuis notre +catalogue en ligne. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/new_order.html b/themes/toutpratique/modules/mailalerts/mails/fr/new_order.html new file mode 100644 index 00000000..d3f8807d --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/new_order.html @@ -0,0 +1,215 @@ + + + + +
        + + + + + + + + + + + + + +
      + + Bravo ! + +
      + + Une nouvelle commande a été passée sur votre boutique {shop_name} par ce client : {firstname} {lastname} ({email}) + +
      + + + +
        + +

      + Détails de la commande

      + + Commande : {order_name} Date {date}

      Paiement : {payment} +
      + +
       
      + + + + + + + + + + + + + + + + + + + +
      RéférenceProduitPrix unitaireQuantitéPrix total
      +   {items} +
      + + + +
        + + Produits + +  
      + + + +
        + + {total_products} + +  
      + + + +
        + + Réductions + +  
      + + + +
        + + {total_discounts} + +  
      + + + +
        + + Paquet cadeau + +  
      + + + +
        + + {total_wrapping} + +  
      + + + +
        + + Livraison + +  
      + + + +
        + + {total_shipping} + +  
      + + + +
        + + TVA totale + +  
      + + + +
        + + {total_tax_paid} + +  
      + + + +
        + + Total payé + +  
      + + + +
        + + {total_paid} + +  
      +
      + + + +
        + +

      + Transporteur :

      + + {carrier} + + +
       
      + + + +
      + + + +
        + +

      + Adresse de livraison

      + + {delivery_block_html} + + +
       
        + + + +
        + +

      + Adresse de facturation

      + + {invoice_block_html} + + +
       
      + + + +
        + +

      + Message du client :

      + + {message} + + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/new_order.txt b/themes/toutpratique/modules/mailalerts/mails/fr/new_order.txt new file mode 100644 index 00000000..5834949d --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/new_order.txt @@ -0,0 +1,58 @@ +[{shop_url}] + +Bravo ! + +Une nouvelle commande a été passée sur votre boutique +{shop_name} par ce client : {firstname} {lastname} ({email}) + +COMMANDE : {order_name} Date {date} + +PAIEMENT : {payment} + +RÉFÉRENCE + +PRODUIT + +PRIX UNITAIRE + +QUANTITÉ + +PRIX TOTAL + +{items} + +PRODUITS + +{total_products} + +RÉDUCTIONS + +{total_discounts} + +PAQUET CADEAU + +{total_wrapping} + +LIVRAISON + +{total_shipping} + +TVA TOTALE + +{total_tax_paid} + +TOTAL PAYÉ + +{total_paid} + +{carrier} + +{delivery_block_html} + +{invoice_block_html} + +{message} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.html b/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.html new file mode 100644 index 00000000..812b5005 --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + {product} est en rupture de stock.

      + + En effet, la quantité disponible est maintenant inférieure au minimum de : {warning_coverage}.

      Couverture actuelle : {current_coverage} +
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.txt b/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.txt new file mode 100644 index 00000000..ebd35880 --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/productcoverage.txt @@ -0,0 +1,12 @@ +[{shop_url}] + +Bonjour, + +En effet, la quantité disponible est maintenant inférieure au +minimum de : {warning_coverage}. + +COUVERTURE ACTUELLE : {current_coverage} + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.html b/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.html new file mode 100644 index 00000000..f22ab42e --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.html @@ -0,0 +1,33 @@ + + + + +
        + + + + + + +
      + + Bonjour, + +
      + + + +
        + +

      + {product} est presque en rupture de stock.

      + + Le stock restant est maintenant inférieur au minimum de {last_qty}.

      Stock restant : {qty}

      + Nous vous conseillons de vous rendre sur la page produit du panneau d'administration afin de renouveler vos stocks.
      + +
       
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.txt b/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.txt new file mode 100644 index 00000000..101dd741 --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/mails/fr/productoutofstock.txt @@ -0,0 +1,14 @@ +[{shop_url}] + +Bonjour, + +Le stock restant est maintenant inférieur au minimum de {last_qty}. + +STOCK RESTANT : {qty} + +Nous vous conseillons de vous rendre sur la page produit du panneau +d'administration afin de renouveler vos stocks. + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/mailalerts/translations/fr.php b/themes/toutpratique/modules/mailalerts/translations/fr.php new file mode 100644 index 00000000..a4be579d --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/translations/fr.php @@ -0,0 +1,45 @@ +mailalerts-account_ae0e822b6fad0de61c231ef188997e92'] = 'Vous devez avoir un produit pour effacer une alerte.'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_0d15d3afa8c174934ff0e43ce3b99bd3'] = 'Vous devez être identifié pour gérer vos alertes.'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_a9839ad48cf107667f73bad1d651f2ca'] = 'Aucun template trouvé'; +$_MODULE['<{mailalerts}wedigital>mailalerts_fd30254803e8db32521d3390131a44da'] = 'Alertes par e-mail'; +$_MODULE['<{mailalerts}wedigital>mailalerts_2d51f4a7ab8a12c4f35b507019523b8c'] = 'Envoie des notifications par e-mail aux clients et aux marchands.'; +$_MODULE['<{mailalerts}wedigital>mailalerts_8fd3b84964bd6dfec8095f658d200b29'] = 'Êtes-vous sûr de vouloir supprimer toutes les notifications clients ?'; +$_MODULE['<{mailalerts}wedigital>mailalerts_c1ee76f076a5b97e3b4b0c0e5703246e'] = 'Impossible de mettre à jour les réglages'; +$_MODULE['<{mailalerts}wedigital>mailalerts_ce241f25e003bafeb9fce6857d8f027f'] = 'Veuillez saisir une (ou plusieurs) adresse(s) e-mail'; +$_MODULE['<{mailalerts}wedigital>mailalerts_29aae9c646337554f4de7ae29050c39f'] = 'Adresse e-mail invalide :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_58a20987a1f4e45d508b4491614a2c57'] = 'Notifications pour le client'; +$_MODULE['<{mailalerts}wedigital>mailalerts_ea379dd90c33c1345f40aa0afa6688d8'] = 'Disponibilité du produit'; +$_MODULE['<{mailalerts}wedigital>mailalerts_86e8d61297942b00e9937299735df971'] = 'Donne la possibilité au client de recevoir une notification quand un produit est à nouveau disponible'; +$_MODULE['<{mailalerts}wedigital>mailalerts_38fb7d24e0d60a048f540ecb18e13376'] = 'Sauvegarder'; +$_MODULE['<{mailalerts}wedigital>mailalerts_6f974bbda9064a9c0836370dbf5a6076'] = 'Notifications pour le marchand'; +$_MODULE['<{mailalerts}wedigital>mailalerts_9204d21640382a89a95ec42f44f9051c'] = 'Nouvelle commande :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_dea3d17a0f0ecab1f65cc486bfa56051'] = 'Recevoir une notification quand une commande est passée'; +$_MODULE['<{mailalerts}wedigital>mailalerts_ebc3ccf8441dba3c1615afa6acb3282a'] = 'Indisponible :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_0b46debf72500e9a1650fa18e6ca72a1'] = 'Recevoir une notification si il reste moins d\'exemplaires d\'un produit qu\'un seul défini'; +$_MODULE['<{mailalerts}wedigital>mailalerts_02505a778171466cc5e4f96c4eeaa9da'] = 'Seuil :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_62109400d1297f6b6c900eb7f6ba0aaa'] = 'Quantité à partir de laquelle un produit est considéré hors stock'; +$_MODULE['<{mailalerts}wedigital>mailalerts_3d7b12c4623906965db0a3f8e7390652'] = 'Avertissement de couverture :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_929396618e54384e9a22493055028533'] = 'Recevoir une notification si la couverture de stock d\'un produit est inférieure à la couverture suivante'; +$_MODULE['<{mailalerts}wedigital>mailalerts_cadcfa2749b0cfb51d88837d4a934ad1'] = 'Couverture :'; +$_MODULE['<{mailalerts}wedigital>mailalerts_a27c67cad62fc03d13c2f67e5f749691'] = 'Couverture de stock, en jours. Accessoirement, la couverture de stock d\'un produit donné sera calculée à partir de ce nombre'; +$_MODULE['<{mailalerts}wedigital>mailalerts_7bcb7394f6b2ff226c423fea1a153754'] = 'Adresses e-mail'; +$_MODULE['<{mailalerts}wedigital>mailalerts_4395d1c88a7f0796edc652d2b57bc664'] = 'Une adresse e-mail par ligne (exemple : bob@example.com)'; +$_MODULE['<{mailalerts}wedigital>mailalerts_7cb9a154f101c674c945f88dad5c5e28'] = 'Aucun message'; +$_MODULE['<{mailalerts}wedigital>mailalerts_1d744a9ad1dac20645cfc4a36b77323b'] = 'image(s)'; +$_MODULE['<{mailalerts}wedigital>mailalerts_9137796c15dd92e5553c3f29574d0968'] = 'Code du bon de réduction :'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_36c94bd456cf8796723ad09eac258aef'] = 'Gérer mon compte'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mes alertes'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_1063e38cb53d94d386f21227fcd84717'] = 'Retirer'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_8bb23c2ae698681ebb650f43acb54dab'] = 'Aucune alerte mail.'; +$_MODULE['<{mailalerts}wedigital>mailalerts-account_0b3db27bc15f682e92ff250ebb167d4b'] = 'Retour à votre compte'; +$_MODULE['<{mailalerts}wedigital>my-account_4edfd10d0bb5f51e0fd2327df608b5a8'] = 'Mes alertes'; +$_MODULE['<{mailalerts}wedigital>product_67135a14d3ac4f1369633dd006d6efec'] = 'votre@email.com'; +$_MODULE['<{mailalerts}wedigital>product_61172eb93737ebf095d3fa02119ce1df'] = 'Demande de notification enregistrée'; +$_MODULE['<{mailalerts}wedigital>product_bb51a155575b81f4a07f7a9bafdc3b01'] = 'Vous avez déjà une alerte pour ce produit'; +$_MODULE['<{mailalerts}wedigital>product_900f8551b29793ecb604a545b2059cc1'] = 'Votre adresse e-mail est invalide'; +$_MODULE['<{mailalerts}wedigital>product_546e02eaa9a986c83cc347e273269f2c'] = 'Prévenez-moi lorsque le produit est disponible'; diff --git a/themes/toutpratique/modules/mailalerts/views/index.php b/themes/toutpratique/modules/mailalerts/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/mailalerts/views/templates/front/index.php b/themes/toutpratique/modules/mailalerts/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/mailalerts/views/templates/front/mailalerts-account.tpl b/themes/toutpratique/modules/mailalerts/views/templates/front/mailalerts-account.tpl new file mode 100644 index 00000000..04b1ce2e --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/front/mailalerts-account.tpl @@ -0,0 +1,49 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{capture name=path}{l s='My account' mod='mailalerts'}{$navigationPipe}{l s='My alerts' mod='mailalerts'}{/capture} +
      +

      {l s='My alerts' mod='mailalerts'}

      + {if $mailAlerts} + + {/if} +

      {l s='No mail alerts yet.' mod='mailalerts'}

      + +
      +{addJsDef mailalerts_url_remove=$link->getModuleLink('mailalerts', 'actions', ['process' => 'remove'])|escape:'quotes':'UTF-8'} \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/views/templates/hook/index.php b/themes/toutpratique/modules/mailalerts/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/mailalerts/views/templates/hook/my-account.tpl b/themes/toutpratique/modules/mailalerts/views/templates/hook/my-account.tpl new file mode 100644 index 00000000..baef4a1d --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/hook/my-account.tpl @@ -0,0 +1,31 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +
    25. + + + {l s='My alerts' mod='mailalerts'} + +
    26. diff --git a/themes/toutpratique/modules/mailalerts/views/templates/hook/product.tpl b/themes/toutpratique/modules/mailalerts/views/templates/hook/product.tpl new file mode 100644 index 00000000..c4a9c492 --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/hook/product.tpl @@ -0,0 +1,44 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + {if isset($email) AND $email} +

      + +

      + {/if} + {l s='Notify me when available' mod='mailalerts'} + +{strip} +{addJsDef oosHookJsCodeFunctions=array('oosHookJsCodeMailAlert')} +{addJsDef mailalerts_url_check=$link->getModuleLink('mailalerts', 'actions', ['process' => 'check'])} +{addJsDef mailalerts_url_add=$link->getModuleLink('mailalerts', 'actions', ['process' => 'add'])} + +{addJsDefL name='mailalerts_placeholder'}{l s='your@email.com' mod='mailalerts' js=1}{/addJsDefL} +{addJsDefL name='mailalerts_registered'}{l s='Request notification registered' mod='mailalerts' js=1}{/addJsDefL} +{addJsDefL name='mailalerts_already'}{l s='You already have an alert for this product' mod='mailalerts' js=1}{/addJsDefL} +{addJsDefL name='mailalerts_invalid'}{l s='Your e-mail address is invalid' mod='mailalerts' js=1}{/addJsDefL} +{/strip} + \ No newline at end of file diff --git a/themes/toutpratique/modules/mailalerts/views/templates/index.php b/themes/toutpratique/modules/mailalerts/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/mailalerts/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/pictos/translations/fr.php b/themes/toutpratique/modules/pictos/translations/fr.php new file mode 100644 index 00000000..5abca1c2 --- /dev/null +++ b/themes/toutpratique/modules/pictos/translations/fr.php @@ -0,0 +1,47 @@ +pictos_a35ac1b21808df448942652c784f86ac'] = 'Pictogrammes'; +$_MODULE['<{pictos}wedigital>pictos_e287d1d7412a79b6a39103d4520d9c9c'] = 'Permet d\'ajouter des pictogrammes au page produits et categories'; +$_MODULE['<{pictos}wedigital>pictos_b22c26193b825a709491b9435218a8db'] = 'Êtes vous sûr de vouloir supprimer le moduile Pictogrammes ?'; +$_MODULE['<{pictos}wedigital>pictos_a368c5e6a51408adaae3e90a6dbca7bd'] = 'Dupliquer le pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_f942b4a1e1a7dbe47c0a8d0530fc95e8'] = 'Dupliquer sur tous les produits et sous catégories'; +$_MODULE['<{pictos}wedigital>pictos_62f5d708d6ad1fa1ddd9429a65cccbea'] = 'Toutes les catégories'; +$_MODULE['<{pictos}wedigital>pictos_4fce137ad759e1ceba0e561a9c393b0a'] = 'Dupliquer les pictogrammes sélectionnés sur toutes les sous-catégories'; +$_MODULE['<{pictos}wedigital>pictos_ed75712b0eb1913c28a3872731ffd48d'] = 'Dupliquer'; +$_MODULE['<{pictos}wedigital>pictos_6e610440d4f9cae2f66e57e4018bc96a'] = 'Ajouter un pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_b78a3223503896721cca1303f776159b'] = 'Titre'; +$_MODULE['<{pictos}wedigital>pictos_a2e92861b757ab878312dd57993d60cf'] = 'Alt'; +$_MODULE['<{pictos}wedigital>pictos_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Lien'; +$_MODULE['<{pictos}wedigital>pictos_cee89aaeb20c013bafb9c1292e7a2566'] = 'Pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description'; +$_MODULE['<{pictos}wedigital>pictos_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{pictos}wedigital>pictos_c07aaee81d0e01e65b7b8e763507fdf9'] = 'Paramètres pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_1e1cee765c8bfaca8555ef23af542eb9'] = 'Largeur pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_7d635df70ef8357c9bef354ed2f8c91e'] = 'Mettre a zéro'; +$_MODULE['<{pictos}wedigital>pictos_3f0a7610f4097d23b38a1464403cf3f3'] = 'Hauteur pictogramme'; +$_MODULE['<{pictos}wedigital>pictos_61cbc2d26b4157292673c772ddd6c0f7'] = 'Mise à jour Paramètres'; +$_MODULE['<{pictos}wedigital>pictos_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{pictos}wedigital>pictos_b34fbce838af37d769d4338bd2746306'] = 'Liste de pictogrammes'; +$_MODULE['<{pictos}wedigital>pictos_4757fe07fd492a8be0ea6a760d683d6e'] = 'position'; +$_MODULE['<{pictos}wedigital>pictos_ecd714e7a4ee9ae9f2a7744c33863fd8'] = 'Pictogrammes selectionnés'; +$_MODULE['<{pictos}wedigital>pictos_92159a12761fa8bd7290d2d95f40d754'] = 'Pictogrammes disponibles'; +$_MODULE['<{pictos}wedigital>pictos_7cc92687130ea12abb80556681538001'] = 'An error occurred during the image upload process.'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b78a3223503896721cca1303f776159b'] = 'Titre'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_cee89aaeb20c013bafb9c1292e7a2566'] = 'Pictogramme'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_16ed8eb4348e5e9fef009d863fc4147d'] = 'Nouveau pictogramme'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_a2e92861b757ab878312dd57993d60cf'] = 'Alt'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_97e7c9a7d06eac006a28bf05467fcc8b'] = 'Lien'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_7cc92687130ea12abb80556681538001'] = 'An error occurred during the image upload process.'; +$_MODULE['<{pictos}wedigital>product_pictos_d6e0151c58923ed2b3c8d35fe3807cfd'] = 'Vous devez enregistrer votre produit avant de pouvoir lui assigner des pictogrammes'; +$_MODULE['<{pictos}wedigital>product_pictos_28647d18889b84b70a98fa08b8f9b125'] = 'Pictogrammes sélectionnés'; +$_MODULE['<{pictos}wedigital>product_pictos_51ec9bf4aaeab1b25bb57f9f8d4de557'] = 'Titre:'; +$_MODULE['<{pictos}wedigital>product_pictos_9384a92dd43dd4441002c41142235b54'] = 'Alt:'; +$_MODULE['<{pictos}wedigital>product_pictos_ef2f59f06132ddc2e1bc8d00abbe6e02'] = 'Lien:'; +$_MODULE['<{pictos}wedigital>product_pictos_37cc7f4e41b7624b1d3145a066b609e0'] = 'Desc:'; +$_MODULE['<{pictos}wedigital>product_pictos_b5eff074822a501afe0f2c78de24a855'] = 'Sélectionnez vos pictogrammes'; diff --git a/themes/toutpratique/modules/productcomments/index.php b/themes/toutpratique/modules/productcomments/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/productcomments/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/productcomments/pictos/translations/fr.php b/themes/toutpratique/modules/productcomments/pictos/translations/fr.php new file mode 100644 index 00000000..5f818425 --- /dev/null +++ b/themes/toutpratique/modules/productcomments/pictos/translations/fr.php @@ -0,0 +1,47 @@ +pictos_a35ac1b21808df448942652c784f86ac'] = 'Pictogrammes'; +$_MODULE['<{pictos}wedigital>pictos_e287d1d7412a79b6a39103d4520d9c9c'] = ''; +$_MODULE['<{pictos}wedigital>pictos_b22c26193b825a709491b9435218a8db'] = 'Êtes vous sûr de vouloir supprimer le moduile Pictogrammes ?'; +$_MODULE['<{pictos}wedigital>pictos_a368c5e6a51408adaae3e90a6dbca7bd'] = ''; +$_MODULE['<{pictos}wedigital>pictos_f942b4a1e1a7dbe47c0a8d0530fc95e8'] = ''; +$_MODULE['<{pictos}wedigital>pictos_62f5d708d6ad1fa1ddd9429a65cccbea'] = ''; +$_MODULE['<{pictos}wedigital>pictos_4fce137ad759e1ceba0e561a9c393b0a'] = ''; +$_MODULE['<{pictos}wedigital>pictos_ed75712b0eb1913c28a3872731ffd48d'] = ''; +$_MODULE['<{pictos}wedigital>pictos_6e610440d4f9cae2f66e57e4018bc96a'] = ''; +$_MODULE['<{pictos}wedigital>pictos_b78a3223503896721cca1303f776159b'] = ''; +$_MODULE['<{pictos}wedigital>pictos_a2e92861b757ab878312dd57993d60cf'] = ''; +$_MODULE['<{pictos}wedigital>pictos_97e7c9a7d06eac006a28bf05467fcc8b'] = ''; +$_MODULE['<{pictos}wedigital>pictos_cee89aaeb20c013bafb9c1292e7a2566'] = ''; +$_MODULE['<{pictos}wedigital>pictos_b5a7adde1af5c87d7fd797b6245c2a39'] = ''; +$_MODULE['<{pictos}wedigital>pictos_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{pictos}wedigital>pictos_c07aaee81d0e01e65b7b8e763507fdf9'] = ''; +$_MODULE['<{pictos}wedigital>pictos_1e1cee765c8bfaca8555ef23af542eb9'] = ''; +$_MODULE['<{pictos}wedigital>pictos_7d635df70ef8357c9bef354ed2f8c91e'] = ''; +$_MODULE['<{pictos}wedigital>pictos_3f0a7610f4097d23b38a1464403cf3f3'] = ''; +$_MODULE['<{pictos}wedigital>pictos_61cbc2d26b4157292673c772ddd6c0f7'] = ''; +$_MODULE['<{pictos}wedigital>pictos_b718adec73e04ce3ec720dd11a06a308'] = ''; +$_MODULE['<{pictos}wedigital>pictos_b34fbce838af37d769d4338bd2746306'] = ''; +$_MODULE['<{pictos}wedigital>pictos_4757fe07fd492a8be0ea6a760d683d6e'] = ''; +$_MODULE['<{pictos}wedigital>pictos_ecd714e7a4ee9ae9f2a7744c33863fd8'] = ''; +$_MODULE['<{pictos}wedigital>pictos_92159a12761fa8bd7290d2d95f40d754'] = ''; +$_MODULE['<{pictos}wedigital>pictos_7cc92687130ea12abb80556681538001'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b718adec73e04ce3ec720dd11a06a308'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b78a3223503896721cca1303f776159b'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_cee89aaeb20c013bafb9c1292e7a2566'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_b5a7adde1af5c87d7fd797b6245c2a39'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_3adbdb3ac060038aa0e6e6c138ef9873'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_16ed8eb4348e5e9fef009d863fc4147d'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_a2e92861b757ab878312dd57993d60cf'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_97e7c9a7d06eac006a28bf05467fcc8b'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_c9cc8cce247e49bae79f15173ce97354'] = ''; +$_MODULE['<{pictos}wedigital>adminpictoscontroller_7cc92687130ea12abb80556681538001'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_d6e0151c58923ed2b3c8d35fe3807cfd'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_28647d18889b84b70a98fa08b8f9b125'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_51ec9bf4aaeab1b25bb57f9f8d4de557'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_9384a92dd43dd4441002c41142235b54'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_ef2f59f06132ddc2e1bc8d00abbe6e02'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_37cc7f4e41b7624b1d3145a066b609e0'] = ''; +$_MODULE['<{pictos}wedigital>product_pictos_b5eff074822a501afe0f2c78de24a855'] = ''; diff --git a/themes/toutpratique/modules/productcomments/productcomments-extra.tpl b/themes/toutpratique/modules/productcomments/productcomments-extra.tpl new file mode 100644 index 00000000..11cbb1e8 --- /dev/null +++ b/themes/toutpratique/modules/productcomments/productcomments-extra.tpl @@ -0,0 +1,64 @@ + {* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if (!$content_only && (($nbComments == 0 && $too_early == false && ($is_logged || $allow_guests)) || ($nbComments != 0)))} +
      + {if $nbComments != 0} +
      + {l s='Rating' mod='productcomments'}  +
      + {section name="i" start=0 loop=5 step=1} + {if $averageTotal le $smarty.section.i.index} +
      + {else} +
      + {/if} + {/section} + + + +
      +
      + {/if} + + +
      +{/if} + diff --git a/themes/toutpratique/modules/productcomments/productcomments.tpl b/themes/toutpratique/modules/productcomments/productcomments.tpl new file mode 100644 index 00000000..f34e770e --- /dev/null +++ b/themes/toutpratique/modules/productcomments/productcomments.tpl @@ -0,0 +1,195 @@ +{* +* 2007-2015 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 newersend_friend_form_content +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
      +
      + {if $comments} + {foreach from=$comments item=comment} + {if $comment.content} +
      +
      + {l s='Grade' mod='productcomments'}  +
      + {section name="i" start=0 loop=5 step=1} + {if $comment.grade le $smarty.section.i.index} +
      + {else} +
      + {/if} + {/section} + + + +
      +
      + + + {dateFormat date=$comment.date_add|escape:'html':'UTF-8' full=0} +
      +
      + +
      +

      + {$comment.title} +

      +

      {$comment.content|escape:'html':'UTF-8'|nl2br}

      +
        + {if $comment.total_advice > 0} +
      • + {l s='%1$d out of %2$d people found this review useful.' sprintf=[$comment.total_useful,$comment.total_advice] mod='productcomments'} +
      • + {/if} + {if $is_logged} + {if !$comment.customer_advice} +
      • + {l s='Was this comment useful to you?' mod='productcomments'} + + +
      • + {/if} + {if !$comment.customer_report} +
      • + + {l s='Report abuse' mod='productcomments'} + +
      • + {/if} + {/if} +
      +
      + +
      + {/if} + {/foreach} + {if (!$too_early AND ($is_logged OR $allow_guests))} +

      + + {l s='Write your review!' mod='productcomments'} + +

      + {/if} + {else} + {if (!$too_early AND ($is_logged OR $allow_guests))} +

      + + {l s='Be the first to write your review!' mod='productcomments'} + +

      + {else} +

      {l s='No customer reviews for the moment.' mod='productcomments'}

      + {/if} + {/if} +
      +
      + + +
      +
      +
      +

      + {l s='Write a review' mod='productcomments'} +

      +
      + {if isset($product) && $product} +
      + {$product->name|escape:'html':'UTF-8'} +
      +

      + {$product->name} +

      + {$product->description_short} +
      +
      + {/if} +
      + + {if $criterions|@count > 0} +
        + {foreach from=$criterions item='criterion'} +
      • + +
        + + + + + +
        +
        +
      • + {/foreach} +
      + {/if} + + + + + {if $allow_guests == true && !$is_logged} + + + {/if} + +
      +
      +
      +
      +
      + +{strip} +{addJsDef productcomments_controller_url=$productcomments_controller_url|@addcslashes:'\''} +{addJsDef moderation_active=$moderation_active|boolval} +{addJsDef productcomments_url_rewrite=$productcomments_url_rewriting_activated|boolval} +{addJsDef secure_key=$secure_key} + +{addJsDefL name=confirm_report_message}{l s='Are you sure that you want to report this comment?' mod='productcomments' js=1}{/addJsDefL} +{addJsDefL name=productcomment_added}{l s='Your comment has been added!' mod='productcomments' js=1}{/addJsDefL} +{addJsDefL name=productcomment_added_moderation}{l s='Your comment has been added and will be available once approved by a moderator.' mod='productcomments' js=1}{/addJsDefL} +{addJsDefL name=productcomment_title}{l s='New comment' mod='productcomments' js=1}{/addJsDefL} +{addJsDefL name=productcomment_ok}{l s='OK' mod='productcomments' js=1}{/addJsDefL} +{/strip} diff --git a/themes/toutpratique/modules/productcomments/productcomments_reviews.tpl b/themes/toutpratique/modules/productcomments/productcomments_reviews.tpl new file mode 100644 index 00000000..2ab65017 --- /dev/null +++ b/themes/toutpratique/modules/productcomments/productcomments_reviews.tpl @@ -0,0 +1,42 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($nbComments) && $nbComments > 0} +
      +
      + {section name="i" start=0 loop=5 step=1} + {if $averageTotal le $smarty.section.i.index} +
      + {else} +
      + {/if} + {/section} + + + +
      + {$nbComments} {l s='Review(s)' mod='productcomments'} +
      +{/if} diff --git a/themes/toutpratique/modules/productcomments/productcomments_top.tpl b/themes/toutpratique/modules/productcomments/productcomments_top.tpl new file mode 100644 index 00000000..e69de29b diff --git a/themes/toutpratique/modules/productcomments/products-comparison.tpl b/themes/toutpratique/modules/productcomments/products-comparison.tpl new file mode 100644 index 00000000..c742d87f --- /dev/null +++ b/themes/toutpratique/modules/productcomments/products-comparison.tpl @@ -0,0 +1,103 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + {l s='Comments' mod='productcomments'} + + {foreach from=$list_ids_product item=id_product} + + {/foreach} + + +{foreach from=$grades item=grade key=grade_id} + + {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} + + {$grade} + + {foreach from=$list_ids_product item=id_product} + {assign var='tab_grade' value=$product_grades[$grade_id]} + + {if isset($tab_grade[$id_product]) AND $tab_grade[$id_product]} +
      + {section loop=6 step=1 start=1 name=average} + + {/section} +
      + {else} + - + {/if} + + {/foreach} + +{/foreach} + +{cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} + + + {l s='Average' mod='productcomments'} + + {foreach from=$list_ids_product item=id_product} + + {if isset($list_product_average[$id_product]) AND $list_product_average[$id_product]} +
      + {section loop=6 step=1 start=1 name=average} + + {/section} +
      + {else} + - + {/if} + + {/foreach} + + + +  + {foreach from=$list_ids_product item=id_product} + + {if isset($product_comments[$id_product]) AND $product_comments[$id_product]} + + + {l s='View comments' mod='productcomments'} + + + + {else} + - + {/if} + + {/foreach} + diff --git a/themes/toutpratique/modules/productcomments/tab.tpl b/themes/toutpratique/modules/productcomments/tab.tpl new file mode 100644 index 00000000..b0b6a3d6 --- /dev/null +++ b/themes/toutpratique/modules/productcomments/tab.tpl @@ -0,0 +1,26 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +

      {l s='Reviews' mod='productcomments'}

      \ No newline at end of file diff --git a/themes/toutpratique/modules/productcomments/translations/fr.php b/themes/toutpratique/modules/productcomments/translations/fr.php new file mode 100644 index 00000000..7f2aeba2 --- /dev/null +++ b/themes/toutpratique/modules/productcomments/translations/fr.php @@ -0,0 +1,111 @@ +productcommentcriterion_a09ed6c60eb3213939cecb4c580813cd'] = 'Disponible pour le catalogue entier'; +$_MODULE['<{productcomments}wedigital>productcommentcriterion_467366059d7d7c743a4d0971363a8d66'] = 'Restreint à certaines catégories'; +$_MODULE['<{productcomments}wedigital>productcommentcriterion_772911becd336c843ab09a1d4b4f66c0'] = 'Restreint à certains produits'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_fd4b5401d4d3c7d32d158bfc1e552f3b'] = 'Veuillez donner votre nom'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_f88dc17737f7fdd4464b2eb922a8f133'] = 'Une erreur s\'est produite lors de l\'enregistrement de votre commentaire.'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_7fa4a3510dafd0eac6435c19861b2bb7'] = 'Commentaire publié.'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_f8694a9aae2eb045920f613cfa7f1235'] = 'En attente de la validation de la modération.'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_6bf852d9850445291f5e9d4740ac7b50'] = 'Un texte de commentaire est nécessaire.'; +$_MODULE['<{productcomments}wedigital>productcomments-ajax_8aafe254c3e8dceb6425591b322044f2'] = 'Vous devriez attendre %d secondes avant de publier un nouveau commentaire.'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_7c3b0e9898b88deee7ea75aafd2e37e2'] = 'Note moyenne'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_a71a0229e164fecdcde3c4e0f40473fa'] = 'Lire les avis utilisateurs'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_7966126831926ad29c528b239d69f855'] = 'Donner votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_b91c4e8b229a399a3bc911d352524a9b'] = 'Commentaires produits'; +$_MODULE['<{productcomments}wedigital>productcomments_a8cd99c74a32936a90127454a02d7500'] = 'Autoriser les utilisateurs à à publier des avis et à noter les produits sur des critères spécifiques.'; +$_MODULE['<{productcomments}wedigital>productcomments_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{productcomments}wedigital>productcomments_8a4c4c1ccc2b1c3b89e828e24ef591a8'] = 'Le critère n\'a pas pu être enregistré'; +$_MODULE['<{productcomments}wedigital>productcomments_1bb54e382f7dbdb260f0aa6b42bb624b'] = 'Critère supprimé'; +$_MODULE['<{productcomments}wedigital>productcomments_254f642527b45bc260048e30704edb39'] = 'Paramètres'; +$_MODULE['<{productcomments}wedigital>productcomments_cf2fcb22e6342dea54b0cc34bb521752'] = 'Tous les avis doivent être validés par un employé'; +$_MODULE['<{productcomments}wedigital>productcomments_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{productcomments}wedigital>productcomments_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{productcomments}wedigital>productcomments_4e26bb46aa3f40913ee95cfb1d6c82f9'] = 'Autoriser les avis de visiteurs qui n\'ont pas de compte client'; +$_MODULE['<{productcomments}wedigital>productcomments_9dc1140983196141368ceda7565128a8'] = 'Temps minimum entre 2 avis d\'un même utilisateur'; +$_MODULE['<{productcomments}wedigital>productcomments_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{productcomments}wedigital>productcomments_2ec265696a51530949d345239069f0d4'] = 'Avis en attente de validation'; +$_MODULE['<{productcomments}wedigital>productcomments_655d20c1ca69519ca647684edbb2db35'] = 'Haute'; +$_MODULE['<{productcomments}wedigital>productcomments_87f8a6ab85c9ced3702b4ea641ad4bb5'] = 'Moyenne'; +$_MODULE['<{productcomments}wedigital>productcomments_28d0edd045e05cf5af64e35ae0c4c6ef'] = 'Basse'; +$_MODULE['<{productcomments}wedigital>productcomments_eb7d6baeb8bbf339547da7e0d6c5e416'] = 'Avis signalés'; +$_MODULE['<{productcomments}wedigital>productcomments_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{productcomments}wedigital>productcomments_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{productcomments}wedigital>productcomments_a1fa27779242b4902f7ae3bdd5c6d508'] = 'Type'; +$_MODULE['<{productcomments}wedigital>productcomments_ec53a8c4f07baed5d8825072c89799be'] = 'État'; +$_MODULE['<{productcomments}wedigital>productcomments_8726894930330c61dd2c24ba8265364b'] = 'Ajouter un critère'; +$_MODULE['<{productcomments}wedigital>productcomments_7e4bfd4a7edc975e301bb508a8f218f7'] = 'Critères d\'évaluation'; +$_MODULE['<{productcomments}wedigital>productcomments_2608831883bb20ab520b70b4350aa23a'] = 'Avis validés'; +$_MODULE['<{productcomments}wedigital>productcomments_f8a0aa69f5ce41287f02c2d182306f52'] = 'Titre de l\'avis'; +$_MODULE['<{productcomments}wedigital>productcomments_457dd55184faedb7885afd4009d70163'] = 'Avis'; +$_MODULE['<{productcomments}wedigital>productcomments_dda9c06f33071c9b6fc237ee164109d8'] = 'Note'; +$_MODULE['<{productcomments}wedigital>productcomments_a517747c3d12f99244ae598910d979c5'] = 'Auteur'; +$_MODULE['<{productcomments}wedigital>productcomments_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{productcomments}wedigital>productcomments_0f46dacf1a6ecab8ce1cb97250bb8113'] = 'Date de publication'; +$_MODULE['<{productcomments}wedigital>productcomments_f3d8e91894baa7ee67e0649abcc092ff'] = 'Le critère sera restreint aux catégories suivantes'; +$_MODULE['<{productcomments}wedigital>productcomments_d3dc571a8be516766c8124a636290fd9'] = 'Cochez les cases des catégories auxquelles ce critère s\'applique.'; +$_MODULE['<{productcomments}wedigital>productcomments_91b442d385b54e1418d81adc34871053'] = 'Sélectionnés'; +$_MODULE['<{productcomments}wedigital>productcomments_b56c3bda503a8dc4be356edb0cc31793'] = 'Réduire tout'; +$_MODULE['<{productcomments}wedigital>productcomments_5ffd7a335dd836b3373f5ec570a58bdc'] = 'Ouvrir tout'; +$_MODULE['<{productcomments}wedigital>productcomments_5e9df908eafa83cb51c0a3720e8348c7'] = 'Tout cocher'; +$_MODULE['<{productcomments}wedigital>productcomments_9747d23c8cc358c5ef78c51e59cd6817'] = 'Tout décocher'; +$_MODULE['<{productcomments}wedigital>productcomments_38fc05fb7f02497ea56b77fe085ffc78'] = 'Ajouter un critère'; +$_MODULE['<{productcomments}wedigital>productcomments_92a497b6a43b59cce82c604a4c834bb0'] = 'Nom du critère'; +$_MODULE['<{productcomments}wedigital>productcomments_bbda28827cde1064b0320cbf6b1890a2'] = 'Cadre d\'application du critère'; +$_MODULE['<{productcomments}wedigital>productcomments_20089c27bf83463fe32e7d30ed9d8f81'] = 'Le critère sera restreint aux produits suivants'; +$_MODULE['<{productcomments}wedigital>productcomments_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Activé'; +$_MODULE['<{productcomments}wedigital>productcomments_6f7351657f795bc1357a53142b1184cc'] = 'Approuver'; +$_MODULE['<{productcomments}wedigital>productcomments_ecf74aa77715220b378ec668e75655a8'] = 'Non abusif'; +$_MODULE['<{productcomments}wedigital>productcomments_reviews_e32b7983d3bf98a65e3e96c393867dfa'] = '%s Commentaire(s)'; +$_MODULE['<{productcomments}wedigital>productcomments_ab51a81c76d95ddc762194d58ec5db63'] = 'Êtes-vous certain de vouloir signaler ce commentaire ?'; +$_MODULE['<{productcomments}wedigital>productcomments_9a2ccd41653469a8bd94fbb84b271a14'] = 'Votre commentaire a été rajouté!'; +$_MODULE['<{productcomments}wedigital>productcomments_b20968d9aecd2d075519992e9e2f1ffe'] = 'Votre commentaire a bien été enregistré. Il sera affiché dès qu\'un modérateur l\'aura approuvé.'; +$_MODULE['<{productcomments}wedigital>productcomments_186c30cab59f6b64a453778330d4bbf0'] = 'Nouveau commentaire'; +$_MODULE['<{productcomments}wedigital>productcomments_e0aa021e21dddbd6d8cecec71e9cf564'] = 'ok'; +$_MODULE['<{productcomments}wedigital>productcomments_4b3b9db8c9784468094acde0f8bf7071'] = 'Note'; +$_MODULE['<{productcomments}wedigital>productcomments_b5c82723bd85856358f9a376bc613998'] = '%1$d personne(s) sur %2$d ont trouvé ce commentaire utile.'; +$_MODULE['<{productcomments}wedigital>productcomments_39630ad6ee79b8653ea89194cdb45bec'] = 'Ce commentaire vous a-t-il été utile ?'; +$_MODULE['<{productcomments}wedigital>productcomments_a6105c0a611b41b08f1209506350279e'] = 'oui'; +$_MODULE['<{productcomments}wedigital>productcomments_7fa3b767c460b54a2be4d49030b349c7'] = 'non'; +$_MODULE['<{productcomments}wedigital>productcomments_28b3b1e564a00f572c5d4e21da986d49'] = 'Signaler un abus'; +$_MODULE['<{productcomments}wedigital>productcomments_7966126831926ad29c528b239d69f855'] = 'Donner votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_fbe2625bf3673be380d043a4bf873f28'] = 'Soyez le premier à donner votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_08c7d6f84301ee7d0aab0a5f67edc419'] = 'Aucun avis n\'a été publié pour le moment.'; +$_MODULE['<{productcomments}wedigital>productcomments_45dacce3e2bc0f7bebde95098b9326a8'] = 'Titre de l\'avis'; +$_MODULE['<{productcomments}wedigital>productcomments_3421ad00975533fbbd5f17d2cb568125'] = 'Votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_221e705c06e231636fdbccfdd14f4d5c'] = 'Votre nom'; +$_MODULE['<{productcomments}wedigital>productcomments_70397c4b252a5168c5ec003931cea215'] = 'Champs requis'; +$_MODULE['<{productcomments}wedigital>productcomments_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer'; +$_MODULE['<{productcomments}wedigital>productcomments_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'OU'; +$_MODULE['<{productcomments}wedigital>productcomments_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{productcomments}wedigital>products-comparison_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Commentaires'; +$_MODULE['<{productcomments}wedigital>products-comparison_b1897515d548a960afe49ecf66a29021'] = 'Moyenne'; +$_MODULE['<{productcomments}wedigital>products-comparison_bc976f6c3405523cde61f63a7cbe224b'] = 'Afficher les avis'; +$_MODULE['<{productcomments}wedigital>tab_8413c683b4b27cc3f4dbd4c90329d8ba'] = 'Commentaires'; +$_MODULE['<{productcomments}wedigital>default_da3e413ae5dde1a6b986203857fb1a59'] = 'L\'ID produit n\'est pas correct'; +$_MODULE['<{productcomments}wedigital>default_7b0bf23ae4079e07a3a4cb4d07e2caef'] = 'Le titre est incorrect'; +$_MODULE['<{productcomments}wedigital>default_ddbd56de5feb78ef1aaf60401f8c472b'] = 'Le commentaire est incorrect'; +$_MODULE['<{productcomments}wedigital>default_1b1030b6294e9096a7d7c40d83d61872'] = 'Le nom est incorrect'; +$_MODULE['<{productcomments}wedigital>default_26510b8eb6e6053f5e91d51171967ca9'] = 'Vous devez être connecté afin de laisser un commentaire'; +$_MODULE['<{productcomments}wedigital>default_a201fbadca94d310a1b62407cdc775d5'] = 'Vous devez donner une note'; +$_MODULE['<{productcomments}wedigital>default_dfbe69c6d9568ecb0e65e7b32ed92a3a'] = 'Le produit n\'a pas été trouvé'; +$_MODULE['<{productcomments}wedigital>default_6d10b2f471e8894d59ae18e01537ece5'] = 'Veuillez patienter avant de publier un autre commentaire'; +$_MODULE['<{productcomments}wedigital>default_ba8d7ae5dcadfba739f28a777378f208'] = 'secondes avant de poster un nouveau commentaire'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_dda9c06f33071c9b6fc237ee164109d8'] = 'Note'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_899139b5174d8d7a6e38a0360008a695'] = 'Lire les avis'; +$_MODULE['<{productcomments}wedigital>productcomments-extra_c31732fda0c6f01c446db7163b214de4'] = 'Donnez votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_reviews_d844ad9202d0de8442498775ba6ef819'] = 'Commentaire(s)'; +$_MODULE['<{productcomments}wedigital>productcomments_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{productcomments}wedigital>productcomments_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{productcomments}wedigital>productcomments_c565011debb8e2812ef12853eb6a38a9'] = 'Donnez votre avis !'; +$_MODULE['<{productcomments}wedigital>productcomments_f444678e4f3575d59b32a858630741fd'] = 'Soyez le premier à donner votre avis !'; +$_MODULE['<{productcomments}wedigital>productcomments_c31732fda0c6f01c446db7163b214de4'] = 'Donnez votre avis'; +$_MODULE['<{productcomments}wedigital>productcomments_51ec9bf4aaeab1b25bb57f9f8d4de557'] = 'Titre :'; +$_MODULE['<{productcomments}wedigital>productcomments_240f3031f25601fa128bd4e15f0a37de'] = 'Commentaire :'; +$_MODULE['<{productcomments}wedigital>productcomments_a2ed44743411cf8b80e397448fce104c'] = 'Votre nom :'; +$_MODULE['<{productcomments}wedigital>productcomments_a4d3b161ce1309df1c4e25df28694b7b'] = 'ENVOYER'; +$_MODULE['<{productcomments}wedigital>productcomments_4e3ee0f5bd8f527715fb0776741b9754'] = 'Votre commentaire a bien été enregistré. Il sera affiché dès qu\'un modérateur l\'aura approuvé.'; +$_MODULE['<{productcomments}wedigital>products-comparison_5d9acecbb0b55a71dea7403896356001'] = 'Afficher les avis'; +$_MODULE['<{productcomments}wedigital>tab_34e80a799d144cfe4af46815e103f017'] = 'Avis'; diff --git a/themes/toutpratique/modules/productpaymentlogos/translations/fr.php b/themes/toutpratique/modules/productpaymentlogos/translations/fr.php new file mode 100644 index 00000000..637478fd --- /dev/null +++ b/themes/toutpratique/modules/productpaymentlogos/translations/fr.php @@ -0,0 +1,15 @@ +productpaymentlogos_1056d03db619b016d8fc6b60d08ef488'] = 'Bloc logos des modules de paiement'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_88fd6d994459806f2dcb8999ac03c76e'] = 'Affiche sur la page produit les logos des solutions de paiement disponibles.'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_126b21ce46c39d12c24058791a236777'] = 'image non valable'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_df7859ac16e724c9b1fba0a364503d72'] = 'une erreur s\'est produite lors de l\'envoi'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_223795d3a336ef80c5b6a070ae4e0d2a'] = 'En-tête du bloc'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_c7dd01cfb61ff8c984c0aff44f6540e3'] = 'Vous pouvez choisir d\'ajouter un titre au-dessus des logos.'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_89ca5c48bbc6b7a648a5c1996767484c'] = 'Image'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_9ce38727cff004a058021a6c7351a74a'] = 'Lien de l\'image'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_826eeee52fe142372c3a2bc195eff911'] = 'Vous pouvez soit mettre votre propre image en ligne à l\'aide du formulaire ci-dessus, ou mettre un lien vers celle-ci grâce à l\'option \"Lien de l\'image\".'; +$_MODULE['<{productpaymentlogos}wedigital>productpaymentlogos_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/productscategory/index.php b/themes/toutpratique/modules/productscategory/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/productscategory/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/productscategory/productscategory.tpl b/themes/toutpratique/modules/productscategory/productscategory.tpl new file mode 100644 index 00000000..64d0e671 --- /dev/null +++ b/themes/toutpratique/modules/productscategory/productscategory.tpl @@ -0,0 +1,62 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if count($categoryProducts) > 0 && $categoryProducts !== false} +
      +

      {$categoryProducts|@count} {l s='other products in the same category:' mod='productscategory'}

      +
      +
        + {foreach from=$categoryProducts item='categoryProduct' name=categoryProduct} +
      • + {$categoryProduct.name|htmlspecialchars} + +
        + {$categoryProduct.name|truncate:14:'...'|escape:'html':'UTF-8'} +
        + {if $ProdDisplayPrice && $categoryProduct.show_price == 1 && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} +

        + {if isset($categoryProduct.specific_prices) && $categoryProduct.specific_prices + && ($categoryProduct.displayed_price|number_format:2 !== $categoryProduct.price_without_reduction|number_format:2)} + + {convertPrice price=$categoryProduct.displayed_price} + {if $categoryProduct.specific_prices.reduction && $categoryProduct.specific_prices.reduction_type == 'percentage'} + -{$categoryProduct.specific_prices.reduction * 100}% + {/if} + {displayWtPrice p=$categoryProduct.price_without_reduction} + + {else} + + {convertPrice price=$categoryProduct.displayed_price} + + {/if} +

        + {else} +
        + {/if} +
      • + {/foreach} +
      +
      +
      +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/pscleaner/translations/fr.php b/themes/toutpratique/modules/pscleaner/translations/fr.php new file mode 100644 index 00000000..ca8c015c --- /dev/null +++ b/themes/toutpratique/modules/pscleaner/translations/fr.php @@ -0,0 +1,29 @@ +pscleaner_e5a8af934462c05509c7de5f2f2c18a3'] = 'Nettoyage de PrestaShop'; +$_MODULE['<{pscleaner}wedigital>pscleaner_4bcb9cc248b7f6c8dc7f5c323bde76de'] = 'Vérifie et répare les problèmes d\'intégrité fonctionnelle et supprime les données par défaut (produits, commandes, clients)'; +$_MODULE['<{pscleaner}wedigital>pscleaner_752369f18aebeed9ae8384d8f1b5dc5e'] = 'Soyez très attentifs en utilisant cet outil, il n\'y a pas de retour en arrière possible !'; +$_MODULE['<{pscleaner}wedigital>pscleaner_550b877b1a255ba717cfad4b82057731'] = 'Les requêtes suivantes ont permis de réparer certaines données:'; +$_MODULE['<{pscleaner}wedigital>pscleaner_14a7ab23d566b4505d0c711338c19a08'] = '%d ligne(s)'; +$_MODULE['<{pscleaner}wedigital>pscleaner_d1ff3c9d57acd4283d2793a36737479e'] = 'Il n\'y a rien qui nécessite d\'être réparé.'; +$_MODULE['<{pscleaner}wedigital>pscleaner_53d097f11855337bb74f1444d6c47c99'] = 'Les requêtes suivantes ont permis de nettoyer votre base de données avec succès :'; +$_MODULE['<{pscleaner}wedigital>pscleaner_098c3581a731f08d24311bbf515adbbb'] = 'Félicitations, tout est déjà en ordre!'; +$_MODULE['<{pscleaner}wedigital>pscleaner_1bb7c5eb8682aeada82c407b40ec09c8'] = 'Catalogue supprimé'; +$_MODULE['<{pscleaner}wedigital>pscleaner_ed6ecb7169d5476ef5251524bb17552a'] = 'Commandes et clients supprimés'; +$_MODULE['<{pscleaner}wedigital>pscleaner_43364f357f96e8b70be4a44d44196807'] = 'Veuillez lire les mises en garde et cliquer sur le bouton pour les approuver.'; +$_MODULE['<{pscleaner}wedigital>pscleaner_6c69628e1d57fa6e39162b039a82133b'] = 'Souhaitez-vous supprimer le catalogue produit ?'; +$_MODULE['<{pscleaner}wedigital>pscleaner_6a68264705f23c8e3d505fd2c93a87ba'] = 'Souhaitez-vous supprimer commandes et clients ?'; +$_MODULE['<{pscleaner}wedigital>pscleaner_c32516babc5b6c47eb8ce1bfc223253c'] = 'Catalogue'; +$_MODULE['<{pscleaner}wedigital>pscleaner_da69e50b7440e12fe63287904819eaa3'] = 'J\'ai bien compris que tout le catalogue sera supprimé sans possibilité de retour en arrière : produits, caractéristiques, catégories, mot-clés, images, prix, fichiers joints, scènes, stocks, groupes et valeurs d\'attributs, fabricants, fournisseurs...'; +$_MODULE['<{pscleaner}wedigital>pscleaner_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{pscleaner}wedigital>pscleaner_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{pscleaner}wedigital>pscleaner_b2d7c99e984831bd36221baf34e9c26e'] = 'Supprimer le catalogue'; +$_MODULE['<{pscleaner}wedigital>pscleaner_3300d0bf086fa38cf593fe4feff351f1'] = 'Commandes et clients'; +$_MODULE['<{pscleaner}wedigital>pscleaner_a01f9a9a340c3c68a2dc4663f46d8637'] = 'J\'ai bien compris que tous les clients et commandes seront supprimés sans possibilité de retour en arrière : clients, paniers, commandes, connexions, visiteurs, stats...'; +$_MODULE['<{pscleaner}wedigital>pscleaner_17ca7f22baf84821b6b73462c96fb1e3'] = 'Supprimer les commandes et clients'; +$_MODULE['<{pscleaner}wedigital>pscleaner_3535aa31bd9005bde626ad4312b67d6b'] = 'Contraintes d\'intégrité fonctionnelle'; +$_MODULE['<{pscleaner}wedigital>pscleaner_e84c6595e849214a70b35ed8f95d7d16'] = 'Vérifier et réparer'; +$_MODULE['<{pscleaner}wedigital>pscleaner_ccc27439e3e08c444690af3bed668e2d'] = 'Nettoyage de la base de données'; +$_MODULE['<{pscleaner}wedigital>pscleaner_39707b9cfefe433d64f695623d2d3fd7'] = 'Nettoyer et optimiser'; diff --git a/themes/toutpratique/modules/referralprogram/index.php b/themes/toutpratique/modules/referralprogram/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/referralprogram/views/index.php b/themes/toutpratique/modules/referralprogram/views/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/referralprogram/views/templates/front/email.tpl b/themes/toutpratique/modules/referralprogram/views/templates/front/email.tpl new file mode 100644 index 00000000..91089926 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/front/email.tpl @@ -0,0 +1,26 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{$content} diff --git a/themes/toutpratique/modules/referralprogram/views/templates/front/index.php b/themes/toutpratique/modules/referralprogram/views/templates/front/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/front/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/referralprogram/views/templates/front/program.tpl b/themes/toutpratique/modules/referralprogram/views/templates/front/program.tpl new file mode 100644 index 00000000..f29242d6 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/front/program.tpl @@ -0,0 +1,223 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{capture name=path}{l s='My account' mod='referralprogram'}{$navigationPipe}{l s='Referral Program' mod='referralprogram'}{/capture} + +

      {l s='Referral program' mod='referralprogram'}

      + +{if $error} +

      + {if $error == 'conditions not valided'} + {l s='You need to agree to the conditions of the referral program!' mod='referralprogram'} + {elseif $error == 'email invalid'} + {l s='At least one e-mail address is invalid!' mod='referralprogram'} + {elseif $error == 'name invalid'} + {l s='At least one first name or last name is invalid!' mod='referralprogram'} + {elseif $error == 'email exists'} + {l s='Someone with this e-mail address has already been sponsored!' mod='referralprogram'}: {foreach from=$mails_exists item=mail}{$mail} {/foreach} + {elseif $error == 'no revive checked'} + {l s='Please mark at least one checkbox' mod='referralprogram'} + {elseif $error == 'cannot add friends'} + {l s='Cannot add friends to database' mod='referralprogram'} + {/if} +

      +{/if} + +{if $invitation_sent} +

      + {if $nbInvitation > 1} + {l s='E-mails have been sent to your friends!' mod='referralprogram'} + {else} + {l s='An e-mail has been sent to your friend!' mod='referralprogram'} + {/if} +

      +{/if} + +{if $revive_sent} +

      + {if $nbRevive > 1} + {l s='Reminder e-mails have been sent to your friends!' mod='referralprogram'} + {else} + {l s='A reminder e-mail has been sent to your friend!' mod='referralprogram'} + {/if} +

      +{/if} + +
      + +
      +

      + {l s='Get a discount of %1$s for you and your friends by recommending this Website.' sprintf=[$discount] mod='referralprogram'} +

      + {if $canSendInvitations} +

      + {l s='It\'s quick and it\'s easy. Just fill in the first name, last name, and e-mail address(es) of your friend(s) in the fields below.' mod='referralprogram'} + {if $orderQuantity > 1} + {l s='When one of them makes at least %d orders, ' sprintf=$orderQuantity mod='referralprogram'} + {else} + {l s='When one of them makes at least %d order, ' sprintf=$orderQuantity mod='referralprogram'} + {/if}, + {l s='he or she will receive a %1$s voucher and you will receive your own voucher worth %1$s.' sprintf=[$discount] mod='referralprogram'} +

      +
      + + + + + + + + + + + {section name=friends start=0 loop=$nbFriends step=1} + + + + + + + {/section} + +
       {l s='Last name' mod='referralprogram'}{l s='First name' mod='referralprogram'}{l s='E-mail' mod='referralprogram'}
      {$smarty.section.friends.iteration}
      +

      + {l s='Important: Your friends\' e-mail addresses will only be used in the referral program. They will never be used for other purposes.' mod='referralprogram'} +

      +

      + + + {l s='Read conditions.' mod='referralprogram'} +

      +

      + {l s='Preview' mod='referralprogram'} + {assign var="file" value="{$lang_iso}/referralprogram-invitation.html"} + {l s='the default e-mail' mod='referralprogram'} {l s='that will be sent to your friend(s).' mod='referralprogram'} +

      +

      + +

      +
      + {else} +

      + {l s='To become a sponsor, you need to have completed at least' mod='referralprogram'} {$orderQuantity} {if $orderQuantity > 1}{l s='orders' mod='referralprogram'}{else}{l s='order' mod='referralprogram'}{/if}. +

      + {/if} +
      + +
      + {if $pendingFriends AND $pendingFriends|@count > 0} +

      + {l s='These friends have not yet placed an order on this Website since you sponsored them, but you can try again! To do so, mark the checkboxes of the friend(s) you want to remind, then click on the button "Remind my friend(s)"' mod='referralprogram'} +

      +
      + + + + + + + + + + + + {foreach from=$pendingFriends item=pendingFriend name=myLoop} + + + + + + + + {/foreach} + +
       {l s='Last name' mod='referralprogram'}{l s='First name' mod='referralprogram'}{l s='E-mail' mod='referralprogram'}{l s='Last invitation' mod='referralprogram'}
      + + + + {$pendingFriend.firstname|substr:0:22}{$pendingFriend.email}{dateFormat date=$pendingFriend.date_upd full=1}
      +

      + +

      +
      + {else} +

      + {if $subscribeFriends AND $subscribeFriends|@count > 0} + {l s='You have no pending invitations.' mod='referralprogram'} + {else} + {l s='You have not sponsored any friends yet.' mod='referralprogram'} + {/if} +

      + {/if} +
      + +
      + {if $subscribeFriends AND $subscribeFriends|@count > 0} +

      + {l s='Here are sponsored friends who have accepted your invitation:' mod='referralprogram'} +

      + + + + + + + + + + + + {foreach from=$subscribeFriends item=subscribeFriend name=myLoop} + + + + + + + + {/foreach} + +
       {l s='Last name' mod='referralprogram'}{l s='First name' mod='referralprogram'}{l s='E-mail' mod='referralprogram'}{l s='Inscription date' mod='referralprogram'}
      {$smarty.foreach.myLoop.iteration}.{$subscribeFriend.lastname|substr:0:22}{$subscribeFriend.firstname|substr:0:22}{$subscribeFriend.email}{dateFormat date=$subscribeFriend.date_upd full=1}
      + {else} +

      + {l s='No sponsored friends have accepted your invitation yet.' mod='referralprogram'} +

      + {/if} +
      +
      + + +{addJsDefL name=ThickboxI18nClose}{l s='Close' mod='referralprogram' js=1}{/addJsDefL} +{addJsDefL name=ThickboxI18nOrEscKey}{l s='or Esc key' mod='referralprogram' js=1}{/addJsDefL} +{addJsDef tb_pathToImage=$img_ps_dir|cat:'loadingAnimation.gif'} diff --git a/themes/toutpratique/modules/referralprogram/views/templates/front/rules.tpl b/themes/toutpratique/modules/referralprogram/views/templates/front/rules.tpl new file mode 100644 index 00000000..bce89c72 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/front/rules.tpl @@ -0,0 +1,32 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +

      {l s='Referral program rules' mod='referralprogram'}

      + +{if isset($xml)} +
      + {if isset($xml->body->$paragraph)}
      {$xml->body->$paragraph|replace:"\'":"'"|replace:'\"':'"'}
      {/if} +
      +{/if} diff --git a/themes/toutpratique/modules/referralprogram/views/templates/hook/authentication.tpl b/themes/toutpratique/modules/referralprogram/views/templates/hook/authentication.tpl new file mode 100644 index 00000000..1950defd --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/hook/authentication.tpl @@ -0,0 +1,34 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + \ No newline at end of file diff --git a/themes/toutpratique/modules/referralprogram/views/templates/hook/index.php b/themes/toutpratique/modules/referralprogram/views/templates/hook/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/hook/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/referralprogram/views/templates/hook/my-account.tpl b/themes/toutpratique/modules/referralprogram/views/templates/hook/my-account.tpl new file mode 100644 index 00000000..83b985a3 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/hook/my-account.tpl @@ -0,0 +1,30 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +
    27. + {l s='Referral program' mod='referralprogram'} +
    28. + \ No newline at end of file diff --git a/themes/toutpratique/modules/referralprogram/views/templates/hook/order-confirmation.tpl b/themes/toutpratique/modules/referralprogram/views/templates/hook/order-confirmation.tpl new file mode 100644 index 00000000..31eb9d26 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/hook/order-confirmation.tpl @@ -0,0 +1,29 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +

      + {l s='Thanks to your order, your sponsor %1$s %2$s will earn a voucher worth %3$d off when this order is confirmed.' sprintf=[$sponsor_firstname,$sponsor_lastname,$discount] mod='referralprogram'} +

      +
      \ No newline at end of file diff --git a/themes/toutpratique/modules/referralprogram/views/templates/hook/shopping-cart.tpl b/themes/toutpratique/modules/referralprogram/views/templates/hook/shopping-cart.tpl new file mode 100644 index 00000000..f035b272 --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/hook/shopping-cart.tpl @@ -0,0 +1,34 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + +

      + + {l s='You have earned a voucher worth %s thanks to your sponsor!' sprintf=$discount_display mod='referralprogram'} + {l s='Enter voucher name %s to receive the reduction on this order.' sprintf=$discount->name mod='referralprogram'} + {l s='View your referral program.' mod='referralprogram'} +

      +
      + \ No newline at end of file diff --git a/themes/toutpratique/modules/referralprogram/views/templates/index.php b/themes/toutpratique/modules/referralprogram/views/templates/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/referralprogram/views/templates/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/sendtoafriend/index.php b/themes/toutpratique/modules/sendtoafriend/index.php new file mode 100644 index 00000000..2d4b752c --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; diff --git a/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.html b/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.html new file mode 100644 index 00000000..070ac157 --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.html @@ -0,0 +1,121 @@ + + + + + + Message from {shop_name} + + + + + + + + + + + + +
        + + + + +
      + + + + + + + + + + +
      + + Hi {name},
      +
      +
      + + + + + + +
        + +

      + {customer} has sent you a link to a product that (s)he thinks may interest you.

      + + Click here to view this item: {product} + +
      +
       
      +
      + + + + +
      +
       
      + + diff --git a/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.txt b/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.txt new file mode 100644 index 00000000..605cef63 --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/mails/en/send_to_a_friend.txt @@ -0,0 +1,14 @@ +[{shop_url}] + +Hi {name}, + + +{customer} has sent you a link to a product that (s)he thinks may +interest you. + +Click here to view this item: {product} +[{product_link}] + +{shop_name} [{shop_url}] powered by +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.html b/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.html new file mode 100644 index 00000000..8956421e --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.html @@ -0,0 +1,29 @@ + + + + +
        + +
      + +
      + + Bonjour {name},
      +
      + + + +
        + +

      + {customer} vous envoie un lien vers un produit qui pourrait vous intéresser.

      + + Il s'agit de: {product} + + +
       
      +
       
      \ No newline at end of file diff --git a/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.txt b/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.txt new file mode 100644 index 00000000..0060d6cb --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/mails/fr/send_to_a_friend.txt @@ -0,0 +1,9 @@ +[{shop_url}] + +Bonjour {name}, + +Il s'agit de: {product} [{product_link}] + +{shop_name} [{shop_url}] réalisé avec +PrestaShop(tm) [http://www.prestashop.com/] + diff --git a/themes/toutpratique/modules/sendtoafriend/sendtoafriend-extra.tpl b/themes/toutpratique/modules/sendtoafriend/sendtoafriend-extra.tpl new file mode 100644 index 00000000..b50a6047 --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/sendtoafriend-extra.tpl @@ -0,0 +1,54 @@ +
    29. + + + + +
      +
      +

      + {l s='Send to a friend' mod='sendtoafriend'} +

      + +
      + {include file="{$tpl_dir}product-list.tpl" products=$stf_product nbProduct=1} +
      + + +
      + + +
      +
      + + +
      +
      + + +
      + + * {l s='Required fields' mod='sendtoafriend'} + +
      +

      + + + {l s='Cancel' mod='sendtoafriend'} + + +

      +
      +
      +
      +
    30. +{addJsDef stf_secure_key=$stf_secure_key} +{addJsDefL name=stf_msg_success}{l s='Your e-mail has been sent successfully' mod='sendtoafriend' js=1}{/addJsDefL} +{addJsDefL name=stf_msg_error}{l s='Your e-mail could not be sent. Please check the e-mail address and try again.' mod='sendtoafriend' js=1}{/addJsDefL} +{addJsDefL name=stf_msg_title}{l s='Send to a friend' mod='sendtoafriend' js=1}{/addJsDefL} +{addJsDefL name=stf_msg_required}{l s='You did not fill required fields' mod='sendtoafriend' js=1}{/addJsDefL} diff --git a/themes/toutpratique/modules/sendtoafriend/translations/fr.php b/themes/toutpratique/modules/sendtoafriend/translations/fr.php new file mode 100644 index 00000000..908f3baf --- /dev/null +++ b/themes/toutpratique/modules/sendtoafriend/translations/fr.php @@ -0,0 +1,26 @@ +product_page_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_ajax_22c4733a9ceb239bf825a0cecd1cfaec'] = 'Un ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_11cbd9ec2e4b628c371094b6361b9c96'] = 'Votre e-mail a bien été envoyé'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_36fb3f59b4a75949a0db90e7011b21f2'] = 'Votre e-mail n\'a pas pu être envoyé. Veuillez vérifier l\'adresse et réessayer.'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_d1f092e79827eaffce4a33fa011fde24'] = 'Vous n\'avez pas rempli les champs requis'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_5d6103b662f41b07e10687f03aca8fdc'] = 'Destinataire'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_bb6aa0be8236a10e6d3b315ebd5f2547'] = 'Nom de votre ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_099bc8914b5be9e522a29e48cb3c01c4'] = 'Adresse e-mail de votre ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_70397c4b252a5168c5ec003931cea215'] = 'Champs requis'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_e81c4e4f2b7b93b481e13a8553c2ae1b'] = 'OU'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend-extra_94966d90747b97d1f0f206c98a8b1ac3'] = 'Envoyer'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_2074615eb70699e55b1f9289c6c77c25'] = 'Module envoyer à un ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_3234e2609dd694d8763c390fe97eba04'] = 'Permet à vos clients d\'envoyer des liens à leurs amis'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_2107f6398c37b4b9ee1e1b5afb5d3b2a'] = 'Envoyer à un ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_20589174124c25654cac3736e737d2a3'] = 'Envoyer cette page à un ami susceptible d\'être intéressé par le produit ci-dessous'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_b31afdfa73c89b567778f15180c2dd6c'] = 'Votre e-mail a bien été envoyé'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_e55de03786f359e2b133f2a74612eba6'] = 'Nom de votre ami :'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_19f41c3d6db934fb2db1840ddefd2c51'] = 'E-mail de votre ami'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_2541d938b0a58946090d7abdde0d3890'] = 'Envoyer'; +$_MODULE['<{sendtoafriend}wedigital>sendtoafriend_68728c1897e5936032fe21ffb6b10c2e'] = 'Retour à la fiche produit'; diff --git a/themes/toutpratique/modules/socialsharing/socialsharing.tpl b/themes/toutpratique/modules/socialsharing/socialsharing.tpl new file mode 100644 index 00000000..179a2445 --- /dev/null +++ b/themes/toutpratique/modules/socialsharing/socialsharing.tpl @@ -0,0 +1,18 @@ + +{if $PS_SC_TWITTER || $PS_SC_FACEBOOK || $PS_SC_GOOGLE || $PS_SC_PINTEREST} + {if $PS_SC_TWITTER} + + {/if} + {if $PS_SC_FACEBOOK} + + {/if} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/socialsharing/translations/fr.php b/themes/toutpratique/modules/socialsharing/translations/fr.php new file mode 100644 index 00000000..d057c2c9 --- /dev/null +++ b/themes/toutpratique/modules/socialsharing/translations/fr.php @@ -0,0 +1,21 @@ +socialsharing_7dba9afe5ed3bbd1683c2c1a9e168cab'] = 'Partage sur les réseaux sociaux'; +$_MODULE['<{socialsharing}wedigital>socialsharing_622e2c510964bb1eb4e2e721ec6148c5'] = 'Affiche des boutons de partage sur les réseaux sociaux (Twitter, Facebook, Google+ et Pinterest) sur chaque page produit.'; +$_MODULE['<{socialsharing}wedigital>socialsharing_c888438d14855d7d96a2724ee9c306bd'] = 'Mise à jour réussie'; +$_MODULE['<{socialsharing}wedigital>socialsharing_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{socialsharing}wedigital>socialsharing_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{socialsharing}wedigital>socialsharing_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{socialsharing}wedigital>socialsharing_368140d2caf6b43106964fd615756d1b'] = 'Comparaison de produits'; +$_MODULE['<{socialsharing}wedigital>socialsharing_compare_6e55f5917f1f34501fc37388eb4b780d'] = 'Partager cette comparaison avec vos amis :'; +$_MODULE['<{socialsharing}wedigital>socialsharing_compare_3746d4aa96f19672260a424d76729dd1'] = 'Tweet'; +$_MODULE['<{socialsharing}wedigital>socialsharing_compare_5a95a425f74314a96f13a2f136992178'] = 'Partager'; +$_MODULE['<{socialsharing}wedigital>socialsharing_compare_5b2c8bfd1bc974966209b7be1cb51a72'] = 'Google+'; +$_MODULE['<{socialsharing}wedigital>socialsharing_compare_86709a608bd914b28221164e6680ebf7'] = 'Pinterest'; +$_MODULE['<{socialsharing}wedigital>socialsharing_3746d4aa96f19672260a424d76729dd1'] = 'Tweet'; +$_MODULE['<{socialsharing}wedigital>socialsharing_5a95a425f74314a96f13a2f136992178'] = 'Partager'; +$_MODULE['<{socialsharing}wedigital>socialsharing_5b2c8bfd1bc974966209b7be1cb51a72'] = 'Google+'; +$_MODULE['<{socialsharing}wedigital>socialsharing_86709a608bd914b28221164e6680ebf7'] = 'Pinterest'; +$_MODULE['<{socialsharing}wedigital>socialsharing_d85544fce402c7a2a96a48078edaf203'] = ''; diff --git a/themes/toutpratique/modules/statsdata/translations/fr.php b/themes/toutpratique/modules/statsdata/translations/fr.php new file mode 100644 index 00000000..dac73a49 --- /dev/null +++ b/themes/toutpratique/modules/statsdata/translations/fr.php @@ -0,0 +1,17 @@ +statsdata_a51950bf91ba55cd93a33ce3f8d448c2'] = 'Récupération des données statistiques'; +$_MODULE['<{statsdata}wedigital>statsdata_c77dfd683d0d76940e5e04cb24e8bce1'] = 'Ce module doit être activé pour bénéficier des statistiques.'; +$_MODULE['<{statsdata}wedigital>statsdata_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; +$_MODULE['<{statsdata}wedigital>statsdata_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{statsdata}wedigital>statsdata_1a5b75c4be3c0100c99764b21e844cc8'] = 'Enregistrer les pages vues pour chaque client'; +$_MODULE['<{statsdata}wedigital>statsdata_73d55f0a158656cbfabab45a3e151d73'] = 'Stocker le nombre de page vues des clients peut se révéler très consommateur en espace disque et en processeur. N\'activez cette option que si votre serveur peut tenir la charge.'; +$_MODULE['<{statsdata}wedigital>statsdata_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{statsdata}wedigital>statsdata_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{statsdata}wedigital>statsdata_dd8289e220ec0de9a8b99adc7f9014b1'] = 'Enregistrer les pages vues globales'; +$_MODULE['<{statsdata}wedigital>statsdata_339acfd90b82e91ce9141ec75e4bff24'] = 'Les pages vues nécessitent moins de ressources que le détail par client, mais en nécessitent néanmoins une certaine quantité.'; +$_MODULE['<{statsdata}wedigital>statsdata_c0e4406117ba4c29c4d66e3069ebf3d3'] = 'Détection des plug-ins'; +$_MODULE['<{statsdata}wedigital>statsdata_e4af29282b3a403c2b23c2a516bba889'] = 'La détection des extensions de navigateur charge un fichier JavaScript de 20 ko pour chaque nouveau visiteur (une seule fois).'; +$_MODULE['<{statsdata}wedigital>statsdata_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/systempay/payment_std.tpl b/themes/toutpratique/modules/systempay/payment_std.tpl new file mode 100644 index 00000000..ec09a829 --- /dev/null +++ b/themes/toutpratique/modules/systempay/payment_std.tpl @@ -0,0 +1,22 @@ +
      +
      +
      + +
      +
      +
      + +
      +
      + {l s='Pay by CB' mod='systempay'} +
      +
      + diff --git a/themes/toutpratique/modules/systempay/redirect.tpl b/themes/toutpratique/modules/systempay/redirect.tpl new file mode 100644 index 00000000..84e5247e --- /dev/null +++ b/themes/toutpratique/modules/systempay/redirect.tpl @@ -0,0 +1,44 @@ +{if isset($systempay_empty_cart) && $systempay_empty_cart} +

      {l s='Your shopping cart is empty.' mod='systempay'}

      +{else} +

      {l s='Payment by bank card' mod='systempay'}

      + +
      + {foreach from=$systempay_params key='key' item='value'} + + {/foreach} + +

      + Systempay +
      + + {if $systempay_params.vads_action_mode == 'SILENT'} + {l s='Please wait a moment. Your order payment is now processing.' mod='systempay'} + {else} + {l s='Please wait, you will be redirected to the payment platform.' mod='systempay'} + {/if} + +

      + {l s='If nothing happens in 10 seconds, please click the button below.' mod='systempay'} +

      +

      + + {if version_compare($smarty.const._PS_VERSION_, '1.6', '<')} +

      + +

      + {else} +

      + +

      + {/if} +
      + + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/modules/systempay/translations/fr.php b/themes/toutpratique/modules/systempay/translations/fr.php new file mode 100644 index 00000000..72ab33a0 --- /dev/null +++ b/themes/toutpratique/modules/systempay/translations/fr.php @@ -0,0 +1,227 @@ +systempay_984f41ccfa071549777a545e9a8a3acb'] = 'Accepter les paiements par carte de crédit avec Systempay'; +$_MODULE['<{systempay}wedigital>systempay_53c0eed255c798ec8fc9299e17f01317'] = 'Etes-vous sûr de bien vouloir supprimer les détails de votre module ?'; +$_MODULE['<{systempay}wedigital>systempay_f38f5974cdc23279ffe6d203641a8bdf'] = 'Configuration mise à jour.'; +$_MODULE['<{systempay}wedigital>systempay_00ea8d2a9e667caae591f35aa43f589b'] = 'Une ou plusieurs valeurs sont invalides pour le champ «Options de paiement». Seules les lignes valides sont sauvegardées.'; +$_MODULE['<{systempay}wedigital>systempay_6913797be2be5ef2b88c5fe4a40cc67f'] = 'L\'envoi multiple est activé. Le paiement Oney ne peut être utilisé.'; +$_MODULE['<{systempay}wedigital>systempay_0c9691d0a705767b2395838369fe0a58'] = 'Valeur invalide «%s» pour le champ «%s».'; +$_MODULE['<{systempay}wedigital>systempay_b4bf0b891dd528b8bc6a0ceddfd5969b'] = 'L\'acquisition des données de la carte sur le site marchand ne peut pas être utilisée sans activer le SSL.'; +$_MODULE['<{systempay}wedigital>systempay_370d156c9a03fff05885780bf8b4265f'] = 'Le champ «%s» est obligatoire.'; +$_MODULE['<{systempay}wedigital>systempay_d025739aceded813a733be0f415078e3'] = 'Un problème est survenu lors de l\'enregistrement du champ «%s».'; +$_MODULE['<{systempay}wedigital>systempay_318d284b78bf9cde3fbea1e0b24feef9'] = 'Veuillez configurer la section «OPTIONS ADDITIONNELLES» de l\'onglet «Systempay». Le paiement Oney ne peut être utilisé.'; +$_MODULE['<{systempay}wedigital>systempay_4c7fd4e78164fd8c7c942f71d800010b'] = 'Veuillez renseigner les montants minimum et maximum dans l\'onglet paiement FacilyPay Oney tel que convenu avec Banque Accord.'; +$_MODULE['<{systempay}wedigital>systempay_b766ce0639c8492e53cd6a3c9a0e2c05'] = 'adresse de facturation'; +$_MODULE['<{systempay}wedigital>systempay_93fa6de74402990149f480456b94f170'] = 'adresse de livraison'; +$_MODULE['<{systempay}wedigital>systempay_051d3cd9d4ad38267207ab4121aadd66'] = 'Le champ «%s» de votre %s est invalide.'; +$_MODULE['<{systempay}wedigital>systempay_3eeb49b3032fe4320879769af95d803d'] = 'Le champ «%s» de votre %s est obligatoire.'; +$_MODULE['<{systempay}wedigital>systempay_8d3f5eff9c40ee315d452392bed5309b'] = 'Nom'; +$_MODULE['<{systempay}wedigital>systempay_20db0bfeecd8fe60533206a2b5e9891a'] = 'Prénom'; +$_MODULE['<{systempay}wedigital>systempay_bcc254b55c4a1babdf1dcb82c207506b'] = 'Téléphone'; +$_MODULE['<{systempay}wedigital>systempay_f0e1fc6f97d36cb80f29196e2662ffde'] = 'Téléphone portable'; +$_MODULE['<{systempay}wedigital>systempay_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse'; +$_MODULE['<{systempay}wedigital>systempay_22fcffe02ab9eda5b769387122f2ddce'] = 'Adresse(2)'; +$_MODULE['<{systempay}wedigital>systempay_642d3ba5db8b57e006584b544e490ec7'] = 'Code postal'; +$_MODULE['<{systempay}wedigital>systempay_57d056ed0984166336b7879c2af3657f'] = 'Ville'; +$_MODULE['<{systempay}wedigital>systempay_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays'; +$_MODULE['<{systempay}wedigital>systempay_687ae6ebf50a06125319516eee9f5fdb'] = 'Votre paiement n\'a pas été accepté. Veuillez repasser votre commande.'; +$_MODULE['<{systempay}wedigital>systempay_e555610477d1aa7807d93f28ba80141e'] = 'Paiement par carte bancaire'; +$_MODULE['<{systempay}wedigital>systempay_ba23145ed5d391c93162698854dbee45'] = 'Paiement avec FacilyPay Oney'; +$_MODULE['<{systempay}wedigital>systempay_796e204aef60da8e6a072431ec43ed2b'] = 'Paiement par carte bancaire en plusieurs fois'; +$_MODULE['<{systempay}wedigital>systempay_13aa1c47157818ce4d54f337a17084af'] = 'Authentification 3DS : '; +$_MODULE['<{systempay}wedigital>systempay_7469a286259799e5b37e5db9296f00b3'] = 'OUI'; +$_MODULE['<{systempay}wedigital>systempay_68a065494f1612ae29b1cde04c936339'] = 'Certificat 3DS : '; +$_MODULE['<{systempay}wedigital>systempay_c2f3f489a00553e7a01d369c103c7251'] = 'NON'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c658ea834357a283c8198486c30fc045'] = 'Développé par'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_02d4482d332e1aef3437cd61c9bcc624'] = 'Courriel de contact'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b1c1d84a65180d5912b2dee38a48d6b5'] = 'Version du module'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e80db117a6c2bad899068992535b3436'] = 'Version de la plateforme'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_dd98664034d01e01eba03dd5653f9cc3'] = 'CLIQUER ICI POUR ACCÉDER À LA DOCUMENTATION DE CONFIGURATION DU MODULE'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_65a1f435f6f81dfe69dcdfc716f72649'] = 'PARAMÈTRES DE BASE'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b2d37ae1cedf42ff874289b721860af2'] = 'Logs'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_ff9b0dd6daa6ef52ec2504bd7c243c74'] = 'Activer / désactiver les logs du module'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_dfef29864f6f6dcd9dd673f3343221de'] = 'ACCÈS À LA PLATEFORME'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b250a007769c7ffe655c74cfb8176b8c'] = 'Identifiant boutique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_136837b5fa62bb3668924ebf30a8f9a9'] = 'Identifiant fourni par Systempay.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e30a909113b41f7d0db765b87c649e6c'] = 'Certificat en mode test'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_0f3f52c0734be109850043d823518ed0'] = 'Certificat fourni par Systempay pour le mode test (disponible sur le Back Office de votre boutique).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_689f27212fb1252ccdaa9341b43d8e4b'] = 'Certificat en mode production'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_66ae1e3947138a80ff3c3e5b574c26a7'] = 'Certificat fourni par Systempay (disponible sur le Back Office de votre boutique après passage en production).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_033bd94b1168d7e4f0d644c3c95e35bf'] = 'TEST'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_86601675138015edb458866e7d879118'] = 'PRODUCTION'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_650be61892bf690026089544abbd9d26'] = 'Mode'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5736295cccd67c95ce1af1b278ba4f8d'] = 'Mode de fonctionnement du module.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_9deb4807a73db0f73c602248395ebca3'] = 'URL de la page de paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_81f1212295fb14103dc46d3be825b597'] = 'URL vers laquelle l\'acheteur sera redirigé pour le paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c48522ecdd735a535b181c911733b226'] = 'URL de notification à copier dans le Back Office Systempay:'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_3650bf7ca4dd0537112d5f353595c2c7'] = 'Sélectionner une boutique pour afficher l\'URL de notification'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_178ab52ae45ca10afab67d9f2a91c70c'] = 'PAGE DE PAIEMENT'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c96a77fb323a41898c3b6941a58dc741'] = 'Langue par défaut'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_88b2f5b27ce64b1d8f3b1d2b960bc3ba'] = 'Sélectionner la langue par défaut à utiliser sur la page de paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_4e1b0d5f96251571c00165c066b7c550'] = 'Langues disponibles'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_4a3a1744bddae41b80b7391e538a8cf7'] = 'Sélectionner les langues à proposer sur la page de paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f9bbd851f2c48b5cc7d586b27a74f9a4'] = 'Délai avant remise en banque'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bee73dfa854843f513626793aa9adff3'] = 'Le nombre de jours avant la remise en banque (paramétrable sur votre Back Office Systempay).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_3c71be43cdd6231479c0ef35b02b7dbb'] = 'Configuration Back Office'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_086247a9b57fde6eefee2a0c4752242d'] = 'Automatique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e1ba155a9f2e8c3be94020eef32a0301'] = 'Manuelle'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_31c46d040ddbf15207ebd7b78af8c45d'] = 'Validation du paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5ca705d7938255b94231e47e682a0261'] = 'En mode manuel, vous devrez confirmer les paiements dans le Back Office de votre boutique.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5fb1f955b45e38e31789286a1790398d'] = 'TOUTES'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e01f415a7b36032f990bcd35f3aaac00'] = 'Types de carte'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_4b6c5b74ed404e2768c89f5f94ad277c'] = 'Le(s) type(s) de carte pouvant être utilisé(s) pour le paiement. Ne rien sélectionner pour utiliser la configuration de la plateforme.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_22003906cd1030f32dd17f58b4049dfe'] = 'Alimentation et épicerie'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b88033354e42b423efaefbcc5649ddb9'] = 'Automobile'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_336fdcf7d540e4b430a890b63da159c9'] = 'Loisirs'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_ca5f6d15b151c54a4cbf6f231c540f39'] = 'Maison et jardin'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_efd593bd9811ea0c1ed407b32f68d599'] = 'Electroménager'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_87f83f78cf682b5606a8ea1544adccf0'] = 'Enchères et achats groupés'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e1bc3b4e930537de4707bb928c712a0c'] = 'Fleurs et cadeaux'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_a382a28ebfd91e538e8f00c0cfd871d2'] = 'Informatique et logiciels'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_2c0a2fa68bd358738766a1e7cb3aa917'] = 'Santé et beauté'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_ab6a1358f4237ebc94e81384c1275592'] = 'Services à la personne'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_6c437bccc40bb38ed269b3e163bb657c'] = 'Services aux entreprises'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_918e180e06b96c76b7193c9fcb1cb312'] = 'Sports'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_2e22a11f2216b183de96c2f8d5c2b0f3'] = 'Habillement et accessoires'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_1fb0f99b55e6c2be35aed72ebe38c245'] = 'Voyages'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_db9b62c8822631c354a07f5194b4666d'] = 'Audio, photo, vidéo domestiques'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_7fa3b0ba6f1dd45ac564a12e16033358'] = 'Téléphonie'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_8a89650eaa727d02196c837f7e888b2f'] = 'Association des catégories'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_873ebc43b4a4811981d82cbba8424179'] = '(Utiliser les associations ci-dessous)'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_134faefe55a9b5ecac46e7562d475075'] = 'Utiliser la même catégorie pour tous les produits.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_3625cdf19abd4ec330b3db80a9d03c50'] = 'Catégorie du produit'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_82a8cd624e9139a0a102b2e24b82b081'] = 'Catégorie Systempay'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_6c1938ae6776bbdda874a61db9914e70'] = 'Faire la correspondance entre chaque catégorie produit et une catégorie Systempay.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_636bd54acc9555374d56972bfd086c38'] = 'Les entrées marquées par * sont nouvelles et doivent être configurées.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_9fe0bf30d35545b0688448c029e77fc2'] = 'PERSONNALISATION DE LA PAGE DE PAIEMENT'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e140e06995cf99c43970ef378e12b029'] = 'Configuration du thème'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5d27e396e9687029d9c9b13c08c79343'] = 'Configuration du thème pour personnaliser la page de paiement (logo, CSS).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e93c33bd1341ab74195430daeb63db13'] = 'Nom de la boutique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_308f0485502f1aa7f578790e9eec965d'] = 'Nom affiché sur la page de paiement. Laisser vide pour utiliser la configuration de la plateforme.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_37d00f4554dc3c0baeb34a9c22d787d9'] = 'URL de la boutique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b1ca847217866d6307aa21c8f1c1195c'] = 'URL affichée sur la page de paiement. Laisser vide pour utiliser la configuration de la plateforme.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bf261894e1e1e3e798d4b636696e6662'] = '3DS SÉLECTIF'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f61fc70a96e43d6da1bdba841c1a6793'] = 'Montant minimum pour lequel activer 3-DS'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_287a68c7c23d0621f2124694f595c64a'] = 'Nécessite la souscription à l\'option 3-D Secure sélectif.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_8e0b19a82842dddd5b4bbf435017d611'] = 'RETOUR À LA BOUTIQUE'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_aadb7680e9cf237017cd8b67f6c73260'] = 'Redirection automatique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_fc89f4bc15ae48552928b1a7ca71d2f7'] = 'Si activée, l\'acheteur sera redirigé automatiquement vers votre site à la fin du paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_945112f80d6ef51485df403c83fd880d'] = 'Temps avant redirection (succès)'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_0201d272f53046c85095e0d3ca1316df'] = 'Temps en secondes (0-300) avant que l\'acheteur ne soit redirigé automatiquement vers votre site lorsque le paiement a réussi.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b3f6940aac506149bcc9c2e8580dc4b1'] = 'Message avant redirection (succès)'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_3235c9928df94db4dd362b1769dadb74'] = 'Message affiché sur la page de paiement avant redirection lorsque le paiement a réussi.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_1b981bf4bcc3eaf88298b5120ac8779f'] = 'Temps avant redirection (échec)'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_101a18a818d420c39b5deca484a261b8'] = 'Temps en secondes (0-300) avant que l\'acheteur ne soit redirigé automatiquement vers votre site lorsque le paiement a échoué.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_047b366f0cae3a637b8f022c330c72fe'] = 'Message avant redirection (échec)'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c7cfc6b3d9e67ac208392e8ef9d37a8d'] = 'Message affiché sur la page de paiement avant redirection, lorsque le paiement a échoué.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5c6a16d0f0782adac84a09b281878e84'] = 'Mode de retour'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_2a082150f2336d68e80efb6fe9832e2c'] = 'Façon dont l\'acheteur transmettra le résultat du paiement lors de son retour à la boutique.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_4dcaea1b2d8f025a39f1dec679a6186e'] = 'Retourner au choix du moyen de paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_4d48c7d2809edea0b654f236d9695943'] = 'Enregistrer la commande échouée et retourner à l\'historique'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_0922629c59c5f69e205a4c831f819794'] = 'Gestion des paiements échoués'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_a1222cc2098dab02afaad1322e38562e'] = 'Comment traiter le retour du client après que le paiement ait échoué.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5d47fc89ce1db00f1f8f2019c472cda8'] = 'OPTIONS ADDITIONNELLES'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_93cba07454f06a4a960172bbd6e2a435'] = 'Oui'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bafd7322c6e97d25b6299b5d6fe8920b'] = 'Non'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_7bf5dbf5af2cbf86eb68291375cfd59b'] = 'Contrat FacilyPay Oney'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_adc78faf35ead13efba0946b480b81d8'] = 'Sélectionnez «Oui» si vous avez un contrat FacilyPay Oney.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_eb3378ce39cddd81c9e7b011dcbf7196'] = 'Options de livraison'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_2068f4dd0b1c5f2b86d1092d9301de7f'] = 'Compagnie de livraison'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_507e465444cdd751dc7a539203c85f7c'] = 'Retrait en magasin'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b0efcf1ae8a6bff5debb5ed65de8f412'] = 'Point relais'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_02da484e2730f20ccef65b94f903ea40'] = 'Retrait en station'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_eb6d8ae6f20283755b339c0dc273988b'] = 'Standard'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b144fa061545497bebee8c414efc99a9'] = 'Express'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f5b8f82576d6677818c85c07f4a1b5cf'] = 'Libellé FacilyPay Oney'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_a1fa27779242b4902f7ae3bdd5c6d508'] = 'Type'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_44877c6aa8e93fa5a91c9361211464fb'] = 'Vitesse'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_dd7bf230fde8d4836917806aff6a6b27'] = 'Adresse'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_fc2e1b075d134671d7016188b8011d4e'] = 'Définir les informations FacilyPay Oney sur toutes les méthodes de livraison.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_d781115e1fbf5b4a1b0a1a9123857e69'] = 'Le libellé de la méthode livraison (utiliser 55 caractères alphanumériques, caractères accentués et les caractères spéciaux suivants: espace, slash, tiret, apostrophe).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c2170582a67d7d0bc7636ad4d322443e'] = 'Le type de la méthode de livraison.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_361637f00a86ad3879342852b10281a2'] = 'Sélectionner si la livraison est en mode STANDARD ou EXPRESS.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_457542431996d9c44a8896330a1f0404'] = 'Entrer une adresse s\'il s\'agit d\'un retrait en magasin.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_9d6b881a4d17ea44c0f9786f6a5e9c7f'] = 'OPTIONS DU MODULE'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f634a4ce61dbccff9374360fd995aaed'] = 'Titre de la méthode'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_16a00c2b3807b01ce5730590198ff5db'] = 'Titre de la méthode à afficher sur la page des moyens de paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_a9a62e70841c4d06dd16306a85700d36'] = 'Activation'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_fc66192001b55852e5f454d1d760f993'] = 'Activer / désactiver le paiement standard'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bf050a33e991ac51cda468deccbb0692'] = 'RESTRICTIONS SUR LE MONTANT'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_9f6e99bdd4184b83dc478d0ab1b4cbf7'] = 'Montant minimum'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bf5abf0e66948c9bfd5eeca3569b679e'] = 'Montant minimum pour lequel cette méthode de paiement est disponible.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_dcd700acd4c6727dca97f5b414cfb384'] = 'Montant maximum'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_0a6cb50cc3e754a923bae429f645bacd'] = 'Montant maximumpour lequel cette méthode de paiement est disponible.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_8e59fcba6a5225abb4717cd0a017dae5'] = 'ENTRÉE DES DONNÉES DE CARTE'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_861cde4a15ea3a39126fbfb3571326fd'] = 'Acquisition des données sur la plateforme de paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e055e426fa40b587d4b3e238f33a6e38'] = 'Sélection du type de carte sur le site marchand'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_30728a5a5aa3054af1db3fc6407bf20e'] = 'Acquisition des données sur le site marchand'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_c239a367447ad7b1ae922a8e017f033d'] = 'Mode de saisie des données de la carte'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_866645fd52738f6daa2e68708cb8c103'] = 'Sélectionner la manière dont seront saisies les données de la carte de crédit. Attention, pour utiliser l\'acquisition des données sur le site marchand, vous devez vous assurer d\'avoir souscrit à cette option auprès de Systempay.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bcbb9f40a2d485c6fe14a4d64fb17052'] = 'Activer / désactiver le paiement multiple'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_ea36aa9a8e1facbdd500dedaa908e392'] = 'OPTIONS DE PAIEMENT'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e3135e5c28bd4c70a9bb3c50b0d278aa'] = 'Options de paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_b021df6aac4654c454f46c77646e745f'] = 'Libellé'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_80a2645c681d607705f5baab7cf7d2cb'] = 'Montant min'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_7d48ddaff550ef9e47ed788f50d860e7'] = 'Montant max'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_f49498143b94e78415d06029763412b9'] = 'Contrat'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e93f994f01c537c4e2f7d8528c3eb5e9'] = 'Nombre'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_1901606ea069a83dc7beea17881ef95a'] = 'Période'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5e6fab97b55b59a90290d851fb5fe929'] = '1er paiement'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_5abcf33cb67be2cfb628429533f5c034'] = 'Cliquer sur le bouton «Ajouter» pour configurer une ou plusieurs options de paiement.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_bfad44649219843147084d62ba70bc79'] = 'Texte décrivant l\'option de paiement multiple.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e922a8c9070a68a322e3dee8b87f0b62'] = 'Montant minimum pour proposer l\'option.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_59423ceb80faf63c4999208b598ca9fd'] = 'Montant maximum pour proposer l\'option.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_dc51d4d008b18d70eee856269de5e986'] = 'ID du contrat à utiliser avec l\'option (laissez vide de préférence).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_e9902c2d13eac5c51eeb3e4c3b72ee6d'] = 'Nombre total d\'échéances.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_0db6ef3684ba09860d46d0b46f097c51'] = 'Délai entre deux échéances (en jours).'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_fb6f4e7d8e165952c58a9ec74bdd74cd'] = 'Montant de la première échéance en pourcentage du total. Si vide, toutes les échéances auront le même montant.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_d5a352b1aed97b51d7a1bf7ab704182c'] = 'N\'oubliez pas de cliquer sur le bouton «Sauvegarder» afin de sauvegarder vos modifications.'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_1457883a96873c1558a47372b36ebe07'] = 'Activer / désactiver le paiement FacilyPay Oney'; +$_MODULE['<{systempay}wedigital>systempayadmindisplay_09fa295bd384f4687d99271b9fcf5bed'] = 'Nécessite un contract FacilyPay Oney auprès de Banque Accord et la souscription à l\'option Systempay'; +$_MODULE['<{systempay}wedigital>back_office_4a9cc7ddfd6e169a1b434d6839d91a7e'] = 'CONFIGURATION GÉNÉRALE'; +$_MODULE['<{systempay}wedigital>back_office_7c579486ce2345a95aec18c4eb2584a9'] = 'PAIEMENT EN UNE FOIS'; +$_MODULE['<{systempay}wedigital>back_office_a51ca50af2761900a8835ca9eef9e94e'] = 'PAIEMENT EN PLUSIEURS FOIS'; +$_MODULE['<{systempay}wedigital>back_office_7d55b20a8de0d7dadf1e65cf856037e6'] = 'PAIEMENT FACILYPAY ONEY'; +$_MODULE['<{systempay}wedigital>back_office_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{systempay}wedigital>redirect_f1c1725dc182726512227aef9ee210c7'] = 'Paiement en cours'; +$_MODULE['<{systempay}wedigital>redirect_31682b69de73c081c487b0cb5002549d'] = 'Redirection vers la plateforme de paiement'; +$_MODULE['<{systempay}wedigital>redirect_879f6b8877752685a966564d072f498f'] = 'Votre panier est vide.'; +$_MODULE['<{systempay}wedigital>redirect_e555610477d1aa7807d93f28ba80141e'] = 'Paiement par carte bancaire'; +$_MODULE['<{systempay}wedigital>redirect_67e5af82e0dca6b20203d71fd681814a'] = 'Veuillez patienter SVP. Le paiement de votre commande est en cours.'; +$_MODULE['<{systempay}wedigital>redirect_ff1b91552dca022519140532b2b2ab82'] = 'Merci de patienter, vous allez êtes redirigé vers la plateforme de paiement.'; +$_MODULE['<{systempay}wedigital>redirect_255a72c22960b12c1fab325d80e0dd56'] = 'Si rien ne se passe dans 10 secondes, cliquez sur le bouton ci-dessous.'; +$_MODULE['<{systempay}wedigital>redirect_99938b17c91170dfb0c2f3f8bc9f2a85'] = 'Payer'; +$_MODULE['<{systempay}wedigital>payment_multi_6a6e3d21de783a9a3a5c3beb3671968a'] = 'Cliquez sur une option pour payer en plusieurs fois'; +$_MODULE['<{systempay}wedigital>payment_multi_5bee4f6f9e35b8bb7e36ad0aea1b487b'] = 'Cliquez-ci dessous afin de choisir un paiement en plusieurs fois :'; +$_MODULE['<{systempay}wedigital>payment_oney_4803e7f3699700fce00b93f24e48d23d'] = 'Cliquez ici pour payer avec FacilyPay Oney'; +$_MODULE['<{systempay}wedigital>payment_return_be6df635dcc7e523098a34e105376cee'] = 'La boutique est en mode maintenance. La validation automatique ne peut fonctionner.'; +$_MODULE['<{systempay}wedigital>payment_return_93ec33bd6d2df2fd2c69cc83ef77ddee'] = 'La validation automatique n\'a pas fonctionné. Avez-vous configuré correctement l\'URL de notification dans le Back Office Systempay ?'; +$_MODULE['<{systempay}wedigital>payment_return_aed9aa264932d1a9f52d263956117993'] = 'Afin de comprendre la problématique, reportez vous à la documentation du module : '; +$_MODULE['<{systempay}wedigital>payment_return_b6b31e5e082ae15d4942daa6b8ce78f0'] = 'Chapitre «A lire attentivement avant d\'aller loin»'; +$_MODULE['<{systempay}wedigital>payment_return_8dce4920007239e5dce0eea948ddeee3'] = 'Chapitre «Paramétrage de l\'URL de notification»'; +$_MODULE['<{systempay}wedigital>payment_return_18c51ad1b1fe562479120ab35f890fc9'] = 'Si vous pensez qu\'il s\'agit d\'une erreur, vous pouvez contacter notre'; +$_MODULE['<{systempay}wedigital>payment_return_64430ad2835be8ad60c59e7d44e4b0b1'] = 'service client'; +$_MODULE['<{systempay}wedigital>payment_return_73f642dd4a7e09c7570833f584f77263'] = 'PASSER EN PRODUCTION'; +$_MODULE['<{systempay}wedigital>payment_return_fce9858aa1e2d1353476b18320719dc3'] = 'Vous souhaitez savoir comment passer votre boutique en production merci de consulter cette URL : '; +$_MODULE['<{systempay}wedigital>payment_return_de24df15226a5139eb60c3b24c1efbd6'] = 'Votre commande a été enregistrée avec une erreur de paiement.'; +$_MODULE['<{systempay}wedigital>payment_return_3fee1227f1b7e441476ccb45278a5f22'] = 'Nous vous invitons à contacter notre'; +$_MODULE['<{systempay}wedigital>payment_return_2e2117b7c81aa9ea6931641ea2c6499f'] = 'Votre commande sur'; +$_MODULE['<{systempay}wedigital>payment_return_75fbf512d744977d62599cc3f0ae2bb4'] = 'est terminée.'; +$_MODULE['<{systempay}wedigital>payment_return_ee9d464a5f04b1c5f548d1655691ce82'] = 'Nous avons enregistré votre paiement de'; +$_MODULE['<{systempay}wedigital>payment_return_0db71da7150c27142eef9d22b843b4a9'] = 'Pour toute question ou information complémentaire, veuillez contacter notre'; +$_MODULE['<{systempay}wedigital>payment_std_b1bdf76454f7e864d239b0c71ee97815'] = 'Cliquer ici pour payer par carte bancaire'; +$_MODULE['<{systempay}wedigital>payment_std_d0a07bc7bd65a0b0286bfca021f8e280'] = 'Entrez les informations sur le paiement puis cliquez sur le bouton «Payer»'; +$_MODULE['<{systempay}wedigital>payment_std_a44217022190f5734b2f72ba1e4f8a79'] = 'Numéro de carte'; +$_MODULE['<{systempay}wedigital>payment_std_60a104dc50579d60cbc90158fada1dcf'] = 'CVV'; +$_MODULE['<{systempay}wedigital>payment_std_8c1279db4db86553e4b9682f78cf500e'] = 'Date d\'expiration'; +$_MODULE['<{systempay}wedigital>payment_std_7cbb885aa1164b390a0bc050a64e1812'] = 'Mois'; +$_MODULE['<{systempay}wedigital>payment_std_537c66b24ef5c83b7382cdc3f34885f2'] = 'Année'; +$_MODULE['<{systempay}wedigital>payment_std_8bd4837a76cf443ab523a51895e23c36'] = 'Payer'; +$_MODULE['<{systempay}wedigital>payment_std_232494300d599d953faf1c3a47d56308'] = 'Paiement par carte bleue'; diff --git a/themes/toutpratique/modules/themeconfigurator/translations/fr.php b/themes/toutpratique/modules/themeconfigurator/translations/fr.php new file mode 100644 index 00000000..2c020572 --- /dev/null +++ b/themes/toutpratique/modules/themeconfigurator/translations/fr.php @@ -0,0 +1,70 @@ +themeconfigurator_e92dabb4907f1957cabc469cca4deefc'] = 'Configurateur de thème'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_cf8fdaf6e745133c90516eb9b74e31c3'] = 'Configurez les principaux éléments de votre thème.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_dd2eaa9871e00e3c9242934ce942c27c'] = 'Plus de 800 thèmes PrestaShop premium ! Découvrez-les dès maintenant !'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_ec870aa68b135c4f3adc9a3a2731ddbc'] = 'Impossible de supprimer la diapositive.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_3ee0c881516fce384747e3107dbfc538'] = 'Contenu invalide'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_dd2681ec1593dd537587be3389ee24d3'] = 'Une erreur est survenue lors de la sauvegarde des données.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_b9099a0a16c40efc8b73f548144d472f'] = 'Mise à jour effectuée avec succès.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_07b8c09e490f7afbdcfa9cd5bfcfd4a9'] = 'Une erreur est survenue lors de l\'upload de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_dccadfc1bf4714d72add6b2332505009'] = 'Élément ajouté avec succès.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_f1206f9fadc5ce41694f69129aecac26'] = 'Configurer'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_00d23a76e43b46dae9ec7aa9dcbebb32'] = 'Activé'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_b9f5c797ebbf55adccdd8539a65a0241'] = 'Désactivé'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_f4f70727dc34561dfde1a3c529b6205c'] = 'Paramètres'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_4351cfebe4b61d8aa5efa1d020710005'] = 'Afficher'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_058e1168dd26085fe8d317effdf70dc3'] = 'Vous seul pouvez voir cet outil sur votre front-office - vos visiteurs ne pourront pas le voir.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_6e3670bb5e3826106c5243b242cc52d9'] = 'Afficher les liens vers vos comptes de réseaux sociaux (Twitter, Facebook, etc.)'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_1334ff714a38e8004e9cdc755baa5afb'] = 'Afficher les informations de contact de votre boutique'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_2f4fe84a25dc0024c9e80b4efd1d68f6'] = 'Afficher les boutons de partage vers les réseaux sociaux sur vos pages produits'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_6080ab31226b39af728c2d40fd57f0d0'] = 'Afficher le bloc Facebook sur la page d\'accueil'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_2debd734d0a150ccfd48e8d1e8e914b0'] = 'Afficher le bloc CMS d\'information client'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_bfebda351190d4dbbd3499558175c7b9'] = 'Afficher la fenêtre quick view sur la page d\'accueil et les pages catégories'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_5e8fbd010bca773512f58a4dcd89ed13'] = 'Afficher les catégories sous forme de liste de produits au lieu de l\'affichage en grille par défaut'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_419e2c499b79ae49a7d50b510cddc28e'] = 'Afficher la bannière de haut de page'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_2393b3a8e21e442273b6ad9219f4786c'] = 'Afficher les logos des moyens de paiement disponibles'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_905791e2e93ced2cb9b092985604cc55'] = 'Afficher le configurateur de thème'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_2e4a0101b1ea2b15782a07dd34067447'] = 'L\'outil de personnalisation vous permet de changer les couleurs et la police utilisées par votre thème.'; +$_MODULE['<{themeconfigurator}wedigital>themeconfigurator_638c5a51a25a56ae4b8d6fa975be0d59'] = 'Afficher les sous-catégories'; +$_MODULE['<{themeconfigurator}wedigital>items_b9b371458ab7c314f88b81c553f6ce51'] = 'Point d\'accroche'; +$_MODULE['<{themeconfigurator}wedigital>items_7dce122004969d56ae2e0245cb754d35'] = 'Modifier'; +$_MODULE['<{themeconfigurator}wedigital>items_d3d2e617335f08df83599665eef8a418'] = 'Fermer'; +$_MODULE['<{themeconfigurator}wedigital>items_e8cf85cec621489ec026f7e06c67eb4e'] = 'Supprimer l\'élement'; +$_MODULE['<{themeconfigurator}wedigital>items_2faec1f9f8cc7f8f40d521c4dd574f49'] = 'Activer'; +$_MODULE['<{themeconfigurator}wedigital>items_cf82fa946fab5855cd8c6479b0eb95d1'] = 'Titre de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>items_2c92d496fa8efe3d5b2b38c185f9b7f7'] = 'Utiliser le titre sur l\'accueil'; +$_MODULE['<{themeconfigurator}wedigital>items_91081fbf39583a57fdde5efa138d0564'] = 'Point d\'accroche pour l\'image'; +$_MODULE['<{themeconfigurator}wedigital>items_100eb3bd7b79830fe86288a63e13d485'] = 'Charger votre image'; +$_MODULE['<{themeconfigurator}wedigital>items_6fed80a8c8ded2f5e14a687e4a443abc'] = 'Largeur de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>items_2aa3aa9d021c7cfffb5afa08f52fbc51'] = 'Hauteur de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>items_0eff773cf33456a033e913f6ed18045c'] = 'Lien cible'; +$_MODULE['<{themeconfigurator}wedigital>items_78698b9b0fa4eaac0876da3a900d5024'] = 'Ouvrir le lien dans un nouvel onglet / une nouvelle page'; +$_MODULE['<{themeconfigurator}wedigital>items_9e728651dbd9d313504d86294e193249'] = 'Code HTML optionnel'; +$_MODULE['<{themeconfigurator}wedigital>items_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{themeconfigurator}wedigital>items_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{themeconfigurator}wedigital>items_f453e0c33edd79653febd0b9bc8f09b3'] = 'Aucun élément disponible'; +$_MODULE['<{themeconfigurator}wedigital>new_ff19c966036b4a0c7350b2fc7e2861c2'] = 'Ajouter un élément'; +$_MODULE['<{themeconfigurator}wedigital>new_4994a8ffeba4ac3140beb89e8d41f174'] = 'Langue'; +$_MODULE['<{themeconfigurator}wedigital>new_cf82fa946fab5855cd8c6479b0eb95d1'] = 'Titre de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>new_2c92d496fa8efe3d5b2b38c185f9b7f7'] = 'Utiliser le titre sur l\'accueil'; +$_MODULE['<{themeconfigurator}wedigital>new_b9b371458ab7c314f88b81c553f6ce51'] = 'Point d\'accroche'; +$_MODULE['<{themeconfigurator}wedigital>new_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; +$_MODULE['<{themeconfigurator}wedigital>new_6fed80a8c8ded2f5e14a687e4a443abc'] = 'Largeur de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>new_2aa3aa9d021c7cfffb5afa08f52fbc51'] = 'Hauteur de l\'image'; +$_MODULE['<{themeconfigurator}wedigital>new_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{themeconfigurator}wedigital>new_4c87eb073eb09f42281d7e67aeacb223'] = 'Ouvrir dans une nouvelle fenêtre'; +$_MODULE['<{themeconfigurator}wedigital>new_4c4ad5fca2e7a3f74dbb1ced00381aa4'] = 'HTML'; +$_MODULE['<{themeconfigurator}wedigital>new_ea4788705e6873b424c65e91c2846b19'] = 'Annuler'; +$_MODULE['<{themeconfigurator}wedigital>new_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_f5a35b8e88be7f51ad3a3714a83df3a1'] = 'L\'outil de personnalisation vous permet de changer les couleurs et la police utilisées par votre thème.'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_c71534403c6e05ffbb8684ae96aac550'] = 'Vous seul pouvez voir cet outil, parce que vous êtes connecté au back-office en tant qu\'administrateur. Vos visiteur ne le verront pas.'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_45e035baf33a8e403766a606457f8b10'] = 'Couleur du thème'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_194f5394ae2e9c74dc3c441b92862d1d'] = 'Police'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_9a2c00f5f6df185a8d7d421ee70ccddf'] = 'Police du titre'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_ea3aba27f515989b46d990e95a097818'] = 'Choisissez une police'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_526d688f37a86d3c3f27d0c5016eb71d'] = 'Réinitialiser'; +$_MODULE['<{themeconfigurator}wedigital>live_configurator_c9cc8cce247e49bae79f15173ce97354'] = 'Enregistrer'; diff --git a/themes/toutpratique/modules/we_center_of_interest/translations/fr.php b/themes/toutpratique/modules/we_center_of_interest/translations/fr.php new file mode 100644 index 00000000..d0845c8a --- /dev/null +++ b/themes/toutpratique/modules/we_center_of_interest/translations/fr.php @@ -0,0 +1,18 @@ +we_center_of_interest_1f91de37eecb0636d27f96edb5ecc3ec'] = 'We centres d\'intérêt'; +$_MODULE['<{we_center_of_interest}wedigital>we_center_of_interest_f6ff1a9f7461bfa8fe2993b3c7251d60'] = 'Erreur pendant la sauvegarde des centres d\'intérêts'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_1f91de37eecb0636d27f96edb5ecc3ec'] = 'We centres d\'intérêts'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_690c564b9c0260e688f9bf2ba1d67a7e'] = 'Nombre de clients'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_48a688e2c614f9afa08c207d3556c2c8'] = 'Supprimer la sélection ?'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_77587239bf4c54ea493c7033e1dbf636'] = 'Nom'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_bc910f8bdf70f29374f496f05be0330c'] = 'Prénom'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email'; +$_MODULE['<{we_center_of_interest}wedigital>adminwecenterofinterestcontroller_4351cfebe4b61d8aa5efa1d020710005'] = ''; +$_MODULE['<{we_center_of_interest}wedigital>printwecenterofinterestofcustomercheckboxlist_a0efd1e10bb4a9b9eaeae916da8f8d76'] = 'Centres d\'intérêt'; diff --git a/themes/toutpratique/modules/we_customer2product/translations/fr.php b/themes/toutpratique/modules/we_customer2product/translations/fr.php new file mode 100644 index 00000000..ad851998 --- /dev/null +++ b/themes/toutpratique/modules/we_customer2product/translations/fr.php @@ -0,0 +1,102 @@ +we_customer2product_db3ef8763d43b0f94e7943bf65b55321'] = ''; +$_MODULE['<{we_customer2product}wedigital>we_customer2product_e8a9ea3bd340702db897de562e448b88'] = 'We Catégorie'; +$_MODULE['<{we_customer2product}wedigital>we_customer2product_9d1bf997ddf7fb5eaa6053850724a756'] = 'We Produit'; +$_MODULE['<{we_customer2product}wedigital>we_customer2product_c3a92a0f3c8d7e6aa496f7c6520cb37e'] = 'We Produit enregistré'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcategorycontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcategorycontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcategorycontroller_8346b3108bae52ec8b3e7d4c1559400d'] = 'Nombre de produits'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcategorycontroller_e8a9ea3bd340702db897de562e448b88'] = 'We Catégorie'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcategorycontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_cc25ac9ac177dc1388e514083160e14e'] = 'Nom du produit'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_995a4607eeb5c510f94ef822bf9ff458'] = 'Nom de la localisation'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_e0ed8e71dbd22a1e91cb570b52443fd5'] = 'Code postal'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_1a5cfa5d07a7c36cc9d95215a81fcc59'] = 'EAN / Numéro de série'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_0b7d17147a1ff358004414383c1ab04a'] = 'Prénom du client'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_b5e21c43729d1bd10dc6516bc9638a36'] = 'Nom du client'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pcontroller_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Supprimer la sélection ?'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_f6a900a1a37b97ca7f1acf57be3e40ce'] = 'Nombre de clients'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Supprimer la sélection ?'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_48ef92c6321b805b815950fbb91474a2'] = 'We Localisation'; +$_MODULE['<{we_customer2product}wedigital>adminwec2plocationcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_f6a900a1a37b97ca7f1acf57be3e40ce'] = 'Nombre de clients'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_de844224338403087263665805fcdfab'] = 'Nom de la catégorie'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Supprimer la sélection ?'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_9d1bf997ddf7fb5eaa6053850724a756'] = 'We Produit'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_customer2product}wedigital>adminwec2pproductcontroller_7c43b550150909601cbf433278975f2c'] = 'Retour à la liste des We Catégories'; +$_MODULE['<{we_customer2product}wedigital>create_account_f11a3a2bdfc247811c3fbdf0aba95a03'] = 'Inscrivez vous pour enregistrer un produit'; +$_MODULE['<{we_customer2product}wedigital>create_account_99fb48ddce014d8ad24810eeb3bfde68'] = 'Titre'; +$_MODULE['<{we_customer2product}wedigital>create_account_69691c7bdcc3ce6d5d8a1361f22d04ac'] = 'M'; +$_MODULE['<{we_customer2product}wedigital>create_account_4a3bc04657d9e1aaa46b506613da44cc'] = 'Mme'; +$_MODULE['<{we_customer2product}wedigital>create_account_20db0bfeecd8fe60533206a2b5e9891a'] = 'Prénom'; +$_MODULE['<{we_customer2product}wedigital>create_account_8d3f5eff9c40ee315d452392bed5309b'] = 'Nom'; +$_MODULE['<{we_customer2product}wedigital>create_account_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email'; +$_MODULE['<{we_customer2product}wedigital>create_account_10803b83a68db8f7e7a33e3b41e184d0'] = 'Date de naissance'; +$_MODULE['<{we_customer2product}wedigital>create_account_86f5978d9b80124f509bdb71786e929e'] = 'Janvier'; +$_MODULE['<{we_customer2product}wedigital>create_account_659e59f062c75f81259d22786d6c44aa'] = 'Février'; +$_MODULE['<{we_customer2product}wedigital>create_account_fa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars'; +$_MODULE['<{we_customer2product}wedigital>create_account_3fcf026bbfffb63fb24b8de9d0446949'] = 'Avril'; +$_MODULE['<{we_customer2product}wedigital>create_account_195fbb57ffe7449796d23466085ce6d8'] = 'Mai'; +$_MODULE['<{we_customer2product}wedigital>create_account_688937ccaf2a2b0c45a1c9bbba09698d'] = 'Juin'; +$_MODULE['<{we_customer2product}wedigital>create_account_1b539f6f34e8503c97f6d3421346b63c'] = 'Juillet'; +$_MODULE['<{we_customer2product}wedigital>create_account_41ba70891fb6f39327d8ccb9b1dafb84'] = 'Aout'; +$_MODULE['<{we_customer2product}wedigital>create_account_cc5d90569e1c8313c2b1c2aab1401174'] = 'Septembre'; +$_MODULE['<{we_customer2product}wedigital>create_account_eca60ae8611369fe28a02e2ab8c5d12e'] = 'Octobre'; +$_MODULE['<{we_customer2product}wedigital>create_account_7e823b37564da492ca1629b4732289a8'] = 'Novembre'; +$_MODULE['<{we_customer2product}wedigital>create_account_82331503174acbae012b2004f6431fa5'] = 'Décembre'; +$_MODULE['<{we_customer2product}wedigital>create_account_dc647eb65e6711e155375218212b3964'] = 'Mot de passe'; +$_MODULE['<{we_customer2product}wedigital>create_account_4c231e0da3eaaa6a9752174f7f9cfb31'] = 'Confirmation du mot de passe'; +$_MODULE['<{we_customer2product}wedigital>product_list_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{we_customer2product}wedigital>product_list_f1c8283c1f615935f742952b2780176c'] = 'Mes produits enregistrés'; +$_MODULE['<{we_customer2product}wedigital>product_list_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{we_customer2product}wedigital>product_list_ce5bf551379459c1c61d2a204061c455'] = 'Magasin'; +$_MODULE['<{we_customer2product}wedigital>product_list_e0ed8e71dbd22a1e91cb570b52443fd5'] = 'Code postal'; +$_MODULE['<{we_customer2product}wedigital>product_list_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{we_customer2product}wedigital>product_list_fc67ef59791492d5ae71620ac000398d'] = 'Vous n\'avez aucun produit enregistré.'; +$_MODULE['<{we_customer2product}wedigital>product_list_c9416c12dd017a6cb2108bf6b636427d'] = 'Enregistrer un produit'; +$_MODULE['<{we_customer2product}wedigital>register_product_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{we_customer2product}wedigital>register_product_c9416c12dd017a6cb2108bf6b636427d'] = 'Enregistrer un produit'; +$_MODULE['<{we_customer2product}wedigital>register_product_3d50d02a5750753db5f9720c05df45a2'] = 'Activez la garantie constructeur'; +$_MODULE['<{we_customer2product}wedigital>register_product_e5b02f9abd9f6d856696a769152aad38'] = 'Bénéficiez de mises à jour régulières envoyées par email'; +$_MODULE['<{we_customer2product}wedigital>register_product_077e426500cd8011952a6e6393f84350'] = 'Recevez nos ventes privées en exclusivité'; +$_MODULE['<{we_customer2product}wedigital>register_product_03f40b162efa572029aa9933cdeed1fc'] = 'Nouveau client ?'; +$_MODULE['<{we_customer2product}wedigital>register_product_5f0258bf719ab828e20edf91e4fb24a7'] = 'Déjà inscrit ?'; +$_MODULE['<{we_customer2product}wedigital>register_product_19f823c6453c2b1ffd09cb715214813d'] = 'Les champs marqués d’un astérisque sont obligatoires.'; +$_MODULE['<{we_customer2product}wedigital>register_product_3adbdb3ac060038aa0e6e6c138ef9873'] = 'Catégorie'; +$_MODULE['<{we_customer2product}wedigital>register_product_deb10517653c255364175796ace3553f'] = 'Produit'; +$_MODULE['<{we_customer2product}wedigital>register_product_73ee0828f318c935144b829c08a21c84'] = 'Date d\'achat'; +$_MODULE['<{we_customer2product}wedigital>register_product_86f5978d9b80124f509bdb71786e929e'] = 'Janvier'; +$_MODULE['<{we_customer2product}wedigital>register_product_659e59f062c75f81259d22786d6c44aa'] = 'Février'; +$_MODULE['<{we_customer2product}wedigital>register_product_fa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars'; +$_MODULE['<{we_customer2product}wedigital>register_product_3fcf026bbfffb63fb24b8de9d0446949'] = 'Avril'; +$_MODULE['<{we_customer2product}wedigital>register_product_195fbb57ffe7449796d23466085ce6d8'] = 'Mai'; +$_MODULE['<{we_customer2product}wedigital>register_product_688937ccaf2a2b0c45a1c9bbba09698d'] = 'Juin'; +$_MODULE['<{we_customer2product}wedigital>register_product_1b539f6f34e8503c97f6d3421346b63c'] = 'Juillet'; +$_MODULE['<{we_customer2product}wedigital>register_product_41ba70891fb6f39327d8ccb9b1dafb84'] = 'Aout'; +$_MODULE['<{we_customer2product}wedigital>register_product_cc5d90569e1c8313c2b1c2aab1401174'] = 'Septembre'; +$_MODULE['<{we_customer2product}wedigital>register_product_eca60ae8611369fe28a02e2ab8c5d12e'] = 'Octobre'; +$_MODULE['<{we_customer2product}wedigital>register_product_7e823b37564da492ca1629b4732289a8'] = 'Novembre'; +$_MODULE['<{we_customer2product}wedigital>register_product_82331503174acbae012b2004f6431fa5'] = 'Décembre'; +$_MODULE['<{we_customer2product}wedigital>register_product_e93c33bd1341ab74195430daeb63db13'] = 'Nom du magasin'; +$_MODULE['<{we_customer2product}wedigital>register_product_9aecfd7512be5cd32948a2a067e9d40c'] = 'Code postal du magasin'; +$_MODULE['<{we_customer2product}wedigital>register_product_c6c1518b2035ba95210ffbc1864df1ed'] = 'EAN / Numéro de série'; +$_MODULE['<{we_customer2product}wedigital>register_product_ce5aa604d6d1b39681bc72e4c4f26831'] = 'Retrouvez votre code EAN sur l\'\'emballage de votre produit. Il s\'agit du code à 13 chiffres inscrits sous le code barre.'; +$_MODULE['<{we_customer2product}wedigital>register_product_93edfc7af9b6471b30030cf17646e36c'] = 'Si vous souhaitez être tenu(e) informé(e) par e-mail de nos ventes privées et recevoir des informations en exclusivité, merci de cocher la case ci-contre.'; +$_MODULE['<{we_customer2product}wedigital>register_product_0ba7583639a274c434bbe6ef797115a4'] = 'Enregistrer'; +$_MODULE['<{we_customer2product}wedigital>register_product_a958dbb46713e59856c35f89e5092a5e'] = 'Retour au compte'; +$_MODULE['<{we_customer2product}wedigital>displaycustomeridentityform_f1c8283c1f615935f742952b2780176c'] = 'Produits enregistrés'; +$_MODULE['<{we_customer2product}wedigital>displaycustomeridentityform_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; +$_MODULE['<{we_customer2product}wedigital>displaycustomeridentityform_c5480e3037746d33a81ff1a78f47de30'] = '0 produit enregistré'; diff --git a/themes/toutpratique/modules/we_firmware/translations/fr.php b/themes/toutpratique/modules/we_firmware/translations/fr.php new file mode 100644 index 00000000..a2064880 --- /dev/null +++ b/themes/toutpratique/modules/we_firmware/translations/fr.php @@ -0,0 +1,36 @@ +we_firmware_725de1108a4a91f2222a7b087ca42588'] = ''; +$_MODULE['<{we_firmware}wedigital>we_firmware_77627fbd2a1a66a2afebaefa534e3561'] = ''; +$_MODULE['<{we_firmware}wedigital>we_firmware_0000f235b7247955fece65e79a73f928'] = 'Fichier firmware'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_b718adec73e04ce3ec720dd11a06a308'] = ''; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_44749712dbec183e983dcd78a7736c41'] = 'Date'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_34b6cd75171affba6957e308dcbd92be'] = 'Version'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_0b27918290ff5323bea1e3b78a9cf04e'] = 'Fichier'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_bb1baa0685de414de8151f850cb822d7'] = 'Nom du firmware'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Voulez-vous vraiment supprimer la sélection ?'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_0000f235b7247955fece65e79a73f928'] = 'Fichier firmware'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_34082694d21dbdcfc31e6e32d9fb2b9f'] = ''; +$_MODULE['<{we_firmware}wedigital>adminwefirmwarefilecontroller_30644772ee4bdc5c608c7ef703b1b599'] = 'Retour à la liste des firmwares'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_b718adec73e04ce3ec720dd11a06a308'] = ''; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_198bb2c3b6e7054e6017451b475d73b8'] = 'Lien réécrit'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_1f1b23d1220a4d6cf73706b45f3c2b84'] = 'Nombre de fichiers'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_48a688e2c614f9afa08c207d3556c2c8'] = 'Voulez-vous vraiment supprimer la sélection ?'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_d88f1931f77ce3684b27632f1202fa70'] = 'Firmware'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description'; +$_MODULE['<{we_firmware}wedigital>adminwefirmwareproductcontroller_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL'; +$_MODULE['<{we_firmware}wedigital>default_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{we_firmware}wedigital>default_3971d7e0f60c694e3708a9e9b73cb4e1'] = 'Mises à jour firmwares'; +$_MODULE['<{we_firmware}wedigital>default_5612f976d775a983c17068f2f0b70d7a'] = 'Le Firmware est le système d\'exploitation (OS) de votre passerelle ou disque dur multimédia WE.'; +$_MODULE['<{we_firmware}wedigital>default_1fd034d1808ea2a73cad88992ca9ad50'] = 'Vous trouverez régulièrement sur ce site des mises à jours à télécharger gratuitement et à installer sur votre produit pour pouvoir bénéficier de nouvelles fonctionnalités et améliorations.'; +$_MODULE['<{we_firmware}wedigital>default_e0d56718e9f7aa08834587845c64524a'] = 'Sélectionnez un modèle'; +$_MODULE['<{we_firmware}wedigital>default_4618338b9ff90b77ffb8d1956f2be242'] = 'Firmwares disponibles'; +$_MODULE['<{we_firmware}wedigital>default_8eb80259dd91004e23b29e09da82daa3'] = 'Télécharger'; +$_MODULE['<{we_firmware}wedigital>default_42a7b2626eae970122e01f65af2f5092'] = 'Aucune donnée'; diff --git a/themes/toutpratique/modules/we_mail/translations/fr.php b/themes/toutpratique/modules/we_mail/translations/fr.php new file mode 100644 index 00000000..4b6139b6 --- /dev/null +++ b/themes/toutpratique/modules/we_mail/translations/fr.php @@ -0,0 +1,9 @@ +we_mail_236f3ad7178f2d0ccbb40f9418b3d461'] = ''; +$_MODULE['<{we_mail}wedigital>we_mail_34cf5a8facc443eedb5d03242d61b5c0'] = ''; +$_MODULE['<{we_mail}wedigital>we_mail_5890f04759eaa152afdfd6bdb8bc7c8a'] = 'contactez-le-support'; +$_MODULE['<{we_mail}wedigital>contact-form_b2c8bd402b866b3adb1e22c756c17294'] = 'Date d\'achat'; +$_MODULE['<{we_mail}wedigital>contact-form_1f5b5fef0f471a2f7b69eca90a0cc5e8'] = 'Lieux d\'achat'; diff --git a/themes/toutpratique/modules/we_odr/translations/fr.php b/themes/toutpratique/modules/we_odr/translations/fr.php new file mode 100644 index 00000000..1cd2b021 --- /dev/null +++ b/themes/toutpratique/modules/we_odr/translations/fr.php @@ -0,0 +1,92 @@ +we_odr_fccc30309c368f03daae37699cb19308'] = 'We Offre de remboursement'; +$_MODULE['<{we_odr}wedigital>we_odr_8d8e421093f9343d196742224c3ff602'] = 'Offre de remboursement'; +$_MODULE['<{we_odr}wedigital>we_odr_9db088f49a085e27805f11232781b53b'] = 'Offre de remboursement [Magasin]'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_b718adec73e04ce3ec720dd11a06a308'] = 'ID'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer la sélection'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_48a688e2c614f9afa08c207d3556c2c8'] = 'Supprimers les éléments ?'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_146255278d51b22b476bde534794c69b'] = 'We Magasin'; +$_MODULE['<{we_odr}wedigital>adminwemagasincontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvegarder'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_b718adec73e04ce3ec720dd11a06a308'] = 'Id'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_c9437f7d5f041bdf9e1361e6966ee00e'] = 'Identifiant'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_d4700b697a54fbd43a1a613d32694e7f'] = 'Nom'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_6459fdfbb10de4a2ab3783faba1bdc5a'] = 'Date de début'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_d531d7a8065289e3ab17b6164bf2291b'] = 'Date de fin'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_a9f35372e5f038fe5244dc297166e30e'] = 'Actif'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_0b27918290ff5323bea1e3b78a9cf04e'] = 'Fichier'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_d3b206d196cd6be3a2764c1fb90b200f'] = 'Supprimer sélection'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_e25f0ecd41211b01c83e5fec41df4fe7'] = 'Supprimer la sélection ?'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_fccc30309c368f03daae37699cb19308'] = 'We Offre de remboursement'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_c9cc8cce247e49bae79f15173ce97354'] = 'Sauvergarder'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_490aa6e856ccf208a054389e47ce0d06'] = 'Numéro unique d\'opération'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_e6b391a8d2c4d45902a23a8b6585703d'] = 'URL (Alias)'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_b5a7adde1af5c87d7fd797b6245c2a39'] = 'Description '; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_1777e460c7fbfddec0848e29d8cd676f'] = 'Texte pour impression'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_e30e2cb9aa296049a2d8ba40f41b7f8a'] = 'Nom du produit'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_055c3b93959e358270eb3affd3bb9917'] = 'Magasins'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_be53a0541a6d36f6ecb879fa2c584b08'] = 'Image'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_0945359809dad1fbf3dea1c95a0da951'] = 'Document'; +$_MODULE['<{we_odr}wedigital>adminweodrcontroller_0095a9fa74d1713e43e370a7d7846224'] = 'Export'; +$_MODULE['<{we_odr}wedigital>create_account_ee8b4159c7e233e1424e49a880e43a35'] = 'Inscrivez-vous pour bénéficier du remboursement'; +$_MODULE['<{we_odr}wedigital>create_account_99fb48ddce014d8ad24810eeb3bfde68'] = 'Titre'; +$_MODULE['<{we_odr}wedigital>create_account_69691c7bdcc3ce6d5d8a1361f22d04ac'] = 'M'; +$_MODULE['<{we_odr}wedigital>create_account_4a3bc04657d9e1aaa46b506613da44cc'] = 'Mme'; +$_MODULE['<{we_odr}wedigital>create_account_20db0bfeecd8fe60533206a2b5e9891a'] = 'Prénom'; +$_MODULE['<{we_odr}wedigital>create_account_8d3f5eff9c40ee315d452392bed5309b'] = 'Nom'; +$_MODULE['<{we_odr}wedigital>create_account_ce8ae9da5b7cd6c3df2929543a9af92d'] = 'Email'; +$_MODULE['<{we_odr}wedigital>create_account_10803b83a68db8f7e7a33e3b41e184d0'] = 'Date de naissance'; +$_MODULE['<{we_odr}wedigital>create_account_dc647eb65e6711e155375218212b3964'] = 'Mot de passe'; +$_MODULE['<{we_odr}wedigital>create_account_4c231e0da3eaaa6a9752174f7f9cfb31'] = 'Confirmation de mot de passe'; +$_MODULE['<{we_odr}wedigital>customer_list_d95cf4ab2cbf1dfb63f066b50558b07d'] = 'Mon compte'; +$_MODULE['<{we_odr}wedigital>customer_list_a1f1446b671027c5d6bc25d5b8ae5144'] = 'Mes offres de remboursement'; +$_MODULE['<{we_odr}wedigital>customer_list_3050f55097c040d6ff6386e99723dc7a'] = 'Justificatif de participation'; +$_MODULE['<{we_odr}wedigital>customer_list_c832497af43e9315426ca8221ea33eec'] = 'La liste de mes participations'; +$_MODULE['<{we_odr}wedigital>customer_list_49ee3087348e8d44e1feda1917443987'] = 'Nom'; +$_MODULE['<{we_odr}wedigital>customer_list_fdb0c388de01d545017cdf9ccf00eb72'] = 'Magasin'; +$_MODULE['<{we_odr}wedigital>customer_list_73ee0828f318c935144b829c08a21c84'] = 'Date d\'achat'; +$_MODULE['<{we_odr}wedigital>customer_list_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions'; +$_MODULE['<{we_odr}wedigital>customer_list_13dba24862cf9128167a59100e154c8d'] = 'Imprimer'; +$_MODULE['<{we_odr}wedigital>customer_list_a82be0f551b8708bc08eb33cd9ded0cf'] = 'Information'; +$_MODULE['<{we_odr}wedigital>customer_list_3ec365dd533ddb7ef3d1c111186ce872'] = 'Détails'; +$_MODULE['<{we_odr}wedigital>customer_list_e19726b466603bc3e444dd26fbcde074'] = 'Adresse'; +$_MODULE['<{we_odr}wedigital>customer_list_6c2ecb77b3528c0638a03f0549d08932'] = 'Aucune offre'; +$_MODULE['<{we_odr}wedigital>list_940acd7b10db3d56318cbc48e1e961b9'] = 'Offres de remboursement'; +$_MODULE['<{we_odr}wedigital>list_79aae6b3228151526af1ddc61640f8e4'] = 'Consulter les modalités de l\'offre'; +$_MODULE['<{we_odr}wedigital>list_0d7ca9097372cc4f1994dbc36709f9b8'] = 'Déjà participé'; +$_MODULE['<{we_odr}wedigital>list_37ae732b3e186276e9c183ea60c882bc'] = 'Bénéficier'; +$_MODULE['<{we_odr}wedigital>list_2d25c72c1b18e562f6654fff8e11711e'] = 'Offre expirée'; +$_MODULE['<{we_odr}wedigital>list_ea31d5227d31c527d87cd03989a1d223'] = 'Il n\'y a pas d\'offre pour le moment'; +$_MODULE['<{we_odr}wedigital>subscribe_940acd7b10db3d56318cbc48e1e961b9'] = 'Offres de remboursement'; +$_MODULE['<{we_odr}wedigital>subscribe_03f40b162efa572029aa9933cdeed1fc'] = 'Nouveau client ?'; +$_MODULE['<{we_odr}wedigital>subscribe_5f0258bf719ab828e20edf91e4fb24a7'] = 'Déjà inscrit ?'; +$_MODULE['<{we_odr}wedigital>subscribe_2d92522b1b851ca21b6602f454f205a9'] = 'Votre remboursement'; +$_MODULE['<{we_odr}wedigital>subscribe_3f9e1babe66461c2a0023c15eefd9835'] = 'Enseigne d\'achat participant à l\'offre'; +$_MODULE['<{we_odr}wedigital>subscribe_961f2247a2070bedff9f9cd8d64e2650'] = 'Choisissez'; +$_MODULE['<{we_odr}wedigital>subscribe_d35ddb1f7797af3aecb58334634bcf90'] = 'Quelle est votre catégorie socioprofessionellle ?'; +$_MODULE['<{we_odr}wedigital>subscribe_73ee0828f318c935144b829c08a21c84'] = 'Date d\'achat'; +$_MODULE['<{we_odr}wedigital>subscribe_86f5978d9b80124f509bdb71786e929e'] = 'Janvier'; +$_MODULE['<{we_odr}wedigital>subscribe_659e59f062c75f81259d22786d6c44aa'] = 'Février'; +$_MODULE['<{we_odr}wedigital>subscribe_fa3e5edac607a88d8fd7ecb9d6d67424'] = 'Mars'; +$_MODULE['<{we_odr}wedigital>subscribe_3fcf026bbfffb63fb24b8de9d0446949'] = 'Avril'; +$_MODULE['<{we_odr}wedigital>subscribe_195fbb57ffe7449796d23466085ce6d8'] = 'Mai'; +$_MODULE['<{we_odr}wedigital>subscribe_688937ccaf2a2b0c45a1c9bbba09698d'] = 'Juin'; +$_MODULE['<{we_odr}wedigital>subscribe_1b539f6f34e8503c97f6d3421346b63c'] = 'Juillet'; +$_MODULE['<{we_odr}wedigital>subscribe_41ba70891fb6f39327d8ccb9b1dafb84'] = 'Aout'; +$_MODULE['<{we_odr}wedigital>subscribe_cc5d90569e1c8313c2b1c2aab1401174'] = 'Septembre'; +$_MODULE['<{we_odr}wedigital>subscribe_eca60ae8611369fe28a02e2ab8c5d12e'] = 'Octobre'; +$_MODULE['<{we_odr}wedigital>subscribe_7e823b37564da492ca1629b4732289a8'] = 'Novembre'; +$_MODULE['<{we_odr}wedigital>subscribe_82331503174acbae012b2004f6431fa5'] = 'Décembre'; +$_MODULE['<{we_odr}wedigital>subscribe_5ea91e36ee128079f41450055bf22db0'] = 'A quelle utilisation est destinée ce produit ?'; +$_MODULE['<{we_odr}wedigital>subscribe_87e9eb1c1a013b2e84944d6c1cef86fd'] = 'Information produit'; +$_MODULE['<{we_odr}wedigital>subscribe_b2a1e8c4e743228e0a3719e3abc4cc1e'] = 'Téléphone'; +$_MODULE['<{we_odr}wedigital>subscribe_e8db5d78beed03f5ce2da54548309c0e'] = 'Mon adresse'; +$_MODULE['<{we_odr}wedigital>subscribe_57d056ed0984166336b7879c2af3657f'] = 'Ville'; +$_MODULE['<{we_odr}wedigital>subscribe_e0ed8e71dbd22a1e91cb570b52443fd5'] = 'Code postal'; +$_MODULE['<{we_odr}wedigital>subscribe_4ef309d0439278f1a8e1130024a6822a'] = 'J\'accepte les modalités de l\'offre.'; +$_MODULE['<{we_odr}wedigital>subscribe_a182acad35aebac9748912e2e59fafb7'] = 'J\'accepte de recevoir de l\'information de la part de WE et de ses partenaires.'; +$_MODULE['<{we_odr}wedigital>subscribe_c9cc8cce247e49bae79f15173ce97354'] = 'Valider'; +$_MODULE['<{we_odr}wedigital>subscribe_f5c90bb8e5bd084e92d1e4cce9aa2705'] = 'Consulter les modalités de l\'offre'; diff --git a/themes/toutpratique/modules/we_order_sync/translations/fr.php b/themes/toutpratique/modules/we_order_sync/translations/fr.php new file mode 100644 index 00000000..55edb27f --- /dev/null +++ b/themes/toutpratique/modules/we_order_sync/translations/fr.php @@ -0,0 +1,5 @@ +we_order_sync_ddb9bd3fa3d9e17674f50c73a648aa33'] = ''; diff --git a/themes/toutpratique/modules/zipcodezone/translations/fr.php b/themes/toutpratique/modules/zipcodezone/translations/fr.php new file mode 100644 index 00000000..0d243acb --- /dev/null +++ b/themes/toutpratique/modules/zipcodezone/translations/fr.php @@ -0,0 +1,29 @@ +zipcodezone_0a8e18cfc3c8ac39712415a1d60b6435'] = 'Frais de port par codes postaux'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_371ee99f02d7caefe8d62e07ba6a4668'] = 'Attribuez des codes postaux à des zones facilement'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_c2f3f489a00553e7a01d369c103c7251'] = 'NON'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_7469a286259799e5b37e5db9296f00b3'] = 'OUI'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_58a8858edd68743ee3a1fd248a3cb1da'] = 'Êtes-vous satisfait de ce module ?'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_f6badac0f48e72fcaf812abce1880f8e'] = 'Heureux d\'entendre cela ! SVP, cliquez ici pour laisser une note sur la boutique PrestaShop. J\'apprécierais énormément !'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_63f89ad94a24d9b53c0e3b8389c6c61c'] = 'Désolé d\'entendre cela. Cliquez ici pour m\'envoyer un message. Nous allons regarder cela ensemble.'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_a3a130ed07acede4b28261e08cacc264'] = 'Condition ajoutée avec succès'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_a25c753ee3e4be15ec0daa5a40deb7b8'] = 'Une erreur s\'est produite'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_facc03484661e63444dbfe1c4b5243a7'] = 'Condition supprimée avec succès'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_643202d7ee8cb01d888e058b5341455a'] = 'Ajouter une condition'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_5b6cf869265c13af8566f192b4ab3d2a'] = 'Documentation'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_59716c97497eb9694541f7c3d37b1a4d'] = 'Pays'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_b3ff996fe5c77610359114835baf9b38'] = 'Zone'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_9e6b1b02f8db6e638fd40eaccc5edc8f'] = 'Code postal (min)'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_0f8bee43eef5c37484577ac22e2b296e'] = 'Code postal (max)'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_ec211f7c20af43e742bf2570c3cb84f9'] = 'Ajouter'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_9bf0f3eec392c8a7d14b4defef7f686c'] = 'Import CSV'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_ba7701477c53b789a610dd7c1d4a096b'] = 'Cliquez pour voir un ficher CSV exemple'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_0072cbeb5f794500f2d517af49b9d7e1'] = 'Fichier CSV'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_5ee887b07fec506493bb0c0eb597ea89'] = 'Ignorer la première ligne'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_04b2e4188d4ef8051e4699da8af01335'] = 'Séparateur'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_229eb04083e06f419f9ac494329f957d'] = 'Conditions'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_06df33001c1d7187fdd81ea1f5b277aa'] = 'Actions'; +$_MODULE['<{zipcodezone}wedigital>zipcodezone_f2a6c498fb90ee345d997f888fce3b18'] = 'Supprimer'; diff --git a/themes/toutpratique/my-account.tpl b/themes/toutpratique/my-account.tpl new file mode 100644 index 00000000..25f8daa9 --- /dev/null +++ b/themes/toutpratique/my-account.tpl @@ -0,0 +1,74 @@ +{capture name=path}{l s='My account'}{/capture} +
      +
      +
      + {if !$content_only} + + {/if} +
      +

      {l s='My account'}

      +

      {l s='Welcome to your account. Here you can manage all of your personal information and orders.'}

      +
      +
      + + {if isset($account_created)} +

      + {l s='Your account has been created.'} +

      + {/if} + + +
      +
      diff --git a/themes/toutpratique/nbr-product-page.tpl b/themes/toutpratique/nbr-product-page.tpl new file mode 100644 index 00000000..7a854292 --- /dev/null +++ b/themes/toutpratique/nbr-product-page.tpl @@ -0,0 +1,74 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if isset($p) AND $p} + {if isset($smarty.get.id_category) && $smarty.get.id_category && isset($category)} + {assign var='requestPage' value=$link->getPaginationLink('category', $category, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink('category', $category, true, false, false, true)} + {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer && isset($manufacturer)} + {assign var='requestPage' value=$link->getPaginationLink('manufacturer', $manufacturer, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink('manufacturer', $manufacturer, true, false, false, true)} + {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier && isset($supplier)} + {assign var='requestPage' value=$link->getPaginationLink('supplier', $supplier, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink('supplier', $supplier, true, false, false, true)} + {else} + {assign var='requestPage' value=$link->getPaginationLink(false, false, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink(false, false, true, false, false, true)} + {/if} + + {if $nb_products > $nArray[0]} +
      +
      + {if isset($search_query) AND $search_query} + + {/if} + {if isset($tag) AND $tag AND !is_array($tag)} + + {/if} + + {if is_array($requestNb)} + {foreach from=$requestNb item=requestValue key=requestKey} + {if $requestKey != 'requestUrl'} + + {/if} + {/foreach} + {/if} + + {l s='per page'} +
      +
      + {/if} + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/new-products.tpl b/themes/toutpratique/new-products.tpl new file mode 100644 index 00000000..8ba5f7bc --- /dev/null +++ b/themes/toutpratique/new-products.tpl @@ -0,0 +1,37 @@ +{capture name=path}{l s='New products'}{/capture} +
      +
      +
      + +
      +
      +
      +

      {l s='New products'}

      +
      + {if $category->id_image} +
      + +
      + {/if} +
      +
      +
      + + {include file="$tpl_dir./errors.tpl"} + +
      + {if $products} +
      + {hook h='displayFilters'} +
      + {include file="./product-list.tpl" products=$products} +
      +
      + {/if} +
      +
      +
      \ No newline at end of file diff --git a/themes/toutpratique/order-address-multishipping-products.tpl b/themes/toutpratique/order-address-multishipping-products.tpl new file mode 100644 index 00000000..7f81baf0 --- /dev/null +++ b/themes/toutpratique/order-address-multishipping-products.tpl @@ -0,0 +1,53 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +

      {l s='Choose the delivery addresses'}

      +
      + + + + + + + + + + + + + {foreach $product_list as $product} + {assign var='productId' value=$product.id_product} + {assign var='productAttributeId' value=$product.id_product_attribute} + {assign var='quantityDisplayed' value=0} + {assign var='odd' value=$product@iteration%2} + {* Display the product line *} + {include file="$tpl_dir./order-address-product-line.tpl" productLast=$product@last productFirst=$product@first} + {/foreach} + +
      {l s='Product'}{l s='Description'}{l s='Ref.'}{l s='Avail.'}{l s='Qty'}{l s='Shipping address'}
      +
      +{addJsDefL name=CloseTxt}{l s='Submit' js=1}{/addJsDefL} +{addJsDefL name=QtyChanged}{l s='Some product quantities have changed. Please check them' js=1}{/addJsDefL} +{addJsDefL name=ShipToAnOtherAddress}{l s='Ship to multiple addresses' js=1}{/addJsDefL} \ No newline at end of file diff --git a/themes/toutpratique/order-address-multishipping.tpl b/themes/toutpratique/order-address-multishipping.tpl new file mode 100644 index 00000000..9d7fd464 --- /dev/null +++ b/themes/toutpratique/order-address-multishipping.tpl @@ -0,0 +1,116 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if !$opc} + {assign var='current_step' value='address'} + {capture name=path}{l s='Addresses'}{/capture} + {assign var="back_order_page" value="order.php"} +

      {l s='Addresses'}

      + {include file="$tpl_dir./order-steps.tpl"} + {include file="$tpl_dir./errors.tpl"} + {include file="$tpl_dir./order-address-multishipping-products.tpl"} +
      +{else} + {assign var="back_order_page" value="order-opc.php"} +

      1 {l s='Addresses'}

      +
      + +{/if} +
      + +

      id_address_invoice == $cart->id_address_delivery}style="display: none;"{/if}> + + {if $addresses|@count >= 1} +

      + + +
      + {else} + {l s='Add a new address'} + {/if} +

      +
      +
      +
        +
      +
      +
      +

      + {l s='Add a new address'} +

      + {if !$opc} +
      + + +
      + {/if} +
      +{if !$opc} +

      + + + {if $back} + {l s='Continue Shopping'} + {else} + {l s='Continue Shopping'} + {/if} + +

      + +{else} +
      +{/if} +{strip} +{if !$opc} + {addJsDef orderProcess='order'} + {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} + {addJsDef currencyRate=$currencyRate|floatval} + {addJsDef currencyFormat=$currencyFormat|intval} + {addJsDef currencyBlank=$currencyBlank|intval} + {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} + {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} + {addJsDefL name=CloseTxt}{l s='Submit' js=1}{/addJsDefL} + {addJsDefL name=txtSelectAnAddressFirst}{l s='Please start by selecting an address' js=1}{/addJsDefL} +{/if} +{capture}{if $back}&mod={$back|urlencode}{/if}{/capture} +{capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} +{addJsDef addressUrl=$smarty.capture.addressUrl} +{capture}{'&multi-shipping=1'|urlencode}{/capture} +{addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} +{capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} +{addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} +{addJsDef formatedAddressFieldsValuesList=$formatedAddressFieldsValuesList} +{addJsDef opc=$opc|boolval} +{capture}

      {l s='Your billing address' js=1}

      {/capture} +{addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}

      {l s='Your delivery address' js=1}

      {/capture} +{addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}{l s='Update' js=1}{/capture} +{addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/order-address-product-line.tpl b/themes/toutpratique/order-address-product-line.tpl new file mode 100644 index 00000000..e6cf67e4 --- /dev/null +++ b/themes/toutpratique/order-address-product-line.tpl @@ -0,0 +1,78 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @version Release: $Revision$ +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + {$product.name|escape:'html':'UTF-8'} + + +

      {$product.name|escape:'html':'UTF-8'}

      + {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'html':'UTF-8'}{/if} + + {if $product.reference}{$product.reference|escape:'html':'UTF-8'}{else}--{/if} + {if $product.stock_quantity > 0}{l s='In Stock'}{else}{l s='Out of Stock'}{/if} + + {if isset($cannotModify) AND $cannotModify == 1} + {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)}{$customizedDatas.$productId.$productAttributeId|@count}{else}{$product.cart_quantity-$quantityDisplayed}{/if} + {else} + {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0} + + +
      + {if $product.minimal_quantity < ($product.cart_quantity-$quantityDisplayed) OR $product.minimal_quantity <= 1} + + {else} + + {/if} + +
      + {/if} + {/if} + + +
      +
      + + + +
      +
      + + \ No newline at end of file diff --git a/themes/toutpratique/order-address.tpl b/themes/toutpratique/order-address.tpl new file mode 100644 index 00000000..9fa0d6df --- /dev/null +++ b/themes/toutpratique/order-address.tpl @@ -0,0 +1,121 @@ +{assign var='current_step' value='address'} +{capture name=path}{l s='Addresses'}{/capture} +{assign var="back_order_page" value="order.php"} + +{include file="$tpl_dir./errors.tpl"} + +
      +
      +
      + +
      +

      + {l s='Addresses'} +

      + {include file="$tpl_dir./order-steps.tpl"} +
      +
      +
      +
      + + +
      +
      + + + +

      isVirtualCart()} style="display:none;"{/if}> + id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1} checked="checked"{/if} /> + +

      +
      +
      + {if $addresses|@count > 1} + + + {else} + + {l s='Add a new address'} + + + {/if} +
      +
      + + +
      +
      isVirtualCart()} style="display:none;"{/if}> +
        +
      +
      +
      +
        +
      +
      +
      + +

      + + + {l s='Add a new address'} + +

      + +

      + + + + {l s='Continue Shopping'} + + +

      + +
      +
      +
      +
      + +{strip} +{if !$opc} + {addJsDef orderProcess='order'} + {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} + {addJsDef currencyRate=$currencyRate|floatval} + {addJsDef currencyFormat=$currencyFormat|intval} + {addJsDef currencyBlank=$currencyBlank|intval} + {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} + {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} + {addJsDefL name=CloseTxt}{l s='Submit' js=1}{/addJsDefL} +{/if} +{capture}{if $back}&mod={$back|urlencode}{/if}{/capture} +{capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} +{addJsDef addressUrl=$smarty.capture.addressUrl} +{capture}{'&multi-shipping=1'|urlencode}{/capture} +{addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} +{capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} +{addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} +{addJsDef formatedAddressFieldsValuesList=$formatedAddressFieldsValuesList} +{addJsDef opc=$opc|boolval} +{capture}

      {l s='Your billing address' js=1}

      {/capture} +{addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}

      {l s='Your delivery address' js=1}

      {/capture} +{addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}{l s='Update' js=1}{/capture} +{addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/order-carrier.tpl b/themes/toutpratique/order-carrier.tpl new file mode 100644 index 00000000..55f3bd89 --- /dev/null +++ b/themes/toutpratique/order-carrier.tpl @@ -0,0 +1,132 @@ +{assign var='current_step' value='address'} +{capture name=path}{l s='Your shopping cart'}{/capture} +{assign var="back_order_page" value="order.php"} + +{include file="$tpl_dir./errors.tpl"} + +
      +
      +
      + +
      +

      + {l s='Addresses'} +

      + {include file="$tpl_dir./order-steps.tpl"} +
      +
      +
      +
      + + +
      +
      +
      + + +
      +

      isVirtualCart()} style="display:none;"{/if}> + id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1} checked="checked"{/if} /> + +

      +
      +
      + {if $addresses|@count > 1} + + + {else} + + {l s='Add a new address'} + + + {/if} +
      +
      + + +
      +
      isVirtualCart()} style="display:none;"{/if}> +
        +
      +
      +
      +
        +
      +
      +
      + +

      + + + {l s='Add a new address'} + +

      + + +

      {l s='Choose your shipping costs'}

      +
      + {include file="$tpl_dir./ajax-order-carrier.tpl"} +
      + + + + +

      + + + {l s='Continue Shopping'} + +

      +
      +
      +
      +
      + +{strip} + {if !$opc} + {addJsDef orderProcess='order'} + {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} + {addJsDef currencyRate=$currencyRate|floatval} + {addJsDef currencyFormat=$currencyFormat|intval} + {addJsDef currencyBlank=$currencyBlank|intval} + {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} + {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} + {addJsDefL name=CloseTxt}{l s='Submit' js=1}{/addJsDefL} + {/if} + {addJsDef orderUrl=$link->getPageLink("order", true)|escape:'quotes':'UTF-8'} + {capture}{if $back}&mod={$back|urlencode}{/if}{/capture} + {capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} + {addJsDef addressUrl=$smarty.capture.addressUrl} + {capture}{'&multi-shipping=1'|urlencode}{/capture} + {addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} + {capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} + {addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} + {addJsDef formatedAddressFieldsValuesList=$formatedAddressFieldsValuesList} + {addJsDef opc=$opc|boolval} + {capture}

      {l s='Your billing address' js=1}

      {/capture} + {addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} + {capture}

      {l s='Your delivery address' js=1}

      {/capture} + {addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} + {capture}{l s='Update' js=1}{/capture} + {addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{/strip} \ No newline at end of file diff --git a/themes/toutpratique/order-confirmation.tpl b/themes/toutpratique/order-confirmation.tpl new file mode 100644 index 00000000..0cd0d54a --- /dev/null +++ b/themes/toutpratique/order-confirmation.tpl @@ -0,0 +1,42 @@ +{capture name=path}{l s='Order confirmation'}{/capture} +{assign var='current_step' value='payment'} + +
      +
      +
      + +
      +
      +
      +

      + {l s='Order confirmation'} +

      + {include file="$tpl_dir./order-steps.tpl"} +
      +
      +
      +
      + +
      + + {include file="$tpl_dir./errors.tpl"} + + {$HOOK_ORDER_CONFIRMATION} + {$HOOK_PAYMENT_RETURN} + {if $is_guest} +

      {l s='Your order ID is:'} {$id_order_formatted} . {l s='Your order ID has been sent via email.'}

      +

      + {l s='Follow my order'} +

      + {else} +

      + {l s='View your order history'} +

      + {/if} +
      +
      +
      diff --git a/themes/toutpratique/order-detail.tpl b/themes/toutpratique/order-detail.tpl new file mode 100644 index 00000000..19372933 --- /dev/null +++ b/themes/toutpratique/order-detail.tpl @@ -0,0 +1,409 @@ +{capture name=path} + + {l s='My account'} + + + {l s='Order details'} +{/capture} +
      +
      +
      + {if !$content_only} + + {/if} + + +
      +

      {l s='Details of your order'}

      +

      {l s='Order Reference'} : {$order->getUniqReference()}

      +
      +
      + + {if isset($errors) && $errors} +
      +

      {if $errors|@count > 1}{l s='There are %d errors' sprintf=$errors|@count}{else}{l s='There is %d error' sprintf=$errors|@count}{/if}

      +
        + {foreach from=$errors key=k item=error} +
      1. {$error}
      2. + {/foreach} +
      +
      + {/if} + + {if isset($smarty.get.confirm)} +

      {l s='Message successfully sent'}

      + {/if} + + {if isset($message_confirmation) && $message_confirmation} +

      + {l s='Message successfully sent'} +

      + {/if} + + +
      +
      diff --git a/themes/toutpratique/order-follow.tpl b/themes/toutpratique/order-follow.tpl new file mode 100644 index 00000000..f41bc93d --- /dev/null +++ b/themes/toutpratique/order-follow.tpl @@ -0,0 +1,132 @@ +{capture name=path} + + {l s='My account'} + + + {l s='My return Merchandise'} +{/capture} +
      +
      +
      + {if !$content_only} + + {/if} +
      +

      {l s='My return Merchandise'}

      +

      {l s='Here is a list of pending merchandise returns'}.

      +
      +
      + + +
      +
      diff --git a/themes/toutpratique/order-opc-new-account.tpl b/themes/toutpratique/order-opc-new-account.tpl new file mode 100644 index 00000000..e9144cf1 --- /dev/null +++ b/themes/toutpratique/order-opc-new-account.tpl @@ -0,0 +1,416 @@ +
      + +

      1 {l s='Account'}

      +
      +
      +

      {l s='Already registered?'}

      +

      » {l s='Click here'}

      + +
      +
      +
      +
      +
      +

      {l s='New Customer'}

      +
      +
      +

      {l s='Instant Checkout'}

      +

      + +

      +
      + +
      +

      {l s='Create your account today and enjoy:'}

      +
        +
      • - {l s='Personalized and secure access'}
      • +
      • - {l s='A fast and easy check out process'}
      • +
      • - {l s='Separate billing and shipping addresses'}
      • +
      +

      + +

      +
      +
      +
      + {$HOOK_CREATE_ACCOUNT_TOP} + + + + + + + + +
      + + +
      +
      + + + {l s='(five characters min.)'} +
      +
      + + {foreach from=$genders key=k item=gender} +
      + + id_gender || (isset($guestInformations) && $guestInformations.id_gender == $gender->id_gender)} checked="checked"{/if} /> +
      + {/foreach} +
      +
      + + +
      +
      + + +
      +
      + +
      +
      + + {* + {l s='January'} + {l s='February'} + {l s='March'} + {l s='April'} + {l s='May'} + {l s='June'} + {l s='July'} + {l s='August'} + {l s='September'} + {l s='October'} + {l s='November'} + {l s='December'} + *} +
      +
      + +
      +
      + +
      +
      +
      + {if isset($newsletter) && $newsletter} +
      + + +
      +
      + + +
      + {/if} +

      {l s='Delivery address'}

      + {$stateExist = false} + {$postCodeExist = false} + {$dniExist = false} + {foreach from=$dlv_all_fields item=field_name} + {if $field_name eq "company"} +
      + + +
      + {elseif $field_name eq "vat_number"} + + {elseif $field_name eq "dni"} + {assign var='dniExist' value=true} +
      + + + {l s='DNI / NIF / NIE'} +
      + {elseif $field_name eq "firstname"} +
      + + +
      + {elseif $field_name eq "lastname"} +
      + + +
      + {elseif $field_name eq "address1"} +
      + + +
      + {elseif $field_name eq "address2"} +
      + + +
      + {elseif $field_name eq "postcode"} + {$postCodeExist = true} +
      + + +
      + {elseif $field_name eq "city"} +
      + + +
      + {elseif $field_name eq "country" || $field_name eq "Country:name"} +
      + + +
      + {elseif $field_name eq "state" || $field_name eq 'State:name'} + {$stateExist = true} + + {/if} + {/foreach} + {if !$postCodeExist} +
      + + +
      + {/if} + {if !$stateExist} +
      + + +
      + {/if} + {if !$dniExist} +
      + + + {l s='DNI / NIF / NIE'} +
      + {/if} +
      + + +
      + {if isset($one_phone_at_least) && $one_phone_at_least} +

      {l s='You must register at least one phone number.'}

      + {/if} +
      + + +
      +
      + + +
      + + +
      + + +
      + +
      + {assign var=stateExist value=false} + {assign var=postCodeExist value=false} + {assign var='dniExist' value=false} +

      {l s='Invoice address'}

      + {foreach from=$inv_all_fields item=field_name} + {if $field_name eq "company"} +
      + + +
      + {elseif $field_name eq "vat_number"} + + {elseif $field_name eq "dni"} + {assign var='dniExist' value=true} +
      + + + {l s='DNI / NIF / NIE'} +
      + {elseif $field_name eq "firstname"} +
      + + +
      + {elseif $field_name eq "lastname"} +
      + + +
      + {elseif $field_name eq "address1"} +
      + + +
      + {elseif $field_name eq "address2"} +
      + + +
      + {elseif $field_name eq "postcode"} + {$postCodeExist = true} +
      + + +
      + {elseif $field_name eq "city"} +
      + + +
      + {elseif $field_name eq "country" || $field_name eq "Country:name"} +
      + + +
      + {elseif $field_name eq "state" || $field_name eq 'State:name'} + {$stateExist = true} + + {/if} + {/foreach} + {if !$postCodeExist} +
      + + +
      + {/if} + {if !$stateExist} +
      + + +
      + {/if} + {if !$dniExist} +
      + + + {l s='DNI / NIF / NIE'} +
      + {/if} +
      + + +
      + {if isset($one_phone_at_least) && $one_phone_at_least} +

      {l s='You must register at least one phone number.'}

      + {/if} +
      + + +
      +
      + + +
      + +
      + {$HOOK_CREATE_ACCOUNT_FORM} +
      +

      + *{l s='Required field'} +

      + + +
      + + +
      +
      +
      +
      +
      +{strip} +{if isset($guestInformations) && isset($guestInformations.id_state) && $guestInformations.id_state} + {addJsDef idSelectedState=$guestInformations.id_state|intval} +{else} + {addJsDef idSelectedState=false} +{/if} +{if isset($guestInformations) && isset($guestInformations.id_state_invoice) && $guestInformations.id_state_invoice} + {addJsDef idSelectedStateInvoice=$guestInformations.id_state_invoice|intval} +{else} + {addJsDef idSelectedStateInvoice=false} +{/if} +{if isset($guestInformations) && isset($guestInformations.id_country) && $guestInformations.id_country} + {addJsDef idSelectedCountry=$guestInformations.id_country|intval} +{else} + {addJsDef idSelectedCountry=false} +{/if} +{if isset($guestInformations) && isset($guestInformations.id_country_invoice) && $guestInformations.id_country_invoice} + {addJsDef idSelectedCountryInvoice=$guestInformations.id_country_invoice|intval} +{else} + {addJsDef idSelectedCountryInvoice=false} +{/if} +{if isset($countries)} + {addJsDef countries=$countries} +{/if} +{if isset($vatnumber_ajax_call) && $vatnumber_ajax_call} + {addJsDef vatnumber_ajax_call=$vatnumber_ajax_call} +{/if} +{/strip} diff --git a/themes/toutpratique/order-opc.tpl b/themes/toutpratique/order-opc.tpl new file mode 100644 index 00000000..e4451404 --- /dev/null +++ b/themes/toutpratique/order-opc.tpl @@ -0,0 +1,116 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{if $opc} + {assign var="back_order_page" value="order-opc.php"} + {else} + {assign var="back_order_page" value="order.php"} +{/if} + +{if $PS_CATALOG_MODE} + {capture name=path}{l s='Your shopping cart'}{/capture} +

      {l s='Your shopping cart'}

      +

      {l s='Your new order was not accepted.'}

      +{else} + {if $productNumber} + + {include file="$tpl_dir./shopping-cart.tpl"} + + {if $is_logged AND !$is_guest} + {include file="$tpl_dir./order-address.tpl"} + {else} + + {include file="$tpl_dir./order-opc-new-account.tpl"} + + {/if} + + {include file="$tpl_dir./order-carrier.tpl"} + + + + {include file="$tpl_dir./order-payment.tpl"} + + {else} + {capture name=path}{l s='Your shopping cart'}{/capture} +

      {l s='Your shopping cart'}

      + {include file="$tpl_dir./errors.tpl"} +

      {l s='Your shopping cart is empty.'}

      + {/if} +{strip} +{addJsDef imgDir=$img_dir} +{addJsDef authenticationUrl=$link->getPageLink("authentication", true)|escape:'quotes':'UTF-8'} +{addJsDef orderOpcUrl=$link->getPageLink("order-opc", true)|escape:'quotes':'UTF-8'} +{addJsDef historyUrl=$link->getPageLink("history", true)|escape:'quotes':'UTF-8'} +{addJsDef guestTrackingUrl=$link->getPageLink("guest-tracking", true)|escape:'quotes':'UTF-8'} +{addJsDef addressUrl=$link->getPageLink("address", true, NULL, "back={$back_order_page}")|escape:'quotes':'UTF-8'} +{addJsDef orderProcess='order-opc'} +{addJsDef guestCheckoutEnabled=$PS_GUEST_CHECKOUT_ENABLED|intval} +{addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} +{addJsDef currencyRate=$currencyRate|floatval} +{addJsDef currencyFormat=$currencyFormat|intval} +{addJsDef currencyBlank=$currencyBlank|intval} +{addJsDef displayPrice=$priceDisplay} +{addJsDef taxEnabled=$use_taxes} +{addJsDef conditionEnabled=$conditions|intval} +{addJsDef vat_management=$vat_management|intval} +{addJsDef errorCarrier=$errorCarrier|@addcslashes:'\''} +{addJsDef errorTOS=$errorTOS|@addcslashes:'\''} +{addJsDef checkedCarrier=$checked|intval} +{addJsDef addresses=array()} +{addJsDef isVirtualCart=$isVirtualCart|intval} +{addJsDef isPaymentStep=$isPaymentStep|intval} +{addJsDefL name=txtWithTax}{l s='(tax incl.)' js=1}{/addJsDefL} +{addJsDefL name=txtWithoutTax}{l s='(tax excl.)' js=1}{/addJsDefL} +{addJsDefL name=txtHasBeenSelected}{l s='has been selected' js=1}{/addJsDefL} +{addJsDefL name=txtNoCarrierIsSelected}{l s='No carrier has been selected' js=1}{/addJsDefL} +{addJsDefL name=txtNoCarrierIsNeeded}{l s='No carrier is needed for this order' js=1}{/addJsDefL} +{addJsDefL name=txtConditionsIsNotNeeded}{l s='You do not need to accept the Terms of Service for this order.' js=1}{/addJsDefL} +{addJsDefL name=txtTOSIsAccepted}{l s='The service terms have been accepted' js=1}{/addJsDefL} +{addJsDefL name=txtTOSIsNotAccepted}{l s='The service terms have not been accepted' js=1}{/addJsDefL} +{addJsDefL name=txtThereis}{l s='There is' js=1}{/addJsDefL} +{addJsDefL name=txtErrors}{l s='Error(s)' js=1}{/addJsDefL} +{addJsDefL name=txtDeliveryAddress}{l s='Delivery address' js=1}{/addJsDefL} +{addJsDefL name=txtInvoiceAddress}{l s='Invoice address' js=1}{/addJsDefL} +{addJsDefL name=txtModifyMyAddress}{l s='Modify my address' js=1}{/addJsDefL} +{addJsDefL name=txtInstantCheckout}{l s='Instant checkout' js=1}{/addJsDefL} +{addJsDefL name=txtSelectAnAddressFirst}{l s='Please start by selecting an address.' js=1}{/addJsDefL} +{addJsDefL name=txtFree}{l s='Free' js=1}{/addJsDefL} + +{capture}{if $back}&mod={$back|urlencode}{/if}{/capture} +{capture name=addressUrl}{$link->getPageLink('address', true, NULL, 'back='|cat:$back_order_page|cat:'?step=1'|cat:$smarty.capture.default)|escape:'quotes':'UTF-8'}{/capture} +{addJsDef addressUrl=$smarty.capture.addressUrl} +{capture}{'&multi-shipping=1'|urlencode}{/capture} +{addJsDef addressMultishippingUrl=$smarty.capture.addressUrl|cat:$smarty.capture.default} +{capture name=addressUrlAdd}{$smarty.capture.addressUrl|cat:'&id_address='}{/capture} +{addJsDef addressUrlAdd=$smarty.capture.addressUrlAdd} +{addJsDef opc=$opc|boolval} +{capture}

      {l s='Your billing address' js=1}

      {/capture} +{addJsDefL name=titleInvoice}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}

      {l s='Your delivery address' js=1}

      {/capture} +{addJsDefL name=titleDelivery}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{capture}{l s='Update' js=1}{/capture} +{addJsDefL name=liUpdate}{$smarty.capture.default|@addcslashes:'\''}{/addJsDefL} +{/strip} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/order-payment.tpl b/themes/toutpratique/order-payment.tpl new file mode 100644 index 00000000..239eb55a --- /dev/null +++ b/themes/toutpratique/order-payment.tpl @@ -0,0 +1,169 @@ +{addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} +{addJsDef currencyRate=$currencyRate|floatval} +{addJsDef currencyFormat=$currencyFormat|intval} +{addJsDef currencyBlank=$currencyBlank|intval} +{addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} +{addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} +{capture name=path}{l s='Your shopping cart'}{/capture} + +{assign var='current_step' value='payment'} +{include file="$tpl_dir./errors.tpl"} +
      +
      +
      + +
      +

      + {l s='Summary & payment'} +

      + {include file="$tpl_dir./order-steps.tpl"} +
      +
      +
      +

      {l s='Please choose your payment method'}

      +
      +
      +
      + {if $HOOK_PAYMENT} + {$HOOK_PAYMENT} + {else} +

      {l s='No payment modules have been installed.'}

      + {/if} +
      + + +

      {l s='Terms of service'}

      +
      +

      + + +

      +
      +
      + +
      +
      +
      + {l s='Order with obligation to pay.'} + +
      + + {l s='Continue Shopping'} + +
      + +
      +
      + + + + +{literal} + +{/literal} \ No newline at end of file diff --git a/themes/toutpratique/order-return.tpl b/themes/toutpratique/order-return.tpl new file mode 100644 index 00000000..a3d0aad1 --- /dev/null +++ b/themes/toutpratique/order-return.tpl @@ -0,0 +1,115 @@ +{include file="./errors.tpl"} + +{if isset($orderRet)} + +

      {l s='RE#'}{$orderRet->id|string_format:"%06d"} {l s='on'} {dateFormat date=$order->date_add full=0}

      +

      {l s='We have logged your return request.'}

      +

      {l s='Your package must be returned to us within'} {$nbdaysreturn} {l s='days of receiving your order.'}

      +

      {l s='The current status of your merchandise return is:'} {$state_name|escape:'html':'UTF-8'}

      + +
      +
      + + + + + +
      + {foreach from=$products item=product name=products} + {assign var='quantityDisplayed' value=0} + {foreach from=$returnedCustomizations item='customization' name=products} + {if $customization.product_id == $product.product_id} +
      +
      + {l s='Reference'} : + {if $customization.reference} + {$customization.reference|escape:'html':'UTF-8'} + {else} + - + {/if} +
      +
      + {l s='Product'} : + {$customization.name|escape:'html':'UTF-8'} +
      +
      + {l s='Qty'} : + + {$customization.product_quantity|intval} + +
      +
      + {assign var='productId' value=$customization.product_id} + {assign var='productAttributeId' value=$customization.product_attribute_id} + {assign var='customizationId' value=$customization.id_customization} + {assign var='addressDeliveryId' value=$customization.id_address_delivery} + {foreach from=$customizedDatas.$productId.$productAttributeId.$addressDeliveryId.$customizationId.datas key='type' item='datas'} +
      +
      + {if $type == $smarty.const._CUSTOMIZE_FILE_} +
        + {foreach from=$datas item='data'} +
      • + {/foreach} +
      + {elseif $type == $smarty.const._CUSTOMIZE_TEXTFIELD_} +
        {counter start=0 print=false} + {foreach from=$datas item='data'} + {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field} +
      • {l s='%s:' sprintf=$data.name|default:$customizationFieldName} {$data.value}
      • + {/foreach} +
      + {/if} +
      +
      + {/foreach} + {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.product_quantity} + {/if} + {/foreach} + + {if $product.product_quantity > $quantityDisplayed} +
      +
      + {l s='Reference'} : + {if $product.product_reference} + {$product.product_reference|escape:'html':'UTF-8'} + {else} + - + {/if} +
      +
      + {l s='Product'} : + {$product.product_name|escape:'html':'UTF-8'} +
      +
      + {l s='Qty'} : + {$product.product_quantity|intval} +
      +
      + {/if} + {/foreach} +
      + + {if $orderRet->state == 2} +
      +
      +
      {l s='Reminder'}
      +
      +
      + + {l s='When we receive your package, we will notify you by email. We will then begin processing order reimbursement.'} +

      {l s='Please let us know if you have any questions.'} +
      +

      {l s='If the conditions of return listed above are not respected, we reserve the right to refuse your package and/or reimbursement.'}

      +
      +
      + {elseif $orderRet->state == 1} +
      +

      {l s='You must wait for confirmation before returning any merchandise.'}

      + {/if} +{/if} + diff --git a/themes/toutpratique/order-slip.tpl b/themes/toutpratique/order-slip.tpl new file mode 100644 index 00000000..a8047474 --- /dev/null +++ b/themes/toutpratique/order-slip.tpl @@ -0,0 +1,71 @@ +{capture name=path} + {l s='My account'} + {l s='Credit slips'} +{/capture} +
      +
      +
      + {if !$content_only} + + {/if} +
      +

      {l s='My credit slips'}

      +

      {l s='Credit slips you have received after cancelled orders'}.

      +
      +
      + + +
    +
    diff --git a/themes/toutpratique/order-steps.tpl b/themes/toutpratique/order-steps.tpl new file mode 100644 index 00000000..543b692e --- /dev/null +++ b/themes/toutpratique/order-steps.tpl @@ -0,0 +1,41 @@ +{* Assign a value to 'current_step' to display current style *} +{capture name="url_back"} +{if isset($back) && $back}back={$back}{/if} +{/capture} + +{if !isset($multi_shipping)} + {assign var='multi_shipping' value='0'} +{/if} + +
      +
    • + {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address' || $current_step=='login'} + + 1. + + {else} + 1. + {/if} +
    • +
    • + {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address'} + + 2. + + {else} + 2. + {/if} +
    • +
    • + {if $current_step=='payment'} + + 3. + + {else} + 3. + {/if} +
    • +
    • + 4. +
    • +
    diff --git a/themes/toutpratique/pagination.tpl b/themes/toutpratique/pagination.tpl new file mode 100644 index 00000000..b96599da --- /dev/null +++ b/themes/toutpratique/pagination.tpl @@ -0,0 +1,167 @@ +{if isset($no_follow) AND $no_follow} + {assign var='no_follow_text' value='rel="nofollow"'} +{else} + {assign var='no_follow_text' value=''} +{/if} + +{if isset($p) AND $p} + {if isset($smarty.get.id_category) && $smarty.get.id_category && isset($category)} + {if !isset($current_url)} + {assign var='requestPage' value=$link->getPaginationLink('category', $category, false, false, true, false)} + {else} + {assign var='requestPage' value=$current_url} + {/if} + {assign var='requestNb' value=$link->getPaginationLink('category', $category, true, false, false, true)} + {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer && isset($manufacturer)} + {assign var='requestPage' value=$link->getPaginationLink('manufacturer', $manufacturer, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink('manufacturer', $manufacturer, true, false, false, true)} + {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier && isset($supplier)} + {assign var='requestPage' value=$link->getPaginationLink('supplier', $supplier, false, false, true, false)} + {assign var='requestNb' value=$link->getPaginationLink('supplier', $supplier, true, false, false, true)} + {else} + {if !isset($current_url)} + {assign var='requestPage' value=$link->getPaginationLink(false, false, false, false, true, false)} + {else} + {assign var='requestPage' value=$current_url} + {/if} + {assign var='requestNb' value=$link->getPaginationLink(false, false, true, false, false, true)} + {/if} + +
    +
    + {if $nb_products > $products_per_page && $start!=$stop} +
    +
    + {if isset($search_query) AND $search_query} + + {/if} + {if isset($tag) AND $tag AND !is_array($tag)} + + {/if} + + {if is_array($requestNb)} + {foreach from=$requestNb item=requestValue key=requestKey} + {if $requestKey != 'requestUrl' && $requestKey != 'p'} + + {/if} + {/foreach} + {/if} + +
    +
    + {/if} + + {if $start!=$stop} + + {/if} +
    +
    +{/if} diff --git a/themes/toutpratique/password.tpl b/themes/toutpratique/password.tpl new file mode 100644 index 00000000..ee2a8fe3 --- /dev/null +++ b/themes/toutpratique/password.tpl @@ -0,0 +1,44 @@ +{capture name=path}{l s='Authentication'}{l s='Forgot your password'}{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='Forgot your password?'}

    +
    +
    + + {include file="$tpl_dir./errors.tpl"} + +
    + {if isset($confirmation) && $confirmation == 1} +

    {l s='Your password has been successfully reset and a confirmation has been sent to your email address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}

    + {elseif isset($confirmation) && $confirmation == 2} +

    {l s='A confirmation email has been sent to your address:'} {if isset($customer_email)}{$customer_email|escape:'html':'UTF-8'|stripslashes}{/if}

    + {l s='Back to Login'} + {else} +
    +

    {l s='Please enter the email address you used to register. We will then send you a new password. '}

    +
    +
    + + +
    +

    + + + {l s='Back to Login'} + +

    +
    +
    + {/if} +
    +
    +
    diff --git a/themes/toutpratique/pdf/index.php b/themes/toutpratique/pdf/index.php new file mode 100644 index 00000000..ffdebb42 --- /dev/null +++ b/themes/toutpratique/pdf/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 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; diff --git a/themes/toutpratique/pdf/lang/index.php b/themes/toutpratique/pdf/lang/index.php new file mode 100644 index 00000000..044cb85e --- /dev/null +++ b/themes/toutpratique/pdf/lang/index.php @@ -0,0 +1,35 @@ + +* @copyright 2007-2015 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; \ No newline at end of file diff --git a/themes/toutpratique/preview.jpg b/themes/toutpratique/preview.jpg new file mode 100644 index 00000000..7b7fb57c Binary files /dev/null and b/themes/toutpratique/preview.jpg differ diff --git a/themes/toutpratique/prices-drop.tpl b/themes/toutpratique/prices-drop.tpl new file mode 100644 index 00000000..1ba1962b --- /dev/null +++ b/themes/toutpratique/prices-drop.tpl @@ -0,0 +1,38 @@ +{capture name=path}{l s='Price drop'}{/capture} +
    +
    +
    + +
    +
    +
    +

    {l s='Price drop'}

    +
    + {if $category->id_image} +
    + +
    + {/if} +
    +
    +
    + + {include file="$tpl_dir./errors.tpl"} + +
    + {if $products} +
    + {hook h='displayFilters'} +
    + {include file="./product-list.tpl" products=$products} +
    +
    + {/if} +
    +
    +
    + diff --git a/themes/toutpratique/product-compare.tpl b/themes/toutpratique/product-compare.tpl new file mode 100644 index 00000000..326902ef --- /dev/null +++ b/themes/toutpratique/product-compare.tpl @@ -0,0 +1,39 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $comparator_max_item} +
    + + + +
    + {if !isset($paginationId) || $paginationId == ''} + {addJsDefL name=min_item}{l s='Please select at least one product' js=1}{/addJsDefL} + {addJsDefL name=max_item}{l s='You cannot add more than %d product(s) to the product comparison' sprintf=$comparator_max_item js=1}{/addJsDefL} + {addJsDef comparator_max_item=$comparator_max_item} + {addJsDef comparedProductsIds=$compared_products} + {/if} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/product-extension.tpl b/themes/toutpratique/product-extension.tpl new file mode 100644 index 00000000..2bb29523 --- /dev/null +++ b/themes/toutpratique/product-extension.tpl @@ -0,0 +1,294 @@ +
    +{include file="$tpl_dir./errors.tpl"} +{if $errors|@count == 0} + {if !isset($priceDisplayPrecision)} + {assign var='priceDisplayPrecision' value=2} + {/if} + + {if !$priceDisplay || $priceDisplay == 2} + {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} + {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} + {elseif $priceDisplay == 1} + {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)} + {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} + {/if} + {assign var='sorecop' value=$product->sorecop} + + + {assign var=percentReduction value=0} + {if isset($product->price_without_reduction) && isset($product->price) && $product->price != $product->price_without_reduction} + {math equation="round(100 - (price * 100 / price_without_reduction))" price=$product->price price_without_reduction=$product->price_without_reduction assign=percentReduction} + {/if} + +
    +
    + {if !$content_only} + + {/if} +
    +

    {$product->name|escape:'html':'UTF-8'}

    +
    +
    + {if isset($confirmation) && $confirmation} +

    + {$confirmation} +

    + {/if} +
    +
    + +
    + + + {if $have_image} + {if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if} + {else} + + {/if} +
    + + +
    + + + {if $product->description_short} +
    + {$product->description_short} +
    + {/if} + {if $product->description} +
    + {$product->description} +
    + {/if} + + + {if isset($product) && $product->customizable} +
    + {if $product->uploadable_files|intval} +
    + {counter start=0 assign='customizationField'} + + {foreach from=$customizationFields item='field' name='customizationFields'} + {if $field.type == 0} + {assign var='key' value='pictures_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} + {if isset($pictures.$key)} +
    + + + {l s='Delete'} + +
    + {/if} + {if isset($pictures.$key)} + + {/if} + {/if} + {counter} + {/foreach} +
    + {/if} + {if $product->text_fields|intval} +
    + {counter start=0 assign='customizationField'} + {foreach from=$customizationFields item='field' name='customizationFields'} + {assign var='key' value='textFields_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} + {if $field.type == 1} + + + + {counter} + {/if} + {/foreach} +
    + {/if} +

    + + + + + loader + +

    + + + + {if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} +
    +

    + {if $product->quantity > 0}{/if} + {if $priceDisplay >= 0 && $priceDisplay <= 2} + {convertPrice price=$productPrice} + specificPrice || !$product->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> + {if $percentReduction > 0} + {l s='instead of'} + + {if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if} + + {/if} + + + {hook h="displayProductPriceBlock" product=$product type="price"} + {/if} +

    + + {if $percentReduction > 0} + -{$percentReduction}% + {/if} + +
    + {/if} +
    + +
    quantity > 0} class="hidden"{/if} action="{$link->getPageLink('cart')|escape:'html':'UTF-8'}" method="post"> + +
    +
    +
    +

    + +

    +
    +
    +
    +
    + {/if} +
    +
    +
    +
    +
    +{strip} +{if isset($smarty.get.ad) && $smarty.get.ad} + {addJsDefL name=ad}{$base_dir|cat:$smarty.get.ad|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{if isset($smarty.get.adtoken) && $smarty.get.adtoken} + {addJsDefL name=adtoken}{$smarty.get.adtoken|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{addJsDef allowBuyWhenOutOfStock=$allow_oosp|boolval} +{addJsDef availableNowValue=$product->available_now|escape:'quotes':'UTF-8'} +{addJsDef availableLaterValue=$product->available_later|escape:'quotes':'UTF-8'} +{addJsDef attribute_anchor_separator=$attribute_anchor_separator|escape:'quotes':'UTF-8'} +{addJsDef attributesCombinations=$attributesCombinations} +{addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} +{addJsDef currencyRate=$currencyRate|floatval} +{addJsDef currencyFormat=$currencyFormat|intval} +{addJsDef currencyBlank=$currencyBlank|intval} +{addJsDef currentDate=$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'} +{if isset($combinations) && $combinations} + {addJsDef combinations=$combinations} + {addJsDef combinationsFromController=$combinations} + {addJsDef displayDiscountPrice=$display_discount_price} + {addJsDefL name='upToTxt'}{l s='Up to' js=1}{/addJsDefL} +{/if} +{if isset($combinationImages) && $combinationImages} + {addJsDef combinationImages=$combinationImages} +{/if} +{addJsDef customizationFields=$customizationFields} +{addJsDef default_eco_tax=$product->ecotax-$sorecop|floatval} +{addJsDef displayPrice=$priceDisplay|intval} +{addJsDef ecotaxTax_rate=$ecotaxTax_rate|floatval} +{addJsDef group_reduction=$group_reduction} +{if isset($cover.id_image_only)} + {addJsDef idDefaultImage=$cover.id_image_only|intval} +{else} + {addJsDef idDefaultImage=0} +{/if} +{addJsDef img_ps_dir=$img_ps_dir} +{addJsDef img_prod_dir=$img_prod_dir} +{addJsDef id_product=$product->id|intval} +{addJsDef jqZoomEnabled=$jqZoomEnabled|boolval} +{addJsDef maxQuantityToAllowDisplayOfLastQuantityMessage=$last_qties|intval} +{addJsDef minimalQuantity=$product->minimal_quantity|intval} +{addJsDef noTaxForThisProduct=$no_tax|boolval} +{addJsDef customerGroupWithoutTax=$customer_group_without_tax|boolval} +{addJsDef oosHookJsCodeFunctions=Array()} +{addJsDef productHasAttributes=isset($groups)|boolval} +{addJsDef productPriceTaxExcluded=($product->getPriceWithoutReduct(true)|default:'null' - $product->ecotax)|floatval} +{addJsDef productBasePriceTaxExcluded=($product->base_price - $product->ecotax)|floatval} +{addJsDef productBasePriceTaxExcl=($product->base_price|floatval)} +{addJsDef productReference=$product->reference|escape:'html':'UTF-8'} +{addJsDef productAvailableForOrder=$product->available_for_order|boolval} +{addJsDef productPriceWithoutReduction=$productPriceWithoutReduction|floatval} +{addJsDef productPrice=$productPrice|floatval} +{addJsDef productUnitPriceRatio=$product->unit_price_ratio|floatval} +{addJsDef productShowPrice=(!$PS_CATALOG_MODE && $product->show_price)|boolval} +{addJsDef PS_CATALOG_MODE=$PS_CATALOG_MODE} +{if $product->specificPrice && $product->specificPrice|@count} + {addJsDef product_specific_price=$product->specificPrice} +{else} + {addJsDef product_specific_price=array()} +{/if} +{if $display_qties == 1 && $product->quantity} + {addJsDef quantityAvailable=$product->quantity} +{else} + {addJsDef quantityAvailable=0} +{/if} +{addJsDef quantitiesDisplayAllowed=$display_qties|boolval} +{if $product->specificPrice && $product->specificPrice.reduction && $product->specificPrice.reduction_type == 'percentage'} + {addJsDef reduction_percent=$product->specificPrice.reduction*100|floatval} +{else} + {addJsDef reduction_percent=0} +{/if} +{if $product->specificPrice && $product->specificPrice.reduction && $product->specificPrice.reduction_type == 'amount'} + {addJsDef reduction_price=$product->specificPrice.reduction|floatval} +{else} + {addJsDef reduction_price=0} +{/if} +{if $product->specificPrice && $product->specificPrice.price} + {addJsDef specific_price=$product->specificPrice.price|floatval} +{else} + {addJsDef specific_price=0} +{/if} +{addJsDef specific_currency=($product->specificPrice && $product->specificPrice.id_currency)|boolval} {* TODO: remove if always false *} +{addJsDef stock_management=$PS_STOCK_MANAGEMENT|intval} +{addJsDef taxRate=$tax_rate|floatval} +{addJsDefL name=doesntExist}{l s='This combination does not exist for this product. Please select another combination.' js=1}{/addJsDefL} +{addJsDefL name=doesntExistNoMore}{l s='This product is no longer in stock' js=1}{/addJsDefL} +{addJsDefL name=doesntExistNoMoreBut}{l s='with those attributes but is available with others.' js=1}{/addJsDefL} +{addJsDefL name=fieldRequired}{l s='Please fill in all the required fields before saving your customization.' js=1}{/addJsDefL} +{addJsDefL name=uploading_in_progress}{l s='Uploading in progress, please be patient.' js=1}{/addJsDefL} +{addJsDefL name='product_fileDefaultHtml'}{l s='Browse' js=1}{/addJsDefL} +{addJsDefL name='product_fileButtonHtml'}{l s='Choose File' js=1}{/addJsDefL} +{/strip} +{/if} +{addJsDefL name='filePlaceHolder'}{l s='No file selected' js=1}{/addJsDefL} +{addJsDefL name='filePlaceHolderButton'}{l s='Choose File' js=1}{/addJsDefL} \ No newline at end of file diff --git a/themes/toutpratique/product-list-colors.tpl b/themes/toutpratique/product-list-colors.tpl new file mode 100644 index 00000000..b43466f0 --- /dev/null +++ b/themes/toutpratique/product-list-colors.tpl @@ -0,0 +1,36 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +
      + {foreach from=$colors_list item='color'} + {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$color.id_attribute|cat:'.jpg')} +
    • + + {if $img_color_exists} + {$color.name|escape:'html':'UTF-8'} + {/if} + +
    • + {/foreach} +
    \ No newline at end of file diff --git a/themes/toutpratique/product-list.tpl b/themes/toutpratique/product-list.tpl new file mode 100644 index 00000000..f454797f --- /dev/null +++ b/themes/toutpratique/product-list.tpl @@ -0,0 +1,93 @@ +{if isset($products) && $products} + + + {foreach from=$products item=product name=products key=key} + {if (isset($nbProduct) && $key < $nbProduct) || !isset($nbProduct)} + + + {assign var=percentReduction value=0} + {if isset($product.price_without_reduction) && isset($product.price) && $product.price != $product.price_without_reduction} + {math equation="round(100 - (price * 100 / price_without_reduction))" price=$product.price price_without_reduction=$product.price_without_reduction assign=percentReduction} + {/if} + + {if isset($nbProduct) && $nbProduct < 2} +
    + {else} +
    + {/if} +
    + + + {if $percentReduction > 0} + -{$percentReduction}% + {/if} + + + + + +
    + + +
    + +
    + + + {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} +
    + {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)} + + {if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if} + +

    + {if $percentReduction > 0} + {l s='Instead of '} + + {displayWtPrice p=$product.price_without_reduction} + + {/if} +

    + + {/if} +
    + {/if} + + + {if isset($quick_view) && $quick_view && $product.id_category_default != 8} + + {else} + + {/if} + + + {if (!$PS_CATALOG_MODE && $PS_STOCK_MANAGEMENT && ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} + {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)} + + {if ($product.allow_oosp || $product.quantity > 0)} + + {elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)} + {l s='Product available with different options'} + {else} + {l s='Out of stock'} + {/if} + + {/if} + {/if} +
    +
    +
    +
    + {/if} + {/foreach} + + {addJsDefL name=min_item}{l s='Please select at least one product' js=1}{/addJsDefL} + {addJsDefL name=max_item}{l s='You cannot add more than %d product(s) to the product comparison' sprintf=$comparator_max_item js=1}{/addJsDefL} + {addJsDef comparator_max_item=$comparator_max_item} + {addJsDef comparedProductsIds=$compared_products} + +{/if} diff --git a/themes/toutpratique/product-sort.tpl b/themes/toutpratique/product-sort.tpl new file mode 100644 index 00000000..0a79e8ac --- /dev/null +++ b/themes/toutpratique/product-sort.tpl @@ -0,0 +1,38 @@ +{if isset($orderby) AND isset($orderway)} + {* On 1.5 the var request is setted on the front controller. The next lines assure the retrocompatibility with some modules *} + {if !isset($request)} + {if isset($smarty.get.id_category) && $smarty.get.id_category} + {assign var='request' value=$link->getPaginationLink('category', $category, false, true)} + {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer} + {assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)} + {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier} + {assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)} + {else} + {assign var='request' value=$link->getPaginationLink(false, false, false, true)} + {/if} + {/if} + +
    +
    + + +
    +
    + + {if !isset($paginationId) || $paginationId == ''} + {addJsDef request=$request} + {/if} +{/if} diff --git a/themes/toutpratique/product.tpl b/themes/toutpratique/product.tpl new file mode 100644 index 00000000..5c61f0f3 --- /dev/null +++ b/themes/toutpratique/product.tpl @@ -0,0 +1,493 @@ +
    +{include file="$tpl_dir./errors.tpl"} +{if $errors|@count == 0} + {if !isset($priceDisplayPrecision)} + {assign var='priceDisplayPrecision' value=2} + {/if} + + {if !$priceDisplay || $priceDisplay == 2} + {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL, $priceDisplayPrecision)} + {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} + {elseif $priceDisplay == 1} + {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)} + {assign var='productPriceWithoutReduction' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} + {/if} + {assign var='sorecop' value=$product->sorecop()} + + + {assign var=percentReduction value=0} + {if $productPrice != $productPriceWithoutReduction} + {math equation="round(100 - (price * 100 / price_without_reduction))" price=$productPrice price_without_reduction=$productPriceWithoutReduction assign=percentReduction} + {/if} + +
    +
    + {if !$content_only} + + {/if} +
    +

    {$product->name|escape:'html':'UTF-8'}

    +
    +
    + {if isset($confirmation) && $confirmation} +

    + {$confirmation} +

    + {/if} +
    +
    + +
    + + + {if $have_image} + {if $jqZoomEnabled && $have_image && !$content_only} + + {else} + {if !empty($cover.legend)}{$cover.legend|escape:'html':'UTF-8'}{else}{$product->name|escape:'html':'UTF-8'}{/if} + {/if} + {else} + + {/if} + + + {if isset($images) && count($images) > 0} +
    +
    +
      + {if isset($images)} + {foreach from=$images item=image name=thumbnails} + {assign var=imageIds value="`$product->id`-`$image.id_image`"} + {if !empty($image.legend)} + {assign var=imageTitle value=$image.legend|escape:'html':'UTF-8'} + {else} + {assign var=imageTitle value=$product->name|escape:'html':'UTF-8'} + {/if} +
    • + + {$imageTitle} + +
    • + {/foreach} + {/if} +
    +
    +
    + {/if} +
    + + +
    + + + {if $product->description_short || $packItems|@count > 0} + {if $product->description_short} +
    + {$product->description_short} +
    + {/if} + {/if} + + +
    quantity > 0} class="hidden"{/if} action="{$link->getPageLink('cart')|escape:'html':'UTF-8'}" method="post"> + + + +
    + + + {if !$PS_CATALOG_MODE} + + {/if} + + + {if isset($groups)} + +
    + {foreach from=$groups key=id_attribute_group item=group} + {if $group.attributes|@count} +
    + + {assign var="groupName" value="group_$id_attribute_group"} +
    + {if ($group.group_type == 'select')} + + {elseif ($group.group_type == 'color')} +
      + {assign var="default_colorpicker" value=""} + {foreach from=$group.attributes key=id_attribute item=group_attribute} + {assign var='img_color_exists' value=file_exists($col_img_dir|cat:$id_attribute|cat:'.jpg')} + + + {if $img_color_exists} + {$colors.$id_attribute.name|escape:'html':'UTF-8'} + {/if} + + + {if ($group.default == $id_attribute)} + {$default_colorpicker = $id_attribute} + {/if} + {/foreach} +
    + + {elseif ($group.group_type == 'radio')} +
      + {foreach from=$group.attributes key=id_attribute item=group_attribute} +
    • + + {$group_attribute|escape:'html':'UTF-8'} +
    • + {/foreach} +
    + {/if} +
    +
    + {/if} + {/foreach} +
    + {/if} +
    + + + {if $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} +
    +

    + {if $product->quantity > 0}{/if} + {if $priceDisplay >= 0 && $priceDisplay <= 2} + {convertPrice price=$productPrice} + specificPrice || !$product->specificPrice.reduction) && $group_reduction == 0} class="hidden"{/if}> + {if $percentReduction > 0} + {l s='instead of'} + + {if $productPriceWithoutReduction > $productPrice}{convertPrice price=$productPriceWithoutReduction}{/if} + + + {/if} + + + {hook h="displayProductPriceBlock" product=$product type="price"} + {/if} +

    + +
    + {if $product->ecotax() != 0} +

    + {l s='Including'} {$product->ecotax()|convertAndFormatPrice} {l s='for ecotax'} +

    + {/if} + {if $product->sorecop() != 0} +

    + {l s='Including'} + {if $priceDisplay == 2}{$sorecop|convertAndFormatPrice}{else}{$sorecop|convertAndFormatPrice}{/if} + {l s='for sorecop'} +

    + {/if} +
    + + {if $percentReduction > 0} + -{$percentReduction}% + {/if} + +
    + + {if $packItems|@count && $productPrice < $product->getNoPackPrice()} +

    {l s='Instead of'} {convertPrice price=$product->getNoPackPrice()}

    + {/if} + + + {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} + {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} +

    {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'html':'UTF-8'}

    + {hook h="displayProductPriceBlock" product=$product type="unit_price"} + {/if} + {/if} + + +

    quantity > 0) || !$product->available_for_order || $PS_CATALOG_MODE || !isset($product->available_date) || $product->available_date < $smarty.now|date_format:'%Y-%m-%d'} style="display: none;"{/if}> + {l s='Availability date:'} + {dateFormat date=$product->available_date full=false} +

    + + +
    quantity > 0} style="display: none;"{/if}> + {$HOOK_PRODUCT_OOS} +
    + + +

    quantity <= 0 && !$product->available_later && $allow_oosp) || ($product->quantity > 0 && !$product->available_now) || !$product->available_for_order || $PS_CATALOG_MODE} style="display: none;"{/if}> + {*{l s='Availability:'}*} + + {if $product->quantity <= 0} + {if $PS_STOCK_MANAGEMENT && $allow_oosp} + {$product->available_later} + {else} + {l s='This product is no longer in stock'} + {/if} + {elseif $PS_STOCK_MANAGEMENT} + {$product->available_now} + {/if} + +

    + + {if ($product->show_price && !isset($restricted_country_mode)) || isset($groups) || $product->reference || (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} + +
    +
    + quantity <= 0) || !$product->available_for_order || (isset($restricted_country_mode) && $restricted_country_mode) || $PS_CATALOG_MODE} class="unvisible"{/if}> +

    + +

    +
    +
    + + {if !$content_only} + + {/if} +
    + + {/if} +
    +
    +
    + + + {if !$content_only} + + + + + {if $product->description} +
    +
    +
    +
    +

    {l s='Description'}

    +
    {$product->description}
    +
    +
    + {hook h='displayPictogrammes'} +
    +
    +
    +
    + {/if} + +
    +
    + + {if isset($features) && $features} +
    +

    {l s='Data sheet'}

    +
      + {foreach from=$features item=feature} +
    • + {if isset($feature.value)} + {$feature.name|escape:'html':'UTF-8'} + {$feature.value|escape:'html':'UTF-8'} + {/if} +
    • + {/foreach} +
    +
    + {/if} + + + {if isset($attachments) && $attachments} +
    +

    {l s='Download'}

    +
      + {foreach from=$attachments item=attachment name=attachements} +
    • +
      {$attachment.name|escape:'html':'UTF-8'}
      + +
    • + {/foreach} +
    +
    + + {/if} +
    +
    + + + {if isset($accessories) && $accessories} + + {/if} + + + {if isset($packItems) && $packItems|@count > 0} +
    +

    {l s='Pack content'}

    + {include file="$tpl_dir./product-list.tpl" products=$packItems} +
    + {/if} + {/if} + +{strip} +{if isset($smarty.get.ad) && $smarty.get.ad} + {addJsDefL name=ad}{$base_dir|cat:$smarty.get.ad|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{if isset($smarty.get.adtoken) && $smarty.get.adtoken} + {addJsDefL name=adtoken}{$smarty.get.adtoken|escape:'html':'UTF-8'}{/addJsDefL} +{/if} +{addJsDef allowBuyWhenOutOfStock=$allow_oosp|boolval} +{addJsDef availableNowValue=$product->available_now|escape:'quotes':'UTF-8'} +{addJsDef availableLaterValue=$product->available_later|escape:'quotes':'UTF-8'} +{addJsDef attribute_anchor_separator=$attribute_anchor_separator|escape:'quotes':'UTF-8'} +{addJsDef attributesCombinations=$attributesCombinations} +{addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} +{addJsDef currencyRate=$currencyRate|floatval} +{addJsDef currencyFormat=$currencyFormat|intval} +{addJsDef currencyBlank=$currencyBlank|intval} +{addJsDef currentDate=$smarty.now|date_format:'%Y-%m-%d %H:%M:%S'} +{if isset($combinations) && $combinations} + {addJsDef combinations=$combinations} + {addJsDef combinationsFromController=$combinations} + {addJsDef displayDiscountPrice=$display_discount_price} + {addJsDefL name='upToTxt'}{l s='Up to' js=1}{/addJsDefL} +{/if} +{if isset($combinationImages) && $combinationImages} + {addJsDef combinationImages=$combinationImages} +{/if} +{addJsDef customizationFields=$customizationFields} +{addJsDef default_eco_tax=$product->ecotax|floatval} +{addJsDef displayPrice=$priceDisplay|intval} +{addJsDef ecotaxTax_rate=$ecotaxTax_rate|floatval} +{addJsDef group_reduction=$group_reduction} +{if isset($cover.id_image_only)} + {addJsDef idDefaultImage=$cover.id_image_only|intval} +{else} + {addJsDef idDefaultImage=0} +{/if} +{addJsDef img_ps_dir=$img_ps_dir} +{addJsDef img_prod_dir=$img_prod_dir} +{addJsDef id_product=$product->id|intval} +{addJsDef jqZoomEnabled=$jqZoomEnabled|boolval} +{addJsDef maxQuantityToAllowDisplayOfLastQuantityMessage=$last_qties|intval} +{addJsDef minimalQuantity=$product->minimal_quantity|intval} +{addJsDef noTaxForThisProduct=$no_tax|boolval} +{addJsDef customerGroupWithoutTax=$customer_group_without_tax|boolval} +{addJsDef oosHookJsCodeFunctions=Array()} +{addJsDef productHasAttributes=isset($groups)|boolval} +{addJsDef productPriceTaxExcluded=($product->getPriceWithoutReduct(true)|default:'null' - $product->ecotax)|floatval} +{addJsDef productBasePriceTaxExcluded=($product->base_price - $product->ecotax)|floatval} +{addJsDef productBasePriceTaxExcl=($product->base_price|floatval)} +{addJsDef productReference=$product->reference|escape:'html':'UTF-8'} +{addJsDef productAvailableForOrder=$product->available_for_order|boolval} +{addJsDef productPriceWithoutReduction=$productPriceWithoutReduction|floatval} +{addJsDef productPrice=$productPrice|floatval} +{addJsDef productUnitPriceRatio=$product->unit_price_ratio|floatval} +{addJsDef productShowPrice=(!$PS_CATALOG_MODE && $product->show_price)|boolval} +{addJsDef PS_CATALOG_MODE=$PS_CATALOG_MODE} +{if $product->specificPrice && $product->specificPrice|@count} + {addJsDef product_specific_price=$product->specificPrice} +{else} + {addJsDef product_specific_price=array()} +{/if} +{if $display_qties == 1 && $product->quantity} + {addJsDef quantityAvailable=$product->quantity} +{else} + {addJsDef quantityAvailable=0} +{/if} +{addJsDef quantitiesDisplayAllowed=$display_qties|boolval} +{if $product->specificPrice && $product->specificPrice.reduction && $product->specificPrice.reduction_type == 'percentage'} + {addJsDef reduction_percent=$product->specificPrice.reduction*100|floatval} +{else} + {addJsDef reduction_percent=0} +{/if} +{if $product->specificPrice && $product->specificPrice.reduction && $product->specificPrice.reduction_type == 'amount'} + {addJsDef reduction_price=$product->specificPrice.reduction|floatval} +{else} + {addJsDef reduction_price=0} +{/if} +{if $product->specificPrice && $product->specificPrice.price} + {addJsDef specific_price=$product->specificPrice.price|floatval} +{else} + {addJsDef specific_price=0} +{/if} +{addJsDef specific_currency=($product->specificPrice && $product->specificPrice.id_currency)|boolval} {* TODO: remove if always false *} +{addJsDef stock_management=$PS_STOCK_MANAGEMENT|intval} +{addJsDef taxRate=$tax_rate|floatval} +{addJsDefL name=doesntExist}{l s='This combination does not exist for this product. Please select another combination.' js=1}{/addJsDefL} +{addJsDefL name=doesntExistNoMore}{l s='This product is no longer in stock' js=1}{/addJsDefL} +{addJsDefL name=doesntExistNoMoreBut}{l s='with those attributes but is available with others.' js=1}{/addJsDefL} +{addJsDefL name=fieldRequired}{l s='Please fill in all the required fields before saving your customization.' js=1}{/addJsDefL} +{addJsDefL name=uploading_in_progress}{l s='Uploading in progress, please be patient.' js=1}{/addJsDefL} +{addJsDefL name='product_fileDefaultHtml'}{l s='No file selected' js=1}{/addJsDefL} +{addJsDefL name='product_fileButtonHtml'}{l s='Choose File' js=1}{/addJsDefL} +{/strip} +{/if} +{if !$content_only} + +{/if} \ No newline at end of file diff --git a/themes/toutpratique/products-comparison.tpl b/themes/toutpratique/products-comparison.tpl new file mode 100644 index 00000000..5fb65712 --- /dev/null +++ b/themes/toutpratique/products-comparison.tpl @@ -0,0 +1,195 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{capture name=path}{l s='Product Comparison'}{/capture} +

    {l s='Product Comparison'}

    +{if $hasProduct} +
    + + + + {assign var='taxes_behavior' value=false} + {if $use_taxes && (!$priceDisplay || $priceDisplay == 2)} + {assign var='taxes_behavior' value=true} + {/if} + {foreach from=$products item=product name=for_products} + {assign var='replace_id' value=$product->id|cat:'|'} + + {/foreach} + + {if $ordered_features} + {foreach from=$ordered_features item=feature} + + {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} + + {foreach from=$products item=product name=for_products} + {assign var='product_id' value=$product->id} + {assign var='feature_id' value=$feature.id_feature} + {if isset($product_features[$product_id])} + {assign var='tab' value=$product_features[$product_id]} + + {else} + + {/if} + {/foreach} + + {/foreach} + {else} + + + + + {/if} + {$HOOK_EXTRA_PRODUCT_COMPARISON} +
    + {$HOOK_COMPARE_EXTRA_INFORMATION} + {l s='Features:'} + +
    + + + +
    +
    + + {$product->name|escape:'html':'UTF-8'} + + {if isset($product->new) && $product->new == 1} + + {l s='New'} + + {/if} + {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} + {if $product->on_sale} + + {l s='Sale!'} + + {/if} + {/if} +
    +
    + + {$product->name|truncate:45:'...'|escape:'html':'UTF-8'} + +
    +
    + {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} + {convertPrice price=$product->getPrice($taxes_behavior)} + {hook h="displayProductPriceBlock" id_product=$product->id type="price"} + {if isset($product->specificPrice) && $product->specificPrice} + {if {$product->specificPrice.reduction_type == 'percentage'}} + + {displayWtPrice p=$product->getPrice($taxes_behavior)+($product->getPrice($taxes_behavior)* $product->specificPrice.reduction)} + + + -{$product->specificPrice.reduction*100|floatval}% + + {else} + + {convertPrice price=($product->getPrice($taxes_behavior) + $product->specificPrice.reduction)} + + + -{convertPrice price=$product->specificPrice.reduction} + + {/if} + {hook h="displayProductPriceBlock" product=$product type="old_price"} + {/if} + {hook h="displayProductPriceBlock" product=$product type="price"} + {if $product->on_sale} + {elseif $product->specificPrice AND $product->specificPrice.reduction} +
    + {l s='Reduced price!'} +
    + {/if} + {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} + {math equation="pprice / punit_price" pprice=$product->getPrice($taxes_behavior) punit_price=$product->unit_price_ratio assign=unit_price} + +  {convertPrice price=$unit_price} {l s='per %s' sprintf=$product->unity|escape:'html':'UTF-8'} + + {hook h="displayProductPriceBlock" product=$product type="unit_price"} + {else} + {/if} + {/if} +
    +
    + {$product->description_short|strip_tags|truncate:60:'...'} +
    +
    +

    + {if !(($product->quantity <= 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE)} + {l s='Availability:'} + quantity <= 0} class="warning-inline"{/if}> + {if $product->quantity <= 0} + {if $product->allow_oosp} + {$product->available_later|escape:'html':'UTF-8'} + {else} + {l s='This product is no longer in stock.'} + {/if} + {else} + {$product->available_now|escape:'html':'UTF-8'} + {/if} + + {/if} +

    + {hook h="displayProductDeliveryTime" product=$product} + {hook h="displayProductPriceBlock" product=$product type="weight"} +
    +
    + {if (!$product->hasAttributes() OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND $product->minimal_quantity == 1 AND $product->customizable != 2 AND !$PS_CATALOG_MODE} + {if ($product->quantity > 0 OR $product->allow_oosp)} + id}&token={$static_token}&add")|escape:'html':'UTF-8'}" title="{l s='Add to cart'}"> + {l s='Add to cart'} + + {else} + + {l s='Add to cart'} + + {/if} + {/if} + + {l s='View'} + +
    +
    +
    +
    + {$feature.name|escape:'html':'UTF-8'} + {if (isset($tab[$feature_id]))}{$tab[$feature_id]|escape:'html':'UTF-8'}{/if}
    {l s='No features to compare'}
    +
    +{else} +

    {l s='There are no products selected for comparison.'}

    +{/if} + diff --git a/themes/toutpratique/restricted-country.tpl b/themes/toutpratique/restricted-country.tpl new file mode 100644 index 00000000..696d7e42 --- /dev/null +++ b/themes/toutpratique/restricted-country.tpl @@ -0,0 +1,129 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + + + + {$meta_title|escape:'html':'UTF-8'} + +{if isset($meta_description)} + +{/if} +{if isset($meta_keywords)} + +{/if} + + + + + +
    +

    {$shop_name}

    +

    503 Overloaded

    +

    logo

    +

    {l s='You cannot access this store from your country. We apologize for the inconvenience.'}

    +
    + + \ No newline at end of file diff --git a/themes/toutpratique/scenes.tpl b/themes/toutpratique/scenes.tpl new file mode 100644 index 00000000..d716a7e0 --- /dev/null +++ b/themes/toutpratique/scenes.tpl @@ -0,0 +1,87 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{if $scenes} +
    +
    + {foreach $scenes as $scene_key=>$scene} +
    + {foreach $scene->products as $product_key=>$product} + {if isset($product.id_image)} + {assign var=imageIds value="`$product.id_product`-`$product.id_image`"} + {/if} + + + + + {/foreach} +
    + {/foreach} +
    + {if isset($scenes.1)} +
    + + + +
    +
      + {foreach $scenes as $scene} +
    • + + {$scene->name|escape:'html':'UTF-8'} + +
    • + {/foreach} +
    +
    + + + +
    + {/if} +
    +{strip} +{addJsDefL name=i18n_scene_close}{l s='Close' js=1}{/addJsDefL} +{addJsDef li_width=($thumbSceneImageType.width|intval+10)} +{/strip} +{/if} \ No newline at end of file diff --git a/themes/toutpratique/search.tpl b/themes/toutpratique/search.tpl new file mode 100644 index 00000000..eaeb752b --- /dev/null +++ b/themes/toutpratique/search.tpl @@ -0,0 +1,68 @@ +{capture name=path}{l s='Search'}{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    + {l s='Search'}  + {if $nbProducts > 0} + + "{if isset($search_query) && $search_query}{$search_query|escape:'html':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'html':'UTF-8'}{elseif $ref}{$ref|escape:'html':'UTF-8'}{/if}" + + {/if} + {if isset($instant_search) && $instant_search} + + {l s='Return to the previous page'} + + {else} + + {if $nbProducts == 1}{l s='%d result has been found.' sprintf=$nbProducts|intval}{else}{l s='%d results have been found.' sprintf=$nbProducts|intval}{/if} + + {/if} +

    +
    +
    + + {include file="$tpl_dir./errors.tpl"} + + +
    +
    diff --git a/themes/toutpratique/shopping-cart-product-line.tpl b/themes/toutpratique/shopping-cart-product-line.tpl new file mode 100644 index 00000000..1bb7a072 --- /dev/null +++ b/themes/toutpratique/shopping-cart-product-line.tpl @@ -0,0 +1,127 @@ +
    +
    +
    + + {$pnames.name|escape:'html':'UTF-8'} + +
    +
    + {l s='Product'} : + + {$product.name|escape:'html':'UTF-8'} + + {if isset($product.attributes_small) && $product.attributes_small} + + {$product.attributes_small|escape:'html':'UTF-8'} + + {/if} + + {if !isset($noDeleteButton) || !$noDeleteButton} + {if (!isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0) && empty($product.gift)} +
    + +
    + {/if} + {/if} +
    + +
    + {l s='Unit price'} : + {if !$priceDisplay} + {convertPrice price=$product.price_wt} + {else} + {convertPrice price=$product.price} + {/if} + + {if isset($product.is_discounted) && $product.is_discounted} + {convertPrice price=$product.price_without_specific_price} + {/if} + + {if $product.ecotax > 0 || $product.sorecop > 0} +
      + {if $product.ecotax > 0} +
    • {l s='Including'} {displayPrice price=($product.ecotax)*1.2-($product.sorecop*1.2)} {l s='of Ecotax'}
    • + {/if} + {if $product.sorecop > 0} +
    • {l s='Including'} {displayPrice price=$product.sorecop*1.2} {l s='of Sorecop'}
    • + {/if} +
    + {/if} +
    +
    + {l s='Quantity'} : + {if isset($cannotModify) AND $cannotModify == 1} + + {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)} + {$product.customizationQuantityTotal} + {else} + {$product.cart_quantity-$quantityDisplayed} + {/if} + + {else} + + {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0} +
    + + + {if $product.minimal_quantity < ($product.cart_quantity-$quantityDisplayed) OR $product.minimal_quantity <= 1} + + + + {else} + + + {/if} + + + + + + + + + +
    + {/if} + {/if} +
    + +
    + {l s='Price'} : + {if !empty($product.gift)} + {l s='Gift!'} + {else} + {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)} + {if !$priceDisplay}{displayPrice price=$product.total_customization_wt}{else}{displayPrice price=$product.total_customization}{/if} + {else} + {if !$priceDisplay}{displayPrice price=$product.total_wt}{else}{displayPrice price=$product.total}{/if} + {/if} + {/if} +
    +
    +
    +{if false} +
    +
    +
    + + + + +
    +
    + {$product.description_short|strip_tags} + {$product.name|strip} +
    +
    + {l s='Price'} : + {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)} + {if !$priceDisplay}{displayPrice price=$product.total_customization_wt}{else}{displayPrice price=$product.total_customization}{/if} + {else} + {if !$priceDisplay}{displayPrice price=$product.total_wt}{else}{displayPrice price=$product.total}{/if} + {/if} +
    +
    + +
    +{/if} \ No newline at end of file diff --git a/themes/toutpratique/shopping-cart.tpl b/themes/toutpratique/shopping-cart.tpl new file mode 100644 index 00000000..fd80a421 --- /dev/null +++ b/themes/toutpratique/shopping-cart.tpl @@ -0,0 +1,237 @@ +{capture name=path}{l s='Your shopping cart'}{/capture} +
    +
    +
    + +
    +

    + {l s='Shopping-cart summary'} +

    + {include file="$tpl_dir./order-steps.tpl"} +
    +
    + + {include file="$tpl_dir./errors.tpl"} + +
    + + + {if isset($empty)} +

    {l s='Your shopping cart is empty.'}

    +

    + + {l s='Continue shopping'} + +

    + {/if} + + {if !isset($empty)} +
    + +
    + + + + + +
    + + + + {assign var='total_discounts_num' value="{if $total_discounts != 0}1{else}0{/if}"} + {assign var='use_show_taxes' value="{if $use_taxes && $show_taxes}2{else}0{/if}"} + {assign var='total_wrapping_taxes_num' value="{if $total_wrapping != 0}1{else}0{/if}"} + + {assign var='odd' value=0} + {assign var='have_non_virtual_products' value=false} + {assign var='hasGuarentee' value=false} + + + {foreach $products as $product} + {if $product.is_virtual == 0} + {assign var='have_non_virtual_products' value=true} + {/if} + {if $product.id_category_default == 8} + {assign var='hasGuarentee' value=true} + {/if} + + {assign var='productId' value=$product.id_product} + {assign var='productAttributeId' value=$product.id_product_attribute} + {assign var='quantityDisplayed' value=0} + {assign var='odd' value=($odd+1)%2} + {assign var='ignoreProductLast' value=isset($customizedDatas.$productId.$productAttributeId) || count($gift_products)} + + {include file="$tpl_dir./shopping-cart-product-line.tpl" product=$product} + + {if isset($customizedDatas.$productId.$productAttributeId)} + {foreach $customizedDatas.$productId.$productAttributeId[$product.id_address_delivery] as $id_customization=>$customization} + + {/foreach} + {/if} + + {/foreach} + + {foreach $gift_products as $product} + {include file="$tpl_dir./shopping-cart-product-line.tpl" product=$product} + {/foreach} + + + {if !$hasGuarentee} + {hook h='displayShoppingCartFooter'} + {/if} + +
    + {if $use_taxes} + {if $voucherAllowed} + {if !sizeof($discounts)} +
    +
    + {if isset($errors_discount) && $errors_discount} +
    +
      + {foreach $errors_discount as $k=>$error} +
    • {$error|escape:'html':'UTF-8'}
    • + {/foreach} +
    +
    + {/if} +
    +
    + +
    + + + +
    +
    +
    + {if $displayVouchers} + + {/if} +
    +
    + {/if} + {/if} + {/if} +
    + + {if sizeof($discounts)} +
    + {foreach $discounts as $discount} +
    +
    + {l s='Applied discount'} : {$discount.name} +
    +
    +
    +
    + + {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if} + +
    + + + +
    + {if strlen($discount.code)} + + + + {/if} +
    +
    + {/foreach} +
    + {/if} + +
    +
    {l s='Total price with taxes'}
    +
    {displayPrice price=$total_products_wt}
    +
    + + {if $total_shipping_tax_exc <= 0 && !isset($virtualCart)} +
    +
    {l s='Total shipping'}
    +
    {l s='Free Shipping!'}
    +
    + {else} + {if $use_taxes && $total_shipping_tax_exc != $total_shipping} + {if $priceDisplay} + + {else} + + {/if} + {else} + +
    {l s='Total shipping'}
    +
    {displayPrice price=$total_shipping_tax_exc}
    +
    + {/if} + {/if} + +
    +
    {if $display_tax_label}{l s='Total products (tax incl.)'}{else}{l s='Total products'}{/if}
    +
    {displayPrice price=$total_price}
    +
    +
    +
    +
    + + {if $show_option_allow_separate_package} +

    + allow_seperated_package}checked="checked"{/if} autocomplete="off"/> + +

    + {/if} + +
    +

    + {if !$opc} + + {l s='Proceed to checkout'} + + {/if} + + {l s='Continue shopping'} + +

    + + {strip} + {addJsDef currencySign=$currencySign|html_entity_decode:2:"UTF-8"} + {addJsDef currencyRate=$currencyRate|floatval} + {addJsDef currencyFormat=$currencyFormat|intval} + {addJsDef currencyBlank=$currencyBlank|intval} + {addJsDef deliveryAddress=$cart->id_address_delivery|intval} + {addJsDefL name=txtProduct}{l s='product' js=1}{/addJsDefL} + {addJsDefL name=txtProducts}{l s='products' js=1}{/addJsDefL} + {/strip} + {/if} +
    +
    \ No newline at end of file diff --git a/themes/toutpratique/sitemap.tpl b/themes/toutpratique/sitemap.tpl new file mode 100644 index 00000000..3c48ecf8 --- /dev/null +++ b/themes/toutpratique/sitemap.tpl @@ -0,0 +1,204 @@ +{capture name=path}{l s='Sitemap'}{/capture} +
    +
    +
    + {if !$content_only} + + {/if} +
    +

    {l s='Sitemap'}

    +
    +
    + + +
    +
    +
    +
    +

    {l s='Our categories'}

    +
      + {if isset($categoriesTree.children)} + {foreach $categoriesTree.children as $child} + {if $child@last} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} + {else} + {include file="$tpl_dir./category-tree-branch.tpl" node=$child} + {/if} + {/foreach} + {/if} +
    +
    +
    + + +
    +
    +

    {l s='Our offers'}

    + +
    + + +
    +

    {l s='Your Account'}

    + +
    + + +
    +

    {l s='Pages'}

    + +
    +
    +
    +
    +
    +
    diff --git a/themes/toutpratique/store_infos.tpl b/themes/toutpratique/store_infos.tpl new file mode 100644 index 00000000..8b93682f --- /dev/null +++ b/themes/toutpratique/store_infos.tpl @@ -0,0 +1,41 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} +{* The following lines allow translations in back-office and has to stay commented + + {l s='Monday'} + {l s='Tuesday'} + {l s='Wednesday'} + {l s='Thursday'} + {l s='Friday'} + {l s='Saturday'} + {l s='Sunday'} +*} + + {foreach from=$days_datas item=one_day} +

    + {l s=$one_day.day}:  {$one_day.hours} +

    + {/foreach} + diff --git a/themes/toutpratique/stores.tpl b/themes/toutpratique/stores.tpl new file mode 100644 index 00000000..5b307c09 --- /dev/null +++ b/themes/toutpratique/stores.tpl @@ -0,0 +1,151 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path}{l s='Our stores'}{/capture} + +

    + {l s='Our stores'} +

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

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

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

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

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

    +
    +
    + + +
    +
    + + + +
    +
    + +
    +
    +
    + +
    + + + + + + + + + + + + +
    #{l s='Store'}{l s='Address'}{l s='Distance'}
    +{strip} +{addJsDef map=''} +{addJsDef markers=array()} +{addJsDef infoWindow=''} +{addJsDef locationSelect=''} +{addJsDef defaultLat=$defaultLat} +{addJsDef defaultLong=$defaultLong} +{addJsDef hasStoreIcon=$hasStoreIcon} +{addJsDef distance_unit=$distance_unit} +{addJsDef img_store_dir=$img_store_dir} +{addJsDef img_ps_dir=$img_ps_dir} +{addJsDef searchUrl=$searchUrl} +{addJsDef logo_store=$logo_store} +{addJsDefL name=translation_1}{l s='No stores were found. Please try selecting a wider radius.' js=1}{/addJsDefL} +{addJsDefL name=translation_2}{l s='store found -- see details:' js=1}{/addJsDefL} +{addJsDefL name=translation_3}{l s='stores found -- view all results:' js=1}{/addJsDefL} +{addJsDefL name=translation_4}{l s='Phone:' js=1}{/addJsDefL} +{addJsDefL name=translation_5}{l s='Get directions' js=1}{/addJsDefL} +{addJsDefL name=translation_6}{l s='Not found' js=1}{/addJsDefL} +{/strip} +{/if} diff --git a/themes/toutpratique/supplier-list.tpl b/themes/toutpratique/supplier-list.tpl new file mode 100644 index 00000000..e1ed1e97 --- /dev/null +++ b/themes/toutpratique/supplier-list.tpl @@ -0,0 +1,144 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{capture name=path}{l s='Suppliers:'}{/capture} + +

    {l s='Suppliers:'} + {strip} + + {if $nbSuppliers == 0}{l s='There are no suppliers.'} + {else} + {if $nbSuppliers == 1} + {l s='There is %d supplier.' sprintf=$nbSuppliers} + {else} + {l s='There are %d suppliers.' sprintf=$nbSuppliers} + {/if} + {/if} + + {/strip} +

    + +{if isset($errors) AND $errors} + {include file="$tpl_dir./errors.tpl"} +{else} + +{if $nbSuppliers > 0} +
    +
    + {if isset($supplier) && $supplier.nb_products > 0} + + {/if} + {include file="./nbr-product-page.tpl"} +
    +
    + {include file="$tpl_dir./pagination.tpl"} +
    +
    + + {assign var='nbItemsPerLine' value=3} + {assign var='nbItemsPerLineTablet' value=2} + {assign var='nbLi' value=$suppliers_list|@count} + {math equation="nbLi/nbItemsPerLine" nbLi=$nbLi nbItemsPerLine=$nbItemsPerLine assign=nbLines} + {math equation="nbLi/nbItemsPerLineTablet" nbLi=$nbLi nbItemsPerLineTablet=$nbItemsPerLineTablet assign=nbLinesTablet} + + +
    +
    + {include file="$tpl_dir./pagination.tpl" paginationId='bottom'} +
    +
    +{/if} +{/if} diff --git a/themes/toutpratique/supplier.tpl b/themes/toutpratique/supplier.tpl new file mode 100644 index 00000000..676937e8 --- /dev/null +++ b/themes/toutpratique/supplier.tpl @@ -0,0 +1,61 @@ +{* +* 2007-2015 PrestaShop +* +* NOTICE OF LICENSE +* +* This source file is subject to the Academic Free License (AFL 3.0) +* that is bundled with this package in the file LICENSE.txt. +* It is also available through the world-wide-web at this URL: +* http://opensource.org/licenses/afl-3.0.php +* If you did not receive a copy of the license and are unable to +* obtain it through the world-wide-web, please send an email +* to license@prestashop.com so we can send you a copy immediately. +* +* DISCLAIMER +* +* Do not edit or add to this file if you wish to upgrade PrestaShop to newer +* versions in the future. If you wish to customize PrestaShop for your +* needs please refer to http://www.prestashop.com for more information. +* +* @author PrestaShop SA +* @copyright 2007-2015 PrestaShop SA +* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) +* International Registered Trademark & Property of PrestaShop SA +*} + +{include file="$tpl_dir./errors.tpl"} + +{if !isset($errors) OR !sizeof($errors)} +

    + {l s='List of products by supplier:'} {$supplier->name|escape:'html':'UTF-8'} +

    + {if !empty($supplier->description)} +
    +

    {$supplier->description}

    +
    + {/if} + + {if $products} +
    +
    + {include file="./product-sort.tpl"} + {include file="./nbr-product-page.tpl"} +
    +
    + {include file="./product-compare.tpl"} + {include file="$tpl_dir./pagination.tpl"} +
    +
    + + {include file="./product-list.tpl" products=$products} + +
    +
    + {include file="./product-compare.tpl"} + {include file="./pagination.tpl" paginationId='bottom'} +
    +
    + {else} +

    {l s='No products for this supplier.'}

    + {/if} +{/if}