Fix: ajout gestion UTC pour phpbarcode et valeur readable Y par dfaut pour pibarcode
This commit is contained in:
parent
a32573b2af
commit
1160102d4d
@ -68,6 +68,7 @@ class modPhpbarcode extends ModeleBarCode
|
||||
$supported=0;
|
||||
if ($encoding == 'EAN8') $supported=1;
|
||||
if ($encoding == 'EAN13') $supported=1;
|
||||
if ($encoding == 'UPC') $supported=1;
|
||||
if ($encoding == 'ISBN') $supported=1;
|
||||
if ($encoding == 'C39') $supported=1;
|
||||
if ($encoding == 'C128') $supported=1;
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
<?php
|
||||
/* Copyright (C) 2004-2005 Rodolphe Quiedeville <rodolphe@quiedeville.org>
|
||||
* Copyright (C) 2005-2008 Laurent Destailleur <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2005-2008 Regis Houssin <regis@dolibarr.fr>
|
||||
*
|
||||
* 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
|
||||
@ -306,7 +307,7 @@ if ($modulepart == 'barcode')
|
||||
$generator=$_GET["generator"];
|
||||
$code=$_GET["code"];
|
||||
$encoding=$_GET["encoding"];
|
||||
$readable=$_GET["readable"];
|
||||
$readable=$_GET["readable"]?$_GET["readable"]:"Y";
|
||||
|
||||
// Chargement de la classe de codage
|
||||
require_once($dir.$generator.".modules.php");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user