Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Sep 21, 2018
1 parent de6fca0 commit 9fab0a1
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion htdocs/core/modules/commande/doc/pdf_einstein.modules.php
Expand Up @@ -224,7 +224,7 @@ function write_file($object, $outputlangs, $srctemplatepath='', $hidedetails=0,
// For backward compatibility with FPDF, force output charset to ISO, because FPDF expect text to be encoded in ISO
if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1';

// Translations
// Load translation files required by the page
$outputlangs->loadLangs(array("main", "dict", "companies", "bills", "products", "orders", "deliveries"));

$nblignes = count($object->lines);
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/livraison/doc/pdf_typhon.modules.php
Expand Up @@ -195,7 +195,7 @@ function write_file($object,$outputlangs,$srctemplatepath='',$hidedetails=0,$hid
// For backward compatibility with FPDF, force output charset to ISO, because FPDF expect text to be encoded in ISO
if (! empty($conf->global->MAIN_USE_FPDF)) $outputlangs->charset_output='ISO-8859-1';

// Translations
// Load translation files required by the page
$outputlangs->loadLangs(array("main", "dict", "companies", "bills", "products", "sendings", "deliveries"));

if ($conf->expedition->dir_output)
Expand Down
Expand Up @@ -240,6 +240,7 @@ function write_file($object,$outputlangs,$srctemplatepath,$hidedetails=0,$hidede
$sav_charset_output=$outputlangs->charset_output;
$outputlangs->charset_output='UTF-8';

// Load translation files required by the page
$outputlangs->loadLangs(array("main", "dict", "companies", "bills"));

if ($conf->produit->dir_output)
Expand Down
Expand Up @@ -445,6 +445,7 @@ function write_file($object,$outputlangs,$srctemplatepath)
$sav_charset_output=$outputlangs->charset_output;
$outputlangs->charset_output='UTF-8';

// Load translation files required by the page
$outputlangs->loadLangs(array("main", "dict", "companies", "projects"));

if ($conf->projet->dir_output)
Expand Down
Expand Up @@ -44,9 +44,9 @@ class doc_generic_usergroup_odt extends ModelePDFUserGroup
public $emetteur;

/**
* @var array() Minimum version of PHP required by module.
* @var array() Minimum version of PHP required by module.
* e.g.: PHP ≥ 5.4 = array(5, 4)
*/
*/
public $phpmin = array(5, 4);

/**
Expand Down

0 comments on commit 9fab0a1

Please sign in to comment.