Qual: Checkstyle
This commit is contained in:
parent
56f7196aa2
commit
195142862c
@ -46,7 +46,7 @@ include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
|
|||||||
* Parametre
|
* Parametre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define (GEN_NUMBER_COMMANDE, 10);
|
define(GEN_NUMBER_COMMANDE, 10);
|
||||||
|
|
||||||
|
|
||||||
$ret=$user->fetch('','admin');
|
$ret=$user->fetch('','admin');
|
||||||
|
|||||||
@ -41,7 +41,7 @@ require_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
|
|||||||
* Parameters
|
* Parameters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define (GEN_NUMBER_FACTURE, 5);
|
define(GEN_NUMBER_FACTURE, 5);
|
||||||
|
|
||||||
|
|
||||||
$ret=$user->fetch('','admin');
|
$ret=$user->fetch('','admin');
|
||||||
|
|||||||
@ -46,7 +46,7 @@ include_once(DOL_DOCUMENT_ROOT."/contrat/class/contrat.class.php");
|
|||||||
* Parameters
|
* Parameters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define (GEN_NUMBER_PRODUIT, 100000);
|
define(GEN_NUMBER_PRODUIT, 100000);
|
||||||
|
|
||||||
|
|
||||||
$ret=$user->fetch('','admin');
|
$ret=$user->fetch('','admin');
|
||||||
|
|||||||
@ -43,7 +43,7 @@ require_once(DOL_DOCUMENT_ROOT."/societe/class/societe.class.php");
|
|||||||
* Parameters
|
* Parameters
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define (GEN_NUMBER_PROPAL, 5);
|
define(GEN_NUMBER_PROPAL, 5);
|
||||||
|
|
||||||
|
|
||||||
$ret=$user->fetch('','admin');
|
$ret=$user->fetch('','admin');
|
||||||
|
|||||||
@ -49,7 +49,7 @@ $prenoms = array("Joe","Marc","Steve","Laurent","Nico","Isabelle","Dorothee","Sa
|
|||||||
* Parametre
|
* Parametre
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define (GEN_NUMBER_SOCIETE, 10);
|
define(GEN_NUMBER_SOCIETE, 10);
|
||||||
|
|
||||||
|
|
||||||
$ret=$user->fetch('','admin');
|
$ret=$user->fetch('','admin');
|
||||||
|
|||||||
@ -64,8 +64,12 @@ $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8',
|
|||||||
- To convert pfx certificate to pem: openssl pkcs12 -in tcpdf.pfx -out tcpdf.crt -nodes
|
- To convert pfx certificate to pem: openssl pkcs12 -in tcpdf.pfx -out tcpdf.crt -nodes
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
$permissions=array('copy');
|
||||||
$pdf->SetProtection($permissions=array('copy'), $user_pass='aaa', $owner_pass=null, $mode=0, $pubkeys=null);
|
$user_pass='aaa';
|
||||||
|
$owner_pass=null;
|
||||||
|
$mode=0;
|
||||||
|
$pubkeys=null;
|
||||||
|
$pdf->SetProtection($permissions, $user_pass, $owner_pass, $mode, $pubkeys);
|
||||||
|
|
||||||
// Example with public-key
|
// Example with public-key
|
||||||
// To open the document you need to install the private key (tcpdf.p12) on the Acrobat Reader. The password is: 1234
|
// To open the document you need to install the private key (tcpdf.p12) on the Acrobat Reader. The password is: 1234
|
||||||
|
|||||||
@ -230,6 +230,7 @@ class autoTranslator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* getLineKey
|
||||||
*
|
*
|
||||||
* @param string $line Line found into file
|
* @param string $line Line found into file
|
||||||
* @return string Key
|
* @return string Key
|
||||||
@ -241,6 +242,7 @@ class autoTranslator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* getLineValue
|
||||||
*
|
*
|
||||||
* @param string $line Line found into file
|
* @param string $line Line found into file
|
||||||
* @return string Value
|
* @return string Value
|
||||||
@ -252,6 +254,7 @@ class autoTranslator
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* getTranslationFilesArray
|
||||||
*
|
*
|
||||||
* @param string $lang Language code
|
* @param string $lang Language code
|
||||||
* @return array Array
|
* @return array Array
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user