From f7c7b6350f8e6eb1864abe2db31ac697c5bc7145 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 26 Sep 2011 16:31:36 +0000 Subject: [PATCH] [-] MO : fixed FATAL error on layered navigation module git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8781 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/blocklayered/blocklayered.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/blocklayered/blocklayered.php b/modules/blocklayered/blocklayered.php index a843fe1e3..98d5d77e6 100644 --- a/modules/blocklayered/blocklayered.php +++ b/modules/blocklayered/blocklayered.php @@ -1434,10 +1434,17 @@ class BlockLayered extends Module
  • '.$this->l('Press "Save this selection" or close the window to save').'
  • '; - $trads = array(); $selectedCat = array(); - foreach (Helper::$translationsKeysForAdminCategorieTree as $key) - $trads[$key] = $this->l($key); + // Translations are not automatic for the moment ;) + $trads = array( + 'Home' => $this->l('Home'), + 'selected' => $this->l('selected'), + 'Collapse All' => $this->l('Collapse All'), + 'Expand All' => $this->l('Expand All'), + 'Check All' => $this->l('Check All'), + 'Uncheck All' => $this->l('Uncheck All'), + 'search' => $this->l('Search a category') + ); $html .= Helper::renderAdminCategorieTree($trads, $selectedCat, 'categoryBox'); $html .= '