Bad var
This commit is contained in:
parent
3de0702f2b
commit
b5d74372de
@ -158,7 +158,8 @@ $head = mailmanspip_admin_prepare_head();
|
|||||||
|
|
||||||
dol_fiche_head($head, 'mailman', $langs->trans("Setup"), 0, 'user');
|
dol_fiche_head($head, 'mailman', $langs->trans("Setup"), 0, 'user');
|
||||||
|
|
||||||
$var=!$var;
|
$var=true;
|
||||||
|
|
||||||
if (! empty($conf->global->ADHERENT_USE_MAILMAN))
|
if (! empty($conf->global->ADHERENT_USE_MAILMAN))
|
||||||
{
|
{
|
||||||
//$lien=img_picto($langs->trans("Active"),'tick').' ';
|
//$lien=img_picto($langs->trans("Active"),'tick').' ';
|
||||||
|
|||||||
@ -117,10 +117,11 @@ $head = mailmanspip_admin_prepare_head();
|
|||||||
|
|
||||||
dol_fiche_head($head, 'spip', $langs->trans("Setup"), 0, 'user');
|
dol_fiche_head($head, 'spip', $langs->trans("Setup"), 0, 'user');
|
||||||
|
|
||||||
|
$var=true;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Spip
|
* Spip
|
||||||
*/
|
*/
|
||||||
$var=!$var;
|
|
||||||
if (! empty($conf->global->ADHERENT_USE_SPIP))
|
if (! empty($conf->global->ADHERENT_USE_SPIP))
|
||||||
{
|
{
|
||||||
//$lien=img_picto($langs->trans("Active"),'tick').' ';
|
//$lien=img_picto($langs->trans("Active"),'tick').' ';
|
||||||
|
|||||||
@ -121,8 +121,8 @@ if ($action == 'builddoc')
|
|||||||
if (! $error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
$code=$forbarcode;
|
$code=$forbarcode;
|
||||||
$generator=$stdobject->barcode_type_coder;
|
$generator=$stdobject->barcode_type_coder; // coder (loaded by fetch_barcode). Engine.
|
||||||
$encoding=strtoupper($stdobject->barcode_type_code);
|
$encoding=strtoupper($stdobject->barcode_type_code); // code (loaded by fetch_barcode). Example 'ean', 'isbn', ...
|
||||||
$barcodeimage=$conf->barcode->dir_temp.'/barcode_'.$code.'_'.$encoding.'.png';
|
$barcodeimage=$conf->barcode->dir_temp.'/barcode_'.$code.'_'.$encoding.'.png';
|
||||||
|
|
||||||
$diroutput=$conf->barcode->dir_temp;
|
$diroutput=$conf->barcode->dir_temp;
|
||||||
|
|||||||
@ -633,7 +633,7 @@ abstract class CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Load data for barcode into properties ->barcode_type*
|
* Load data for barcode into properties ->barcode_type*
|
||||||
* Properties ->barcode_type that is id of barcode type is used to find other properties, but
|
* Properties ->barcode_type that is id of barcode. Type is used to find other properties, but
|
||||||
* if it is not defined, ->element must be defined to know default barcode type.
|
* if it is not defined, ->element must be defined to know default barcode type.
|
||||||
*
|
*
|
||||||
* @return int <0 if KO, 0 if can't guess type of barcode (ISBN, EAN13...), >0 if OK (all barcode properties loaded)
|
* @return int <0 if KO, 0 if can't guess type of barcode (ISBN, EAN13...), >0 if OK (all barcode properties loaded)
|
||||||
|
|||||||
@ -124,9 +124,9 @@ class Product extends CommonObject
|
|||||||
//! barcode
|
//! barcode
|
||||||
var $barcode; // value
|
var $barcode; // value
|
||||||
var $barcode_type; // id
|
var $barcode_type; // id
|
||||||
var $barcode_type_code; // code (loaded by fetch_barcode). Example ean, isbn...
|
var $barcode_type_code; // code (loaded by fetch_barcode). Example 'ean', 'isbn', ...
|
||||||
var $barcode_type_label; // label (loaded by fetch_barcode)
|
var $barcode_type_label; // label (loaded by fetch_barcode)
|
||||||
var $barcode_type_coder; // coder (loaded by fetch_barcode)
|
var $barcode_type_coder; // coder (loaded by fetch_barcode). Engine.
|
||||||
|
|
||||||
var $stats_propale=array();
|
var $stats_propale=array();
|
||||||
var $stats_commande=array();
|
var $stats_commande=array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user