*** empty log message ***

This commit is contained in:
Rodolphe Quiedeville 2002-12-19 23:04:02 +00:00
parent 581da6d59d
commit 55fce02e9e
2 changed files with 63 additions and 8 deletions

View File

@ -1,9 +1,6 @@
<?PHP
/* Copyright (C) 2002 Rodolphe Quiedeville <rodolphe@quiedeville.org>
*
* $Id$
* $Source$
*
* 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
* the Free Software Foundation; either version 2 of the License, or
@ -18,6 +15,9 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* $Id$
* $Source$
*
*/
class Conf {
@ -40,6 +40,14 @@ class Conf {
$this->webcal = new WebcalConf();
$this->produit = new ProduitConf();
$this->service = new ServiceConf();
$this->adherent = new AdherentConf();
$this->domaine = new domaineConf();
$this->readonly = 0;
$this->years = 2001;
@ -131,5 +139,41 @@ class FicheInterConf {
$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;
}
}
?>

View File

@ -56,11 +56,20 @@ function llxHeader($head = "") {
$menu->add("/fourn/index.php3", "Fournisseurs");
$menu->add("/product/", "Produits");
if ($conf->produit->enabled )
{
$menu->add("/product/", "Produits");
}
$menu->add("/service/", "Services");
if ($conf->service->enabled )
{
$menu->add("/service/", "Services");
}
$menu->add("/adherents/", "Adherents");
if ($conf->adherent->enabled )
{
$menu->add("/adherents/", "Adherents");
}
$menu->add("/compta/dons/", "Dons");
@ -77,8 +86,10 @@ function llxHeader($head = "") {
$menu->add_submenu("/compta/voyage/reduc.php3","Reduc");
}
$menu->add("/domain/", "Domaines");
if ($conf->domaine->enabled )
{
$menu->add("/domain/", "Domaines");
}
/*
*