diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index dbc1cc31e85491a0293558569967f11c20a63d59..4afe2d7917affa0791739d888bbe315cf3beccf4 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -1297,11 +1297,11 @@ function dol_print_email($email,$cid=0,$socid=0,$addlink=0,$max=64,$showinvalid= * Show Skype link * * @param string $skype Skype to show (only skype, without 'Name of recipient' before) - * @param int $cid Id of contact if known - * @param int $socid Id of third party if known - * @param int $addlink 0=no link to create action - * @param int $max Max number of characters to show - * @return string HTML Link + * @param int $cid Id of contact if known + * @param int $socid Id of third party if known + * @param int $addlink 0=no link to create action + * @param int $max Max number of characters to show + * @return string HTML Link */ function dol_print_skype($skype,$cid=0,$socid=0,$addlink=0,$max=64) { @@ -1316,11 +1316,11 @@ function dol_print_skype($skype,$cid=0,$socid=0,$addlink=0,$max=64) $newskype='<a href="skype:'; $newskype.=dol_trunc($skype,$max); $newskype.='?call" alt="'.$langs->trans("Call").' '.$skype.'" title="'.$langs->trans("Call").' '.$skype.'">'; - $newskype.='<img src="../theme/common/skype_callbutton.png" border="0"> '; - $newskype.='</a> <a href="skype:'; + $newskype.='<img src="../theme/common/skype_callbutton.png" border="0">'; + $newskype.='</a> <a href="skype:'; $newskype.=dol_trunc($skype,$max); $newskype.='?chat" alt="'.$langs->trans("Chat").' '.$skype.'" title="'.$langs->trans("Chat").' '.$skype.'">'; - $newskype.='<img src="../theme/common/skype_chatbutton.png" border="0"> '; + $newskype.='<img src="../theme/common/skype_chatbutton.png" border="0">'; $newskype.='</a>'; if (($cid || $socid) && ! empty($conf->agenda->enabled) && $user->rights->agenda->myactions->create)