Removed duplicate link making same thing
This commit is contained in:
parent
410c8e56c6
commit
be34fcfa8a
@ -760,12 +760,12 @@ function show_contacts($conf,$langs,$db,$object,$backtopage='')
|
|||||||
if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
|
if (! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)
|
||||||
{
|
{
|
||||||
print '<td align="center">';
|
print '<td align="center">';
|
||||||
if (! empty($conf->global->AGENDA_USE_EVENT_TYPE))
|
//if (! empty($conf->global->AGENDA_USE_EVENT_TYPE))
|
||||||
{
|
//{
|
||||||
print '<a class="hideonsmartphone" href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create&actioncode=AC_RDV&contactid='.$obj->rowid.'&socid='.$object->id.'&backtopage='.urlencode($backtopage).'">';
|
// print '<a class="hideonsmartphone" href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create&actioncode=AC_RDV&contactid='.$obj->rowid.'&socid='.$object->id.'&backtopage='.urlencode($backtopage).'">';
|
||||||
print img_object($langs->trans("Rendez-Vous"),"action_rdv");
|
// print img_object($langs->trans("Rendez-Vous"),"action_rdv");
|
||||||
print '</a> ';
|
// print '</a> ';
|
||||||
}
|
//}
|
||||||
print '<a href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create&actioncode=&contactid='.$obj->rowid.'&socid='.$object->id.'&backtopage='.urlencode($backtopage).'">';
|
print '<a href="'.DOL_URL_ROOT.'/comm/action/card.php?action=create&actioncode=&contactid='.$obj->rowid.'&socid='.$object->id.'&backtopage='.urlencode($backtopage).'">';
|
||||||
print img_object($langs->trans("Event"),"action");
|
print img_object($langs->trans("Event"),"action");
|
||||||
print '</a></td>';
|
print '</a></td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user