New: Ajout d'un visuel spcifique pour les liens "contacts" et "socits".
This commit is contained in:
parent
f6fe063c58
commit
2ca3e3dd0b
@ -227,7 +227,7 @@ if ($socid > 0)
|
||||
print '<tr><td>'.$langs->trans("Phone").'</td><td>'.$societe->tel.' </td><td>Fax</td><td>'.$societe->fax.' </td></tr>';
|
||||
print '<tr><td>'.$langs->trans("Web")."</td><td colspan=\"3\"><a href=\"http://$societe->url\">$societe->url</a> </td></tr>";
|
||||
|
||||
print '<tr><td>'.$langs->trans("ProfIdSiren").'</td><td><a href="http://www.societe.com/cgi-bin/recherche?rncs='.$societe->siren.'">'.$societe->siren.'</a> </td>';
|
||||
print '<tr><td nowrap>'.$langs->trans("ProfIdSiren").'</td><td><a href="http://www.societe.com/cgi-bin/recherche?rncs='.$societe->siren.'">'.$societe->siren.'</a> </td>';
|
||||
print '<td>'.$langs->trans("Prefix").'</td><td>';
|
||||
if ($societe->prefix_comm)
|
||||
{
|
||||
@ -422,15 +422,15 @@ if ($socid > 0)
|
||||
|
||||
print '<td>';
|
||||
print '<a href="'.DOL_URL_ROOT.'/contact/fiche.php?id='.$obj->idp.'">';
|
||||
print img_file();
|
||||
print img_object($langs->trans("Show"),"contact");
|
||||
print ' '.$obj->firstname.' '. $obj->name.'</a> ';
|
||||
|
||||
if ($obj->note)
|
||||
if (trim($obj->note))
|
||||
{
|
||||
print "<br>".nl2br($obj->note);
|
||||
print '<br>'.nl2br(trim($obj->note));
|
||||
}
|
||||
print "</td>";
|
||||
print "<td>$obj->poste </td>";
|
||||
print '</td>';
|
||||
print '<td>'.$obj->poste.' </td>';
|
||||
print '<td><a href="../comm/action/fiche.php?action=create&actionid=1&contactid='.$obj->idp.'&socid='.$societe->id.'">'.$obj->phone.'</a> </td>';
|
||||
print '<td><a href="../comm/action/fiche.php?action=create&actionid=2&contactid='.$obj->idp.'&socid='.$societe->id.'">'.$obj->fax.'</a> </td>';
|
||||
print '<td><a href="../comm/action/fiche.php?action=create&actionid=4&contactid='.$obj->idp.'&socid='.$societe->id.'">'.$obj->email.'</a> </td>';
|
||||
@ -441,7 +441,7 @@ if ($socid > 0)
|
||||
print '</a></td>';
|
||||
|
||||
print '<td align="center"><a href="../comm/action/fiche.php?action=create&actionid=5&contactid='.$obj->idp.'&socid='.$societe->id.'">';
|
||||
print img_actions();
|
||||
print img_object($langs->trans("Rendez-Vous"),"action");
|
||||
print '</a></td>';
|
||||
|
||||
print "</tr>\n";
|
||||
|
||||
@ -33,6 +33,7 @@
|
||||
require("./pre.inc.php");
|
||||
|
||||
$langs->load("companies");
|
||||
$langs->load("suppliers");
|
||||
|
||||
|
||||
/*
|
||||
@ -78,7 +79,7 @@ if ($type == "c") { $text.=$langs->trans("Customers")." "; }
|
||||
if ($view == 'phone') { $text="(Vue Téléphones)"; }
|
||||
if ($view == 'mail') { $text="(Vue EMail)"; }
|
||||
if ($view == 'recent') { $text="(Récents)"; }
|
||||
$titre = "Liste des contacts $text";
|
||||
$titre = $langs->trans("ListOfContacts").": $text";
|
||||
|
||||
if ($_POST["button_removefilter"] == $langs->trans("RemoveFilter")) {
|
||||
$search_nom="";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user