Ajout icone de click to dial
This commit is contained in:
parent
eea6276212
commit
eb83d59225
@ -423,7 +423,8 @@ if ($_socid > 0)
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if ($action == 'changevalue') {
|
if ($action == 'changevalue')
|
||||||
|
{
|
||||||
print "<hr noshade>";
|
print "<hr noshade>";
|
||||||
print "<form action=\"index.php?socid=$objsoc->id\" method=\"post\">";
|
print "<form action=\"index.php?socid=$objsoc->id\" method=\"post\">";
|
||||||
print "<input type=\"hidden\" name=\"action\" value=\"cabrecrut\">";
|
print "<input type=\"hidden\" name=\"action\" value=\"cabrecrut\">";
|
||||||
@ -435,7 +436,9 @@ if ($_socid > 0)
|
|||||||
print "</select>";
|
print "</select>";
|
||||||
print "<input type=\"submit\" value=\"".$langs->trans("Valid")."\">";
|
print "<input type=\"submit\" value=\"".$langs->trans("Valid")."\">";
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
} else {
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
* Liste des contacts
|
* Liste des contacts
|
||||||
@ -448,7 +451,7 @@ if ($_socid > 0)
|
|||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
print '<tr class="liste_titre"><td>'.$langs->trans("Firstname").' '.$langs->trans("Lastname").'</td>';
|
print '<tr class="liste_titre"><td>'.$langs->trans("Firstname").' '.$langs->trans("Lastname").'</td>';
|
||||||
print '<td>'.$langs->trans("Poste").'</td><td>'.$langs->trans("Tel").'</td>';
|
print '<td>'.$langs->trans("Poste").'</td><td colspan="2">'.$langs->trans("Tel").'</td>';
|
||||||
print '<td>'.$langs->trans("Fax").'</td><td>'.$langs->trans("EMail").'</td>';
|
print '<td>'.$langs->trans("Fax").'</td><td>'.$langs->trans("EMail").'</td>';
|
||||||
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$objsoc->id."&action=create\">".$langs->trans("AddContact")."</a></td>";
|
print "<td align=\"center\"><a href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$objsoc->id."&action=create\">".$langs->trans("AddContact")."</a></td>";
|
||||||
print '<td> </td>';
|
print '<td> </td>';
|
||||||
@ -474,7 +477,19 @@ if ($_socid > 0)
|
|||||||
}
|
}
|
||||||
print "</td>";
|
print "</td>";
|
||||||
print "<td>$obj->poste </td>";
|
print "<td>$obj->poste </td>";
|
||||||
print '<td><a href="action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.dolibarr_print_phone($obj->phone).'</a> </td>';
|
print '<td>';
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Lien click to dial
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (strlen($obj->phone) && $user->clicktodial_enabled == 1)
|
||||||
|
{
|
||||||
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'&call='.$obj->phone.'">';
|
||||||
|
print img_phone_out("Appel émis") ;
|
||||||
|
}
|
||||||
|
print '</td><td>';
|
||||||
|
print '<a href="action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.dolibarr_print_phone($obj->phone).'</a> </td>';
|
||||||
print '<td><a href="action/fiche.php?action=create&actionid=2&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.dolibarr_print_phone($obj->fax).'</a> </td>';
|
print '<td><a href="action/fiche.php?action=create&actionid=2&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.dolibarr_print_phone($obj->fax).'</a> </td>';
|
||||||
print '<td><a href="action/fiche.php?action=create&actionid=4&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.$obj->email.'</a> </td>';
|
print '<td><a href="action/fiche.php?action=create&actionid=4&contactid='.$obj->idp.'&socid='.$objsoc->id.'">'.$obj->email.'</a> </td>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user