From 4484567ac7b2ade4e7811859a6f169bee862ec13 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 10 Feb 2007 17:28:32 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Libell=E9=20tronqu=E9s?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/includes/boxes/box_factures.php | 5 ++++- htdocs/includes/boxes/box_factures_fourn.php | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/includes/boxes/box_factures.php b/htdocs/includes/boxes/box_factures.php index 02d2e25d5f0..f816a5f7ab1 100644 --- a/htdocs/includes/boxes/box_factures.php +++ b/htdocs/includes/boxes/box_factures.php @@ -63,7 +63,10 @@ class box_factures extends ModeleBoxes { $facturestatic=new Facture($db); - $this->info_box_head = array('text' => $langs->trans("BoxTitleLastCustomerBills",$max)); + $this->info_box_head = array( + 'text' => $langs->trans("BoxTitleLastCustomerBills",$max), + 'limit'=> strlen($text) + ); if ($user->rights->facture->lire) { diff --git a/htdocs/includes/boxes/box_factures_fourn.php b/htdocs/includes/boxes/box_factures_fourn.php index 79622d867b0..1ee4b85b088 100644 --- a/htdocs/includes/boxes/box_factures_fourn.php +++ b/htdocs/includes/boxes/box_factures_fourn.php @@ -65,7 +65,10 @@ class box_factures_fourn extends ModeleBoxes { include_once(DOL_DOCUMENT_ROOT."/fourn/fournisseur.facture.class.php"); $facturestatic=new FactureFournisseur($db); - $this->info_box_head = array('text' => $langs->trans("BoxTitleLastSupplierBills",$max)); + $this->info_box_head = array( + 'text' => $langs->trans("BoxTitleLastSupplierBills",$max), + 'limit'=> strlen($text) + ); if ($user->rights->fournisseur->facture->lire) {