Merge branch 'develop' of https://github.com/Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
5dc6f6aec8
@ -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
|
||||
|
||||
@ -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 '<img src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/'.$img.'.png" border="0" alt="'.dol_escape_htmltag($alt).'" title="'.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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -361,7 +361,7 @@ $moreheadjs=empty($conf->use_javascript_ajax)?"":"
|
||||
});
|
||||
</script>";
|
||||
|
||||
llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECM"),'','','','',$morejs,'',0,0);
|
||||
llxHeader($moreheadcss.$moreheadjs,$langs->trans("ECMArea"),'','','','',$morejs,'',0,0);
|
||||
|
||||
|
||||
// Add sections to manage
|
||||
|
||||
Loading…
Reference in New Issue
Block a user