diff --git a/htdocs/contrat/class/contrat.class.php b/htdocs/contrat/class/contrat.class.php index ac5f8146a8d..b555917e2f3 100644 --- a/htdocs/contrat/class/contrat.class.php +++ b/htdocs/contrat/class/contrat.class.php @@ -1968,7 +1968,7 @@ class Contrat extends CommonObject $label = ''; if ($user->rights->contrat->lire) { - $label = ''.$langs->trans("ShowContract").''; + $label = img_picto('', $this->picto).' '.$langs->trans("Contract").''; $label .= '
'.$langs->trans('Ref').': '.($this->ref ? $this->ref : $this->id); $label .= '
'.$langs->trans('RefCustomer').': '.($this->ref_customer ? $this->ref_customer : $this->ref_client); $label .= '
'.$langs->trans('RefSupplier').': '.$this->ref_supplier; diff --git a/htdocs/product/class/product.class.php b/htdocs/product/class/product.class.php index 1753cf7e8df..436dc185479 100644 --- a/htdocs/product/class/product.class.php +++ b/htdocs/product/class/product.class.php @@ -4280,9 +4280,9 @@ class Product extends CommonObject if ($maxlength) { $newref = dol_trunc($newref, $maxlength, 'middle'); } - if ($this->type == Product::TYPE_PRODUCT) { $label = ''.$langs->trans("Product").''; + if ($this->type == Product::TYPE_PRODUCT) { $label = img_picto('', 'product').' '.$langs->trans("Product").''; } - if ($this->type == Product::TYPE_SERVICE) { $label = ''.$langs->trans("Service").''; + if ($this->type == Product::TYPE_SERVICE) { $label = img_picto('', 'service').' '.$langs->trans("Service").''; } if (!empty($this->ref)) { $label .= '
'.$langs->trans('ProductRef').': '.$this->ref; diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index b6d57191dce..5a4b7c77448 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -2360,42 +2360,42 @@ class Societe extends CommonObject if ($option == 'customer' || $option == 'compta' || $option == 'category') { - $label .= ''.$langs->trans("Customer").''; + $label .= img_picto('', $this->picto).' '.$langs->trans("Customer").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("Prospect").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("Supplier").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = ''; + $label .= img_picto('', $this->picto).' '.$langs->trans("ThirdParty").''; $linkstart = '