/[dolibarr]/dolibarr/htdocs/compta/fiche.php
ViewVC logotype

Diff of /dolibarr/htdocs/compta/fiche.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.77 by eldy, Fri Nov 11 22:36:57 2005 UTC revision 1.78 by hregis, Fri Dec 2 12:44:17 2005 UTC
# Line 427  if ($socid > 0) Line 427  if ($socid > 0)
427          }          }
428        }        }
429    
430      print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&amp;action=create\">".$langs->trans("AddContact")."</a>";                  if ($user->rights->societe->contact->creer)
431        {
432            print "<a class=\"tabAction\" href=\"".DOL_URL_ROOT.'/contact/fiche.php?socid='.$socid."&amp;action=create\">".$langs->trans("AddContact")."</a>";
433        }
434    
435      print '</div>';      print '</div>';
436      print "<br>\n";      print "<br>\n";
# Line 497  if ($socid > 0) Line 500  if ($socid > 0)
500              print '<td><a href="../comm/action/fiche.php?action=create&actionid=4&contactid='.$obj->idp.'&socid='.$societe->id.'">'.$obj->email.'</a>&nbsp;</td>';              print '<td><a href="../comm/action/fiche.php?action=create&actionid=4&contactid='.$obj->idp.'&socid='.$societe->id.'">'.$obj->email.'</a>&nbsp;</td>';
501    
502                  print '<td align="center">';                  print '<td align="center">';
503                  print "<a href=\"../contact/fiche.php?action=edit&amp;id=$obj->idp\">";                  
504                    if ($user->rights->societe->contact->creer)
505                            {
506                            print "<a href=\"../contact/fiche.php?action=edit&amp;id=$obj->idp\">";
507                    }
508                    
509                  print img_edit();                  print img_edit();
510                  print '</a></td>';                  print '</a></td>';
511    

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26