From 176dab080e9114dc1b2ac1efd8bd0196d6f849d1 Mon Sep 17 00:00:00 2001 From: dMetzger Date: Fri, 3 Aug 2012 07:56:35 +0000 Subject: [PATCH] // Filled a default message in customer privacy #PSCFV-3471 --- modules/blockcustomerprivacy/blockcustomerprivacy.php | 7 ++++++- modules/blockcustomerprivacy/translations/fr.php | 2 ++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/blockcustomerprivacy/blockcustomerprivacy.php b/modules/blockcustomerprivacy/blockcustomerprivacy.php index 02c33c798..ebfb42fb4 100644 --- a/modules/blockcustomerprivacy/blockcustomerprivacy.php +++ b/modules/blockcustomerprivacy/blockcustomerprivacy.php @@ -49,7 +49,12 @@ class Blockcustomerprivacy extends Module public function install() { - return parent::install() && $this->registerHook('createAccountForm') && Configuration::updateValue('CUSTPRIV_MESSAGE', array()); + $return = (parent::install() && $this->registerHook('createAccountForm')); + Configuration::updateValue('CUSTPRIV_MESSAGE', array($this->context->language->id => + $this->l('The personal data you provide is used to answer to your queries, process your orders or allow you to access specific information.').' '. + $this->l('You have a right to modify and delete all the personal information which we hold concerning yourself in the "my account" page.') + )); + return $return; } public function getContent() diff --git a/modules/blockcustomerprivacy/translations/fr.php b/modules/blockcustomerprivacy/translations/fr.php index 7d0ca725d..1b8073a31 100644 --- a/modules/blockcustomerprivacy/translations/fr.php +++ b/modules/blockcustomerprivacy/translations/fr.php @@ -4,6 +4,8 @@ global $_MODULE; $_MODULE = array(); $_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_0cec62d1bea02fbb1484d55d14f493dd'] = 'Bloc confidentialité des données clients'; $_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_3a32ec2dbd8d955f6240d95d6004557c'] = 'Ajoute un bloc qui affiche un message concernant la confidentialité des données clients.'; +$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_77cb2fa873bee41280d3a1c9ffd9b821'] = 'Les informations personnelles que nous collectons sont destinées à mieux répondre à vos demandes et traiter vos commandes.'; +$_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_0560788430987c4914fea998886d3977'] = 'Vous disposez à tout moment d’un droit d’accès, de modification et de suppression de vos informations personnelles que vous pouvez exercer via la page \"mon compte\" de ce site internet.'; $_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_20015706a8cbd457cbb6ea3e7d5dc9b3'] = 'Configuration mise à jour'; $_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_b75fe4f32f17eb695f145704a8909146'] = 'Message concernant la confidentialité des données clients'; $_MODULE['<{blockcustomerprivacy}prestashop>blockcustomerprivacy_03e6791c07164957bb87bfad5030f846'] = 'Le message sera affiché sur le formulaire de création de compte.';