Translate

This commit is contained in:
Alexandre SPANGARO 2019-09-20 09:44:49 +02:00
parent bf6fd2a5e2
commit e32772fdc5
57 changed files with 63 additions and 89 deletions

View File

@ -20,8 +20,7 @@
/**
* \file htdocs/adherents/htpasswd.php
* \ingroup member
* \brief Page d'export htpasswd du fichier des adherents
* \author Rodolphe Quiedeville
* \brief Export page htpasswd of the membership file
*/
require '../main.inc.php';

View File

@ -19,7 +19,6 @@
* \file compta/facture/class/paymentterm.class.php
* \ingroup facture
* \brief This file is an example for a CRUD class file (Create/Read/Update/Delete)
* \author Put author name here
*/

View File

@ -18,7 +18,6 @@
/**
* \file htdocs/compta/localtax/class/localtax.class.php
* \ingroup tax
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT .'/core/class/commonobject.class.php';

View File

@ -22,7 +22,6 @@
/**
* \file htdocs/compta/tva/class/tva.class.php
* \ingroup tax
* \author Laurent Destailleur
*/
// Put here all includes required by your class file

View File

@ -22,7 +22,6 @@
/**
* \file htdocs/core/class/antivir.class.php
* \brief File of class to scan viruses
* \author Laurent Destailleur.
*/
/**

View File

@ -84,7 +84,7 @@ class CommActionRapport
$this->month = $month;
$this->year = $year;
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -61,7 +61,7 @@ class pdf_ban extends ModeleBankAccountDoc
$this->name = "ban";
$this->description = $langs->trans("DocumentModelBan").' (Volunteer wanted to finish)';
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -76,11 +76,11 @@ class pdf_ban extends ModeleBankAccountDoc
$this->option_tva = 1; // Gere option tva FACTURE_TVAOPTION
$this->option_codeproduitservice = 1; // Affiche code produit-service
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
$this->posxref=$this->marge_gauche+1;
$this->posxlabel=$this->marge_gauche+25;
$this->posxworkload=$this->marge_gauche+100;

View File

@ -63,7 +63,7 @@ class pdf_sepamandate extends ModeleBankAccountDoc
$this->name = "sepamandate";
$this->description = $langs->transnoentitiesnoconv("DocumentModelSepaMandate");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -78,11 +78,11 @@ class pdf_sepamandate extends ModeleBankAccountDoc
$this->option_tva = 1; // Gere option tva FACTURE_TVAOPTION
$this->option_codeproduitservice = 1; // Affiche code produit-service
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
$this->posxref=$this->marge_gauche;
}

View File

@ -57,7 +57,7 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
$this->tab_top = 60;
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -68,11 +68,11 @@ class BordereauChequeBlochet extends ModeleChequeReceipts
$this->marge_haute =isset($conf->global->MAIN_PDF_MARGIN_TOP)?$conf->global->MAIN_PDF_MARGIN_TOP:10;
$this->marge_basse =isset($conf->global->MAIN_PDF_MARGIN_BOTTOM)?$conf->global->MAIN_PDF_MARGIN_BOTTOM:10;
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
$this->line_height = 5;
$this->line_per_page = 40;
$this->tab_height = 200; //$this->line_height * $this->line_per_page;

View File

@ -75,7 +75,7 @@ class doc_generic_order_odt extends ModelePDFCommandes
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'COMMANDE_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -74,7 +74,7 @@ class doc_generic_contract_odt extends ModelePDFContract
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'CONTRACT_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -132,7 +132,7 @@ class pdf_strato extends ModelePDFContract
$this->name = 'strato';
$this->description = $langs->trans("StandardContractsTemplate");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();

View File

@ -76,7 +76,7 @@ class doc_generic_shipment_odt extends ModelePdfExpedition
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'EXPEDITION_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -133,7 +133,7 @@ class pdf_standard extends ModeleExpenseReport
$this->name = "";
$this->description = $langs->trans('PDFStandardExpenseReports');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -19,7 +19,6 @@
* \file htdocs/core/modules/export/export_csv.modules.php
* \ingroup export
* \brief File of class to build exports with CSV format
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT .'/core/modules/export/modules_export.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/core/modules/export/export_excel.modules.php
* \ingroup export
* \brief File of class to generate export file with Excel format
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/core/modules/export/export_excel2007.modules.php
* \ingroup export
* \brief File of class to generate export file with Excel format
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/core/modules/export/export_excelnew.modules.php
* \ingroup export
* \brief File of class to generate export file with Excel format
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/export/modules_export.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/core/modules/export/export_csv.modules.php
* \ingroup export
* \brief File of class to build export files with format TSV
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT .'/core/modules/export/modules_export.php';

View File

@ -75,7 +75,7 @@ class doc_generic_invoice_odt extends ModelePDFFactures
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'FACTURE_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -125,7 +125,7 @@ class pdf_soleil extends ModelePDFFicheinter
$this->name = 'soleil';
$this->description = $langs->trans("DocumentModelStandardPDF");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -25,7 +25,6 @@
* \file htdocs/core/modules/livraison/doc/pdf_typhon.modules.php
* \ingroup livraison
* \brief File of class to manage receving receipts with template Typhon
* \author Laurent Destailleur
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/livraison/modules_livraison.php';
@ -128,7 +127,7 @@ class pdf_typhon extends ModelePDFDeliveryOrder
$this->name = "typhon";
$this->description = $langs->trans("DocumentModelTyphon");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -73,7 +73,7 @@ class doc_generic_product_odt extends ModelePDFProduct
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'PRODUCT_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -126,7 +126,7 @@ class pdf_standard extends ModelePDFProduct
$this->name = "standard";
$this->description = $langs->trans("DocumentModelStandardPDF");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -90,7 +90,7 @@ class doc_generic_project_odt extends ModelePDFProjects
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'PROJECT_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -20,8 +20,7 @@
/**
* \file htdocs/core/modules/project/doc/pdf_baleine.modules.php
* \ingroup project
* \brief File of class to generate project document Baleine
* \author Regis Houssin
* \brief File of the class allowing to generate projects with the baleine model
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/project/modules_project.php';
@ -128,7 +127,7 @@ class pdf_baleine extends ModelePDFProjects
$this->name = "baleine";
$this->description = $langs->trans("DocumentModelBaleine");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -143,11 +142,11 @@ class pdf_baleine extends ModelePDFProjects
$this->option_tva = 1; // Gere option tva FACTURE_TVAOPTION
$this->option_codeproduitservice = 1; // Affiche code produit-service
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
$this->posxref=$this->marge_gauche+1;
$this->posxlabel=$this->marge_gauche+25;
$this->posxworkload=$this->marge_gauche+120;
@ -295,7 +294,7 @@ class pdf_baleine extends ModelePDFProjects
$nexY = $pdf->GetY();
$height_note=$nexY-$tab_top;
// Rect prend une longueur en 3eme param
// Rect takes a length in 3rd parameter
$pdf->SetDrawColor(192, 192, 192);
$pdf->Rect($this->marge_gauche, $tab_top-2, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $height_note+2);
@ -410,7 +409,7 @@ class pdf_baleine extends ModelePDFProjects
$pdf->setPage($pageposafter); $curY = $tab_top_newpage + $heightoftitleline + 1;
}
$pdf->SetFont('', '', $default_font_size - 1); // On repositionne la police par defaut
$pdf->SetFont('', '', $default_font_size - 1); // We reposition the default font
// Ref of task
$pdf->SetXY($this->posxref, $curY);
@ -483,7 +482,7 @@ class pdf_baleine extends ModelePDFProjects
$this->_tableau($pdf, $tab_top_newpage, $this->page_hauteur - $tab_top_newpage - $heightforinfotot - $heightforfreetext - $heightforfooter, 0, $outputlangs, 1, 0);
$bottomlasttab=$this->page_hauteur - $heightforinfotot - $heightforfreetext - $heightforfooter + 1;
// Pied de page
// Footer of the page
$this->_pagefoot($pdf, $object, $outputlangs);
if (method_exists($pdf, 'AliasNbPages')) $pdf->AliasNbPages();
@ -507,7 +506,7 @@ class pdf_baleine extends ModelePDFProjects
$this->result = array('fullpath'=>$file);
return 1; // Pas d'erreur
return 1; // No error
}
else
{
@ -545,10 +544,10 @@ class pdf_baleine extends ModelePDFProjects
$pdf->SetDrawColor(128, 128, 128);
// Draw rect of all tab (title + lines). Rect prend une longueur en 3eme param
// Draw rect of all tab (title + lines). Rect takes a length in 3rd parameter
$pdf->Rect($this->marge_gauche, $tab_top, $this->page_largeur-$this->marge_gauche-$this->marge_droite, $tab_height);
// line prend une position y en 3eme param
// line takes a position y in 3rd parameter
$pdf->line($this->marge_gauche, $tab_top+$heightoftitleline, $this->page_largeur-$this->marge_droite, $tab_top+$heightoftitleline);
$pdf->SetTextColor(0, 0, 0);

View File

@ -21,8 +21,7 @@
/**
* \file htdocs/core/modules/project/doc/pdf_beluga.modules.php
* \ingroup project
* \brief Fichier de la classe permettant de generer les projets au modele beluga
* \author Charlie Benke
* \brief File of the class allowing to generate projects with the beluga model
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/project/modules_project.php';
@ -50,7 +49,7 @@ if (! empty($conf->agenda->enabled)) require_once DOL_DOCUMENT_ROOT.'/com
/**
* Class to manage generation of project document Baleine
* Class to manage generation of project document Beluga
*/
class pdf_beluga extends ModelePDFProjects
@ -83,7 +82,7 @@ class pdf_beluga extends ModelePDFProjects
$this->name = "beluga";
$this->description = $langs->trans("DocumentModelBeluga");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->orientation = 'L';
@ -104,11 +103,11 @@ class pdf_beluga extends ModelePDFProjects
$this->option_tva = 1; // Gere option tva FACTURE_TVAOPTION
$this->option_codeproduitservice = 1; // Affiche code produit-service
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
if ($this->orientation == 'L' || $this->orientation == 'Landscape') {
$this->posxref=$this->marge_gauche+1;
$this->posxdate=$this->marge_gauche+105;

View File

@ -17,10 +17,9 @@
*/
/**
* \file htdocs/core/modules/project/doc/pdf_baleine.modules.php
* \file htdocs/core/modules/project/doc/pdf_timespent.modules.php
* \ingroup project
* \brief File of class to generate project document Baleine
* \author Regis Houssin
*/
require_once DOL_DOCUMENT_ROOT.'/core/modules/project/modules_project.php';
@ -33,7 +32,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
/**
* Class to manage generation of project document Baleine
* Class to manage generation of project document Timespent
*/
class pdf_timespent extends ModelePDFProjects
@ -60,7 +59,7 @@ class pdf_timespent extends ModelePDFProjects
$this->name = "timespent";
$this->description = $langs->trans("DocumentModelTimeSpent");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -75,11 +74,11 @@ class pdf_timespent extends ModelePDFProjects
$this->option_tva = 1; // Gere option tva FACTURE_TVAOPTION
$this->option_codeproduitservice = 1; // Affiche code produit-service
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // By default if not defined
// Defini position des colonnes
// Define column position
$this->posxref=$this->marge_gauche+1;
$this->posxlabel=$this->marge_gauche+25;
$this->posxtimespent=$this->marge_gauche+120;

View File

@ -91,7 +91,7 @@ class doc_generic_task_odt extends ModelePDFTask
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'PROJECT_TASK_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -72,7 +72,7 @@ class doc_generic_proposal_odt extends ModelePDFPropales
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'PROPALE_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -47,7 +47,7 @@ class pdf_paiement
$this->db = $db;
$this->description = $langs->transnoentities("ListOfCustomerPayments");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -70,7 +70,7 @@ class doc_generic_reception_odt extends ModelePdfReception
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'RECEPTION_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -66,7 +66,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'COMPANY_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;
@ -78,7 +78,7 @@ class doc_generic_odt extends ModeleThirdPartyDoc
$this->option_logo = 1; // Affiche logo
// Recupere emmetteur
// Retrieves transmitter
$this->emetteur=$mysoc;
if (! $this->emetteur->country_code) $this->emetteur->country_code=substr($langs->defaultlang, -2); // Par defaut, si n'etait pas defini
}

View File

@ -73,7 +73,7 @@ class doc_generic_stock_odt extends ModelePDFStock
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'STOCK_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -126,7 +126,7 @@ class pdf_standard extends ModelePDFStock
$this->name = "standard";
$this->description = $langs->trans("DocumentModelStandardPDF");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -126,7 +126,7 @@ class pdf_stdmovement extends ModelePDFMovement
$this->name = "stdmouvement";
$this->description = $langs->trans("DocumentModelStandardPDF");
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -128,7 +128,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
$this->name = "canelle";
$this->description = $langs->trans('SuppliersInvoiceModel');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -148,7 +148,7 @@ class pdf_canelle extends ModelePDFSuppliersInvoices
$this->franchise=!$mysoc->tva_assuj;
// Defini position des colonnes
// Define column position
$this->posxdesc=$this->marge_gauche+1;
$this->posxtva=112;
$this->posxup=126;

View File

@ -76,7 +76,7 @@ class doc_generic_supplier_order_odt extends ModelePDFSuppliersOrders
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'SUPPLIER_ORDER_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;
@ -233,7 +233,7 @@ class doc_generic_supplier_order_odt extends ModelePDFSuppliersOrders
if ($conf->fournisseur->commande->dir_output)
{
$object->fetch_thirdparty();
if ($object->specimen)
{
$dir = $conf->fournisseur->commande->dir_output;

View File

@ -131,7 +131,7 @@ class pdf_cornas extends ModelePDFSuppliersOrders
$this->name = "cornas";
$this->description = $langs->trans('SuppliersCommandModel');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -131,7 +131,7 @@ class pdf_muscadet extends ModelePDFSuppliersOrders
$this->name = "muscadet";
$this->description = $langs->trans('SuppliersCommandModel');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -128,7 +128,7 @@ class pdf_standard extends ModelePDFSuppliersPayments
$this->name = "standard";
$this->description = $langs->trans('DocumentModelStandardPDF');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];
@ -144,7 +144,7 @@ class pdf_standard extends ModelePDFSuppliersPayments
$this->franchise=!$mysoc->tva_assuj;
// Defini position des colonnes
// Define column position
$this->posxdate=$this->marge_gauche+1;
$this->posxreffacturefourn=30;
$this->posxreffacture=65;

View File

@ -74,7 +74,7 @@ class doc_generic_supplier_proposal_odt extends ModelePDFSupplierProposal
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'SUPPLIER_PROPOSAL_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -128,7 +128,7 @@ class pdf_aurore extends ModelePDFSupplierProposal
$this->name = "aurore";
$this->description = $langs->trans('DocModelAuroreDescription');
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'pdf';
$formatarray=pdf_getFormat();
$this->page_largeur = $formatarray['width'];

View File

@ -71,7 +71,7 @@ class doc_generic_user_odt extends ModelePDFUser
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'USER_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -74,7 +74,7 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup
$this->description = $langs->trans("DocumentModelOdt");
$this->scandir = 'USERGROUP_ADDON_PDF_ODT_PATH'; // Name of constant that is used to save list of directories to scan
// Dimension page pour format A4
// Page size for A4 format
$this->type = 'odt';
$this->page_largeur = 0;
$this->page_hauteur = 0;

View File

@ -20,7 +20,6 @@
* \file htdocs/ecm/dir_card.php
* \ingroup ecm
* \brief Card of a directory for ECM module
* \author Laurent Destailleur
*/
require '../main.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/agenda/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/donations/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/members/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/paybox/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -21,7 +21,6 @@
* \file htdocs/public/paybox/newpayment.php
* \ingroup paybox
* \brief File to offer a way to make a payment for a particular Dolibarr entity
* \author Laurent Destailleur
*/
define("NOLOGIN", 1); // This means this output page does not require to be logged.

View File

@ -19,7 +19,6 @@
* \file htdocs/public/payment/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/paypal/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -19,7 +19,6 @@
* \file htdocs/public/stripe/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/public/theme/common/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../../master.inc.php';

View File

@ -20,7 +20,6 @@
* \file htdocs/public/theme/index.php
* \ingroup core
* \brief A redirect page to an error
* \author Laurent Destailleur
*/
require '../../master.inc.php';