From 0c2451e4fa4942645a4d43f43088df308cdd433c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 3 Dec 2011 15:30:40 +0100 Subject: [PATCH] Doxygen --- htdocs/compta/facture/class/facture.class.php | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index 954aaf53be1..3986a5d8a78 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -663,10 +663,11 @@ class Facture extends CommonObject /** * Return clicable link of object (with eventually picto) * - * @param withpicto Add picto into link - * @param option Where point the link - * @param max Maxlength of ref - * @return string String with URL + * @param int $withpicto Add picto into link + * @param string $option Where point the link + * @param int $max Maxlength of ref + * @param int $short 1=Return just URL + * @return string String with URL */ function getNomUrl($withpicto=0,$option='',$max=0,$short=0) { @@ -688,9 +689,9 @@ class Facture extends CommonObject if ($this->type == 3) $picto.='d'; // Deposit invoice $label=$langs->trans("ShowInvoice").': '.$this->ref; - if ($this->type == 1) $label=$langs->trans("ShowInvoiceReplace").': '.$this->ref; - if ($this->type == 2) $label=$langs->trans("ShowInvoiceAvoir").': '.$this->ref; - if ($this->type == 3) $label=$langs->trans("ShowInvoiceDeposit").': '.$this->ref; + if ($this->type == 1) $label=$langs->transnoentitiesnoconv("ShowInvoiceReplace").': '.$this->ref; + if ($this->type == 2) $label=$langs->transnoentitiesnoconv("ShowInvoiceAvoir").': '.$this->ref; + if ($this->type == 3) $label=$langs->transnoentitiesnoconv("ShowInvoiceDeposit").': '.$this->ref; if ($withpicto) $result.=($linkstart.img_object($label,$picto).$linkend); if ($withpicto && $withpicto != 2) $result.=' ';