*** empty log message ***
This commit is contained in:
parent
581da6d59d
commit
55fce02e9e
@ -1,8 +1,5 @@
|
|||||||
<?PHP
|
<?PHP
|
||||||
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
*
|
|
||||||
* $Id$
|
|
||||||
* $Source$
|
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* 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
|
||||||
@ -18,6 +15,9 @@
|
|||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
*
|
*
|
||||||
|
* $Id$
|
||||||
|
* $Source$
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class Conf {
|
class Conf {
|
||||||
@ -40,6 +40,14 @@ class Conf {
|
|||||||
|
|
||||||
$this->webcal = new WebcalConf();
|
$this->webcal = new WebcalConf();
|
||||||
|
|
||||||
|
$this->produit = new ProduitConf();
|
||||||
|
|
||||||
|
$this->service = new ServiceConf();
|
||||||
|
|
||||||
|
$this->adherent = new AdherentConf();
|
||||||
|
|
||||||
|
$this->domaine = new domaineConf();
|
||||||
|
|
||||||
$this->readonly = 0;
|
$this->readonly = 0;
|
||||||
|
|
||||||
$this->years = 2001;
|
$this->years = 2001;
|
||||||
@ -131,5 +139,41 @@ class FicheInterConf {
|
|||||||
$this->outputurl = "/document/fichinter";
|
$this->outputurl = "/document/fichinter";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
|
* Produits
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
class ProduitConf {
|
||||||
|
Function ProduitConf() {
|
||||||
|
$this->enabled = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Service
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
class ServiceConf {
|
||||||
|
Function ServiceConf() {
|
||||||
|
$this->enabled = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Adherents
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
class AdherentConf {
|
||||||
|
Function AdherentConf() {
|
||||||
|
$this->enabled = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/*
|
||||||
|
* Domaines
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
class DomaineConf {
|
||||||
|
Function DomaineConf() {
|
||||||
|
$this->enabled = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -56,11 +56,20 @@ function llxHeader($head = "") {
|
|||||||
|
|
||||||
$menu->add("/fourn/index.php3", "Fournisseurs");
|
$menu->add("/fourn/index.php3", "Fournisseurs");
|
||||||
|
|
||||||
|
if ($conf->produit->enabled )
|
||||||
|
{
|
||||||
$menu->add("/product/", "Produits");
|
$menu->add("/product/", "Produits");
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($conf->service->enabled )
|
||||||
|
{
|
||||||
$menu->add("/service/", "Services");
|
$menu->add("/service/", "Services");
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($conf->adherent->enabled )
|
||||||
|
{
|
||||||
$menu->add("/adherents/", "Adherents");
|
$menu->add("/adherents/", "Adherents");
|
||||||
|
}
|
||||||
|
|
||||||
$menu->add("/compta/dons/", "Dons");
|
$menu->add("/compta/dons/", "Dons");
|
||||||
|
|
||||||
@ -77,8 +86,10 @@ function llxHeader($head = "") {
|
|||||||
$menu->add_submenu("/compta/voyage/reduc.php3","Reduc");
|
$menu->add_submenu("/compta/voyage/reduc.php3","Reduc");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ($conf->domaine->enabled )
|
||||||
|
{
|
||||||
$menu->add("/domain/", "Domaines");
|
$menu->add("/domain/", "Domaines");
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user