Fix: Bad link

This commit is contained in:
Laurent Destailleur 2013-03-14 09:37:17 +01:00
parent 758eb7946b
commit 2a50d23d45

View File

@ -80,9 +80,8 @@ else if ($type == "o")
$titre.=' ('.$langs->trans("OthersNotLinkedToThirdParty").')';
$urlfiche="";
}
if ($view == '') { $text=" <a href='".$_SERVER["PHP_SELF"]."?view=phone'>(Vue Telephones)</a> <a href='".$_SERVER["PHP_SELF"]."?view=mail'>(Vue EMail)</a>"; }
if ($view == 'phone') { $text=" <b>(Vue Telephones)</b> <a href='".$_SERVER["PHP_SELF"]."?view=mail'>(Vue EMail)</a>"; }
if ($view == 'mail') { $text=" <a href='".$_SERVER["PHP_SELF"]."?view=phone'>(Vue Telephones)</a> <b>(Vue EMail)</b>"; }
if ($view == 'phone') { $text=" <b>(Vue Telephones)</b> <a href='".$_SERVER["PHP_SELF"]."?view=mail".($type?'&type='.$type:"")."'>(Vue EMail)</a>"; }
if ($view == '' || $view == 'mail') { $text=" <a href='".$_SERVER["PHP_SELF"]."?view=phone".($type?'&type='.$type:"")."'>(Vue Telephones)</a> <b>(Vue EMail)</b>"; }
if ($view == 'recent') { $text=" (Recents)"; }
if (! empty($text)) $titre.= " $text";