From c0cbd0bf570e9ae2b7d613a9be3c0a55199691bb Mon Sep 17 00:00:00 2001 From: lLefevre Date: Wed, 28 Sep 2011 09:47:33 +0000 Subject: [PATCH] //fix correction norm and language in AdminGroups --- admin-dev/tabs/AdminGroups.php | 38 +++++++++++++++++++--------------- classes/Category.php | 8 +++---- translations/fr/admin.php | 2 +- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/admin-dev/tabs/AdminGroups.php b/admin-dev/tabs/AdminGroups.php index b0fbb4168..75045f5e0 100644 --- a/admin-dev/tabs/AdminGroups.php +++ b/admin-dev/tabs/AdminGroups.php @@ -101,7 +101,7 @@ class AdminGroups extends AdminTab '.$this->l('Value').' '.$this->l('Action').' '; - foreach ($groupReductions AS $groupReduction) + foreach ($groupReductions as $groupReduction) echo ' '.Tools::htmlentitiesUTF8($groupReduction['category_name']).' @@ -143,11 +143,11 @@ class AdminGroups extends AdminTab
'.$this->l('New group discount').' -
'.$this->l('Beware the reduction applied to a category does not stack with the overall reduction but replaces. The group is automatically added to the category.').'
+
'.$this->l('Beware the reduction applied to a category does not stack with the overall reduction but replaces it. The group is automatically added to the category.').'
*

'.$this->l('Only products that have this category as default category will be affected').'.

@@ -215,21 +215,21 @@ class AdminGroups extends AdminTab if ($customerPageIndex > 1) { echo '  '; - echo '  '; + echo '  '; } - echo 'Page '; + for ($i = 1; $i <= $totalPages; $i++) echo ''; - echo ' / '.$totalPages; + echo ' / '.$totalPages; if ($customerPageIndex < $totalPages) { - echo ' '; + echo ' '; echo ' '; } - echo ' | Display + echo ' | Display