diff --git a/htdocs/categories/edit.php b/htdocs/categories/edit.php index 3f0f0d91bd6..ab089ffdeed 100644 --- a/htdocs/categories/edit.php +++ b/htdocs/categories/edit.php @@ -86,8 +86,9 @@ print ''; - trans("In"); ?> + trans ("AddIn"); ?> select_all_categories($categorie->id_mere);?> + diff --git a/htdocs/categories/fiche.php b/htdocs/categories/fiche.php index 33a91350d0a..47b1f376caa 100644 --- a/htdocs/categories/fiche.php +++ b/htdocs/categories/fiche.php @@ -125,7 +125,9 @@ if ($user->rights->produit->creer) print ''.$langs->trans("Description").''; print ''; + print ''.$langs->trans ("AddIn").''; print $html->select_all_categories(); + print ''; print ''; print ''; print ''; diff --git a/htdocs/categories/index.php b/htdocs/categories/index.php index 134592b4efa..20beb61372a 100644 --- a/htdocs/categories/index.php +++ b/htdocs/categories/index.php @@ -37,7 +37,7 @@ if (!$user->rights->categorie->lire) accessforbidden(); */ llxHeader("","",$langs->trans("Categories")); - +$html = new Form($db); print_fiche_titre($langs->trans("CategoriesArea")); print ''; @@ -56,18 +56,16 @@ print ''; print ''; print ''; +/* +// faire une rech dans une sous catégorie uniquement print ''; +print ''; +*/ -foreach ($cats as $cat) -{ - print "\n"; -} - -print ''; print '
'.$langs->trans("Search").'
'; print $langs->trans("Name").':
'; -print $langs->trans("SubCatOf").':'; -$cats = $c->get_all_meres (); +print $html->select_all_categories('','subcatof'); +print '
'; print '';