diff --git a/admin-dev/ajax_category_list.php b/admin-dev/ajax_category_list.php index 1efd73142..8d7e4df21 100755 --- a/admin-dev/ajax_category_list.php +++ b/admin-dev/ajax_category_list.php @@ -1,6 +1,6 @@ - - - - - - - '.$adminProducts->getL('Catalog:').' - -
- - - - - - - '; - $done = array(); - $index = array(); - - $categoryBox = Tools::getValue('categoryBox'); - if ($categoryBox != '') - { - $categoryBox = @unserialize($categoryBox); - foreach ($categoryBox AS $k => $row) - $index[] = $row; - } - elseif ((int)Tools::getValue('id_product')) - $index = Product::getProductCategories((int)Tools::getValue('id_product')); - $adminProducts->recurseCategoryForInclude((int)(Tools::getValue('id_product')), $index, $categories, $categories[0][1], 1, (int)(Tools::getValue('id_category_default'))); - echo '
'.$adminProducts->getL('ID').''.$adminProducts->getL('Name').'
-

'.$adminProducts->getL('Mark all checkbox(es) of categories in which product is to appear').' *

-
- '; + }); + + + + + + + '; + $done = array(); + $index = array(); + + $categoryBox = Tools::getValue('categoryBox'); + if ($categoryBox != '') + { + $categoryBox = @unserialize($categoryBox); + foreach ($categoryBox AS $k => $row) + $index[] = $row; + } + elseif ((int)Tools::getValue('id_product')) + $index = Product::getProductCategories((int)Tools::getValue('id_product')); + $adminProducts->recurseCategoryForInclude((int)(Tools::getValue('id_product')), $index, $categories, $categories[0][1], 1, (int)(Tools::getValue('id_category_default'))); + echo '
'.$adminProducts->getL('ID').''.$adminProducts->getL('Name').'
+

'.$adminProducts->getL('Mark all checkbox(es) of categories in which product is to appear').' *

+ + ';