diff --git a/htdocs/categories/photos.php b/htdocs/categories/photos.php index 72c184af1131ce62925a97fc2162097139af3907..bfb4f60a32a6216db11147abe69fdc075c2b8db2 100644 --- a/htdocs/categories/photos.php +++ b/htdocs/categories/photos.php @@ -117,8 +117,8 @@ if ($object->id) print '<table class="border" width="100%">'; // Path of category - print '<tr><td width="20%" class="notopnoleft">'; - $ways = $object->print_all_ways(); + print '<tr><td class="titlefield notopnoleft">'; + $ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").'</td><td>'; print '<a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("Root").'</a> >> '; foreach ($ways as $way) @@ -128,7 +128,7 @@ if ($object->id) print '</td></tr>'; // Description - print '<tr><td width="20%" class="notopnoleft">'; + print '<tr><td class="notopnoleft">'; print $langs->trans("Description").'</td><td>'; print dol_htmlentitiesbr($object->description); print '</td></tr>'; diff --git a/htdocs/categories/traduction.php b/htdocs/categories/traduction.php index 9d88098e56bc6f393e83c94fb37571af1dd14d4b..a506726e28f0fc1a0de15060dda5c9f868200233 100644 --- a/htdocs/categories/traduction.php +++ b/htdocs/categories/traduction.php @@ -159,8 +159,8 @@ print '<table class="border" width="100%">'; // Reference print '<tr>'; -print '<td width="20%" class="notopnoleft">'; -$ways = $object->print_all_ways(); +print '<td class="titlefield notopnoleft">'; +$ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").'</td><td>'; print '<a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("Root").'</a> >> '; foreach ($ways as $way) @@ -171,7 +171,7 @@ print '</td>'; print '</tr>'; // Description -print '<tr><td width="20%" class="notopnoleft">'; +print '<tr><td class="notopnoleft">'; print $langs->trans("Description").'</td><td>'; print dol_htmlentitiesbr($object->description); print '</td></tr>'; diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index 284add47addfd6bd1735db16be2ede7213897e7b..b9beb792ba68c4f94ebf45ea35e3b04467f71281 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 '<table border="0" width="100%" class="border">'; +print '<table width="100%" class="border">'; // Path of category -print '<tr><td width="20%" class="notopnoleft">'; +print '<tr><td class="titlefield notopnoleft">'; $ways = $object->print_all_ways(" >> ", '', 1); print $langs->trans("Ref").'</td><td>'; print '<a href="'.DOL_URL_ROOT.'/categories/index.php?leftmenu=cat&type='.$type.'">'.$langs->trans("Root").'</a> >> ';