From 66fad890fc86e4339094007b6d5a49ffe7b26a96 Mon Sep 17 00:00:00 2001 From: aFolletete Date: Wed, 9 Nov 2011 15:21:24 +0000 Subject: [PATCH] // fix norm ;) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10000 b9a71923-0436-4b27-9f14-aed3839534dd --- admin-dev/ajax_category_list.php | 106 +++++++++++++++---------------- 1 file changed, 53 insertions(+), 53 deletions(-) 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').' *

+ + ';