From 21e753d510f7946f85de4f659e040e5e7f11d0e1 Mon Sep 17 00:00:00 2001 From: aspangaro <alexandre.spangaro@gmail.com> Date: Wed, 3 Aug 2016 08:00:30 +0200 Subject: [PATCH] Uniformize presentation on intervention --- htdocs/fichinter/card.php | 2 +- htdocs/fichinter/contact.php | 2 +- htdocs/fichinter/document.php | 2 +- htdocs/fichinter/note.php | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index 3f266f71de4..a01ba2f1180 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -1154,7 +1154,7 @@ else if ($id > 0 || ! empty($ref)) $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>'; // Ref - print '<tr><td width="25%">'.$langs->trans("Ref").'</td><td colspan="3">'; + print '<tr><td class="titlefield">'.$langs->trans("Ref").'</td><td colspan="3">'; print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '</td></tr>'; diff --git a/htdocs/fichinter/contact.php b/htdocs/fichinter/contact.php index b64a16f91ba..473445049f7 100644 --- a/htdocs/fichinter/contact.php +++ b/htdocs/fichinter/contact.php @@ -128,7 +128,7 @@ if ($id > 0 || ! empty($ref)) $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>'; // Ref - print '<tr><td width="25%">'.$langs->trans("Ref").'</td><td colspan="3">'; + print '<tr><td class="titlefield">'.$langs->trans("Ref").'</td><td colspan="3">'; print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print "</td></tr>"; diff --git a/htdocs/fichinter/document.php b/htdocs/fichinter/document.php index aca31d4e7c2..59a3bbf3c5d 100644 --- a/htdocs/fichinter/document.php +++ b/htdocs/fichinter/document.php @@ -106,7 +106,7 @@ if ($object->id) $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>'; // Ref - print '<tr><td width="30%">'.$langs->trans("Ref").'</td><td>'; + print '<tr><td class="titlefield">'.$langs->trans("Ref").'</td><td>'; print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '</td></tr>'; diff --git a/htdocs/fichinter/note.php b/htdocs/fichinter/note.php index 3c5fce7caa2..c672d48cb71 100644 --- a/htdocs/fichinter/note.php +++ b/htdocs/fichinter/note.php @@ -54,7 +54,7 @@ include DOL_DOCUMENT_ROOT.'/core/actions_setnotes.inc.php'; // Must be include, * View */ -llxHeader(); +llxHeader('',$langs->trans("Intervention")); $form = new Form($db); @@ -70,12 +70,12 @@ if ($id > 0 || ! empty($ref)) $linkback = '<a href="'.DOL_URL_ROOT.'/fichinter/list.php'.(! empty($socid)?'?socid='.$socid:'').'">'.$langs->trans("BackToList").'</a>'; - print '<tr><td width="25%">'.$langs->trans('Ref').'</td><td colspan="3">'; + print '<tr><td class="titlefield">'.$langs->trans('Ref').'</td><td>'; print $form->showrefnav($object, 'ref', $linkback, 1, 'ref', 'ref'); print '</td></tr>'; // Company - print '<tr><td>'.$langs->trans('Company').'</td><td colspan="3">'.$societe->getNomUrl(1).'</td></tr>'; + print '<tr><td>'.$langs->trans('Company').'</td><td>'.$societe->getNomUrl(1).'</td></tr>'; print "</table>"; -- GitLab