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']."