New: Ajout page setup module syslog et dons
This commit is contained in:
parent
c22a21cb90
commit
1274840619
@ -20,7 +20,8 @@
|
||||
*
|
||||
*/
|
||||
|
||||
/** \defgroup contrat Module contrat
|
||||
/**
|
||||
\defgroup contrat Module contrat
|
||||
\brief Module pour gérer la tenue de contrat de services
|
||||
*/
|
||||
|
||||
@ -82,22 +83,28 @@ class modContrat extends DolibarrModules
|
||||
|
||||
$this->rights[2][0] = 162;
|
||||
$this->rights[2][1] = 'Créer / modifier les contrats';
|
||||
$this->rights[2][2] = 'r';
|
||||
$this->rights[2][2] = 'w';
|
||||
$this->rights[2][3] = 0;
|
||||
$this->rights[2][4] = 'creer';
|
||||
|
||||
$this->rights[3][0] = 163;
|
||||
$this->rights[3][1] = 'Activer les contrats de services';
|
||||
$this->rights[3][2] = 'r';
|
||||
$this->rights[3][1] = 'Activer un service d\'un contrat';
|
||||
$this->rights[3][2] = 'w';
|
||||
$this->rights[3][3] = 0;
|
||||
$this->rights[3][4] = 'activer';
|
||||
|
||||
$this->rights[4][0] = 164;
|
||||
$this->rights[4][1] = 'Désactiver les contrats de services';
|
||||
$this->rights[4][2] = 'r';
|
||||
$this->rights[4][1] = 'Désactiver un service d\'un contrat';
|
||||
$this->rights[4][2] = 'w';
|
||||
$this->rights[4][3] = 0;
|
||||
$this->rights[4][4] = 'desactiver';
|
||||
|
||||
$this->rights[5][0] = 165;
|
||||
$this->rights[5][1] = 'Supprimer un contrat';
|
||||
$this->rights[5][2] = 'd';
|
||||
$this->rights[5][3] = 0;
|
||||
$this->rights[5][4] = 'supprimer';
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -66,13 +66,16 @@ class modDon extends DolibarrModules
|
||||
$this->depends = array();
|
||||
$this->requiredby = array();
|
||||
|
||||
// Config pages
|
||||
$this->config_page_url = "dons.php";
|
||||
|
||||
// Constantes
|
||||
$this->const = array();
|
||||
$this->const[0][0] = "DONS_FORM";
|
||||
$this->const[0][1] = "chaine";
|
||||
$this->const[0][2] = "fsfe.fr.php";
|
||||
$this->const[0][3] = 'Nom du gestionnaire de formulaire de dons';
|
||||
$this->const[0][4] = 1;
|
||||
$this->const[0][4] = 0;
|
||||
|
||||
// Boxes
|
||||
$this->boxes = array();
|
||||
|
||||
@ -22,14 +22,14 @@
|
||||
*/
|
||||
|
||||
/**
|
||||
\defgroup syslog Module syslog
|
||||
\brief Module pour gérer les messages d'erreur dans syslog
|
||||
\defgroup syslog Module syslog
|
||||
\brief Module pour gérer les messages d'erreur dans syslog
|
||||
*/
|
||||
|
||||
/**
|
||||
\file htdocs/includes/modules/modSyslog.class.php
|
||||
\ingroup syslog
|
||||
\brief Fichier de description et activation du module de syslog
|
||||
\file htdocs/includes/modules/modSyslog.class.php
|
||||
\ingroup syslog
|
||||
\brief Fichier de description et activation du module de syslog
|
||||
*/
|
||||
|
||||
include_once "DolibarrModules.class.php";
|
||||
@ -63,6 +63,9 @@ class modSyslog extends DolibarrModules
|
||||
// Dir
|
||||
$this->dirs = array();
|
||||
|
||||
// Config pages
|
||||
$this->config_page_url = "syslog.php";
|
||||
|
||||
// Dépendances
|
||||
$this->depends = array();
|
||||
$this->requiredby = array();
|
||||
|
||||
@ -44,6 +44,8 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
*/
|
||||
function pdf_propale_azur($db=0)
|
||||
{
|
||||
global $langs;
|
||||
|
||||
$this->db = $db;
|
||||
$this->name = "azur";
|
||||
$this->description = "Modèle de propositions commerciales complet (logo...)";
|
||||
@ -554,23 +556,24 @@ class pdf_propale_azur extends ModelePDFPropales
|
||||
{
|
||||
$pdf->MultiCell(80, 4, FAC_PDF_ADRESSE);
|
||||
}
|
||||
if (defined("FAC_PDF_TEL"))
|
||||
if (defined("FAC_PDF_TEL") && FAC_PDF_TEL)
|
||||
{
|
||||
$pdf->MultiCell(80, 4, $langs->trans("Phone").": ".FAC_PDF_TEL);
|
||||
}
|
||||
if (defined("FAC_PDF_FAX"))
|
||||
if (defined("FAC_PDF_FAX") && FAC_PDF_FAX)
|
||||
{
|
||||
$pdf->MultiCell(80, 4, $langs->trans("Fax").": ".FAC_PDF_FAX);
|
||||
}
|
||||
if (defined("FAC_PDF_MEL"))
|
||||
if (defined("FAC_PDF_MEL") && FAC_PDF_MEL)
|
||||
{
|
||||
$pdf->MultiCell(80, 4, $langs->trans("Email").": ".FAC_PDF_MEL);
|
||||
}
|
||||
if (defined("FAC_PDF_WWW"))
|
||||
if (defined("FAC_PDF_WWW") && FAC_PDF_WWW)
|
||||
{
|
||||
$pdf->MultiCell(80, 4, $langs->trans("Web").": ".FAC_PDF_WWW);
|
||||
}
|
||||
|
||||
$pdf->SetFont('Arial','',7);
|
||||
if (defined("MAIN_INFO_SIREN") && MAIN_INFO_SIREN)
|
||||
{
|
||||
$pdf->MultiCell(80, 4, $langs->transcountry("ProfId1",$this->code_pays).": ".MAIN_INFO_SIREN);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user