From a278fd66d0f4be1becb43db1fc56833926177e1c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@destailleur.fr> Date: Sat, 21 May 2016 14:51:33 +0200 Subject: [PATCH] Fix color of link for categories --- htdocs/categories/photos.php | 6 +++--- htdocs/categories/traduction.php | 6 +++--- htdocs/categories/viewcat.php | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) 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 '<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 9d88098e56b..a506726e28f 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 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 '<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> >> '; -- GitLab