diff --git a/htdocs/comm/prospect/recap-prospect.php b/htdocs/comm/prospect/recap-prospect.php index 32347362e09..a478ce54ecd 100644 --- a/htdocs/comm/prospect/recap-prospect.php +++ b/htdocs/comm/prospect/recap-prospect.php @@ -27,6 +27,7 @@ require_once(DOL_DOCUMENT_ROOT."/core/lib/company.lib.php"); require_once(DOL_DOCUMENT_ROOT."/compta/facture/class/facture.class.php"); $langs->load("companies"); +$langs->load('other'); if ($conf->facture->enabled) $langs->load("bills"); // Security check diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index f58b1e0db19..d3ecab9ee48 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -2048,22 +2048,25 @@ function img_mime($file, $alt = '') } -/** +/** * Show phone logo. * Use img_picto instead. - * - * @param string $alt Text to show on alt image - * @param int $option Option + * + * @param string $alt Text to show on alt image + * @param int $option Option * @return string Return img tag - * @deprecated - */ -function img_phone($alt = "default",$option=0) -{ - global $conf,$langs; - if ($alt=="default") $alt=$langs->trans("Call"); - $img='call_out'; - if ($option == 1) $img='call'; - return ''.dol_escape_htmltag($alt).''; + * @deprecated + */ +function img_phone($alt = 'default', $option = 0) +{ + global $conf,$langs; + + if ($alt == 'default') $alt = $langs->trans('Call'); + + if ($option == 1) $img = 'call'; + else $img = 'call_out'; + + return img_picto($alt, $img); } diff --git a/htdocs/ecm/index.php b/htdocs/ecm/index.php index 42c64adf2a9..290e3610625 100644 --- a/htdocs/ecm/index.php +++ b/htdocs/ecm/index.php @@ -361,7 +361,7 @@ $moreheadjs=empty($conf->use_javascript_ajax)?"":" }); "; -llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECM"),'','','','',$morejs,'',0,0); +llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECMArea"),'','','','',$morejs,'',0,0); // Add sections to manage