mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Look: Ajout des pictos sur les modules
This commit is contained in:
@@ -144,7 +144,7 @@ print "<br>\n";
|
||||
print "<table class=\"noborder\" width=\"100%\">\n";
|
||||
print "<tr class=\"liste_titre\">\n";
|
||||
print " <td>".$langs->trans("Family")."</td>\n";
|
||||
print " <td>".$langs->trans("Module")."</td>\n";
|
||||
print " <td colspan=\"2\">".$langs->trans("Module")."</td>\n";
|
||||
print " <td>".$langs->trans("Description")."</td>\n";
|
||||
print " <td align=\"center\">".$langs->trans("Version")."</td>\n";
|
||||
print " <td align=\"center\">".$langs->trans("Activated")."</td>\n";
|
||||
@@ -215,7 +215,7 @@ foreach ($orders as $key => $value)
|
||||
$const_value = $objMod->const_config;
|
||||
|
||||
if ($oldfamily && $family!=$oldfamily && $atleastoneforfamily) {
|
||||
print "<tr class=\"liste_titre\">\n <td colspan=\"7\"></td>\n</tr>\n";
|
||||
print "<tr class=\"liste_titre\">\n <td colspan=\"8\"></td>\n</tr>\n";
|
||||
$atleastoneforfamily=0;
|
||||
}
|
||||
|
||||
@@ -237,9 +237,10 @@ foreach ($orders as $key => $value)
|
||||
print ' ';
|
||||
}
|
||||
print "</td>\n";
|
||||
print " <td>";
|
||||
print $objMod->getName();
|
||||
print "</td>\n <td>";
|
||||
print ' <td valign="top" width="14" align="center">';
|
||||
print $objMod->picto?img_object('',$objMod->picto):img_object('','generic');
|
||||
print '</td><td valign="top">'.$objMod->getName();
|
||||
print "</td>\n <td valign=\"top\">";
|
||||
print $objMod->getDesc();
|
||||
print "</td>\n <td align=\"center\">";
|
||||
print $objMod->getVersion();
|
||||
|
||||
@@ -52,8 +52,10 @@ include_once DOL_DOCUMENT_ROOT.'/includes/modules/mailings/modules_mailings.php'
|
||||
class mailing_cerise extends MailingTargets
|
||||
{
|
||||
var $name="ContactProspects"; // Identifiant du module mailing
|
||||
var $desc='Tous les contacts associ<EFBFBD>s aux prospects'; // Libell<6C> utilis<69> si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv<75>e
|
||||
var $desc='Tous les contacts de toutes les soci<63>t<EFBFBD>s prospects'; // Libell<6C> utilis<69> si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv<75>e
|
||||
var $require_module=array("commercial"); // Module mailing actif si modules require_module actifs
|
||||
var $require_admin=0; // Module mailing actif pour user admin ou non
|
||||
var $picto='contact';
|
||||
|
||||
var $db;
|
||||
var $statssql=array();
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
*
|
||||
* 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
|
||||
@@ -51,8 +52,10 @@ include_once DOL_DOCUMENT_ROOT.'/includes/modules/mailings/modules_mailings.php'
|
||||
class mailing_poire extends MailingTargets
|
||||
{
|
||||
var $name='ContactCustomers'; // Identifiant du module mailing
|
||||
var $desc='Tous les contacts associ<EFBFBD>s aux clients'; // Libell<6C> utilis<69> si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv<75>e
|
||||
var $desc='Tous les contacts de toutes les soci<EFBFBD>t<EFBFBD>s clientes'; // Libell<6C> utilis<69> si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv<75>e
|
||||
var $require_module=array("commercial"); // Module mailing actif si modules require_module actifs
|
||||
var $require_admin=0; // Module mailing actif pour user admin ou non
|
||||
var $picto='contact';
|
||||
|
||||
var $db;
|
||||
var $statssql=array();
|
||||
|
||||
@@ -53,6 +53,8 @@ class mailing_pomme extends MailingTargets
|
||||
var $name='DolibarrUsers'; // Identifiant du module mailing
|
||||
var $desc='Tous les utilisateurs de Dolibarr'; // Libell<6C> utilis<69> si aucune traduction pour MailingModuleDescXXX ou XXX=name trouv<75>e
|
||||
var $require_module=array(); // Module mailing actif si modules require_module actifs
|
||||
var $require_admin=1; // Module mailing actif pour user admin ou non
|
||||
var $picto='user';
|
||||
|
||||
var $db;
|
||||
var $statssql=array();
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2003,2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2003 Jean-Louis Bergamo <jlb@j1b.org>
|
||||
* Copyright (C) 2004 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004-2005 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org>
|
||||
* Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be>
|
||||
*
|
||||
@@ -24,7 +24,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \defgroup adherent Module adherents
|
||||
/**
|
||||
\defgroup adherent Module adherents
|
||||
\brief Module pour g<>rer les adh<64>rents d'une association
|
||||
*/
|
||||
|
||||
@@ -59,6 +60,7 @@ class modAdherent extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_ADHERENT";
|
||||
$this->const_config = MAIN_MODULE_ADHERENT;
|
||||
$this->special = 1;
|
||||
$this->picto='user';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -59,6 +59,7 @@ class modCommande extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_COMMANDE";
|
||||
$this->const_config = MAIN_MODULE_COMMANDE;
|
||||
$this->special = 0;
|
||||
$this->picto='order';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -58,6 +58,7 @@ class modCommercial extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_COMMERCIAL";
|
||||
$this->const_config = MAIN_MODULE_COMMERCIAL;
|
||||
$this->special = 0;
|
||||
$this->picto='commercial';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -55,6 +55,7 @@ class modContrat extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_CONTRAT";
|
||||
$this->const_config = MAIN_MODULE_CONTRAT;
|
||||
$this->special = 0;
|
||||
$this->picto='contract';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -56,6 +56,7 @@ class modExternalRss extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_EXTERNALRSS";
|
||||
$this->const_config = MAIN_MODULE_EXTERNALRSS;
|
||||
$this->special = 0;
|
||||
$this->picto='rss';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -59,6 +59,7 @@ class modFacture extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_FACTURE";
|
||||
$this->const_config = MAIN_MODULE_FACTURE;
|
||||
$this->special = 0;
|
||||
$this->picto='bill';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -57,6 +57,7 @@ class modFournisseur extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_FOURNISSEUR";
|
||||
$this->const_config = MAIN_MODULE_FOURNISSEUR;
|
||||
$this->special = 0;
|
||||
$this->picto='company';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -58,6 +58,7 @@ class modProduit extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_PRODUIT";
|
||||
$this->const_config = MAIN_MODULE_PRODUIT;
|
||||
$this->special = 0;
|
||||
$this->picto='product';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -58,6 +58,7 @@ class modPropale extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_PROPALE";
|
||||
$this->const_config = MAIN_MODULE_PROPALE;
|
||||
$this->special = 0;
|
||||
$this->picto='propal';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -57,6 +57,7 @@ class modService extends DolibarrModules
|
||||
$this->version = 'dolibarr'; // 'experimental' or 'dolibarr' or version
|
||||
$this->const_name = "MAIN_MODULE_SERVICE";
|
||||
$this->const_config = MAIN_MODULE_SERVICE;
|
||||
$this->picto='service';
|
||||
|
||||
// D<>pendances
|
||||
$this->depends = array("modProduit");
|
||||
|
||||
@@ -59,6 +59,7 @@ class modSociete extends DolibarrModules
|
||||
$this->const_config = MAIN_MODULE_SOCIETE;
|
||||
$this->special = 0;
|
||||
$this->config_page_url = "societe.php";
|
||||
$this->picto='company';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
@@ -56,6 +56,7 @@ class modStock extends DolibarrModules
|
||||
$this->const_name = "MAIN_MODULE_STOCK";
|
||||
$this->const_config = MAIN_MODULE_STOCK;
|
||||
$this->special = 0;
|
||||
$this->picto='stock';
|
||||
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
Reference in New Issue
Block a user