Classement des modules en 3 onglets (standard, speciaux, interfaces) plutot que 2 (standard, speciaux)
This commit is contained in:
parent
49496afbd4
commit
35e980e25c
@ -59,7 +59,7 @@ class modAdherent extends DolibarrModules
|
|||||||
$this->description = "Gestion des adhérents d'une association";
|
$this->description = "Gestion des adhérents d'une association";
|
||||||
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_ADHERENT';
|
$this->const_name = 'MAIN_MODULE_ADHERENT';
|
||||||
$this->special = 1;
|
$this->special = 2;
|
||||||
$this->picto='user';
|
$this->picto='user';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
@ -58,7 +58,7 @@ class modBookmark extends DolibarrModules
|
|||||||
$this->version = $this->revision[1];
|
$this->version = $this->revision[1];
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_BOOKMARK';
|
$this->const_name = 'MAIN_MODULE_BOOKMARK';
|
||||||
$this->special = 1;
|
$this->special = 0;
|
||||||
$this->picto='bookmark';
|
$this->picto='bookmark';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
@ -23,19 +23,20 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/** \defgroup boutique Module boutique
|
/** \defgroup boutique Module boutique
|
||||||
\brief Module pour gérer une boutique et interface avec OSC
|
\brief Module pour gérer une boutique et interface avec OSCommerce
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
\file htdocs/includes/modules/modBoutique.class.php
|
\file htdocs/includes/modules/modBoutique.class.php
|
||||||
\ingroup boutique
|
\ingroup boutique
|
||||||
\brief Fichier de description et activation du module Boutique
|
\brief Fichier de description et activation du module OSCommerce
|
||||||
*/
|
*/
|
||||||
|
|
||||||
include_once "DolibarrModules.class.php";
|
include_once "DolibarrModules.class.php";
|
||||||
|
|
||||||
/** \class modBoutique
|
/**
|
||||||
\brief Classe de description et activation du module Boutique
|
\class modBoutique
|
||||||
|
\brief Classe de description et activation du module OSCommerce
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class modBoutique extends DolibarrModules
|
class modBoutique extends DolibarrModules
|
||||||
@ -52,8 +53,8 @@ class modBoutique extends DolibarrModules
|
|||||||
$this->numero = 86 ;
|
$this->numero = 86 ;
|
||||||
|
|
||||||
$this->family = "products";
|
$this->family = "products";
|
||||||
$this->name = "Boutique";
|
$this->name = "OSCommerce";
|
||||||
$this->description = "Gestion des boutiques";
|
$this->description = "Gestion d'une boutique OSCommerce";
|
||||||
$this->version = 'experimental'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'experimental'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_BOUTIQUE';
|
$this->const_name = 'MAIN_MODULE_BOUTIQUE';
|
||||||
$this->special = 1;
|
$this->special = 1;
|
||||||
@ -71,11 +72,6 @@ class modBoutique extends DolibarrModules
|
|||||||
// Constantes
|
// Constantes
|
||||||
$this->const = array();
|
$this->const = array();
|
||||||
|
|
||||||
// Boxes
|
|
||||||
$this->boxes = array();
|
|
||||||
$this->boxes[0][0] = "Livres";
|
|
||||||
$this->boxes[0][1] = "box_boutique_livre.php";
|
|
||||||
|
|
||||||
// Permissions
|
// Permissions
|
||||||
$this->rights = array();
|
$this->rights = array();
|
||||||
$this->rights_class = 'boutique';
|
$this->rights_class = 'boutique';
|
||||||
@ -102,5 +98,6 @@ class modBoutique extends DolibarrModules
|
|||||||
|
|
||||||
return $this->_remove($sql);
|
return $this->_remove($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -56,7 +56,7 @@ class modDon extends DolibarrModules
|
|||||||
$this->description = "Gestion des dons";
|
$this->description = "Gestion des dons";
|
||||||
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_DON';
|
$this->const_name = 'MAIN_MODULE_DON';
|
||||||
$this->special = 1;
|
$this->special = 2;
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -50,7 +51,7 @@ class modEnergie extends DolibarrModules
|
|||||||
$this->id = 'energie'; // Same value xxx than in file modXxx.class.php file
|
$this->id = 'energie'; // Same value xxx than in file modXxx.class.php file
|
||||||
$this->numero = 23 ;
|
$this->numero = 23 ;
|
||||||
|
|
||||||
$this->family = "technic";
|
$this->family = "other";
|
||||||
$this->name = "Energie";
|
$this->name = "Energie";
|
||||||
$this->description = "Suivi de la consommation des energies";
|
$this->description = "Suivi de la consommation des energies";
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ class modEnergie extends DolibarrModules
|
|||||||
$this->version = $this->revision[1];
|
$this->version = $this->revision[1];
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_ENERGIE';
|
$this->const_name = 'MAIN_MODULE_ENERGIE';
|
||||||
$this->special = 1;
|
$this->special = 2;
|
||||||
$this->picto='energie';
|
$this->picto='energie';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
@ -54,7 +54,7 @@ class modExternalRss extends DolibarrModules
|
|||||||
$this->description = "Ajout de files d'informations RSS dans les écrans Dolibarr";
|
$this->description = "Ajout de files d'informations RSS dans les écrans Dolibarr";
|
||||||
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_EXTERNALRSS';
|
$this->const_name = 'MAIN_MODULE_EXTERNALRSS';
|
||||||
$this->special = 0;
|
$this->special = 1;
|
||||||
$this->picto='rss';
|
$this->picto='rss';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
@ -55,11 +55,11 @@ class modProjet extends DolibarrModules
|
|||||||
$this->family = "projects";
|
$this->family = "projects";
|
||||||
$this->name = "Projets";
|
$this->name = "Projets";
|
||||||
$this->description = "Gestion des projets";
|
$this->description = "Gestion des projets";
|
||||||
|
|
||||||
$this->revision = explode(" ","$Revision$");
|
$this->revision = explode(" ","$Revision$");
|
||||||
$this->version = $this->revision[1];
|
$this->version = $this->revision[1];
|
||||||
|
|
||||||
$this->const_name = 'MAIN_MODULE_PROJET';
|
$this->const_name = 'MAIN_MODULE_PROJET';
|
||||||
|
$this->special = 0;
|
||||||
|
$this->picto='email';
|
||||||
|
|
||||||
// Dépendances
|
// Dépendances
|
||||||
$this->depends = array();
|
$this->depends = array();
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
<?php
|
<?php
|
||||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||||
|
* Copyright (C) 2006 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||||
*
|
*
|
||||||
* 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
|
||||||
@ -50,7 +51,7 @@ class modTelephonie extends DolibarrModules
|
|||||||
$this->id = 'telephonie'; // Same value xxx than in file modXxx.class.php file
|
$this->id = 'telephonie'; // Same value xxx than in file modXxx.class.php file
|
||||||
$this->numero = 56 ;
|
$this->numero = 56 ;
|
||||||
|
|
||||||
$this->family = "technic";
|
$this->family = "other";
|
||||||
$this->name = "Telephonie";
|
$this->name = "Telephonie";
|
||||||
$this->description = "Gestion de la Telephonie";
|
$this->description = "Gestion de la Telephonie";
|
||||||
|
|
||||||
@ -59,7 +60,7 @@ class modTelephonie extends DolibarrModules
|
|||||||
|
|
||||||
$this->const_name = "MAIN_MODULE_TELEPHONIE";
|
$this->const_name = "MAIN_MODULE_TELEPHONIE";
|
||||||
$this->const_config = MAIN_MODULE_TELEPHONIE;
|
$this->const_config = MAIN_MODULE_TELEPHONIE;
|
||||||
$this->special = 1;
|
$this->special = 2;
|
||||||
$this->picto='phoning';
|
$this->picto='phoning';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
@ -55,7 +55,7 @@ class modWebcalendar extends DolibarrModules
|
|||||||
$this->description = "Interfaçage avec le calendrier Webcalendar";
|
$this->description = "Interfaçage avec le calendrier Webcalendar";
|
||||||
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
||||||
$this->const_name = 'MAIN_MODULE_WEBCALENDAR';
|
$this->const_name = 'MAIN_MODULE_WEBCALENDAR';
|
||||||
$this->special = 0;
|
$this->special = 1;
|
||||||
$this->picto='calendar';
|
$this->picto='calendar';
|
||||||
|
|
||||||
// Dir
|
// Dir
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user