From b5575e6431889878a32ad0508c8cee6fde458c40 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 9 Jun 2004 22:33:09 +0000 Subject: [PATCH] Look: Modifs mineures + Mise au format onglet des plusieurs ecrans de fiches --- htdocs/contrat/fiche.php | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/htdocs/contrat/fiche.php b/htdocs/contrat/fiche.php index 617e9a28036..412361e215a 100644 --- a/htdocs/contrat/fiche.php +++ b/htdocs/contrat/fiche.php @@ -113,7 +113,7 @@ if ($action == 'create') print ''."\n"; print '
Nouveau

'."\n"; - print ''; + print '
'; print ""; print ''; print ''; @@ -155,9 +155,22 @@ else $date_start=''; $date_end=''; - print_fiche_titre('Fiche contrat : '.$contrat->id, $mesg); + print $mesg; + + /* + * Affichage onglets + */ + $h = 0; + + $hselected=$h; + $head[$h][0] = DOL_URL_ROOT.'/soc.php?socid='.$socid; + $head[$h][1] = 'Fiche contrat : '.$contrat->id; + $h++; + + dolibarr_fiche_head($head, $hselected); + - print '
Référence
Libellé
'; + print '
'; print ""; print ''; print ''; @@ -284,6 +297,8 @@ else print "
Service'.($contrat->product->ref).' - '.($contrat->product->label_url).'
"; + print '
'; + print ''; } } @@ -300,7 +315,6 @@ else /* ************************************************************************** */ -print '
'; print '
'; if (! $contrat->enservice)