From df649201a47817c46c0edf3498d4e18dd7350553 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Fri, 14 Jan 2005 14:15:01 +0000 Subject: [PATCH] Ajout fonction clicktodial --- htdocs/comm/prospect/fiche.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/comm/prospect/fiche.php b/htdocs/comm/prospect/fiche.php index ef740c74491..bc183b93db9 100644 --- a/htdocs/comm/prospect/fiche.php +++ b/htdocs/comm/prospect/fiche.php @@ -246,6 +246,11 @@ if ($socid > 0) * Liste des contacts * */ + if (defined("MAIN_MODULE_CLICKTODIAL") && MAIN_MODULE_CLICKTODIAL==1) + { + $user->fetch_clicktodial(); // lecture des infos de clicktodial + } + print ''; print ''; @@ -279,7 +284,7 @@ if ($socid > 0) * Lien click to dial */ - if (strlen($obj->phone)) + if (strlen($obj->phone) && $user->clicktodial_enabled == 1) { print ''; print img_phone_out("Appel émis") ;
'.$langs->trans("Firstname").' '.$langs->trans("Name").'