diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index 72c184af113..bfb4f60a32a 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -117,8 +117,8 @@ if ($object->id) print ''; // Path of category - print ''; // Description - print ''; diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index 9d88098e56b..a506726e28f 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -159,8 +159,8 @@ print '
'; - $ways = $object->print_all_ways(); + print '
'; + $ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").''; print ''.$langs->trans("Root").' >> '; foreach ($ways as $way) @@ -128,7 +128,7 @@ if ($object->id) print '
'; + print '
'; print $langs->trans("Description").''; print dol_htmlentitiesbr($object->description); print '
'; // Reference print ''; -print ''; print ''; // Description -print ''; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 284add47add..b9beb792ba6 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -193,10 +193,10 @@ if ($action == 'delete') print $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id.'&type='.$type,$langs->trans('DeleteCategory'),$langs->trans('ConfirmDeleteCategory'),'confirm_delete'); } -print '
'; -$ways = $object->print_all_ways(); +print ''; +$ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").''; print ''.$langs->trans("Root").' >> '; foreach ($ways as $way) @@ -171,7 +171,7 @@ print '
'; +print '
'; print $langs->trans("Description").''; print dol_htmlentitiesbr($object->description); print '
'; +print '
'; // Path of category -print '
'; +print '
'; $ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").''; print ''.$langs->trans("Root").' >> ';