[-] 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
This commit is contained in:
@@ -1434,10 +1434,17 @@ class BlockLayered extends Module
|
|||||||
<li>'.$this->l('Press "Save this selection" or close the window to save').'</li>
|
<li>'.$this->l('Press "Save this selection" or close the window to save').'</li>
|
||||||
</ol>';
|
</ol>';
|
||||||
|
|
||||||
$trads = array();
|
|
||||||
$selectedCat = array();
|
$selectedCat = array();
|
||||||
foreach (Helper::$translationsKeysForAdminCategorieTree as $key)
|
// Translations are not automatic for the moment ;)
|
||||||
$trads[$key] = $this->l($key);
|
$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 .= Helper::renderAdminCategorieTree($trads, $selectedCat, 'categoryBox');
|
||||||
|
|
||||||
$html .= '
|
$html .= '
|
||||||
|
|||||||
Reference in New Issue
Block a user