*** empty log message ***

This commit is contained in:
Rodolphe Quiedeville 2002-12-19 23:13:48 +00:00
parent 810402ae4e
commit 5f5719d768
3 changed files with 16 additions and 10 deletions

View File

@ -32,6 +32,10 @@ class Conf {
$this->db = new DbConf();
$this->societe = 1;
$this->commercial = 0;
$this->voyage = 0;
$this->propal = new PropalConf();
$this->facture = new FactureConf();
$this->fichinter = new FicheInterConf();
@ -41,15 +45,11 @@ class Conf {
$this->adherent = new AdherentConf();
$this->domaine = new domaineConf();
$this->commercial = 0;
$this->readonly = 0;
$this->years = 2001;
$this->css = "theme/dolibarr/dolibarr.css";
$this->voyage = 0;
}
}

View File

@ -86,11 +86,14 @@ function top_menu($head) {
print '<TD width="15%" class="menu" align="center"><A class="menu" href="/">Accueil</A></TD>';
print '<TD width="15%" class="menu" align="center">';
if ($user->comm > 0) {
print '<A class="menu" href="/comm/">Commercial</A></TD>';
} else {
print '-';
}
if ($user->comm > 0 && $conf->commercial )
{
print '<A class="menu" href="/comm/">Commercial</A></TD>';
}
else
{
print '-';
}
print '<TD width="15%" class="menu" align="center">';
if ($user->compta > 0)

View File

@ -36,7 +36,10 @@ function llxHeader($head = "") {
$menu->add("/societe.php", "Sociétés","company");
$menu->add_submenu("../soc.php3?&action=create", "Nouvelle société");
$menu->add("/comm/index.php3", "Commercial");
if ($conf->commercial )
{
$menu->add("/comm/index.php3", "Commercial");
}
$menu->add_submenu("/comm/clients.php3", "Clients");