From 6629344b3999c4d670740ad7b99decfbb626aa7a Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 24 Jan 2004 16:26:00 +0000 Subject: [PATCH] =?UTF-8?q?Modifications=20esth=E9tiques=20des=20boxes.=20?= =?UTF-8?q?Le=20titre=20des=20boxes=20n'est=20plus=20compress=E9=20sur=20l?= =?UTF-8?q?a=20premi=E8re=20colonne=20mais=20s'=E9tend=20sur=20toutes=20le?= =?UTF-8?q?s=20colonnes.=20On=20laisse=20de=20plus=20le=20navigateur=20r?= =?UTF-8?q?=E9gler=20les=20largeurs=20des=20colonnes.=20En=20effet=20la=20?= =?UTF-8?q?premi=E8re=20colonne=20=E0=2030%=20selon=20les=20boxes=20contie?= =?UTF-8?q?nt=20du=20long=20text=20alors=20que=20la=20deuxieme=20du=20cour?= =?UTF-8?q?s=20texte.=20Le=20ratio=2030%-70%=20g=E9n=E8re=20alors=20des=20?= =?UTF-8?q?retours=20=E0=20la=20ligne=20non=20esth=E9tiques.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/boxes.php | 2 +- htdocs/includes/boxes/box_commandes.php | 2 -- htdocs/includes/boxes/box_factures.php | 4 +--- htdocs/includes/boxes/box_factures_imp.php | 2 -- htdocs/includes/boxes/box_produits.php | 2 +- htdocs/includes/boxes/box_propales.php | 4 +--- htdocs/includes/boxes/box_services_vendus.php | 2 +- 7 files changed, 5 insertions(+), 13 deletions(-) diff --git a/htdocs/boxes.php b/htdocs/boxes.php index 229aa88fbcb..5a4b0166cbc 100644 --- a/htdocs/boxes.php +++ b/htdocs/boxes.php @@ -31,7 +31,7 @@ class infoBox print ''; - print '"; + print '"; for ($i=0, $n=sizeof($contents); $i<$n; $i++) { diff --git a/htdocs/includes/boxes/box_commandes.php b/htdocs/includes/boxes/box_commandes.php index 007e4757c52..2ccda76d09b 100644 --- a/htdocs/includes/boxes/box_commandes.php +++ b/htdocs/includes/boxes/box_commandes.php @@ -50,12 +50,10 @@ if ($user->rights->commande->lire) $info_box_contents[$i][0] = array('align' => 'left', 'text' => $objp->ref, - 'width' => '30%', 'url' => DOL_URL_ROOT."/commande/fiche.php?id=".$objp->rowid); $info_box_contents[$i][1] = array('align' => 'left', 'text' => $objp->nom, - 'width' => '70%', 'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->idp); $i++; } diff --git a/htdocs/includes/boxes/box_factures.php b/htdocs/includes/boxes/box_factures.php index 897dd443b8d..c72a7b470bb 100644 --- a/htdocs/includes/boxes/box_factures.php +++ b/htdocs/includes/boxes/box_factures.php @@ -24,7 +24,7 @@ if ($user->rights->facture->lire) { $info_box_head = array(); - $info_box_head[] = array('text' => "Les 5 dernières factures"); + $info_box_head[] = array('text' => "Les 5 dernières factures enregistrées"); $info_box_contents = array(); @@ -51,12 +51,10 @@ if ($user->rights->facture->lire) $info_box_contents[$i][0] = array('align' => 'left', 'text' => $objp->facnumber, - 'width' => '30%', 'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid); $info_box_contents[$i][1] = array('align' => 'left', 'text' => $objp->nom, - 'width' => '70%', 'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->idp); $i++; } diff --git a/htdocs/includes/boxes/box_factures_imp.php b/htdocs/includes/boxes/box_factures_imp.php index 4bb78d89075..cc87723c012 100644 --- a/htdocs/includes/boxes/box_factures_imp.php +++ b/htdocs/includes/boxes/box_factures_imp.php @@ -49,12 +49,10 @@ if ($user->rights->facture->lire) $info_box_contents[$i][0] = array('align' => 'left', 'text' => $objp->facnumber, - 'width' => '30%', 'url' => DOL_URL_ROOT."/compta/facture.php?facid=".$objp->facid); $info_box_contents[$i][1] = array('align' => 'left', 'text' => $objp->nom, - 'width' => '70%', 'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->idp); $i++; diff --git a/htdocs/includes/boxes/box_produits.php b/htdocs/includes/boxes/box_produits.php index e61af17afc7..adea0cfba47 100644 --- a/htdocs/includes/boxes/box_produits.php +++ b/htdocs/includes/boxes/box_produits.php @@ -22,7 +22,7 @@ if ($user->rights->produit->lire) { $info_box_head = array(); - $info_box_head[] = array('text' => "Les 5 derniers produits"); + $info_box_head[] = array('text' => "Les 5 derniers produits enregistrés"); $info_box_contents = array(); diff --git a/htdocs/includes/boxes/box_propales.php b/htdocs/includes/boxes/box_propales.php index 65eb0d41a83..a6d78757180 100644 --- a/htdocs/includes/boxes/box_propales.php +++ b/htdocs/includes/boxes/box_propales.php @@ -50,12 +50,10 @@ if ($user->rights->propale->lire) $info_box_contents[$i][0] = array('align' => 'left', 'text' => $objp->ref, - 'width' => '30%', 'url' => DOL_URL_ROOT."/comm/propal.php?propalid=".$objp->rowid); - $info_box_contents[$i][1] = array('align' => 'left', + $info_box_contents[$i][1] = array('align' => 'center', 'text' => $objp->nom, - 'width' => '70%', 'url' => DOL_URL_ROOT."/comm/fiche.php?socid=".$objp->idp); $i++; } diff --git a/htdocs/includes/boxes/box_services_vendus.php b/htdocs/includes/boxes/box_services_vendus.php index efd61dac608..c16ae30b678 100644 --- a/htdocs/includes/boxes/box_services_vendus.php +++ b/htdocs/includes/boxes/box_services_vendus.php @@ -21,7 +21,7 @@ */ $info_box_head = array(); -$info_box_head[] = array('text' => "Les 5 derniers services vendus"); +$info_box_head[] = array('text' => "Les 5 derniers produits/services contractés"); $info_box_contents = array();
'.$head[0]['text']."
'.$head[0]['text']."