Ajout interface Greffon

This commit is contained in:
Rodolphe Quiedeville 2007-05-30 13:11:13 +00:00
parent f8eb583f85
commit a0936079c4

View File

@ -455,6 +455,20 @@ else
}
$h++;
/*
* Mise en place de l'interface greffon
*/
if($conf->global->TELEPHONIE_CONTRAT_PLUGIN)
{
require_once DOL_DOCUMENT_ROOT.'/telephonie/contrat/modules/'.$conf->global->TELEPHONIE_CONTRAT_PLUGIN.'.php';
$var = $conf->global->TELEPHONIE_CONTRAT_PLUGIN;
$plugin = new $var;
if($plugin->tabs($h))
$h++;
else
dolibarr_syslog("$var::tabs error");
}
$head[$h][0] = DOL_URL_ROOT."/telephonie/contrat/stats.php?id=".$contrat->id;
$head[$h][1] = $langs->trans("Stats");
$h++;