2 |
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
/* Copyright (C) 2001-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org> |
3 |
* Copyright (C) 2003 Brian Fraval <brian@fraval.org> |
* Copyright (C) 2003 Brian Fraval <brian@fraval.org> |
4 |
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> |
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net> |
5 |
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com> |
* Copyright (C) 2005 Eric Seigne <eric.seigne@ryxeo.com> |
6 |
|
* Copyright (C) 2005 Regis Houssin <regis.houssin@cap-networks.com> |
7 |
* |
* |
8 |
* This program is free software; you can redistribute it and/or modify |
* This program is free software; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
840 |
print '<a class="butAction" href="'.DOL_URL_ROOT.'/projet/fiche.php?socidp='.$soc->id.'&action=create">'.$langs->trans("AddProject").'</a>'; |
print '<a class="butAction" href="'.DOL_URL_ROOT.'/projet/fiche.php?socidp='.$soc->id.'&action=create">'.$langs->trans("AddProject").'</a>'; |
841 |
} |
} |
842 |
|
|
843 |
if ($user->rights->societe->creer) |
if ($user->rights->societe->contact->creer) |
844 |
{ |
{ |
845 |
print '<a class="butAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">'.$langs->trans("AddContact").'</a>'; |
print '<a class="butAction" href="'.DOL_URL_ROOT.'/contact/fiche.php?socid='.$soc->id.'&action=create">'.$langs->trans("AddContact").'</a>'; |
846 |
} |
} |