From bfbc46cf511c7a9148a5ddd2b80ea658450f1e6a Mon Sep 17 00:00:00 2001
From: Damien Metzger
Date: Thu, 18 Apr 2013 16:53:27 -0300
Subject: [PATCH 05/21] // Removed useless message
---
controllers/admin/AdminSuppliersController.php | 1 -
1 file changed, 1 deletion(-)
diff --git a/controllers/admin/AdminSuppliersController.php b/controllers/admin/AdminSuppliersController.php
index 465911ab3..22e30efb4 100644
--- a/controllers/admin/AdminSuppliersController.php
+++ b/controllers/admin/AdminSuppliersController.php
@@ -146,7 +146,6 @@ class AdminSuppliersControllerCore extends AdminController
'id' => 'id_country',
'name' => 'name',
),
- 'desc' => $this->l('Country where the state, region or city is located')
),
array(
'type' => 'select',
From c4ae13af757861f0ab0452f171aec20e052d8294 Mon Sep 17 00:00:00 2001
From: Damien Metzger
Date: Thu, 18 Apr 2013 16:57:05 -0300
Subject: [PATCH 06/21] // Changed link to documentation in the installer
---
install-dev/langs/fr/install.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/install-dev/langs/fr/install.php b/install-dev/langs/fr/install.php
index 6e0e44bcf..37f01522c 100644
--- a/install-dev/langs/fr/install.php
+++ b/install-dev/langs/fr/install.php
@@ -102,7 +102,7 @@ return array(
'Receive this information by e-mail' => 'Recevez ces informations par e-mail',
'Warning: You will receive this information only if your e-mail configuration is correct.' => 'Attention : vous ne recevrez ces informations que si votre configuration des e-mails est correcte',
'Configure your database by filling out the following fields:' => 'Configurez la connexion à votre base de données en remplissant les champs suivants.',
- 'You have to create a database, help available in our online documentation.' => 'Vous devez créer une base de données, de l\'aide est disponible sur notre documentation en ligne.',
+ 'You have to create a database, help available in our online documentation.' => 'Vous devez créer une base de données, de l\'aide est disponible sur notre documentation en ligne.',
'Database server address:' => 'Adresse du serveur de la base :',
'If you want to use a different port, add :XX after your server address where XX is your port number.' => 'Si vous souhaitez utiliser un port différent, ajoutez :XX à l\'adresse de votre serveur, XX étant le numéro de votre port.',
'Database name:' => 'Nom de la base :',
@@ -241,4 +241,4 @@ return array(
'PrestaShop can provide you with guidance on a regular basis by sending you tips on how to optimize the management of your store which will help you grow your business. If you do not wish to receive these tips, please uncheck this box.' => 'PrestaShop peut vous guider de façon régulière en vous faisant parvenir des conseils afin d\'optimiser la gestion de votre boutique et développer votre activité. Si vous ne souhaitez pas recevoir ces conseils, nous vous invitons à décocher cette case.',
'Your PHP sessions path is not writable - check with your hosting provider:' => 'Le dossier de stockage n\'est pas accessible en écriture - consultez votre hébergeur',
),
-);
\ No newline at end of file
+);
From 17536ff682b822449d49e15b671c8e28e1d4b5de Mon Sep 17 00:00:00 2001
From: Damien Metzger
Date: Thu, 18 Apr 2013 17:12:59 -0300
Subject: [PATCH 07/21] // Fixed potential warning
---
modules/pscleaner/pscleaner.php | 30 +++++++++++++++---------------
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/modules/pscleaner/pscleaner.php b/modules/pscleaner/pscleaner.php
index d091230fd..cbdd8ac7f 100644
--- a/modules/pscleaner/pscleaner.php
+++ b/modules/pscleaner/pscleaner.php
@@ -285,9 +285,9 @@ class PSCleaner extends Module
continue;
$query = 'DELETE FROM `'._DB_PREFIX_.$query_array[0].'` WHERE `'.$query_array[1].'` NOT IN (SELECT `'.$query_array[3].'` FROM `'._DB_PREFIX_.$query_array[2].'`)';
- $db->Execute($query);
- if ($affected_rows = $db->Affected_Rows())
- $logs[$query] = $affected_rows;
+ if ($db->Execute($query))
+ if ($affected_rows = $db->Affected_Rows())
+ $logs[$query] = $affected_rows;
}
// _lang table cleaning
@@ -299,14 +299,14 @@ class PSCleaner extends Module
$id_table = 'id_'.preg_replace('/^'._DB_PREFIX_.'/', '', $table);
$query = 'DELETE FROM `'.bqSQL($table_lang).'` WHERE `'.bqSQL($id_table).'` NOT IN (SELECT `'.bqSQL($id_table).'` FROM `'.bqSQL($table).'`)';
- $db->Execute($query);
- if ($affected_rows = $db->Affected_Rows())
- $logs[$query] = $affected_rows;
+ if ($db->Execute($query))
+ if ($affected_rows = $db->Affected_Rows())
+ $logs[$query] = $affected_rows;
$query = 'DELETE FROM `'.bqSQL($table_lang).'` WHERE `id_lang` NOT IN (SELECT `id_lang` FROM `'._DB_PREFIX_.'lang`)';
- $db->Execute($query);
- if ($affected_rows = $db->Affected_Rows())
- $logs[$query] = $affected_rows;
+ if ($db->Execute($query))
+ if ($affected_rows = $db->Affected_Rows())
+ $logs[$query] = $affected_rows;
}
// _shop table cleaning
@@ -321,14 +321,14 @@ class PSCleaner extends Module
continue;
$query = 'DELETE FROM `'.bqSQL($table_shop).'` WHERE `'.bqSQL($id_table).'` NOT IN (SELECT `'.bqSQL($id_table).'` FROM `'.bqSQL($table).'`)';
- $db->Execute($query);
- if ($affected_rows = $db->Affected_Rows())
- $logs[$query] = $affected_rows;
+ if ($db->Execute($query))
+ if ($affected_rows = $db->Affected_Rows())
+ $logs[$query] = $affected_rows;
$query = 'DELETE FROM `'.bqSQL($table_shop).'` WHERE `id_shop` NOT IN (SELECT `id_shop` FROM `'._DB_PREFIX_.'shop`)';
- $db->Execute($query);
- if ($affected_rows = $db->Affected_Rows())
- $logs[$query] = $affected_rows;
+ if ($db->Execute($query))
+ if ($affected_rows = $db->Affected_Rows())
+ $logs[$query] = $affected_rows;
}
Category::regenerateEntireNtree();
From 6e1f99f4b2ad54c2595f5a2b1e06e882e08731cb Mon Sep 17 00:00:00 2001
From: gRoussac
Date: Fri, 19 Apr 2013 10:34:20 +0200
Subject: [PATCH 08/21] [-] BO : Fix bug #PSCFV-8843, no closing span in
category-filter helper
---
.../template/helpers/form/form_category.tpl | 30 ++++++++-----------
classes/helper/Helper.php | 17 +++++------
2 files changed, 19 insertions(+), 28 deletions(-)
diff --git a/admin-dev/themes/default/template/helpers/form/form_category.tpl b/admin-dev/themes/default/template/helpers/form/form_category.tpl
index b2a7f6af6..55452b132 100644
--- a/admin-dev/themes/default/template/helpers/form/form_category.tpl
+++ b/admin-dev/themes/default/template/helpers/form/form_category.tpl
@@ -35,39 +35,33 @@
buildTreeView(use_context);
});
-