17 |
* |
* |
18 |
* $Id$ |
* $Id$ |
19 |
* $Source$ |
* $Source$ |
|
* |
|
20 |
*/ |
*/ |
21 |
|
|
22 |
/** |
/** |
457 |
/* |
/* |
458 |
* Menu FOURNISSEURS |
* Menu FOURNISSEURS |
459 |
*/ |
*/ |
460 |
if ($mainmenu == 'suppliers') { |
if ($mainmenu == 'suppliers') |
461 |
|
{ |
462 |
|
|
463 |
$langs->load("suppliers"); |
$langs->load("suppliers"); |
464 |
|
|
501 |
/* |
/* |
502 |
* Menu OUTILS |
* Menu OUTILS |
503 |
*/ |
*/ |
504 |
if ($mainmenu == 'tools') { |
if ($mainmenu == 'tools') |
505 |
|
{ |
506 |
|
|
507 |
if ($conf->mailing->enabled) |
if ($conf->mailing->enabled) |
508 |
{ |
{ |
511 |
|
|
512 |
$newmenu->add(DOL_URL_ROOT."/comm/mailing/index.php?leftmenu=mailing", $langs->trans("EMailings"), 0, $user->rights->mailing->lire); |
$newmenu->add(DOL_URL_ROOT."/comm/mailing/index.php?leftmenu=mailing", $langs->trans("EMailings"), 0, $user->rights->mailing->lire); |
513 |
$newmenu->add_submenu(DOL_URL_ROOT."/comm/mailing/fiche.php?leftmenu=mailing&action=create", $langs->trans("NewMailing"), 1, $user->rights->mailing->creer); |
$newmenu->add_submenu(DOL_URL_ROOT."/comm/mailing/fiche.php?leftmenu=mailing&action=create", $langs->trans("NewMailing"), 1, $user->rights->mailing->creer); |
514 |
|
$newmenu->add_submenu(DOL_URL_ROOT."/comm/mailing/liste.php?leftmenu=mailing", $langs->trans("List"), 1, $user->rights->mailing->lire); |
515 |
} |
} |
516 |
|
|
517 |
if ($conf->projet->enabled) |
if ($conf->projet->enabled) |
519 |
$langs->load("projects"); |
$langs->load("projects"); |
520 |
$newmenu->add(DOL_URL_ROOT."/projet/index.php?leftmenu=projects", $langs->trans("Projects"), 0, $user->rights->projet->lire); |
$newmenu->add(DOL_URL_ROOT."/projet/index.php?leftmenu=projects", $langs->trans("Projects"), 0, $user->rights->projet->lire); |
521 |
$newmenu->add_submenu(DOL_URL_ROOT."/comm/clients.php?leftmenu=projects", $langs->trans("NewProject"), 1, $user->rights->projet->creer); |
$newmenu->add_submenu(DOL_URL_ROOT."/comm/clients.php?leftmenu=projects", $langs->trans("NewProject"), 1, $user->rights->projet->creer); |
522 |
|
$newmenu->add_submenu(DOL_URL_ROOT."/projet/liste.php?leftmenu=projects", $langs->trans("List"), 1, $user->rights->projet->lire); |
523 |
} |
} |
524 |
|
|
525 |
$langs->load("other"); |
$langs->load("other"); |
531 |
/* |
/* |
532 |
* Menu MEMBERS |
* Menu MEMBERS |
533 |
*/ |
*/ |
534 |
if ($mainmenu == 'members') { |
if ($mainmenu == 'members') |
535 |
|
{ |
536 |
|
|
537 |
if ($conf->adherent->enabled) |
if ($conf->adherent->enabled) |
538 |
{ |
{ |