From 65f68c328357191920d6bbe4ae7bc478ebf68987 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 13 Mar 2010 21:27:33 +0000 Subject: [PATCH] Remove old fiel hidden category --- htdocs/categories/edit.php | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index ea38852497a..9b18bcb0f03 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -149,30 +149,13 @@ else } print ''; +print ''; +print '
'; -if ($_GET['type'] == 0 && $conf->global->CATEGORY_ASSIGNED_TO_A_CUSTOMER && !$categorie->id_mere) -{ - print ''.$langs->trans ("AssignedToCustomer").''; - print $html->select_societes($categorie->socid,'socid','s.client IN (1, 3) AND s.fournisseur = 0',1); - print ''; - print ''; - print ''; -} -else -{ - print ''.$langs->trans("AddIn").''; - print $html->select_all_categories($categorie->type,$categorie->id_mere); - print ''; +print '
'; +print '
'; - print ''.$langs->trans("ContentsVisibleByAll").''; - print $html->selectyesno("visible",$categorie->visible,1); - print ''; - print ''; -} - -print ''; -print ''; -print ''; +print ''; print '';