// Merg// Merge -> revision 8395
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8397 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -46,11 +46,18 @@ if(empty($_POST['action']) OR !in_array($_POST['action'],array('upgradeDb')))
|
||||
}
|
||||
else
|
||||
require_once(dirname(__FILE__).'/Upgrader.php');
|
||||
|
||||
if(!class_exists('Upgrader',false))
|
||||
{
|
||||
if(file_exists(_PS_ROOT_DIR_.'/override/classes/Upgrader.php'))
|
||||
{
|
||||
require_once(_PS_ROOT_DIR_.'/override/classes/Upgrader.php');
|
||||
}
|
||||
else
|
||||
{
|
||||
eval('class Upgrader extends UpgraderCore{}');
|
||||
}
|
||||
}
|
||||
|
||||
require_once(dirname(__FILE__).'/Tools14.php');
|
||||
if(!class_exists('Tools',false))
|
||||
@@ -1524,8 +1531,9 @@ txtError[37] = "'.$this->l('The config/defines.inc.php file was not found. Where
|
||||
{
|
||||
if($this->configOk())
|
||||
{
|
||||
echo '<a href="" id="upgradeNow" class="button-autoupgrade upgradestep">'.$this->l('Upgrade PrestaShop now !').'</a>';
|
||||
echo '<small>'.sprintf($this->l('PrestaShop will be downloaded from %s'), $this->upgrader->link).'</small>';
|
||||
echo '<p><a href="" id="upgradeNow" class="button-autoupgrade upgradestep">'.$this->l('Upgrade PrestaShop now !').'</a></p>';
|
||||
echo '<small>'.sprintf($this->l('PrestaShop will be downloaded from %s'), $this->upgrader->link).'</small><br/>';
|
||||
echo '<small><a href="'.$this->upgrader->changelog.'">'.$this->l('see CHANGELOG').'</a></small>';
|
||||
}
|
||||
else
|
||||
echo $this->displayWarning('Your current configuration does not allow upgrade.');
|
||||
@@ -1547,10 +1555,10 @@ txtError[37] = "'.$this->l('The config/defines.inc.php file was not found. Where
|
||||
echo '</fieldset>';
|
||||
|
||||
|
||||
echo '<br class="clear"/>';
|
||||
|
||||
if (defined('_PS_MODE_DEV_') AND _PS_MODE_DEV_)
|
||||
{
|
||||
echo '<br class="clear"/>';
|
||||
echo '<fieldset class="autoupgradeSteps"><legend>'.$this->l('Step').'</legend>';
|
||||
echo '<h4>'.$this->l('Upgrade steps').'</h4>';
|
||||
echo '<div>';
|
||||
@@ -1565,16 +1573,16 @@ txtError[37] = "'.$this->l('The config/defines.inc.php file was not found. Where
|
||||
|
||||
if (defined('_PS_ALLOW_UPGRADE_UNSTABLE_') AND _PS_ALLOW_UPGRADE_UNSTABLE_ )
|
||||
{
|
||||
echo '<h4>Development tools </h4><div>
|
||||
<a href="" name="action" id="svnCheckout" class="button upgradestep" type="submit" >svnCheckout</a>
|
||||
<a href="" name="action" id="svnUpdate" class="button upgradestep" type="submit" >svnUpdate</a>
|
||||
<a href="" name="action" id="svnExport" class="button upgradestep" type="submit" >svnExport</a>
|
||||
</div>';
|
||||
echo '<h4>Development tools </h4><div>';
|
||||
echo '<a href="" name="action" id="svnCheckout" class="button upgradestep" type="submit" >svnCheckout</a>';
|
||||
echo '<a href="" name="action" id="svnUpdate" class="button upgradestep" type="submit" >svnUpdate</a>';
|
||||
echo '<a href="" name="action" id="svnExport" class="button upgradestep" type="submit" >svnExport</a>';
|
||||
echo '<br class="clear"/>';
|
||||
echo '</div>';
|
||||
}
|
||||
}
|
||||
|
||||
echo '<br class="clear"/>';
|
||||
echo' <div id="quickInfo" class="processing" style="height:100px;">quick info</div>';
|
||||
echo' <div id="quickInfo" class="processing" style="height:100px;"> </div>';
|
||||
// for upgradeDb
|
||||
echo '<p id="dbResultCheck"></p>';
|
||||
echo '<p id="dbCreateResultCheck"></p>';
|
||||
@@ -1606,6 +1614,7 @@ echo '</script>';
|
||||
{
|
||||
$upgrader = new Upgrader();
|
||||
$upgrader->checkPSVersion(true);
|
||||
$this->upgrader = $upgrader;
|
||||
}
|
||||
echo '<style>
|
||||
.autoupgradeSteps div { line-height: 30px; }
|
||||
@@ -1613,7 +1622,7 @@ echo '</script>';
|
||||
#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url("../img/admin/enabled.gif");background-position: left center;background-repeat: no-repeat;padding-left: 15px;}
|
||||
#upgradeNow {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.button-autoupgrade {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.processing {overflow: auto;}
|
||||
.processing {border:2px outset grey;margin-top:1px;overflow: auto;}
|
||||
</style>';
|
||||
$this->displayWarning($this->l('This function is experimental. It\'s highly recommended to make a backup of your files and database before starting the upgrade process.'));
|
||||
|
||||
|
||||
@@ -26,7 +26,8 @@
|
||||
*/
|
||||
|
||||
class UpgraderCore{
|
||||
const DEFAULT_CHECK_VERSION_DELAY_HOURS = 0;
|
||||
const DEFAULT_CHECK_VERSION_DELAY_HOURS = 24;
|
||||
public $rss_version_link = 'http://www.prestashop.com/xml/version.xml';
|
||||
/**
|
||||
* link contains hte url where to download the file
|
||||
*
|
||||
@@ -39,6 +40,8 @@ class UpgraderCore{
|
||||
public $version_num;
|
||||
public $link;
|
||||
public $autoupgrade;
|
||||
public $changelog;
|
||||
public $md5;
|
||||
|
||||
public function __get($var)
|
||||
{
|
||||
@@ -95,20 +98,26 @@ class UpgraderCore{
|
||||
$lastCheck = Configuration::get('PS_LAST_VERSION_CHECK');
|
||||
// if we use the autoupgrade process, we will never refresh it
|
||||
// except if no check has been done before
|
||||
if (!($this->autoUpgrade AND $lastCheck) AND ($force OR ($lastCheck < time() - (3600 * Upgrader::DEFAULT_CHECK_VERSION_DELAY_HOURS))) )
|
||||
if ($force OR ($lastCheck < time() - (3600 * Upgrader::DEFAULT_CHECK_VERSION_DELAY_HOURS)) )
|
||||
{
|
||||
libxml_set_streams_context(stream_context_create(array('http' => array('timeout' => 3))));
|
||||
if ($feed = @simplexml_load_file('http://www.prestashop.com/xml/version.xml'))
|
||||
if ($feed = @simplexml_load_file($this->rss_version_link))
|
||||
{
|
||||
$this->version_name = (string)$feed->version->name;
|
||||
$this->version_num = (string)$feed->version->num;
|
||||
$this->link = (string)$feed->download->link;
|
||||
$this->md5 = (string)$feed->download->md5;
|
||||
$this->changelog = (string)$feed->download->changelog;
|
||||
$this->autoupgrade = (int)$feed->autoupgrade;
|
||||
$this->desc = (string)$feed->desc ;
|
||||
$configLastVersion = array(
|
||||
'name' => $this->version_name,
|
||||
'num' => $this->version_num,
|
||||
'link' => $this->link,
|
||||
'autoupgrade' => $this->autoupgrade
|
||||
'md5' => $this->md5,
|
||||
'autoupgrade' => $this->autoupgrade,
|
||||
'changelog' => $this->changelog,
|
||||
'desc' => $this->desc
|
||||
);
|
||||
Configuration::updateValue('PS_LAST_VERSION',serialize($configLastVersion));
|
||||
Configuration::updateValue('PS_LAST_VERSION_CHECK',time());
|
||||
@@ -121,6 +130,9 @@ class UpgraderCore{
|
||||
$this->version_num = $lastVersionCheck['num'];
|
||||
$this->link = $lastVersionCheck['link'];
|
||||
$this->autoupgrade = $lastVersionCheck['autoupgrade'];
|
||||
$this->md5 = $lastVersionCheck['md5'];
|
||||
$this->desc = $lastVersionCheck['desc'];
|
||||
$this->changelog = $lastVersionCheck['changelog'];
|
||||
}
|
||||
}
|
||||
// retro-compatibility :
|
||||
@@ -136,60 +148,3 @@ class UpgraderCore{
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class Upgrader extends UpgraderCore
|
||||
{
|
||||
public function checkPSVersion($force = false)
|
||||
{
|
||||
if (empty($this->link))
|
||||
{
|
||||
if(class_exists('Configuration',false))
|
||||
$lastCheck = Configuration::get('PS_LAST_VERSION_CHECK');
|
||||
else
|
||||
$lastCheck = 0;
|
||||
// if we use the autoupgrade process, we will never refresh it
|
||||
// except if no check has been done before
|
||||
if (!($this->autoUpgrade AND $lastCheck) AND ($force OR ($lastCheck < time() - (3600 * Upgrader::DEFAULT_CHECK_VERSION_DELAY_HOURS))) )
|
||||
{
|
||||
libxml_set_streams_context(stream_context_create(array('http' => array('timeout' => 3))));
|
||||
if ($feed = @simplexml_load_file('http://www.prestashop.com/xml/version.xml'))
|
||||
{
|
||||
$this->version_name = (string)$feed->version->name;
|
||||
$this->version_num = (string)$feed->version->num;
|
||||
$this->link = (string)$feed->download->link;
|
||||
$this->autoupgrade = (int)$feed->autoupgrade;
|
||||
$configLastVersion = array(
|
||||
'name' => $this->version_name,
|
||||
'num' => $this->version_num,
|
||||
'link' => $this->link,
|
||||
'autoupgrade' => $this->autoupgrade
|
||||
);
|
||||
if(class_exists('Configuration',false))
|
||||
{
|
||||
Configuration::updateValue('PS_LAST_VERSION',serialize($configLastVersion));
|
||||
Configuration::updateValue('PS_LAST_VERSION_CHECK',time());
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$lastVersionCheck = unserialize(Configuration::get('PS_LAST_VERSION'));
|
||||
$this->version_name = $lastVersionCheck['name'];
|
||||
$this->version_num = $lastVersionCheck['num'];
|
||||
$this->link = $lastVersionCheck['link'];
|
||||
$this->autoupgrade = $lastVersionCheck['autoupgrade'];
|
||||
}
|
||||
}
|
||||
// retro-compatibility :
|
||||
// return array(name,link) if you don't use the last version
|
||||
// false otherwise
|
||||
if (version_compare(_PS_VERSION_, $this->version_num, '<'))
|
||||
{
|
||||
$this->needUpgrade = true;
|
||||
return array('name' => $this->version_name, 'link' => $this->link);
|
||||
}
|
||||
else
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -30,23 +30,35 @@ class Autoupgrade extends Module
|
||||
if (!$autoupgradeCanWork)
|
||||
return false;
|
||||
|
||||
// How to remove an Admin Tab ?
|
||||
if (version_compare(_PS_VERSION_,'1.4.4.0','=') OR version_compare(_PS_VERSION_,'1.4.4.1','='))
|
||||
$res = true;
|
||||
// before adding AdminSelfUpgrade, we should remove AdminUpgrade
|
||||
if (version_compare(_PS_VERSION_,'1.4.4.0','==') OR version_compare(_PS_VERSION_,'1.4.4.1','=='))
|
||||
{
|
||||
$idTab = Tab::getIdFromClassName('AdminUpgrade');
|
||||
|
||||
if ($idTab)
|
||||
{
|
||||
$tab = new Tab($idTab);
|
||||
$tab->delete();
|
||||
$res &= $tab->delete();
|
||||
}
|
||||
else
|
||||
}
|
||||
|
||||
$idTab = Tab::getIdFromClassName('AdminSelfUpgrade');
|
||||
// Then we add AdminSelfUpgrade only if not exists
|
||||
if (!$idTab)
|
||||
{
|
||||
$tab = new Tab();
|
||||
$tab->class_name = 'AdminSelfUpgrade';
|
||||
$tab->module = 'autoupgrade';
|
||||
$tab->id_parent = 9;
|
||||
$tab->name = array_fill(1,sizeof(Language::getLanguages(false)), 'Upgrade');
|
||||
$res = $tab->save();
|
||||
Configuration::updateValue('PS_AUTOUPDATE_MODULE_IDTAB',$tab->id);
|
||||
$res &= $tab->save();
|
||||
}
|
||||
else
|
||||
{
|
||||
$tab = new Tab($idTab);
|
||||
}
|
||||
Configuration::updateValue('PS_AUTOUPDATE_MODULE_IDTAB',$tab->id);
|
||||
|
||||
$autoupgradeDir = _PS_ADMIN_DIR_.DIRECTORY_SEPARATOR.'autoupgrade';
|
||||
if(!file_exists($autoupgradeDir))
|
||||
@@ -58,6 +70,7 @@ class Autoupgrade extends Module
|
||||
$res &= copy($path.'ajax-upgradetab.php',$autoupgradeDir . DIRECTORY_SEPARATOR . 'ajax-upgradetab.php');
|
||||
|
||||
if (!$res
|
||||
OR !Tab::getIdFromClassName('AdminSelfUpgrade')
|
||||
OR !(Hook::get('backOfficeHeader') AND !$this->registerHook('backOfficeHeader'))
|
||||
OR !parent::install()
|
||||
)
|
||||
|
||||
+148
-152
@@ -1,155 +1,151 @@
|
||||
<?php
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_875b8a59022d232837491c0fdfacb4ab'] = 'Ne pas sauver les images';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a8d6c6734da0083021561b23f2fa88cc'] = 'Vous pouvez exclure le dossier image de la sauvegarde si vous l\'avez déjà sauvegardé d\'une autre manière (non recommandé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_af98608eaedd4ba7ffd47a0204e84b23'] = 'Conserver le thème \"prestashop\" actuel';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4ea56ca1a757e426911ff20889c0e93c'] = 'Si vous avez personnalisé le thème par défaut de PrestaShop, vous pouvez le protéger de la mise à niveau (non recommandé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8413c63a6ef3717a974094785fd0b588'] = 'Garder les traductions';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_51bbcf7afb0f8d35501d0a7b28979b06'] = 'Si \"oui\", vous conserverez toutes vos traductions';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8c8194a465f0163a6724907755ac1b82'] = 'Mode manuel';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_dd9dbd4916653d683244119a067ca467'] = 'Choisissze \"oui\" si vous voulez vous ';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_e7b6d601ff4e9069e726927e211274ea'] = 'Utiliser Subversion';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a15b09729294cf7fea1096f970a0fed4'] = 'Choisissez \"oui\" si vous voulez utiliser une version non stable au lieu de l';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_36be1130454bc8c4e0a41d36fa062a8b'] = 'Impossible de créer le répertoire %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_e21a52b9631b01c3f1821795b8de451c'] = 'Processus de mise à niveau terminé. Félicitations! Vous pouvez maintenant réactive de votre boutique.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_7b2f224649ef2ad10a2d73595d67a876'] = 'Démarrage mise à niveau ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_6824d57b7af37f605bd97d34defc3761'] = 'Exportation svn terminée. Suppression des fichiers exemples...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f70307d8297e48a8783d41e6f3313d51'] = 'Erreur lors de l\'export SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4eecd9c195e46c054ef7da6d9d1a738b'] = 'Extraction terminée. Suppression des fichiers exemples...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0929f38eaac3ca38801f08b7269574e0'] = 'Impossible d\'extraire %1$s dans %2$s ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_6b2d0404b7faba0e791e15a52586a149'] = 'Basculer vers svn checkout (useSvn activé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f0e38ac0c558a7f216ae98382b9e58f5'] = 'Site désactivé. Téléchargement en cours (peut prendre ';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4f7c02592a962e40a920f32f3a24f2df'] = 'filesToUpgrade n\'est pas un tableau';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3f10faa8b44a7175ae8fc5dcb8dec5de'] = 'Tous les fichiers ont été mis à jour. Mise à jour de la base de données en cours.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_1ad932e3b85eb2907a817cd3e3e6907e'] = 'Erreur pour la mise à jour de %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_078a325fbcc1dbd50bd9f969ce954965'] = 'encore %2$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_62740df131433ec9d45bf1810eefb19b'] = 'erreur pendant la mise à jour de la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_9a2f2cf276ea9f79b31a815897c0e3e6'] = '%s ignoré.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_63ded4905ba41ac4bf00373df2739576'] = 'création du répertoire %2$s. encore %3$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_11978affb3b0dbb16c50d571fd05de6d'] = 'erreur lors de la création du répertoire %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_1b854285afc1988b6f83414fde5943ab'] = '%1$s copié dans %2$s. encore %3$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0e06ce0972ad338e1d96e8589dc21b9c'] = 'erreur lors de la copie de %1$s vers %2$s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0511620a3a1d6036d3fbe47b131d7c4b'] = 'Fichiers restorés. Restauration de la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_791403f158965a3e19f8627c7b744126'] = 'Base de données restaurée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5f7f50973696d0a42c1efcc07f7820a0'] = 'Votre site est maintenant restauré.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_28517b8a291c50d80aa53a078407065b'] = 'Répertoire racine nettoyée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_bb71892737d721949538d6e1c4d3d22d'] = 'Fichiers restaurés. Sauvegarde de la base de données non trouvée. Restauration terminée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_cb7dce5f6a1934d54c0d3335c7ffe841'] = 'Fichiers restaurés.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8efc36d230f76fbfd9e4d758964e9414'] = 'impossible d\'extraire %1$ s dans%2$s.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_d7624db09c15d46cd37d7709ae05e44b'] = 'aucune sauvegarde trouvée. Il n\'y a rien à restaurer.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_09a362e2dd3800f8fbc55d3446513f65'] = 'Rien à restaurer (aucune requête trouvée)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_66c4cbfb21f294b233692b67356db647'] = 'Base de données sauvegardée dans %s. Mise à jour des fichiers ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_48f95ff09327408a578e91655ed872a1'] = '%s fichiers à sauvegarder.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_70960f2aa87d307170d3a1bc3e06d904'] = 'sauvegarde des fichiers initilialisée dans %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8cf728d701c50a59ef78b7c55fc27cd4'] = 'Les fichiers de sauvegarde en cours. Encore %s ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_15b353ca964fe816547e67e1508ff85d'] = 'Fichiers sauvegardés. Sauvegarde de la base de données ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a25c4f085558c5f6e519e56257af531f'] = 'tous les fichiers ont été ajoutés à l\'archive.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_91f805cf850500bda66426aea042602f'] = '%1$ s ajouté à l\'archive. Encore %2$.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f79479c0de75d568def0afdc1e5de04e'] = 'Erreur lorsque vous essayez d\'ajouter %1$s à l\'archive %2$s.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b9a2db69065827812dd4b7a7f9ffc0b1'] = 'impossible d\'ouvrir l\'archive';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2589a25910cd3d7fab7e45361c4cb39d'] = '%1$s supprimé. reste %2$s ';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_d82eef1ba081c54686767c555670c0fe'] = 'erreur lors de la suppression de %1$s, reste encore %2$s ';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_344c592d141604c614c219fad3fa0dae'] = '%1$s fichiers exemple à supprimer';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0baf8c94d1d03d1621c17cd6eabf7b9f'] = 'Tous les exemples de fichiers supprimés. Sauvegarde des fichiers en cours...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_84e31682487d5a0937f9184ebcf594ba'] = 'copie de travail déjà %s à jour. exportation vers le répertoire latest';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8f4c8c87daa3bc0311cfb61b7d36e27b'] = 'Erreur d\'extraction du SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0e81132066d433d212e237678e1193a3'] = 'non authorisé à utiliser SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b0d51f91a1118b7c39ee1835cc6c926a'] = 'Téléchargement terminé. Extraction ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_0c0db54fe8212c1a7215005fef75d7dd'] = 'Erreur pendant le téléchargement';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_93120c07d8c5cee44042627cd493e0e0'] = 'vous avez besoin allow_url_fopen pour le téléchargement automatique. Vous pouvez également placer le fichier manuellement dans %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3bb38e7d0bfd5a02f7c06cae446fee86'] = 'l\'action %s ignorée';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b4302e98d94591ee9afa09e769b2ee63'] = 'l\'action %s non trouvée';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_19f823c6453c2b1ffd09cb715214813d'] = 'Champs requis';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_760c4026bc5a0bd5378e6efc3f1370b4'] = 'Trop long !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4f2e28904946a09d8c7f36dd3ee72457'] = 'Les champs sont différents !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_43b01d1a6c5065545c65f42003b0ab5c'] = 'Adresse incorrecte !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2e170dfd78c2171a25605ececc0950a4'] = 'Impossible d\'envoyer l\'email !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_6deee80e4bdb8894331994116818558e'] = 'Erreur à la création du fichier de configuration, si le fichier /config/settings.inc.php existe, veuillez lui donner les droits publics d\'écriture; sinon veuillez créer un fichier settings.inc.php dans le répertoire de configuration (/config/)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_aa946cb00b1c23ff6553b6f9e05da151'] = 'Le fichier de paramètres n\'a pu être écrit, veuillez créer un fichier nommé settings.inc.php dans votre répertoire de configuration.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_e930e2474c664a3a7e89ecfb8793694b'] = 'Impossible d\'envoyer le fichier !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_774fc7a0f56391abc5d8856f2436ca07'] = 'L\'intégrité des données n\'est pas validée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8fd007bf08e0717537825a3e91cb4fcc'] = 'Impossible de lire le contenu d\'un des fichiers *.sql.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_c71e825f6873f64b91efc26313614eab'] = 'Impossible d\'accéder au contenu d\'un des fichiers *.sql.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3d5c8f1d29b1a1dc4ea0673122e0d277'] = 'Erreur lors de l\'insertion dans la base :';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_17e1581d01152347bfaacd153b961379'] = 'Mot de passe incorrect (chaîne alpha-numérique d\'au moins 8 caractères)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_9b9f3b2f8a4dffcad9188c8fc4b468c8'] = 'Une base de données PrestaShop existe déjà avec ce préfixe, vous devez la supprimer manuellement ou changer son préfixe.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_bc5e1163a15106f9e941a7603124709d'] = 'Ce n\'est pas un nom valide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a9d82945b8603f0c8807958d7db9a24d'] = 'Ce n\'est pas une image valide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b37eef07b764ea58eec9afe624e20a40'] = 'Erreur lors de la création du fichier /config/settings.inc.php.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3d9f514d46849760ef1b1412e314fd99'] = 'Erreur :';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_504053ab4c6d648edf11624f1bea4bb4'] = 'Cette base de données PrestaShop existe déjà, merci de revalider vos informations d\'authentification à la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_d7a99f61bb284d096ea4f221784af85a'] = 'Une erreur est survenue lors du redimensionnement de l\'image.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_428c933bafbf262d693fbf1c22c03e5d'] = 'La base de données a été trouvée !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_76bd190129b7aefb90fdf42f09ec3ec7'] = 'Le serveur de bases de données est disponible mais la base de données n\'a pas été trouvée';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_045f4b5c3f990e5a26e2837495d68259'] = 'Le serveur de bases de données n\'a pas été trouvé, merci de vérifier vos identifiants ou le nom du serveur.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_757fc72e8d69106dd2cf9da22cc7adb1'] = 'Une erreur est survenue lors de l\'envoi de l\'email, merci de vérifier vos paramètres.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_d18ad19290b3bfc3cd0d7badbb6cb6a3'] = 'Impossible d\'écrire l\'image /img/logo.jpg. Si celle-ci existe déjà, merci de la supprimer manuellement.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2368e33e3e01d53abb9b60061ab83903'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a10ef376d9f4c877ac86d8e4350116bf'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f8fe8cba1625eaf8e5c253b041d57dbd'] = 'Le fichier a été envoyé partiellement.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8c9067e52e4440d8a20e74fdc745b0c6'] = 'Aucun fichier n\'a été envoyé';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2384d693d9af53b4727c092af7570a19'] = 'Il manque le dossier temporaire de réception de vos envois de fichiers. Merci de consulter votre administrateur système.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f5985b2c059d5cc36968baab7585baba'] = 'Impossible d\'écrire le fichier sur le disque';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_9e54dfe54e03b0010c1fe70bd65cd5e6'] = 'Envoi de fichier interrompu à cause de l\'extension incorrecte';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_32af3a59b50e98d254d6c03c5b320a94'] = 'Impossible de convertir les données de votre base de données en utf-8.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_989a45a4ca01ee222f4370172bf8850d'] = 'Nom de boutique invalide';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_68499acecfba9d3bf0ca8711f300d3ed'] = 'Votre prénom contient des caractères invalides';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2399cf4ca7b49f2706f6e147a32efa78'] = 'Votre nom contient des caractères invalides';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_7d72600fcff52fb3a2d2f73572117311'] = 'Votre serveur de base de données ne supporte pas le jeu de caractère utf-8.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5b9bbadcf96f15e7f112c13a9e5f076e'] = 'Le support de ce moteur de base de donnée n\'est pas supporté, veuillez en choisir un autre tel que MyISAM';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_24b481455c1b72b0c2539e7d516b9582'] = 'Le fichier /img/logo.jpg n\'a pas les droits d\'écriture, merci d\'effectuer un CHMOD 755 ou 777 sur ce fichier';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5746b74663148afffd1350c97d4fcdfe'] = 'Champ mode catalog invalide';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_9e5459c4deb20b7842ac01e97390b334'] = 'Erreur inconnue.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_dafe44b99256a7783bc37f4f949da373'] = 'Cet installeur est trop vieux.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_37ce0f29c7377c827e7247fe5645a782'] = 'Vous êtes déjà en possession de la version %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_89928a14f2090aec4fd7aff9ea983f95'] = 'Pas de version antérieur détectée. Avez-vous supprimé ou renommé le fichier settings.inc.php du dossier config ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5276a8cbd9e3e467396089b267564f51'] = 'Le fichier config/settings.inc.php n\'a pas été trouvé. L\'avez-vous supprimé ou renommé ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_24784d9e80638781b74c017b33d8ca0c'] = 'Impossible de trouver un des fichiers de mise à jour SQL. Merci de vérifier que le dossier /install/sql/upgrade n\'est pas vide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_580e4b216e324f675f0237cdb34b6c2d'] = 'Pas de mise à jour disponible';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f15e7e7292b0c72894cf45a893e0d497'] = 'Erreur lors de l\'ouverture du fichier SQL';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b8286438fbb6c7df9129fadc5316c19f'] = 'Erreur lors de l\'insertion dans la base de données';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_229ee8046cafc09ddaf46fb9db710e91'] = 'Malheureusement,';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_e805a556799b7cef40e9760c81d99218'] = 'erreurs SQL sont apparues.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5627353fd6ac678497af3ece05087068'] = 'Le fichier config/defines.inc.php n\'a pas été trouvé. Ou est-il passé ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_446c9e952debe114c86bbd9e5eea7d61'] = 'Restaurer';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4879913b16fa23f723f70a5067bda8d4'] = 'Aucune restauration disponible';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_fff66e9b3d962fa319c8068b5c1997cd'] = 'restaurer';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_ebdabc2d40aa563aabbb3ee57915a7a9'] = 'cliquer pour restaurer %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_e9c57c7fbc335e66282a32617b01b9be'] = 'Votre configuration actuelle';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_2fc4ab825ce2ce9476e8a1c2211ac9b8'] = 'Dossier racine';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_8786f48d9cf9618cd2f5c37312ab7e50'] = 'Statut du dossier racine';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_d16d80ca66261afba43f5736f6cec7e6'] = 'droits complets en écriture';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_039552aa1d74b68f01a73821f3078158'] = 'pas de droits d\'écriture récursif';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_31a962ffeb06a6cc6d58ef3ba5fae2b7'] = 'Autoupgrade autorisé';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_9c30a74657158984997cca4930d6075b'] = 'Cette version autorise la mise à jour automatique';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_af566be1636d11ecc8ddb728a15520b8'] = 'Cette version n\'autorise pas la mise à jour automatique';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_4d3d769b812b6faa6b76e1a8abaece2d'] = 'Actif';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3cab03c00dbd11bc3569afa0748013f0'] = 'Inactif';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b2e1c91a22797b8d78f9c4adb01a8f17'] = 'Statut de la boutique';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_94af5df6182efd3591d0ccccaa04bd5c'] = 'Limite de temps PHP';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_075ae3d2fc31640504f814f60e5ef713'] = 'désactivée';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_783e8e29e6a8c3e22baa58a19420eb4f'] = 'secondes';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_342299aeb786a06533ba00d9a04794dd'] = 'Modifiez vos options';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_06933067aafd48425d67bcb01bba5cb6'] = 'Mettre à jour';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_5d8b77b69c92370ec4e175a638019ca7'] = 'La version actuelle de votre boutique est : %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_80e3d093272bc011b6bc661e408c7423'] = 'La dernière version est %1$s (%2$s)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_b47ba7568788e46dbc7fe81e525db863'] = 'La dernière version de prestashop disponible est:';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_c97dcfb0df6daa46292a0def8a567822'] = 'Sauvegardez la base de données, les fichiers de sauvegarde et faire la mise en un clic pardi !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a60ab62ed99ef0358b2efae592be0cdd'] = 'Mettre à jour PrestaShop Maintenant !';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_943f41a7241dc56c3fbc488f015a4e6a'] = 'Votre boutique est déjà à jour';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_48c7c41b72e1d678923ce3571aa65b2d'] = 'Etape';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_eeb5a49c38d2d8c2baa51ed09beccf88'] = 'Etape de mise à jour';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_c5d769685704e7ddcd70e74a6ebe50b7'] = 'Votre configuration actuelle n\'autorise pas la mise à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_7f786b903ea8045f5b5b7e3c5a4e0385'] = 'Cette fonction est expérimentale. Il est hautement recommandé de faire une sauvegarde de vos fichiers et de votre base de données avant de commencer le processus de mise à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_3a3a651c9a67bca9ac902da789466b93'] = 'Mise à jour instable';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a22eff458b4f4bce6d3232e367ff0138'] = 'Votre configuration actuelle indique que vous voulez mettre à jour votre système à partir d\'une branche de développement instable, sans numéro de version. Si vous mettez à jour, vous ne pourrez plus appliquer le processus de versions stables officiel.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_dae8ace18bdcbcc6ae5aece263e14fe8'] = 'Options';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_c747916b25dcb02e0e81ee84dbd966ea'] = 'Vous n\'avez pas besoin d\'utiliser cette fonctionnalité.';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_6b3930a184368a458be6e4429f409877'] = 'Mise à jour terminée. Vérifiez votre boutique (essayez de faire une commande, vérifier le thème)';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_91195bbbacc2147a736c849c46368ed8'] = 'Voulez vous restaurer votre boutique';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_a498f9476a893d51ee02b3601678d318'] = 'Cliquez pour restaurer la base de donnée';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_f34d5debb2bba76aa3e077937a07e373'] = 'Cliquez pour restaurer les fichiers';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_60283aa37e2063b2ada2f99216e1332a'] = 'Votre serveur ne peut pas télécharger le fichier. S\'il vous plaît le télécharger d\'abord par ftp dans votre répertoire admin/autoupgrade';
|
||||
$_MODULE['<{autoupgrade}prestashop>AdminSelfUpgrade_6ef7ebe46f6d16cdbf9e2169e3dd048e'] = 'Allez manuellement au bouton restaurer';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_875b8a59022d232837491c0fdfacb4ab'] = 'Ne pas sauver les images';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a8d6c6734da0083021561b23f2fa88cc'] = 'Vous pouvez exclure le dossier image de la sauvegarde si vous l\'avez déjà sauvegardé d\'une autre manière (non recommandé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_af98608eaedd4ba7ffd47a0204e84b23'] = 'Conserver le thème \"prestashop\" actuel';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4ea56ca1a757e426911ff20889c0e93c'] = 'Si vous avez personnalisé le thème par défaut de PrestaShop, vous pouvez le protéger de la mise à niveau (non recommandé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8413c63a6ef3717a974094785fd0b588'] = 'Garder les traductions';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_51bbcf7afb0f8d35501d0a7b28979b06'] = 'Si \"oui\", vous conserverez toutes vos traductions';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8c8194a465f0163a6724907755ac1b82'] = 'Mode manuel';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dd9dbd4916653d683244119a067ca467'] = 'Choisissze \"oui\" si vous voulez vous ';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e7b6d601ff4e9069e726927e211274ea'] = 'Utiliser Subversion';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a15b09729294cf7fea1096f970a0fed4'] = 'Choisissez \"oui\" si vous voulez utiliser une version non stable au lieu de l';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_36be1130454bc8c4e0a41d36fa062a8b'] = 'Impossible de créer le répertoire %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e21a52b9631b01c3f1821795b8de451c'] = 'Processus de mise à niveau terminé. Félicitations! Vous pouvez maintenant réactive de votre boutique.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7b2f224649ef2ad10a2d73595d67a876'] = 'Démarrage mise à niveau ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6b2d0404b7faba0e791e15a52586a149'] = 'Basculer vers svn checkout (useSvn activé)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f0e38ac0c558a7f216ae98382b9e58f5'] = 'Site désactivé. Téléchargement en cours (peut prendre ';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6824d57b7af37f605bd97d34defc3761'] = 'Exportation svn terminée. Suppression des fichiers exemples...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f70307d8297e48a8783d41e6f3313d51'] = 'Erreur lors de l\'export SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4eecd9c195e46c054ef7da6d9d1a738b'] = 'Extraction terminée. Suppression des fichiers exemples...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0929f38eaac3ca38801f08b7269574e0'] = 'Impossible d\'extraire %1$s dans %2$s ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f7c02592a962e40a920f32f3a24f2df'] = 'filesToUpgrade n\'est pas un tableau';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3f10faa8b44a7175ae8fc5dcb8dec5de'] = 'Tous les fichiers ont été mis à jour. Mise à jour de la base de données en cours.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1ad932e3b85eb2907a817cd3e3e6907e'] = 'Erreur pour la mise à jour de %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_078a325fbcc1dbd50bd9f969ce954965'] = 'encore %2$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_62740df131433ec9d45bf1810eefb19b'] = 'erreur pendant la mise à jour de la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9a2f2cf276ea9f79b31a815897c0e3e6'] = '%s ignoré.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_63ded4905ba41ac4bf00373df2739576'] = 'création du répertoire %2$s. encore %3$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_11978affb3b0dbb16c50d571fd05de6d'] = 'erreur lors de la création du répertoire %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_1b854285afc1988b6f83414fde5943ab'] = '%1$s copié dans %2$s. encore %3$s fichiers à mettre à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0e06ce0972ad338e1d96e8589dc21b9c'] = 'erreur lors de la copie de %1$s vers %2$s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0511620a3a1d6036d3fbe47b131d7c4b'] = 'Fichiers restorés. Restauration de la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_791403f158965a3e19f8627c7b744126'] = 'Base de données restaurée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5f7f50973696d0a42c1efcc07f7820a0'] = 'Votre site est maintenant restauré.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_28517b8a291c50d80aa53a078407065b'] = 'Répertoire racine nettoyée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bb71892737d721949538d6e1c4d3d22d'] = 'Fichiers restaurés. Sauvegarde de la base de données non trouvée. Restauration terminée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_cb7dce5f6a1934d54c0d3335c7ffe841'] = 'Fichiers restaurés.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8efc36d230f76fbfd9e4d758964e9414'] = 'impossible d\'extraire %1$ s dans%2$s.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d7624db09c15d46cd37d7709ae05e44b'] = 'aucune sauvegarde trouvée. Il n\'y a rien à restaurer.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_09a362e2dd3800f8fbc55d3446513f65'] = 'Rien à restaurer (aucune requête trouvée)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_66c4cbfb21f294b233692b67356db647'] = 'Base de données sauvegardée dans %s. Mise à jour des fichiers ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_48f95ff09327408a578e91655ed872a1'] = '%s fichiers à sauvegarder.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_70960f2aa87d307170d3a1bc3e06d904'] = 'sauvegarde des fichiers initilialisée dans %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8cf728d701c50a59ef78b7c55fc27cd4'] = 'Les fichiers de sauvegarde en cours. Encore %s ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_15b353ca964fe816547e67e1508ff85d'] = 'Fichiers sauvegardés. Sauvegarde de la base de données ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a25c4f085558c5f6e519e56257af531f'] = 'tous les fichiers ont été ajoutés à l\'archive.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_91f805cf850500bda66426aea042602f'] = '%1$ s ajouté à l\'archive. Encore %2$.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f79479c0de75d568def0afdc1e5de04e'] = 'Erreur lorsque vous essayez d\'ajouter %1$s à l\'archive %2$s.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b9a2db69065827812dd4b7a7f9ffc0b1'] = 'impossible d\'ouvrir l\'archive';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2589a25910cd3d7fab7e45361c4cb39d'] = '%1$s supprimé. reste %2$s ';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d82eef1ba081c54686767c555670c0fe'] = 'erreur lors de la suppression de %1$s, reste encore %2$s ';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_344c592d141604c614c219fad3fa0dae'] = '%1$s fichiers exemple à supprimer';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0baf8c94d1d03d1621c17cd6eabf7b9f'] = 'Tous les exemples de fichiers supprimés. Sauvegarde des fichiers en cours...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_84e31682487d5a0937f9184ebcf594ba'] = 'copie de travail déjà %s à jour. exportation vers le répertoire latest';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8f4c8c87daa3bc0311cfb61b7d36e27b'] = 'Erreur d\'extraction du SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0e81132066d433d212e237678e1193a3'] = 'non authorisé à utiliser SVN';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b0d51f91a1118b7c39ee1835cc6c926a'] = 'Téléchargement terminé. Extraction ...';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_0c0db54fe8212c1a7215005fef75d7dd'] = 'Erreur pendant le téléchargement';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_93120c07d8c5cee44042627cd493e0e0'] = 'vous avez besoin allow_url_fopen pour le téléchargement automatique. Vous pouvez également placer le fichier manuellement dans %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3bb38e7d0bfd5a02f7c06cae446fee86'] = 'l\'action %s ignorée';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b4302e98d94591ee9afa09e769b2ee63'] = 'l\'action %s non trouvée';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_19f823c6453c2b1ffd09cb715214813d'] = 'Champs requis';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_760c4026bc5a0bd5378e6efc3f1370b4'] = 'Trop long !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4f2e28904946a09d8c7f36dd3ee72457'] = 'Les champs sont différents !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_43b01d1a6c5065545c65f42003b0ab5c'] = 'Adresse incorrecte !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2e170dfd78c2171a25605ececc0950a4'] = 'Impossible d\'envoyer l\'email !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6deee80e4bdb8894331994116818558e'] = 'Erreur à la création du fichier de configuration, si le fichier /config/settings.inc.php existe, veuillez lui donner les droits publics d\'écriture; sinon veuillez créer un fichier settings.inc.php dans le répertoire de configuration (/config/)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_aa946cb00b1c23ff6553b6f9e05da151'] = 'Le fichier de paramètres n\'a pu être écrit, veuillez créer un fichier nommé settings.inc.php dans votre répertoire de configuration.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e930e2474c664a3a7e89ecfb8793694b'] = 'Impossible d\'envoyer le fichier !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_774fc7a0f56391abc5d8856f2436ca07'] = 'L\'intégrité des données n\'est pas validée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8fd007bf08e0717537825a3e91cb4fcc'] = 'Impossible de lire le contenu d\'un des fichiers *.sql.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c71e825f6873f64b91efc26313614eab'] = 'Impossible d\'accéder au contenu d\'un des fichiers *.sql.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3d5c8f1d29b1a1dc4ea0673122e0d277'] = 'Erreur lors de l\'insertion dans la base :';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_17e1581d01152347bfaacd153b961379'] = 'Mot de passe incorrect (chaîne alpha-numérique d\'au moins 8 caractères)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9b9f3b2f8a4dffcad9188c8fc4b468c8'] = 'Une base de données PrestaShop existe déjà avec ce préfixe, vous devez la supprimer manuellement ou changer son préfixe.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_bc5e1163a15106f9e941a7603124709d'] = 'Ce n\'est pas un nom valide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a9d82945b8603f0c8807958d7db9a24d'] = 'Ce n\'est pas une image valide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b37eef07b764ea58eec9afe624e20a40'] = 'Erreur lors de la création du fichier /config/settings.inc.php.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3d9f514d46849760ef1b1412e314fd99'] = 'Erreur :';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_504053ab4c6d648edf11624f1bea4bb4'] = 'Cette base de données PrestaShop existe déjà, merci de revalider vos informations d\'authentification à la base de données.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d7a99f61bb284d096ea4f221784af85a'] = 'Une erreur est survenue lors du redimensionnement de l\'image.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_428c933bafbf262d693fbf1c22c03e5d'] = 'La base de données a été trouvée !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_76bd190129b7aefb90fdf42f09ec3ec7'] = 'Le serveur de bases de données est disponible mais la base de données n\'a pas été trouvée';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_045f4b5c3f990e5a26e2837495d68259'] = 'Le serveur de bases de données n\'a pas été trouvé, merci de vérifier vos identifiants ou le nom du serveur.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_757fc72e8d69106dd2cf9da22cc7adb1'] = 'Une erreur est survenue lors de l\'envoi de l\'email, merci de vérifier vos paramètres.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d18ad19290b3bfc3cd0d7badbb6cb6a3'] = 'Impossible d\'écrire l\'image /img/logo.jpg. Si celle-ci existe déjà, merci de la supprimer manuellement.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2368e33e3e01d53abb9b60061ab83903'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a10ef376d9f4c877ac86d8e4350116bf'] = 'Le fichier envoyé dépasse la taille maximum autorisée.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f8fe8cba1625eaf8e5c253b041d57dbd'] = 'Le fichier a été envoyé partiellement.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8c9067e52e4440d8a20e74fdc745b0c6'] = 'Aucun fichier n\'a été envoyé';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2384d693d9af53b4727c092af7570a19'] = 'Il manque le dossier temporaire de réception de vos envois de fichiers. Merci de consulter votre administrateur système.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f5985b2c059d5cc36968baab7585baba'] = 'Impossible d\'écrire le fichier sur le disque';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e54dfe54e03b0010c1fe70bd65cd5e6'] = 'Envoi de fichier interrompu à cause de l\'extension incorrecte';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_32af3a59b50e98d254d6c03c5b320a94'] = 'Impossible de convertir les données de votre base de données en utf-8.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_989a45a4ca01ee222f4370172bf8850d'] = 'Nom de boutique invalide';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_68499acecfba9d3bf0ca8711f300d3ed'] = 'Votre prénom contient des caractères invalides';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2399cf4ca7b49f2706f6e147a32efa78'] = 'Votre nom contient des caractères invalides';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7d72600fcff52fb3a2d2f73572117311'] = 'Votre serveur de base de données ne supporte pas le jeu de caractère utf-8.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5b9bbadcf96f15e7f112c13a9e5f076e'] = 'Le support de ce moteur de base de donnée n\'est pas supporté, veuillez en choisir un autre tel que MyISAM';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_24b481455c1b72b0c2539e7d516b9582'] = 'Le fichier /img/logo.jpg n\'a pas les droits d\'écriture, merci d\'effectuer un CHMOD 755 ou 777 sur ce fichier';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5746b74663148afffd1350c97d4fcdfe'] = 'Champ mode catalog invalide';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9e5459c4deb20b7842ac01e97390b334'] = 'Erreur inconnue.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dafe44b99256a7783bc37f4f949da373'] = 'Cet installeur est trop vieux.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_37ce0f29c7377c827e7247fe5645a782'] = 'Vous êtes déjà en possession de la version %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_89928a14f2090aec4fd7aff9ea983f95'] = 'Pas de version antérieur détectée. Avez-vous supprimé ou renommé le fichier settings.inc.php du dossier config ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5276a8cbd9e3e467396089b267564f51'] = 'Le fichier config/settings.inc.php n\'a pas été trouvé. L\'avez-vous supprimé ou renommé ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_24784d9e80638781b74c017b33d8ca0c'] = 'Impossible de trouver un des fichiers de mise à jour SQL. Merci de vérifier que le dossier /install/sql/upgrade n\'est pas vide.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_580e4b216e324f675f0237cdb34b6c2d'] = 'Pas de mise à jour disponible';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f15e7e7292b0c72894cf45a893e0d497'] = 'Erreur lors de l\'ouverture du fichier SQL';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b8286438fbb6c7df9129fadc5316c19f'] = 'Erreur lors de l\'insertion dans la base de données';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_229ee8046cafc09ddaf46fb9db710e91'] = 'Malheureusement,';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e805a556799b7cef40e9760c81d99218'] = 'erreurs SQL sont apparues.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5627353fd6ac678497af3ece05087068'] = 'Le fichier config/defines.inc.php n\'a pas été trouvé. Ou est-il passé ?';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_446c9e952debe114c86bbd9e5eea7d61'] = 'Restaurer';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_4879913b16fa23f723f70a5067bda8d4'] = 'Aucune restauration disponible';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_fff66e9b3d962fa319c8068b5c1997cd'] = 'restaurer';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_ebdabc2d40aa563aabbb3ee57915a7a9'] = 'cliquer pour restaurer %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_e9c57c7fbc335e66282a32617b01b9be'] = 'Votre configuration actuelle';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_2fc4ab825ce2ce9476e8a1c2211ac9b8'] = 'Dossier racine';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_8786f48d9cf9618cd2f5c37312ab7e50'] = 'Statut du dossier racine';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_d16d80ca66261afba43f5736f6cec7e6'] = 'droits complets en écriture';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_039552aa1d74b68f01a73821f3078158'] = 'pas de droits d\'écriture récursif';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_31a962ffeb06a6cc6d58ef3ba5fae2b7'] = 'Autoupgrade autorisé';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_9c30a74657158984997cca4930d6075b'] = 'Cette version autorise la mise à jour automatique';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_af566be1636d11ecc8ddb728a15520b8'] = 'Cette version n\'autorise pas la mise à jour automatique';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_94af5df6182efd3591d0ccccaa04bd5c'] = 'Limite de temps PHP';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_075ae3d2fc31640504f814f60e5ef713'] = 'désactivée';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_783e8e29e6a8c3e22baa58a19420eb4f'] = 'secondes';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_342299aeb786a06533ba00d9a04794dd'] = 'Modifiez vos options';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_06933067aafd48425d67bcb01bba5cb6'] = 'Mettre à jour';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_5d8b77b69c92370ec4e175a638019ca7'] = 'La version actuelle de votre boutique est : %s';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_80e3d093272bc011b6bc661e408c7423'] = 'La dernière version est %1$s (%2$s)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_b47ba7568788e46dbc7fe81e525db863'] = 'La dernière version de prestashop disponible est:';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c97dcfb0df6daa46292a0def8a567822'] = 'Sauvegardez la base de données, les fichiers de sauvegarde et faire la mise en un clic pardi !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a60ab62ed99ef0358b2efae592be0cdd'] = 'Mettre à jour PrestaShop Maintenant !';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_48c7c41b72e1d678923ce3571aa65b2d'] = 'Etape';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_eeb5a49c38d2d8c2baa51ed09beccf88'] = 'Etape de mise à jour';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c5d769685704e7ddcd70e74a6ebe50b7'] = 'Votre configuration actuelle n\'autorise pas la mise à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_7f786b903ea8045f5b5b7e3c5a4e0385'] = 'Cette fonction est expérimentale. Il est hautement recommandé de faire une sauvegarde de vos fichiers et de votre base de données avant de commencer le processus de mise à jour.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_3a3a651c9a67bca9ac902da789466b93'] = 'Mise à jour instable';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a22eff458b4f4bce6d3232e367ff0138'] = 'Votre configuration actuelle indique que vous voulez mettre à jour votre système à partir d\'une branche de développement instable, sans numéro de version. Si vous mettez à jour, vous ne pourrez plus appliquer le processus de versions stables officiel.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_dae8ace18bdcbcc6ae5aece263e14fe8'] = 'Options';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_c747916b25dcb02e0e81ee84dbd966ea'] = 'Vous n\'avez pas besoin d\'utiliser cette fonctionnalité.';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6b3930a184368a458be6e4429f409877'] = 'Mise à jour terminée. Vérifiez votre boutique (essayez de faire une commande, vérifier le thème)';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_91195bbbacc2147a736c849c46368ed8'] = 'Voulez vous restaurer votre boutique';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_a498f9476a893d51ee02b3601678d318'] = 'Cliquez pour restaurer la base de donnée';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_f34d5debb2bba76aa3e077937a07e373'] = 'Cliquez pour restaurer les fichiers';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_60283aa37e2063b2ada2f99216e1332a'] = 'Votre serveur ne peut pas télécharger le fichier. S\'il vous plaît le télécharger d\'abord par ftp dans votre répertoire admin/autoupgrade';
|
||||
$_MODULE['<{autoupgrade}prestashop>adminselfupgrade_6ef7ebe46f6d16cdbf9e2169e3dd048e'] = 'Allez manuellement au bouton restaurer';
|
||||
|
||||
@@ -46,6 +46,13 @@ $(document).ready(function()
|
||||
reloadContent();
|
||||
});
|
||||
|
||||
$("label a").live({
|
||||
click: function() {
|
||||
$(this).parent().parent().find('input').click();
|
||||
reloadContent();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
paginationButton();
|
||||
reloadContent();
|
||||
});
|
||||
@@ -179,22 +186,3 @@ function reloadContent(params_plus)
|
||||
});
|
||||
ajaxQueries.push(ajaxQuery);
|
||||
}
|
||||
|
||||
/*
|
||||
function initSlider(type, min, max, values, unit)
|
||||
{
|
||||
$('#layered_'+type+'_slider').slider({
|
||||
range: true,
|
||||
min: min,
|
||||
max: max,
|
||||
values: [ values[0], values[1]],
|
||||
slide: function( event, ui ) {
|
||||
$('#layered_'+type+'_range').html(ui.values[ 0 ] + unit + ' - ' + ui.values[ 1 ] + unit);
|
||||
},
|
||||
stop: function () {
|
||||
reloadContent();
|
||||
}
|
||||
});
|
||||
$('#layered_'+type+'_range').html($('#layered_'+type+'_slider').slider('values', 0 ) +unit+'-'+$('#layered_'+type+'_slider').slider('values', 1)+unit );
|
||||
}
|
||||
*/
|
||||
|
||||
@@ -49,8 +49,10 @@ class BlockLayered extends Module
|
||||
|
||||
public function install()
|
||||
{
|
||||
if ($result = parent::install() AND $this->registerHook('leftColumn') AND $this->registerHook('header') AND $this->registerHook('footer')
|
||||
AND $this->registerHook('categoryAddition') AND $this->registerHook('categoryUpdate') AND $this->registerHook('categoryDeletion'))
|
||||
if ($result = parent::install() && $this->registerHook('leftColumn') && $this->registerHook('header') && $this->registerHook('footer')
|
||||
&& $this->registerHook('categoryAddition') && $this->registerHook('categoryUpdate') && $this->registerHook('attributeGroupForm')
|
||||
&& $this->registerHook('afterSaveAttributeGroup') && $this->registerHook('afterDeleteAttributeGroup') && $this->registerHook('featureForm')
|
||||
&& $this->registerHook('afterDeleteFeature') && $this->registerHook('afterSaveFeature') && $this->registerHook('categoryDeletion'))
|
||||
{
|
||||
Configuration::updateValue('PS_LAYERED_HIDE_0_VALUES', 0);
|
||||
Configuration::updateValue('PS_LAYERED_SHOW_QTIES', 1);
|
||||
@@ -60,6 +62,7 @@ class BlockLayered extends Module
|
||||
}
|
||||
|
||||
self::_installPriceIndexTable();
|
||||
self::_installFriendlyUrlTable();
|
||||
|
||||
return $result;
|
||||
}
|
||||
@@ -75,30 +78,149 @@ class BlockLayered extends Module
|
||||
|
||||
private function _installPriceIndexTable()
|
||||
{
|
||||
Db::getInstance()->execute('
|
||||
DROP TABLE IF EXISTS `'._DB_PREFIX_.'price_static_index`;
|
||||
');
|
||||
Db::getInstance()->execute('
|
||||
Db::getInstance()->Execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'price_static_index`');
|
||||
|
||||
Db::getInstance()->Execute('
|
||||
CREATE TABLE `'._DB_PREFIX_.'price_static_index` (
|
||||
`id_product` INT NOT NULL,
|
||||
`id_currency` INT NOT NULL,
|
||||
`price_min` INT NOT NULL,
|
||||
`price_max` INT NOT NULL,
|
||||
PRIMARY KEY (`id_product`, `id_currency`),
|
||||
INDEX `id_currency` (`id_currency`),
|
||||
INDEX `price_min` (`price_min`),
|
||||
INDEX `price_max` (`price_max`)
|
||||
)
|
||||
ENGINE = '._MYSQL_ENGINE_.';
|
||||
');
|
||||
`id_product` INT NOT NULL, `id_currency` INT NOT NULL,
|
||||
`price_min` INT NOT NULL, `price_max` INT NOT NULL,
|
||||
PRIMARY KEY (`id_product`, `id_currency`), INDEX `id_currency` (`id_currency`),
|
||||
INDEX `price_min` (`price_min`), INDEX `price_max` (`price_max`)) ENGINE = '._MYSQL_ENGINE_);
|
||||
}
|
||||
|
||||
private function _installFriendlyUrlTable()
|
||||
{
|
||||
Db::getInstance()->Execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_friendly_url`');
|
||||
|
||||
Db::getInstance()->Execute('
|
||||
CREATE TABLE `'._DB_PREFIX_.'layered_friendly_url` (
|
||||
`id_layered_friendly_url` INT NOT NULL AUTO_INCREMENT,
|
||||
`url_key` varchar(32) NOT NULL,
|
||||
`data` varchar(200) NOT NULL,
|
||||
PRIMARY KEY (`id_layered_friendly_url`)) ENGINE = '._MYSQL_ENGINE_);
|
||||
|
||||
Db::getInstance()->Execute('CREATE INDEX `url_key` ON `'._DB_PREFIX_.'layered_friendly_url`(url_key(5))');
|
||||
}
|
||||
|
||||
private function _installIndexableAttributeTable()
|
||||
{
|
||||
Db::getInstance()->Execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_attribute_group`');
|
||||
Db::getInstance()->Execute('
|
||||
CREATE TABLE `'._DB_PREFIX_.'layered_indexable_attribute_group` (
|
||||
`id_attribute_group` INT NOT NULL,
|
||||
`indexable` BOOL NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id_attribute_group`)) ENGINE = '._MYSQL_ENGINE_);
|
||||
|
||||
Db::getInstance()->Execute('DROP TABLE IF EXISTS `'._DB_PREFIX_.'layered_indexable_feature`');
|
||||
Db::getInstance()->Execute('
|
||||
CREATE TABLE `'._DB_PREFIX_.'layered_indexable_feature` (
|
||||
`id_feature` INT NOT NULL,
|
||||
`indexable` BOOL NOT NULL DEFAULT 0,
|
||||
PRIMARY KEY (`id_feature`)) ENGINE = '._MYSQL_ENGINE_);
|
||||
}
|
||||
|
||||
/*
|
||||
* Url indexation
|
||||
*/
|
||||
static function _indexUrl()
|
||||
{
|
||||
|
||||
$categories = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT id_category FROM '._DB_PREFIX_.'layered_category GROUP BY id_category');
|
||||
|
||||
if(!$categories)
|
||||
return;
|
||||
|
||||
// We want all attributes of each categories
|
||||
$attributeValuesByCategory = array();
|
||||
foreach($categories as $category)
|
||||
{
|
||||
$attributeValuesByCategory[(int)$category['id_category']] = array();
|
||||
$filters = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT * FROM '._DB_PREFIX_.'layered_category WHERE id_category = '.(int)$category['id_category'].' ORDER BY position ASC');
|
||||
if(!$categories)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
public function hookAfterSaveFeature($params)
|
||||
{
|
||||
$idFeature = $params['id_feature'];
|
||||
|
||||
if(!$idFeature)
|
||||
return;
|
||||
if(Tools::getValue('layered_indexable') === false)
|
||||
return;
|
||||
|
||||
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_indexable_feature WHERE id_feature = '.(int)$idFeature);
|
||||
Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_indexable_feature VALUES ('.(int)$idFeature.', '.(int)Tools::getValue('layered_indexable').')');
|
||||
}
|
||||
public function hookAfterDeleteFeature($params)
|
||||
{
|
||||
$idFeature = $params['id_feature'];
|
||||
|
||||
if(!$idFeature)
|
||||
return;
|
||||
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_indexable_feature WHERE id_feature = '.(int)$idFeature);
|
||||
}
|
||||
|
||||
public function hookAfterSaveAttributeGroup($params)
|
||||
{
|
||||
$idAttributeGroup = $params['id_attribute_group'];
|
||||
|
||||
if(!$idAttributeGroup)
|
||||
return;
|
||||
if(Tools::getValue('layered_indexable') === false)
|
||||
return;
|
||||
|
||||
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group WHERE id_attribute_group = '.(int)$idAttributeGroup);
|
||||
Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'layered_indexable_attribute_group VALUES ('.(int)$idAttributeGroup.', '.(int)Tools::getValue('layered_indexable').')');
|
||||
}
|
||||
public function hookAfterDeleteAttributeGroup($params)
|
||||
{
|
||||
$idAttributeGroup = $params['id_attribute_group'];
|
||||
|
||||
if(!$idAttributeGroup)
|
||||
return;
|
||||
Db::getInstance()->execute('DELETE FROM '._DB_PREFIX_.'layered_indexable_attribute_group WHERE id_attribute_group = '.(int)$idAttributeGroup);
|
||||
}
|
||||
|
||||
public function hookAttributeGroupForm($params)
|
||||
{
|
||||
$idAttributeGroup = $params['id_attribute_group'];
|
||||
$on = (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT indexable FROM '._DB_PREFIX_.'layered_indexable_attribute_group WHERE id_attribute_group = '.(int)$idAttributeGroup);
|
||||
|
||||
return '<label>'.$this->l('Indexable:').' </label>
|
||||
<div class="margin-form">
|
||||
<input type="radio" '.(($on)?'checked="checked"':'').' value="1" id="indexable_on" name="layered_indexable">
|
||||
<label for="indexable_on" class="t"><img title="Yes" alt="Enabled" src="../img/admin/enabled.gif"></label>
|
||||
<input type="radio" '.((!$on)?'checked="checked"':'').' value="0" id="indexable_off" name="layered_indexable">
|
||||
<label for="indexable_off" class="t"><img title="No" alt="Disabled" src="../img/admin/disabled.gif"></label>
|
||||
<p>'.$this->l('Use this attribute in url generated by the module block layered navigation').'</p>
|
||||
</div>';
|
||||
}
|
||||
|
||||
public function hookFeatureForm($params)
|
||||
{
|
||||
$this->registerHook('afterDeleteFeature');
|
||||
$this->registerHook('afterSaveFeature');
|
||||
$idAttributeGroup = $params['id_attribute_group'];
|
||||
$on = (bool)Db::getInstance(_PS_USE_SQL_SLAVE_)->getValue('SELECT indexable FROM '._DB_PREFIX_.'layered_indexable_attribute_group WHERE id_attribute_group = '.(int)$idAttributeGroup);
|
||||
|
||||
return '<label>'.$this->l('Indexable:').' </label>
|
||||
<div class="margin-form">
|
||||
<input type="radio" '.(($on)?'checked="checked"':'').' value="1" id="indexable_on" name="layered_indexable">
|
||||
<label for="indexable_on" class="t"><img title="Yes" alt="Enabled" src="../img/admin/enabled.gif"></label>
|
||||
<input type="radio" '.((!$on)?'checked="checked"':'').' value="0" id="indexable_off" name="layered_indexable">
|
||||
<label for="indexable_off" class="t"><img title="No" alt="Disabled" src="../img/admin/disabled.gif"></label>
|
||||
<p>'.$this->l('Use this feature in url generated by the module block layered navigation').'</p>
|
||||
</div>';
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* $cursor $cursor in order to restart indexing from the last state
|
||||
*/
|
||||
public static function fullIndexProcess($cursor = 0, $ajax = false, $smart = false)
|
||||
{
|
||||
if ($cursor == 0 && !$smart)
|
||||
if ($cursor == 0 AND !$smart)
|
||||
self::_installPriceIndexTable();
|
||||
|
||||
return self::_indexer($cursor, true, $ajax, $smart);
|
||||
@@ -174,7 +296,7 @@ class BlockLayered extends Module
|
||||
else
|
||||
$query = '
|
||||
SELECT p.id_product
|
||||
FROM `'._DB_PREFIX_.'product` as p
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'price_static_index` psi ON (psi.id_product = p.id_product)
|
||||
WHERE `active` = 1 AND psi.id_product is null
|
||||
ORDER by id_product LIMIT 0,'.(int)$length;
|
||||
@@ -190,7 +312,9 @@ class BlockLayered extends Module
|
||||
static $groups = null;
|
||||
|
||||
if (is_null($groups))
|
||||
$groups = Db::getInstance(_PS_USE_SQL_SLAVE_)->executeS('SELECT id_group FROM `'._DB_PREFIX_.'group_reduction`');
|
||||
$groups = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('SELECT id_group FROM `'._DB_PREFIX_.'group_reduction`');
|
||||
if(!$groups)
|
||||
$groups = array();
|
||||
|
||||
static $currencyList = null;
|
||||
if (is_null($currencyList))
|
||||
@@ -199,13 +323,12 @@ class BlockLayered extends Module
|
||||
$minPrice = array();
|
||||
$maxPrice = array();
|
||||
|
||||
|
||||
if ($smart)
|
||||
Db::getInstance()->execute('DELETE FROM `'._DB_PREFIX_.'price_static_index` WHERE `id_product` = '.(int)$idProduct);
|
||||
|
||||
$maxTaxRate = Db::getInstance()->getValue('
|
||||
SELECT max(t.rate) as max_rate
|
||||
FROM `'._DB_PREFIX_.'product` as p
|
||||
SELECT max(t.rate) max_rate
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
LEFT JOIN `'._DB_PREFIX_.'tax_rules_group` trg ON (trg.id_tax_rules_group = p.id_tax_rules_group)
|
||||
LEFT JOIN `'._DB_PREFIX_.'tax_rule` tr ON (tr.id_tax_rules_group = trg.id_tax_rules_group)
|
||||
LEFT JOIN `'._DB_PREFIX_.'tax` t ON (t.id_tax = tr.id_tax AND t.active = 1)
|
||||
@@ -236,7 +359,7 @@ class BlockLayered extends Module
|
||||
$maxPrice[$currency['id_currency']] = $price;
|
||||
if ($price == 0)
|
||||
continue;
|
||||
if (is_null($minPrice[$currency['id_currency']]) || $price < $minPrice[$currency['id_currency']])
|
||||
if (is_null($minPrice[$currency['id_currency']]) OR $price < $minPrice[$currency['id_currency']])
|
||||
$minPrice[$currency['id_currency']] = $price;
|
||||
}
|
||||
|
||||
@@ -254,7 +377,7 @@ class BlockLayered extends Module
|
||||
$maxPrice[$currency['id_currency']] = $price;
|
||||
if ($price == 0)
|
||||
continue;
|
||||
if (is_null($minPrice[$currency['id_currency']]) || $price < $minPrice[$currency['id_currency']])
|
||||
if (is_null($minPrice[$currency['id_currency']]) OR $price < $minPrice[$currency['id_currency']])
|
||||
$minPrice[$currency['id_currency']] = $price;
|
||||
}
|
||||
|
||||
@@ -467,14 +590,14 @@ class BlockLayered extends Module
|
||||
});
|
||||
</script>';
|
||||
$html .= '
|
||||
- <a class="bold ajaxcall" href="'.Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'),0,10).'">'.$this->l('Index all missing products.').'</a>
|
||||
<a class="bold ajaxcall" style="width: 200px; text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px" href="'.Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10).'">'.$this->l('Index all missing products').'</a>
|
||||
<br />
|
||||
- <a class="bold ajaxcall" id="full-index" href="'.Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'),0,10).'&full=1">'.$this->l('Re-build entire index.').'</a>
|
||||
<a class="bold ajaxcall" style="width: 200px; text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px" id="full-index" href="'.Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10).'&full=1">'.$this->l('Re-build entire index').'</a>
|
||||
<br />
|
||||
<br />
|
||||
'.$this->l('You can set a cron job that will re-build your index using the following URL: ').Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'),0,10).'&full=1
|
||||
<br />
|
||||
'.$this->l('A full re-index process must be done each time products are modified. A nightly rebuild is recomanded.').'
|
||||
'.$this->l('You can set a cron job that will re-build your index using the following URL:').'<br /><b>'.Tools::getProtocol().Tools::getHttpHost().__PS_BASE_URI__.'modules/blocklayered/blocklayered-indexer.php'.'?token='.substr(Tools::encrypt('blocklayered/index'), 0, 10).'&full=1</b>
|
||||
<br /><br />
|
||||
'.$this->l('A full re-index process must be done each time products are modified. A nightly rebuild is recommended.').'
|
||||
<script type="text/javascript">
|
||||
$(\'.ajaxcall\').each(function(it, elm) {
|
||||
$(elm).click(function() {
|
||||
@@ -798,8 +921,8 @@ class BlockLayered extends Module
|
||||
</form>
|
||||
</fieldset><br />
|
||||
<fieldset class="width2">
|
||||
<legend><img src="../img/admin/cog.gif" alt="" /> '.$this->l('Configuration').'</legend>
|
||||
<form action="'.$_SERVER['REQUEST_URI'].'" method="post">
|
||||
<legend><img src="../img/admin/cog.gif" alt="" />'.$this->l('Configuration').'</legend>
|
||||
<table border="0" style="font-size: 11px; width: 100%; margin: 0 auto;" class="table">
|
||||
<tr>
|
||||
<th style="text-align: center;">'.$this->l('Option').'</th>
|
||||
@@ -837,6 +960,13 @@ class BlockLayered extends Module
|
||||
if ($id_parent == 1)
|
||||
return;
|
||||
|
||||
if(strpos($_SERVER['SCRIPT_FILENAME'], 'blocklayered-ajax.php') !== false) // @TODO to be change, friendly_url auto-check box
|
||||
{
|
||||
$data = Db::getInstance()->getValue('SELECT data FROM `'._DB_PREFIX_.'layered_friendly_url` WHERE `url_key` = \''.md5($_SERVER['REQUEST_URI']).'\'');
|
||||
if($data !== false)
|
||||
return unserialize($data);
|
||||
}
|
||||
|
||||
/* Analyze all the filters selected by the user and store them into a tab */
|
||||
$selectedFilters = array('category' => array(), 'manufacturer' => array(), 'quantity' => array(), 'condition' => array());
|
||||
foreach ($_GET AS $key => $value)
|
||||
@@ -951,13 +1081,13 @@ class BlockLayered extends Module
|
||||
break;
|
||||
|
||||
case 'weight':
|
||||
if ($selectedFilters['weight'][0] != 0 || $selectedFilters['weight'][1] != 0)
|
||||
if ($selectedFilters['weight'][0] != 0 OR $selectedFilters['weight'][1] != 0)
|
||||
$queryFilters .= ' AND p.`weight` BETWEEN '.(float)($selectedFilters['weight'][0] - 0.001).' AND '.(float)($selectedFilters['weight'][1] + 0.001);
|
||||
|
||||
case 'price':
|
||||
if (isset($selectedFilters['price']))
|
||||
{
|
||||
if ($selectedFilters['price'][0] != 0 || $selectedFilters['price'][1] != 0)
|
||||
if ($selectedFilters['price'][0] != 0 OR $selectedFilters['price'][1] != 0)
|
||||
{
|
||||
$priceFilter = array();
|
||||
$priceFilter['min'] = (float)($selectedFilters['price'][0]);
|
||||
@@ -973,15 +1103,15 @@ class BlockLayered extends Module
|
||||
$idCurrency = Currency::getCurrent()->id;
|
||||
$priceFilterQueryIn = ''; // All products with price range between price filters limits
|
||||
$priceFilterQueryOut = ''; // All products with a price filters limit on it price range
|
||||
if (isset($priceFilter) && $priceFilter)
|
||||
if (isset($priceFilter) AND $priceFilter)
|
||||
{
|
||||
$priceFilterQueryIn = 'INNER JOIN `'._DB_PREFIX_.'price_static_index` as psi
|
||||
$priceFilterQueryIn = 'INNER JOIN `'._DB_PREFIX_.'price_static_index` psi
|
||||
ON psi.price_min >= '.(int)$priceFilter['min'].'
|
||||
AND psi.price_max <= '.(int)$priceFilter['max'].'
|
||||
AND psi.`id_product` = p.`id_product`
|
||||
AND psi.`id_currency` = '.(int)$idCurrency;
|
||||
|
||||
$priceFilterQueryOut = 'INNER JOIN `'._DB_PREFIX_.'price_static_index` as psi
|
||||
$priceFilterQueryOut = 'INNER JOIN `'._DB_PREFIX_.'price_static_index` psi
|
||||
ON
|
||||
((psi.price_min < '.(int)$priceFilter['min'].' AND psi.price_max > '.(int)$priceFilter['min'].')
|
||||
OR
|
||||
@@ -1077,7 +1207,7 @@ class BlockLayered extends Module
|
||||
LEFT JOIN `'._DB_PREFIX_.'product_attribute` pa ON (pa.`id_product_attribute` = pac.`id_product_attribute`)
|
||||
WHERE pa.`id_product` = p.`id_product`) ids_attr
|
||||
FROM '._DB_PREFIX_.'product p
|
||||
LEFT JOIN `'._DB_PREFIX_.'price_static_index` as psi
|
||||
LEFT JOIN `'._DB_PREFIX_.'price_static_index` psi
|
||||
ON psi.`id_product` = p.`id_product` AND psi.`id_currency` = '.(int)Currency::getCurrent()->id.'
|
||||
WHERE p.`active` = 1 AND p.`id_product` IN (SELECT id_product FROM `'._DB_PREFIX_.'category_product` cp WHERE'.$whereC, false);
|
||||
|
||||
@@ -1353,7 +1483,7 @@ class BlockLayered extends Module
|
||||
}
|
||||
elseif ($filterBlock['type_lite'] == 'weight')
|
||||
{
|
||||
if (!empty($weight) && max($weight) != min($weight))
|
||||
if (!empty($weight) AND max($weight) != min($weight))
|
||||
{
|
||||
$filterBlock['name'] = $this->l('Weight');
|
||||
$filterBlock['slider'] = true;
|
||||
@@ -1370,7 +1500,7 @@ class BlockLayered extends Module
|
||||
}
|
||||
elseif ($filterBlock['type_lite'] == 'price')
|
||||
{
|
||||
if (!empty($price) && max($price) != min($price))
|
||||
if (!empty($price) AND max($price) != min($price))
|
||||
{
|
||||
$filterBlock['name'] = $this->l('Price');
|
||||
$filterBlock['slider'] = true;
|
||||
@@ -1422,7 +1552,7 @@ class BlockLayered extends Module
|
||||
{
|
||||
case 'price':
|
||||
case 'weight':
|
||||
if ($value[0] == '' && $value[1] == '' || $value[0] == 0 && $value[1] == 0)
|
||||
if ($value[0] == '' AND $value[1] == '' OR $value[0] == 0 AND $value[1] == 0)
|
||||
unset($selectedFilters[$key]);
|
||||
break;
|
||||
default:
|
||||
@@ -1455,9 +1585,9 @@ class BlockLayered extends Module
|
||||
$sqlQuery['where'] = 'WHERE p.`active` = 1 ';
|
||||
break;
|
||||
case 'manufacturer':
|
||||
$sqlQuery['select'] = 'SELECT m.name, count(p.id_product) AS nbr, m.id_manufacturer ';
|
||||
$sqlQuery['select'] = 'SELECT m.name, count(p.id_product) nbr, m.id_manufacturer ';
|
||||
$sqlQuery['from'] = '
|
||||
FROM `'._DB_PREFIX_.'category_product` AS cp
|
||||
FROM `'._DB_PREFIX_.'category_product` cp
|
||||
INNER JOIN '._DB_PREFIX_.'product p ON (p.id_product = cp.id_product AND p.active = 1)
|
||||
INNER JOIN '._DB_PREFIX_.'manufacturer m ON (m.id_manufacturer = p.id_manufacturer) ';
|
||||
$sqlQuery['where'] = '
|
||||
@@ -1466,8 +1596,8 @@ class BlockLayered extends Module
|
||||
break;
|
||||
case 'id_attribute_group':// attribute group
|
||||
$sqlQuery['select'] = '
|
||||
SELECT COUNT(tmp.id_attribute) nbr, tmp.id_attribute_group, tmp.color, tmp.name AS name, agl.public_name AS attributeName,
|
||||
tmp.id_attribute AS id_attribute, a.is_color_group FROM (SELECT p.id_product, pac.id_attribute, a.color, al.name, a.id_attribute_group';
|
||||
SELECT COUNT(tmp.id_attribute) nbr, tmp.id_attribute_group, tmp.color, tmp.attribute_name name, agl.public_name attributeName,
|
||||
tmp.id_attribute id_attribute, a.is_color_group FROM (SELECT p.id_product, pac.id_attribute, a.color, al.name as attribute_name, a.id_attribute_group';
|
||||
$sqlQuery['from'] = '
|
||||
FROM '._DB_PREFIX_.'product_attribute_combination pac
|
||||
LEFT JOIN '._DB_PREFIX_.'product_attribute pa ON (pa.id_product_attribute = pac.id_product_attribute)
|
||||
@@ -1481,7 +1611,7 @@ class BlockLayered extends Module
|
||||
GROUP BY pac.id_attribute, p.id_product) tmp
|
||||
LEFT JOIN '._DB_PREFIX_.'attribute_group_lang al ON (al.id_attribute_group = tmp.id_attribute_group AND al.id_lang = '.(int)$cookie->id_lang.')
|
||||
LEFT JOIN '._DB_PREFIX_.'attribute_group a ON (a.id_attribute_group = al.id_attribute_group)
|
||||
LEFT JOIN '._DB_PREFIX_.'attribute_group_lang agl ON (a.id_attribute_group = agl.id_attribute_group AND al.id_lang = '.(int)$cookie->id_lang.')
|
||||
LEFT JOIN '._DB_PREFIX_.'attribute_group_lang agl ON (a.id_attribute_group = agl.id_attribute_group AND agl.id_lang = '.(int)$cookie->id_lang.')
|
||||
GROUP BY tmp.id_attribute
|
||||
ORDER BY id_attribute_group';
|
||||
break;
|
||||
@@ -1507,36 +1637,34 @@ class BlockLayered extends Module
|
||||
WHERE cp.id_category = c.id_category ';
|
||||
$sqlQuery['group'] = ') count_products
|
||||
FROM '._DB_PREFIX_.'category c
|
||||
LEFT JOIN '._DB_PREFIX_.'category_lang as cl ON (cl.id_category = c.id_category AND cl.id_lang = '.(int)$cookie->id_lang.')
|
||||
LEFT JOIN '._DB_PREFIX_.'category_lang cl ON (cl.id_category = c.id_category AND cl.id_lang = '.(int)$cookie->id_lang.')
|
||||
WHERE c.id_parent = '.(int)$id_parent.'
|
||||
GROUP BY c.id_category ORDER BY level_depth';
|
||||
}
|
||||
foreach ($filters as $filterTmp)
|
||||
{
|
||||
$methodName = 'get'.ucfirst($filterTmp['type']).'FilterSubQuery';
|
||||
if (method_exists('BlockLayered', $methodName))
|
||||
if (method_exists('BlockLayered', $methodName) &&
|
||||
(!in_array($filter['type'], array('price', 'weight')) && $filter['type'] != $filterTmp['type'] || $filter['type'] == $filterTmp['type']))
|
||||
{
|
||||
if ($filter['type'] == $filterTmp['type'])
|
||||
$subQueryFilter = self::$methodName(array());
|
||||
$subQueryFilter = self::$methodName(array(), $filter['type'] == $filterTmp['type']);
|
||||
else
|
||||
$subQueryFilter = self::$methodName(@$selectedFilters[$filterTmp['type']]);
|
||||
$subQueryFilter = self::$methodName(@$selectedFilters[$filterTmp['type']], $filter['type'] == $filterTmp['type']);
|
||||
foreach ($subQueryFilter as $key => $value)
|
||||
{
|
||||
$sqlQuery[$key] .= $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$products = false;
|
||||
if (!empty($sqlQuery['from']))
|
||||
$products = Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS($sqlQuery['select']."\n".$sqlQuery['from']."\n".$sqlQuery['join']."\n".$sqlQuery['where']."\n".$sqlQuery['group']);
|
||||
|
||||
if (isset($products) AND $products)
|
||||
{
|
||||
foreach ($filters as $filterTmp)
|
||||
{
|
||||
$methodName = 'filterProductsBy'.ucfirst($filterTmp['type']);
|
||||
if (method_exists('BlockLayered', $methodName))
|
||||
if (method_exists('BlockLayered', $methodName) &&
|
||||
(!in_array($filter['type'], array('price', 'weight')) && $filter['type'] != $filterTmp['type'] || $filter['type'] == $filterTmp['type']))
|
||||
if ($filter['type'] == $filterTmp['type'])
|
||||
$products = self::$methodName(array(), $products);
|
||||
else
|
||||
@@ -1548,6 +1676,8 @@ class BlockLayered extends Module
|
||||
case 'price':
|
||||
$priceArray = array('type_lite' => 'price', 'type' => 'price', 'id_key' => 0, 'name' => $this->l('Price'),
|
||||
'slider' => true, 'max' => '0', 'min' => null, 'values' => array ('1' => 0), 'unit' => Currency::getCurrent()->sign);
|
||||
if (isset($products) AND $products)
|
||||
{
|
||||
foreach ($products as $product)
|
||||
{
|
||||
if (is_null($priceArray['min']))
|
||||
@@ -1566,21 +1696,22 @@ class BlockLayered extends Module
|
||||
$priceArray['max'] = $product['price_max'];
|
||||
$priceArray['values'][1] = $product['price_max'];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if (isset($selectedFilters['price']) AND isset($selectedFilters['price'][0])
|
||||
AND isset($selectedFilters['price'][1]) AND !empty($selectedFilters['price'][0])
|
||||
AND !empty($selectedFilters['price'][1]))
|
||||
AND isset($selectedFilters['price'][1]))
|
||||
{
|
||||
$priceArray['values'][0] = $selectedFilters['price'][0];
|
||||
$priceArray['values'][1] = $selectedFilters['price'][1];
|
||||
}
|
||||
}
|
||||
$filterBlocks[] = $priceArray;
|
||||
break;
|
||||
|
||||
case 'weight':
|
||||
$weightArray = array('type_lite' => 'weight', 'type' => 'weight', 'id_key' => 0, 'name' => $this->l('Weight'), 'slider' => true,
|
||||
'max' => '0', 'min' => null, 'values' => array ('1' => 0), 'unit' => Configuration::get('PS_WEIGHT_UNIT'));
|
||||
if (isset($products) AND $products)
|
||||
{
|
||||
foreach ($products as $product)
|
||||
{
|
||||
if (is_null($weightArray['min']))
|
||||
@@ -1599,15 +1730,14 @@ class BlockLayered extends Module
|
||||
$weightArray['max'] = $product['weight'];
|
||||
$weightArray['values'][1] = $product['weight'];
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
if (isset($selectedFilters['weight']) AND isset($selectedFilters['weight'][0])
|
||||
AND isset($selectedFilters['weight'][1]) AND !empty($selectedFilters['weight'][0])
|
||||
AND !empty($selectedFilters['weight'][1]))
|
||||
AND isset($selectedFilters['weight'][1]))
|
||||
{
|
||||
$weightArray['values'][0] = $selectedFilters['weight'][0];
|
||||
$weightArray['values'][1] = $selectedFilters['weight'][1];
|
||||
}
|
||||
}
|
||||
$filterBlocks[] = $weightArray;
|
||||
break;
|
||||
|
||||
@@ -1619,16 +1749,18 @@ class BlockLayered extends Module
|
||||
foreach ($conditionArray as $key => $condition)
|
||||
if (isset($selectedFilters['condition']) AND in_array($key, $selectedFilters['condition']))
|
||||
$conditionArray[$key]['checked'] = true;
|
||||
if (isset($products) AND $products)
|
||||
foreach ($products as $product)
|
||||
$conditionArray[$product['condition']]['nbr']++;
|
||||
break;
|
||||
$filterBlocks[] = array('type_lite' => 'condition', 'type' => 'condition', 'id_key' => 0, 'name' => $this->l('Condition'), 'values' => $conditionArray);
|
||||
break;
|
||||
|
||||
case 'quantity':
|
||||
$quantityArray = array (0 => array('name' => $this->l('Not available'), 'nbr' => 0), 1 => array('name' => $this->l('In stock'), 'nbr' => 0));
|
||||
foreach ($quantityArray as $key => $quantity)
|
||||
if (isset($selectedFilters['quantity']) AND in_array($key, $selectedFilters['quantity']))
|
||||
$quantityArray[$key]['checked'] = true;
|
||||
if (isset($products) AND $products)
|
||||
foreach ($products as $product)
|
||||
$quantityArray[(int)($product['quantity'] > 0)]['nbr']++;
|
||||
$filterBlocks[] = array('type_lite' => 'quantity', 'type' => 'quantity', 'id_key' => 0, 'name' => $this->l('Availability'), 'values' => $quantityArray);
|
||||
@@ -1636,6 +1768,7 @@ class BlockLayered extends Module
|
||||
|
||||
case 'manufacturer':
|
||||
$manufaturersArray = array();
|
||||
if (isset($products) AND $products)
|
||||
foreach ($products as $manufacturer)
|
||||
{
|
||||
$manufaturersArray[$manufacturer['id_manufacturer']] = array('name' => $manufacturer['name'], 'nbr' => $manufacturer['nbr']);
|
||||
@@ -1647,6 +1780,8 @@ class BlockLayered extends Module
|
||||
|
||||
case 'id_attribute_group':
|
||||
$attributesArray = array();
|
||||
if (isset($products) AND $products)
|
||||
{
|
||||
foreach ($products as $attributes)
|
||||
{
|
||||
if (!isset($attributesArray[$attributes['id_attribute_group']]))
|
||||
@@ -1661,9 +1796,12 @@ class BlockLayered extends Module
|
||||
$attributesArray[$attributes['id_attribute_group']]['values'][$attributes['id_attribute']]['checked'] = true;
|
||||
}
|
||||
$filterBlocks = array_merge($filterBlocks, $attributesArray);
|
||||
}
|
||||
break;
|
||||
case 'id_feature':
|
||||
$featureArray = array ();
|
||||
if (isset($products) AND $products)
|
||||
{
|
||||
foreach ($products as $feature)
|
||||
{
|
||||
if (!isset($featureArray[$feature['id_feature']]))
|
||||
@@ -1675,25 +1813,73 @@ class BlockLayered extends Module
|
||||
$featureArray[$feature['id_feature']]['values'][$feature['id_feature_value']]['checked'] = true;
|
||||
}
|
||||
$filterBlocks = array_merge($filterBlocks, $featureArray);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'category':
|
||||
$tmpArray = array();
|
||||
if (isset($products) AND $products)
|
||||
foreach ($products as $category)
|
||||
$tmpArray[] = array('name' => $category['name'], 'nbr' => (int)$category['count_products']);
|
||||
$filterBlocks[] = array ('type_lite' => 'category', 'type' => 'category', 'id_key' => 0, 'name' => $this->l('Categories'), 'values' => $tmpArray);
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
//generate SEO link
|
||||
|
||||
$paramSelected = '';
|
||||
$optionCheckedArray = array();
|
||||
$paramGroupSelectedArray = array();
|
||||
$link = new Link();
|
||||
$linkBase = $link->getCategoryLink($id_parent,Category::getLinkRewrite($id_parent, (int)($cookie->id_lang),(int)($cookie->id_lang) ), (int)($cookie->id_lang));
|
||||
|
||||
//get filters checked by group
|
||||
foreach ($filterBlocks as $typeFilter)
|
||||
{
|
||||
$paramGroupSelected = '';
|
||||
foreach ($typeFilter['values'] as $key => $value)
|
||||
{
|
||||
if(is_array($value) AND array_key_exists('checked',$value )){
|
||||
$paramGroupSelected .= '-'.Tools::link_rewrite($value['name']);
|
||||
$paramGroupSelectedArray [Tools::link_rewrite($typeFilter['name'])][] = Tools::link_rewrite($value['name']);
|
||||
}else
|
||||
$paramGroupSelectedArray [Tools::link_rewrite($typeFilter['name'])][] = array();
|
||||
}
|
||||
else {
|
||||
// Debug
|
||||
// We must never enter here
|
||||
// The next line must be remove before the release
|
||||
//var_export($sqlQuery['select']."\n".$sqlQuery['from']."\n".$sqlQuery['join']."\n".$sqlQuery['where']."\n".$sqlQuery['group']);die();
|
||||
if(!empty($paramGroupSelected))
|
||||
{
|
||||
$paramSelected .= '/'.Tools::link_rewrite($typeFilter['name']).$paramGroupSelected;
|
||||
$optionCheckedArray[Tools::link_rewrite($typeFilter['name'])] = $paramGroupSelected;
|
||||
}
|
||||
}
|
||||
|
||||
$blackList = array('weight','price');
|
||||
foreach ($filterBlocks as &$typeFilter)
|
||||
{
|
||||
if(count($typeFilter) > 0 AND !in_array($typeFilter['type'], $blackList))
|
||||
{
|
||||
foreach ($typeFilter['values'] as $key => $values)
|
||||
{
|
||||
$optionCheckedCloneArray = $optionCheckedArray;
|
||||
//if not filters checked, add parameter
|
||||
if(!in_array(Tools::link_rewrite($values['name']), $paramGroupSelectedArray[Tools::link_rewrite($typeFilter['name'])]))
|
||||
{
|
||||
//update parameter filter checked before
|
||||
if(array_key_exists(Tools::link_rewrite($typeFilter['name']), $optionCheckedArray))
|
||||
$optionCheckedCloneArray[Tools::link_rewrite($typeFilter['name'])] = $optionCheckedCloneArray[Tools::link_rewrite($typeFilter['name'])].'-'.Tools::link_rewrite($values['name']);
|
||||
else
|
||||
$optionCheckedCloneArray[Tools::link_rewrite($typeFilter['name'])] = '-'.Tools::link_rewrite($values['name']);
|
||||
}
|
||||
$parameters = '';
|
||||
foreach ($optionCheckedCloneArray as $keyGroup => $valueGroup)
|
||||
$parameters .= '/'.$keyGroup.$valueGroup;
|
||||
//write link
|
||||
$typeFilter['values'][$key]['link'] = $linkBase.$parameters;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$nFilters = 0;
|
||||
foreach ($selectedFilters AS $filters)
|
||||
$nFilters += sizeof($filters);
|
||||
@@ -1712,17 +1898,17 @@ class BlockLayered extends Module
|
||||
{
|
||||
$idCurrency = Currency::getCurrent()->id;
|
||||
$priceFilterQuery = '';
|
||||
if (isset($filterValue) && $filterValue)
|
||||
if (isset($filterValue) AND $filterValue)
|
||||
{
|
||||
$idCurrency = Currency::getCurrent()->id;
|
||||
$priceFilterQuery = '
|
||||
INNER JOIN `'._DB_PREFIX_.'price_static_index` as psi ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$idCurrency.'
|
||||
AND psi.price_min <= '.(int)$filterValue[1].' AND psi.price_max >= '.(int)$filterValue[0].' AND psi.`id_product` = p.`id_product` AND psi.`id_currency` = '.(int)$idCurrency.') ';
|
||||
INNER JOIN `'._DB_PREFIX_.'price_static_index` psi ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$idCurrency.'
|
||||
AND psi.price_min <= '.(int)$filterValue[1].' AND psi.price_max >= '.(int)$filterValue[0].') ';
|
||||
}
|
||||
else{
|
||||
$idCurrency = Currency::getCurrent()->id;
|
||||
$priceFilterQuery = '
|
||||
INNER JOIN `'._DB_PREFIX_.'price_static_index` as psi ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$idCurrency.'
|
||||
INNER JOIN `'._DB_PREFIX_.'price_static_index` psi ON (psi.id_product = p.id_product AND psi.id_currency = '.(int)$idCurrency.'
|
||||
AND psi.`id_product` = p.`id_product` AND psi.`id_currency` = '.(int)$idCurrency.') ';
|
||||
}
|
||||
|
||||
@@ -1739,7 +1925,7 @@ class BlockLayered extends Module
|
||||
AND ((int)$filterValue[0] > $product['price_min'] OR (int)$filterValue[1] < $product['price_max']))
|
||||
{
|
||||
$price = Product::getPriceStatic($product['id_product']);
|
||||
if ($price < $filterValue[0] || $price > $filterValue[1])
|
||||
if ($price < $filterValue[0] OR $price > $filterValue[1])
|
||||
continue;
|
||||
unset($productCollection[$key]);
|
||||
}
|
||||
@@ -1747,16 +1933,16 @@ class BlockLayered extends Module
|
||||
return $productCollection;
|
||||
}
|
||||
|
||||
private static function getWeightFilterSubQuery($filterValue)
|
||||
private static function getWeightFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (isset($filterValue) && $filterValue)
|
||||
if ($filterValue[0] != 0 || $filterValue[1] != 0)
|
||||
if (isset($filterValue) AND $filterValue)
|
||||
if ($filterValue[0] != 0 OR $filterValue[1] != 0)
|
||||
return array('where' => ' AND p.`weight` BETWEEN '.(float)($filterValue[0] - 0.001).' AND '.(float)($filterValue[1] + 0.001).' ');
|
||||
|
||||
return array();
|
||||
}
|
||||
|
||||
private static function getFeatureFilterSubQuery($filterValue)
|
||||
private static function getFeatureFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (empty($filterValue))
|
||||
return array();
|
||||
@@ -1767,7 +1953,7 @@ class BlockLayered extends Module
|
||||
|
||||
return array('where' => $queryFilters);
|
||||
}
|
||||
private static function getId_attribute_groupFilterSubQuery($filterValue)
|
||||
private static function getId_attribute_groupFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (empty($filterValue))
|
||||
return array();
|
||||
@@ -1784,7 +1970,7 @@ class BlockLayered extends Module
|
||||
return array('where' => $queryFilters);
|
||||
}
|
||||
|
||||
private static function getCategoryFilterSubQuery($filterValue)
|
||||
private static function getCategoryFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (empty($filterValue))
|
||||
return array();
|
||||
@@ -1797,7 +1983,7 @@ class BlockLayered extends Module
|
||||
return array('where' => $queryFiltersWhere, 'join' => $queryFiltersJoin);
|
||||
}
|
||||
|
||||
private static function getQuantityFilterSubQuery($filterValue)
|
||||
private static function getQuantityFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (sizeof($filterValue) == 2 OR empty($filterValue))
|
||||
return array();
|
||||
@@ -1806,17 +1992,20 @@ class BlockLayered extends Module
|
||||
return array('where' => $queryFilters);
|
||||
}
|
||||
|
||||
private static function getManufacturerFilterSubQuery($filterValue)
|
||||
private static function getManufacturerFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (empty($filterValue))
|
||||
return array();
|
||||
|
||||
$queryFilters = '';
|
||||
else
|
||||
$queryFilters = ' AND p.id_manufacturer IN ('.implode($filterValue, ',').')';
|
||||
|
||||
if($ignoreJoin)
|
||||
return array('where' => $queryFilters, 'select' => ', m.name');
|
||||
else
|
||||
return array('where' => $queryFilters, 'select' => ', m.name', 'join' => 'LEFT JOIN `'._DB_PREFIX_.'manufacturer` m ON (m.id_manufacturer = p.id_manufacturer) ');
|
||||
}
|
||||
|
||||
private static function getConditionFilterSubQuery($filterValue)
|
||||
private static function getConditionFilterSubQuery($filterValue, $ignoreJoin)
|
||||
{
|
||||
if (sizeof($filterValue) == 3 OR empty($filterValue))
|
||||
return array();
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
{else}
|
||||
<input type="checkbox" class="checkbox" name="layered_{$filter.type_lite}_{$id_value}" id="layered_{$filter.type_lite}{if $id_value || $filter.type == 'quantity'}_{$id_value}{/if}" value="{$id_value}{if $filter.id_key}_{$filter.id_key}{/if}"{if isset($value.checked)} checked="checked"{/if}{if !$value.nbr} disabled="disabled"{/if} />
|
||||
{/if}
|
||||
<label for="layered_{$filter.type_lite}_{$id_value}"{if !$value.nbr} class="disabled"{else}{if isset($filter.is_color_group) && $filter.is_color_group} name="layered_{$filter.type_lite}_{$id_value}" class="layered_color" rel="{$id_value}_{$filter.id_key}"{/if}{/if}>{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span>{/if}</label>
|
||||
<label for="layered_{$filter.type_lite}_{$id_value}"{if !$value.nbr} class="disabled"{else}{if isset($filter.is_color_group) && $filter.is_color_group} name="layered_{$filter.type_lite}_{$id_value}" class="layered_color" rel="{$id_value}_{$filter.id_key}"{/if}{/if}><a href='{$value.link}'>{$value.name|escape:html:'UTF-8'}{if $layered_show_qties}<span> ({$value.nbr})</span></a>{/if}</label>
|
||||
</li>
|
||||
{/foreach}
|
||||
{else}
|
||||
@@ -87,7 +87,6 @@
|
||||
<div style="margin-top:5px;" class="layered_slider" id="layered_{$filter.type}_slider"></div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
unit = '{$filter.unit}';
|
||||
{literal}
|
||||
$(document).ready(function()
|
||||
{
|
||||
@@ -97,32 +96,17 @@
|
||||
max: {/literal}{$filter.max}{literal},
|
||||
values: [ {/literal}{$filter.values[0]}{literal}, {/literal}{$filter.values[1]}{literal}],
|
||||
slide: function( event, ui ) {
|
||||
$('#layered_{/literal}{$filter.type}{literal}_range').html(ui.values[ 0 ] + unit + ' - ' + ui.values[ 1 ] + unit);
|
||||
$('#layered_{/literal}{$filter.type}{literal}_range').html(ui.values[ 0 ] + '{/literal}{$filter.unit}{literal}' + ' - ' + ui.values[ 1 ] + '{/literal}{$filter.unit}{literal}');
|
||||
},
|
||||
stop: function () {
|
||||
reloadContent();
|
||||
}
|
||||
});
|
||||
$('#layered_{/literal}{$filter.type}{literal}_range').html($('#layered_{/literal}{$filter.type}{literal}_slider').slider('values', 0 ) +unit+
|
||||
' - ' + $('#layered_{/literal}{$filter.type}{literal}_slider').slider('values', 1 )+unit );
|
||||
$('#layered_{/literal}{$filter.type}{literal}_range').html($('#layered_{/literal}{$filter.type}{literal}_slider').slider('values', 0 ) +'{/literal}{$filter.unit}{literal}'+
|
||||
' - ' + $('#layered_{/literal}{$filter.type}{literal}_slider').slider('values', 1 )+'{/literal}{$filter.unit}{literal}');
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
<!--
|
||||
<script type="text/javascript">
|
||||
unit = '{$filter.unit}';
|
||||
type = '{$filter.type}';
|
||||
max = '{$filter.max}';
|
||||
min = '{$filter.min}';
|
||||
values = [{$filter.values[0]}, {$filter.values[1]}];
|
||||
{literal}
|
||||
$(document).ready(function()
|
||||
{
|
||||
initSlider(type, min, max, values, unit);
|
||||
});
|
||||
{/literal}
|
||||
</script>
|
||||
-->
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -15,10 +15,6 @@ $_MODULE['<{blocklayered}prestashop>blocklayered_4ad0f0fe31d93e0d8dd7a7fc69a7278
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_91e77d047f2496b7ba8c9def96d03324'] = 'Modèle de filtres non trouvé';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_09da2b6f1217055bb22caa6ea08d9b80'] = 'Navigation à facettes';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_7c47bdf0ef7a058e0243fd870019f10b'] = 'Une indexation est en cours. Merci de ne pas fermer cette page';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_40fc1029eccda234e67e1beff3b228b3'] = 'Indexer tous les produits non-indexé.';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_26e424abe001fcfdcc85a2d59bacb567'] = 'Re-construire l\'intégralité de l\'index.';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_be8508b58244b20cb0e00ed6afa7f1c8'] = 'Vous pouvez définir une tâche cron pour reconstruire l\'index en utilisant l\'URL suivante:';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_61f31fb41a5743e1fff0a97b32e19dc2'] = 'Une ré-indexation complète doit être faite chaque fois qu\'un produit est modifié. Une reconstruction nocturne est recommandé.';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_a607dc3941415ecea04bb1eb8a978962'] = 'Modèles de filtres existants';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_9923a3739235561cc50eb9446dc1771e'] = 'modèles de filtres sont configurés :';
|
||||
$_MODULE['<{blocklayered}prestashop>blocklayered_49ee3087348e8d44e1feda1917443987'] = 'Nom';
|
||||
|
||||
@@ -2,11 +2,7 @@
|
||||
<module>
|
||||
<name>ebay</name>
|
||||
<displayName><![CDATA[eBay]]></displayName>
|
||||
<<<<<<< .working
|
||||
<version><![CDATA[1.2.1]]></version>
|
||||
=======
|
||||
<version><![CDATA[1.2.3]]></version>
|
||||
>>>>>>> .merge-right.r8342
|
||||
<version><![CDATA[1.2.4]]></version>
|
||||
<description><![CDATA[Open your shop on the eBay market place !]]></description>
|
||||
<author><![CDATA[PrestaShop]]></author>
|
||||
<tab><![CDATA[market_place]]></tab>
|
||||
|
||||
@@ -1095,9 +1095,9 @@ class eBayRequest
|
||||
$id_product = 0;
|
||||
$id_product_attribute = 0;
|
||||
$quantity = (string)$transaction->QuantityPurchased;
|
||||
if (isset($transaction->item->SKU))
|
||||
if (isset($transaction->Item->SKU))
|
||||
{
|
||||
$tmp = explode('-', (string)$transaction->item->SKU);
|
||||
$tmp = explode('-', (string)$transaction->Item->SKU);
|
||||
if (isset($tmp[1]))
|
||||
$id_product = $tmp[1];
|
||||
}
|
||||
|
||||
+61
-30
@@ -59,7 +59,7 @@ class Ebay extends Module
|
||||
{
|
||||
$this->name = 'ebay';
|
||||
$this->tab = 'market_place';
|
||||
$this->version = '1.2.3';
|
||||
$this->version = '1.2.4';
|
||||
$this->author = 'PrestaShop';
|
||||
parent::__construct ();
|
||||
$this->displayName = $this->l('eBay');
|
||||
@@ -111,6 +111,14 @@ class Ebay extends Module
|
||||
if (!Configuration::get('EBAY_API_TOKEN'))
|
||||
$this->warning = $this->l('You must register your module on eBay.');
|
||||
|
||||
// Loading Shipping Method
|
||||
$this->loadShippingMethod();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public function loadShippingMethod()
|
||||
{
|
||||
// Shipping methods
|
||||
$this->_shippingMethod = array(
|
||||
7104 => array('description' => 'Colissimo', 'shippingService' => 'FR_ColiposteColissimo', 'shippingServiceID' => '7104'),
|
||||
@@ -148,7 +156,6 @@ class Ebay extends Module
|
||||
7109 => array('description' => 'UPS - Standard', 'shippingService' => 'FR_UPSStandard', 'shippingServiceID' => '7109'),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/******************************************************************/
|
||||
@@ -515,7 +522,7 @@ class Ebay extends Module
|
||||
|
||||
|
||||
// If isset Post Var, post process else display form
|
||||
if (!empty($_POST) AND Tools::isSubmit('submitSave'))
|
||||
if (!empty($_POST) && (Tools::isSubmit('submitSave') || Tools::isSubmit('submitSave1') || Tools::isSubmit('submitSave2')))
|
||||
{
|
||||
$this->_postValidation();
|
||||
if (!sizeof($this->_postErrors))
|
||||
@@ -1175,7 +1182,10 @@ class Ebay extends Module
|
||||
|
||||
|
||||
// Display Form
|
||||
$html = '<style>#button_ebay_sync{background-image:url('.$this->_path.'ebay.gif);background-repeat:no-repeat;background-position:center 90px;width:500px;height:191px;cursor:pointer;padding-bottom:100px;font-weight:bold;font-size:25px;}</style>
|
||||
$html = '<style>
|
||||
#button_ebay_sync1{background-image:url('.$this->_path.'ebay.gif);background-repeat:no-repeat;background-position:center 90px;width:400px;height:191px;cursor:pointer;padding-bottom:100px;font-weight:bold;font-size:25px;}
|
||||
#button_ebay_sync2{background-image:url('.$this->_path.'ebay.gif);background-repeat:no-repeat;background-position:center 90px;width:400px;height:191px;cursor:pointer;padding-bottom:100px;font-weight:bold;font-size:25px;}
|
||||
</style>
|
||||
<script>
|
||||
var nbProducts = '.$nbProducts.';
|
||||
var nbProductsModeA = '.$nbProductsModeA.';
|
||||
@@ -1196,7 +1206,8 @@ class Ebay extends Module
|
||||
success: function(data) {
|
||||
nbProducts = data;
|
||||
nbProductsModeB = data;
|
||||
$("#button_ebay_sync").attr("value", "'.$this->l('Sync with eBay').'\n(" + data + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync1").attr("value", "'.$this->l('Sync with eBay').'\n(" + data + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync2").attr("value", "'.$this->l('Sync with eBay').'\n'.$this->l('and update').'\n(" + data + " '.$this->l('products').')");
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -1207,37 +1218,41 @@ class Ebay extends Module
|
||||
$("#ebay_sync_mode1").click(function() {
|
||||
nbProducts = nbProductsModeA;
|
||||
$("#catSync").hide("slow");
|
||||
$("#button_ebay_sync").attr("value", "'.$this->l('Sync with eBay').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync1").attr("value", "'.$this->l('Sync with eBay').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync2").attr("value", "'.$this->l('Sync with eBay').'\n'.$this->l('and update').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
});
|
||||
$("#ebay_sync_mode2").click(function() {
|
||||
nbProducts = nbProductsModeB;
|
||||
$("#catSync").show("slow");
|
||||
$("#button_ebay_sync").attr("value", "'.$this->l('Sync with eBay').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync1").attr("value", "'.$this->l('Sync with eBay').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
$("#button_ebay_sync2").attr("value", "'.$this->l('Sync with eBay').'\n'.$this->l('and update').'\n(" + nbProducts + " '.$this->l('products').')");
|
||||
});
|
||||
});
|
||||
|
||||
function eBaySync()
|
||||
function eBaySync(option)
|
||||
{
|
||||
$(".categorySync").attr("disabled", "true");
|
||||
$("#ebay_sync_mode1").attr("disabled", "true");
|
||||
$("#ebay_sync_mode2").attr("disabled", "true");
|
||||
$("#ebay_sync_option_resync").attr("disabled", "true");
|
||||
$("#button_ebay_sync").attr("disabled", "true");
|
||||
$("#button_ebay_sync").hide("slow");
|
||||
$("#button_ebay_sync1").attr("disabled", "true");
|
||||
$("#button_ebay_sync1").css("background-color", "#D5D5D5");
|
||||
$("#button_ebay_sync2").attr("disabled", "true");
|
||||
$("#button_ebay_sync2").css("background-color", "#D5D5D5");
|
||||
$("#resultSync").html("<img src=\"../modules/ebay/loading-small.gif\" border=\"0\" />");
|
||||
eBaySyncProduct();
|
||||
eBaySyncProduct(option);
|
||||
}
|
||||
|
||||
function eBaySyncProduct()
|
||||
function eBaySyncProduct(option)
|
||||
{
|
||||
$.ajax({
|
||||
url: \''._MODULE_DIR_.'ebay/ajax/eBaySyncProduct.php?token='.Configuration::get('EBAY_SECURITY_TOKEN').'&time='.pSQL(date('Ymdhis').rand()).'\',
|
||||
url: \''._MODULE_DIR_.'ebay/ajax/eBaySyncProduct.php?token='.Configuration::get('EBAY_SECURITY_TOKEN').'&option=\'+option+\'&time='.pSQL(date('Ymdhis').rand()).'\',
|
||||
success: function(data)
|
||||
{
|
||||
tab = data.split("|");
|
||||
$("#resultSync").html(tab[1]);
|
||||
if (tab[0] != "OK")
|
||||
eBaySyncProduct();
|
||||
eBaySyncProduct(option);
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -1292,8 +1307,10 @@ class Ebay extends Module
|
||||
}
|
||||
}
|
||||
$html .= '</tbody></table>';
|
||||
if (Tools::getValue('section') == 'sync')
|
||||
$html .= '<script>$(document).ready(function() { eBaySync(); });</script>';
|
||||
if (Tools::getValue('section') == 'sync' && Tools::getValue('submitSave1') != '')
|
||||
$html .= '<script>$(document).ready(function() { eBaySync(1); });</script>';
|
||||
if (Tools::getValue('section') == 'sync' && Tools::getValue('submitSave2') != '')
|
||||
$html .= '<script>$(document).ready(function() { eBaySync(2); });</script>';
|
||||
|
||||
if (Configuration::get('EBAY_SYNC_MODE') == 'B')
|
||||
{
|
||||
@@ -1308,8 +1325,21 @@ class Ebay extends Module
|
||||
$html .= '
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="margin-form"><input id="button_ebay_sync" class="button" name="submitSave" value="'.$this->l('Sync with eBay')."\n".'('.$nbProducts.' '.$this->l('products').')" OnClick="return confirm(\''.$this->l('You will push').' \' + nbProducts + \' '.$this->l('products on eBay. Do you want to confirm ?').'\');" type="submit"></div>
|
||||
<h4>'.$this->l('Beware ! If some of your categories are not multi sku compliant, some of your products may create more than one product on eBay.').'</h4>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td style="color: #268CCD"><h4>'.$this->l('"Sync with eBay" option will only sync the products that are not already sync with eBay : ').'</h4></td>
|
||||
<td style="width: 50px"> </td>
|
||||
<td style="color: #268CCD"><h4>'.$this->l('"Sync and update with eBay" will sync the products that are not already sync with eBay and update the products already sync with eBay : ').'</h4></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><input id="button_ebay_sync1" class="button" name="submitSave1" value="'.$this->l('Sync with eBay')."\n".'('.$nbProducts.' '.$this->l('products').')" OnClick="return confirm(\''.$this->l('You will push').' \' + nbProducts + \' '.$this->l('products on eBay. Do you want to confirm ?').'\');" type="submit"></td>
|
||||
<td style="width: 50px"> </td>
|
||||
<td><input id="button_ebay_sync2" class="button" name="submitSave2" value="'.$this->l('Sync with eBay')."\n".$this->l('and update')."\n".'('.$nbProducts.' '.$this->l('products').')" OnClick="return confirm(\''.$this->l('You will push').' \' + nbProducts + \' '.$this->l('products on eBay. Do you want to confirm ?').'\');" type="submit"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<br />
|
||||
</form>';
|
||||
|
||||
|
||||
@@ -1348,11 +1378,7 @@ class Ebay extends Module
|
||||
|
||||
public function ajaxProductSync()
|
||||
{
|
||||
// Take the next product
|
||||
$where = '';
|
||||
if ((int)Configuration::get('EBAY_SYNC_LAST_PRODUCT') > 0)
|
||||
$where = 'AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT');
|
||||
|
||||
$whereOption1 = 'AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)';
|
||||
|
||||
if (Configuration::get('EBAY_SYNC_MODE') == 'A')
|
||||
{
|
||||
@@ -1368,8 +1394,8 @@ class Ebay extends Module
|
||||
SELECT `id_product` FROM `'._DB_PREFIX_.'product`
|
||||
WHERE `quantity` > 0 AND `active` = 1
|
||||
AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)
|
||||
AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)
|
||||
'.$where.'
|
||||
'.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
|
||||
AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT').'
|
||||
ORDER BY `id_product`
|
||||
LIMIT 1');
|
||||
|
||||
@@ -1378,8 +1404,8 @@ class Ebay extends Module
|
||||
SELECT COUNT(`id_product`) FROM `'._DB_PREFIX_.'product`
|
||||
WHERE `quantity` > 0 AND `active` = 1
|
||||
AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0)
|
||||
AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)
|
||||
'.$where);
|
||||
'.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
|
||||
AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT'));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -1395,8 +1421,8 @@ class Ebay extends Module
|
||||
SELECT `id_product` FROM `'._DB_PREFIX_.'product`
|
||||
WHERE `quantity` > 0 AND `active` = 1
|
||||
AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)
|
||||
AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)
|
||||
'.$where.'
|
||||
'.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
|
||||
AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT').'
|
||||
ORDER BY `id_product`
|
||||
LIMIT 1');
|
||||
|
||||
@@ -1405,8 +1431,8 @@ class Ebay extends Module
|
||||
SELECT COUNT(`id_product`) FROM `'._DB_PREFIX_.'product`
|
||||
WHERE `quantity` > 0 AND `active` = 1
|
||||
AND `id_category_default` IN (SELECT `id_category` FROM `'._DB_PREFIX_.'ebay_category_configuration` WHERE `id_category` > 0 AND `id_ebay_category` > 0 AND `sync` = 1)
|
||||
AND `id_product` NOT IN (SELECT `id_product` FROM `'._DB_PREFIX_.'ebay_product`)
|
||||
'.$where);
|
||||
'.(Tools::getValue('option') == 1 ? $whereOption1 : '').'
|
||||
AND `id_product` > '.(int)Configuration::get('EBAY_SYNC_LAST_PRODUCT'));
|
||||
}
|
||||
|
||||
// Send each product on eBay
|
||||
@@ -1532,6 +1558,11 @@ class Ebay extends Module
|
||||
$price = round($price, 2);
|
||||
|
||||
|
||||
// Loading Shipping Method
|
||||
if (!isset($this->_shippingMethod[Configuration::get('EBAY_SHIPPING_CARRIER_ID')]['shippingService']))
|
||||
$this->loadShippingMethod();
|
||||
|
||||
|
||||
// Generate array and try insert in database
|
||||
$datas = array(
|
||||
'id_product' => $product->id,
|
||||
|
||||
+4
-1
@@ -62,6 +62,7 @@ $_MODULE['<{ebay}prestashop>ebay_6c09b50ba3b52d0d61fb785adeed1895'] = 'Vous pouv
|
||||
$_MODULE['<{ebay}prestashop>ebay_c01f01fd2bd607cf17ddc2ee584227f8'] = 'Vous devez configurer l\'onglet \"Configuration des catégories\" avant d\'utiliser cet onglet.';
|
||||
$_MODULE['<{ebay}prestashop>ebay_1cbd8f2b57c85344f755caff03336306'] = 'Synchroniser avec eBay';
|
||||
$_MODULE['<{ebay}prestashop>ebay_86024cad1e83101d97359d7351051156'] = 'produits';
|
||||
$_MODULE['<{ebay}prestashop>ebay_dc11854f70dd95a8c51ae75b05dbd508'] = 'et mettre à jour les produits';
|
||||
$_MODULE['<{ebay}prestashop>ebay_05aaf6b3c49c3aa6219a1d730ee7988c'] = 'Vous allez maintenant mettre en ligne vos produits sur eBay.';
|
||||
$_MODULE['<{ebay}prestashop>ebay_3205b263a1a779c2b03cdbac836346f9'] = 'Pour rappel,';
|
||||
$_MODULE['<{ebay}prestashop>ebay_0eaf4172db11a5d6e914aabe920f0455'] = 'vous ne payez aucun frais d’insertion si vous avez une boutique sur eBay.';
|
||||
@@ -73,8 +74,10 @@ $_MODULE['<{ebay}prestashop>ebay_4ac5ebfcb9b9d8c87e9ff03ee6bf24e5'] = 'choisir l
|
||||
$_MODULE['<{ebay}prestashop>ebay_054b4f3ea543c990f6b125f41af6ebf7'] = 'Option';
|
||||
$_MODULE['<{ebay}prestashop>ebay_892db3f832f6fe1a2d04e1e50e65d3ca'] = 'Lorsqu\'un produit est mis à jour, seule sa quantité et son prix sont resynchronisés avec eBay';
|
||||
$_MODULE['<{ebay}prestashop>ebay_e0626222614bdee31951d84c64e5e9ff'] = 'Sélection';
|
||||
$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = 'Attention ! Si certaines de vos catégories ne sont pas compatibles multi sku, certains de vos produits peuvent créer plus d\'une fiche produit sur eBay.';
|
||||
$_MODULE['<{ebay}prestashop>ebay_d446b6fd9d0b61470108b86e7bbf4b08'] = '\"Synchroniser avec eBay\" ne synchronisera seulement que les produits qui n\'ont pas encore été synchronisés avec eBay :';
|
||||
$_MODULE['<{ebay}prestashop>ebay_03e982083919ab970387bf623f798717'] = '\"Synchroniser avec eBay et mettre à jour les produits\" synchronisera les produits qui n\'ont pas encore été synchronisés avec eBay et mettra à jour les produits qui ont déjà été synchronisés :';
|
||||
$_MODULE['<{ebay}prestashop>ebay_caab0e2c2f3ae0d242b0b36f22d9acc5'] = 'Vous allez mettre en ligne';
|
||||
$_MODULE['<{ebay}prestashop>ebay_70b240eb3db5174e1c9520cabe2ae781'] = 'produits sur eBay. Voulez-vous confirmer ?';
|
||||
$_MODULE['<{ebay}prestashop>ebay_6d371302939f2bba5daf55544efb956f'] = 'Attention ! Si certaines de vos catégories ne sont pas compatibles multi sku, certains de vos produits peuvent créer plus d\'une fiche produit sur eBay.';
|
||||
$_MODULE['<{ebay}prestashop>ebay_547c708291fe196592dd1e4db7b206a5'] = 'produit(s) mis en ligne sur eBay';
|
||||
$_MODULE['<{ebay}prestashop>ebay_1761efb946aa43c14af989665dae691a'] = 'Produit(s) concerné(s)';
|
||||
|
||||
@@ -36,7 +36,7 @@ $_MODULE['<{mailalerts}prestashop>myalerts_f2a6c498fb90ee345d997f888fce3b18'] =
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_074c07016d3e5a9f011aa8e62abe4517'] = 'Vous n\'avez souscrit à aucune alerte.';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_0b3db27bc15f682e92ff250ebb167d4b'] = 'Retour à votre compte';
|
||||
$_MODULE['<{mailalerts}prestashop>myalerts_8cf04a9734132302f96da8e113e80ce5'] = 'Accueil';
|
||||
$_MODULE['<{mailalerts}prestashop>product_67135a14d3ac4f1369633dd006d6efec'] = 'votre@email.com';
|
||||
$_MODULE['<{mailalerts}prestashop>product_61172eb93737ebf095d3fa02119ce1df'] = 'Demande de notification enregistrée';
|
||||
$_MODULE['<{mailalerts}prestashop>product_900f8551b29793ecb604a545b2059cc1'] = 'Votre adresse e-mail est invalide';
|
||||
$_MODULE['<{mailalerts}prestashop>product_67135a14d3ac4f1369633dd006d6efec'] = 'votre@email.com';
|
||||
$_MODULE['<{mailalerts}prestashop>product_546e02eaa9a986c83cc347e273269f2c'] = 'Prévenez-moi lorsque le produit est disponible';
|
||||
|
||||
@@ -48,12 +48,10 @@ $_MODULE['<{mondialrelay}prestashop>mondialrelay_cb5e100e5a9a3e7f6d1fd9751221528
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_350c1cc4343826a89f08a33bb49c6d98'] = 'Configuration du Module Mondial Relay';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_d21a9f93917604d5490ad529a7cf1ff9'] = 'Pour créer un transporteur Mondial Relay';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_c6a2e6af5fff47adb3afd780b97d9b4b'] = 'Remplissez et sauvegarder vos paramètres Mondial Relay';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_abfc836cd1df9d6d2bdfd2fc98e6fa93'] = 'Créez un transporteur';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_b962d8fb95f5a439f50502152f3bad71'] = 'Definissez un prix pour votre transporteur sur';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_faf1247ae6846a9955a466d4f301bbe4'] = 'La page Transporteurs';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_10d78806b84b97ebc774e9f6277af6ac'] = 'Pour générer vos étiquettes, vous devez avoir enregistré une adresse valide de votre boutique sur votre';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_af5efea250326c1c34d69aa9364b482c'] = 'page contact';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_fcf5b2122da1d5a5f5c7253b96a3f9d9'] = 'URL de la tache CRON à lancer pour la mise à jour des statuts de commandes';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_362dff77f7403550e886db901404856c'] = 'Suppression effectuée';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_66661dacf33146201b60dc16520ddd68'] = 'Ajouter un transporteur';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_b651efdb98a5d6bd2b3935d0c3f4a5e2'] = 'Champ obligatoire';
|
||||
@@ -81,9 +79,10 @@ $_MODULE['<{mondialrelay}prestashop>mondialrelay_907eba32d950bfab68227fd7ea22999
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_0c24ec05a02c710cedd400e3680d8b81'] = 'Liste des tranporteurs';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_14039af96b01e718a9c9d9c1259b6472'] = 'Aucun transporteur créé';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_8596361cec00f8d2438d264827eee737'] = 'Modification de la configuration';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_759e1f68a70bbe8c48eb30fa4b512de8'] = 'Il semblerait que vous venez de mettre à jour Mondial Relay sans avoir réinitialisé le module : il est requis de configurer les champs ci-dessous afin de pouvoir générer les étiquettes';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_9ffc3ccc968a96d902af963c6d7b4e97'] = 'Paramètres avancés';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_1d1d57f5840e1da871622295ba206b30'] = 'Cliquez pour afficher / cacher les options';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_fcf5b2122da1d5a5f5c7253b96a3f9d9'] = 'URL de la tache CRON à lancer pour la mise à jour des statuts de commandes';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_759e1f68a70bbe8c48eb30fa4b512de8'] = 'Il semblerait que vous venez de mettre à jour Mondial Relay sans avoir réinitialisé le module : il est requis de configurer les champs ci-dessous afin de pouvoir générer les étiquettes';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_bbd9bc77f1f5b6a9edce6db062b607c9'] = 'Cette partie permet de réécrire les données envoyées à Mondial Relay lorsque vous lancez le processus de génération de tickets. Certains champs sont assez restrictifs en terme de longueur ou de caractères utilisés.';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_9127fe218b2cac7f0c8aecd7016a891d'] = 'Nom de la boutique';
|
||||
$_MODULE['<{mondialrelay}prestashop>mondialrelay_7e9bbecd32836500b557db33c3b3e93b'] = 'La clé utilisée par Mondialrelay est';
|
||||
|
||||
@@ -60,14 +60,6 @@ $_MODULE['<{shopimporter}prestashop>shopimporter_60474e812295a5adc371de63dc62a16
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_05f4be265d59ea66f3a1fb12ba103583'] = 'Choisir un import';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_961f2247a2070bedff9f9cd8d64e2650'] = 'Choisir';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_151a0fbfcc4894aa53335091c2512de5'] = 'Aucun module d\'import installé';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_9aa1b03934893d7134a660af4204f2a9'] = 'Serveur';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_770b2f7556eecbe5000cfcbddc9f9885'] = '(Ex: mysql.mydomain.com)';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_8f9bfe9d1345237cb3b2b205864da075'] = 'Utilisateur';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_dc647eb65e6711e155375218212b3964'] = 'Mot de passe';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_14ae0ea02f571a833786d13d9ca6a897'] = '(Le mot de passe peut être vide)';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_e307db07b3975fef922a80d07455ee5e'] = 'Base de données';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_dac130bdd2c5492a8108a4145bd9f04a'] = 'Prefix de base de données';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_6bdc02625540b5264cffe801c37a82dd'] = '(Le préfixe est optionnel. Si tous vos tables de base de données commencent par \"pref_\", le préfixe est \"pref_\")';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_2bb4cbbf4c51025867d47131e79ad05f'] = 'Etape suivante';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_72dd98a453e92ccc01697f29bb5dbeb9'] = 'Option d\'import';
|
||||
$_MODULE['<{shopimporter}prestashop>shopimporter_9dfc5d5738312210c3c75e68a468691d'] = 'Options avancées ';
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
global $_MODULE;
|
||||
$_MODULE = array();
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_5947e2ae63c0a33524cf81c44a1db580'] = 'Transporteur USPS';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_098087ab799def1028233142cafeeafd'] = 'Propose à vos clients le transporteur USPS (US Postal)';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_883fa0069f4b0454e2277dd567ab3991'] = '\'Unité de poids (LB ou KG)\'';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_5a3ceec65d417f5d92c26dbf0dccc00d'] = '\'Unité de mesure (CM ou IN)\'';
|
||||
@@ -28,6 +27,7 @@ $_MODULE['<{uspscarrier}prestashop>uspscarrier_f8320b26d30ab433c5a54546d21f414c'
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_f827cf462f62848df37c5e1e94a4da74'] = 'True';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_386aad80d82f8245e9ef80352a2240e8'] = 'Tous les articles en un seul paquet';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_f35eb2a913a3fd6fd8e661012cf0ebd8'] = 'Découper un article par paquet';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_5947e2ae63c0a33524cf81c44a1db580'] = 'Transporteur USPS';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_f57cff5425b6e64843c5f066c5b310d0'] = 'Statut du module USPS';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_09bdd414ce843927aa3dceadc8bce034'] = 'Le transporteur USPS est fonctionnel !';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_ec8b84c83dfee20afa4c2f35245a254b'] = 'Le transporteur USPS n\'est pas encore complètement configuré, vous devez :';
|
||||
@@ -69,8 +69,6 @@ $_MODULE['<{uspscarrier}prestashop>uspscarrier_8d2ee0603dfce09b57d60db628cde269'
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_795de10b1bdcb843b3703c63ad577fc6'] = 'Choisissez le type de paquet par défaut';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_93c8645dbbc33cf8d126266a827a5501'] = 'Machinable';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_67cd0f5256c40c16a6cfd6effe3ab06b'] = 'Choisissez si cela peut être traité par une machine ou non par défaut';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_8d6bd50f3fe3ee2f4513066c25e5fb4a'] = 'Mode de calcul';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_3169c5057093f8e6c2750f1949a0900d'] = 'Utiliser la méthode de calcul \"Tous les produits dans un colis\" utilisera automatiquement la taille de colis, le type de colis et les services de livraison par défaut. Les configurations spécifiques des catégories et des produits ne seront pas utilisés.';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_5cdd307ba6e260beb4801c0c10e22a3a'] = 'Service de livraison';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_78945de8de090e90045d299651a68a9b'] = 'Disponible';
|
||||
$_MODULE['<{uspscarrier}prestashop>uspscarrier_2d25c72c1b18e562f6654fff8e11711e'] = 'Non disponible';
|
||||
|
||||
Reference in New Issue
Block a user