Merge pull request #743 from defrance69/patch-17

Update list.php
This commit is contained in:
Laurent Destailleur 2013-03-14 01:33:53 -07:00
commit 758eb7946b

View File

@ -80,8 +80,9 @@ else if ($type == "o")
$titre.=' ('.$langs->trans("OthersNotLinkedToThirdParty").')';
$urlfiche="";
}
if ($view == 'phone') { $text=" (Vue Telephones)"; }
if ($view == 'mail') { $text=" (Vue EMail)"; }
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 == 'recent') { $text=" (Recents)"; }
if (! empty($text)) $titre.= " $text";