[+] Classes : Helper::renderAdminCategorieTree() have new params "$use_search" to add a input search

This commit is contained in:
vAugagneur
2011-10-04 15:42:56 +00:00
parent 4ec4b1b69c
commit 8165dc91f8
4 changed files with 111 additions and 18 deletions
+3 -2
View File
@@ -3106,9 +3106,10 @@ class AdminProducts extends AdminTab
'Collapse All' => $this->l('Collapse All'),
'Expand All' => $this->l('Expand All'),
'Check All' => $this->l('Check All'),
'Uncheck All' => $this->l('Uncheck All')
'Uncheck All' => $this->l('Uncheck All'),
'search' => $this->l('Search a category')
);
echo Helper::renderAdminCategorieTree($trads, $selectedCat).'
echo Helper::renderAdminCategorieTree($trads, $selectedCat, 'categoryBox', false, true).'
</td>
</tr>
<tr><td colspan="2" style="padding-bottom:5px;"><hr style="width:100%;" /></td></tr>