/[dolibarr]/dolibarr/htdocs/pre.inc.php
ViewVC logotype

Diff of /dolibarr/htdocs/pre.inc.php

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

revision 1.43 by eldy, Mon Sep 19 17:47:36 2005 UTC revision 1.44 by eldy, Mon Sep 19 18:03:49 2005 UTC
# Line 56  function llxHeader($head = "") { Line 56  function llxHeader($head = "") {
56          $menu->add_submenu(DOL_URL_ROOT."/contact/index.php",$langs->trans("Contacts"));          $menu->add_submenu(DOL_URL_ROOT."/contact/index.php",$langs->trans("Contacts"));
57      }      }
58    
59      if ($conf->commercial->enabled  && $user->rights->societe->lire)      if ($conf->commercial->enabled  && $user->rights->commercial->lire)
60      {      {
61          $langs->load("commercial");          $langs->load("commercial");
62          $menu->add(DOL_URL_ROOT."/comm/index.php",$langs->trans("Commercial"));          $menu->add(DOL_URL_ROOT."/comm/index.php",$langs->trans("Commercial"));
# Line 71  function llxHeader($head = "") { Line 71  function llxHeader($head = "") {
71          }          }
72      }      }
73    
74      if ($conf->compta->enabled  && $user->rights->societe->lire)      if ($conf->compta->enabled  && $user->rights->general->lire)
75      {      {
76          $langs->load("compta");          $langs->load("compta");
77          $menu->add(DOL_URL_ROOT."/compta/index.php", $langs->trans("Accountancy"));          $menu->add(DOL_URL_ROOT."/compta/index.php", $langs->trans("Accountancy"));
# Line 168  function llxHeader($head = "") { Line 168  function llxHeader($head = "") {
168          $menu->add(DOL_URL_ROOT."/postnuke/articles/index.php", "Editorial");          $menu->add(DOL_URL_ROOT."/postnuke/articles/index.php", "Editorial");
169      }      }
170    
171      if ($conf->bookmark->enabled && $user->rights->mailing->lire)      if ($conf->bookmark->enabled && $user->rights->bookmark->lire)
172      {      {
173          $menu->add(DOL_URL_ROOT."/bookmarks/liste.php", $langs->trans("Bookmarks"));          $menu->add(DOL_URL_ROOT."/bookmarks/liste.php", $langs->trans("Bookmarks"));
174      }      }

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

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