Qual: Remove usage of deprecated properties
This commit is contained in:
parent
61950abf47
commit
33dc0374bc
@ -153,7 +153,7 @@ $var=!$var;
|
|||||||
print '<tr '.$bc[$var].'><td>';
|
print '<tr '.$bc[$var].'><td>';
|
||||||
print $langs->trans("VendorName").'</td><td>';
|
print $langs->trans("VendorName").'</td><td>';
|
||||||
print '<input size="64" type="text" name="PAYBOX_CREDITOR" value="'.$conf->global->PAYBOX_CREDITOR.'">';
|
print '<input size="64" type="text" name="PAYBOX_CREDITOR" value="'.$conf->global->PAYBOX_CREDITOR.'">';
|
||||||
print '<br>'.$langs->trans("Example").': '.$mysoc->nom;
|
print '<br>'.$langs->trans("Example").': '.$mysoc->name;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -154,7 +154,7 @@ $var=!$var;
|
|||||||
print '<tr '.$bc[$var].'><td>';
|
print '<tr '.$bc[$var].'><td>';
|
||||||
print $langs->trans("VendorName").'</td><td>';
|
print $langs->trans("VendorName").'</td><td>';
|
||||||
print '<input size="64" type="text" name="PAYPAL_CREDITOR" value="'.$conf->global->PAYPAL_CREDITOR.'">';
|
print '<input size="64" type="text" name="PAYPAL_CREDITOR" value="'.$conf->global->PAYPAL_CREDITOR.'">';
|
||||||
print '<br>'.$langs->trans("Example").': '.$mysoc->nom;
|
print '<br>'.$langs->trans("Example").': '.$mysoc->name;
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
@ -134,7 +134,7 @@ llxHeaderPayBox($langs->trans("PaymentForm"));
|
|||||||
|
|
||||||
|
|
||||||
// Common variables
|
// Common variables
|
||||||
$creditor=$mysoc->nom;
|
$creditor=$mysoc->name;
|
||||||
$paramcreditor='PAYBOX_CREDITOR_'.$suffix;
|
$paramcreditor='PAYBOX_CREDITOR_'.$suffix;
|
||||||
if (! empty($conf->global->$paramcreditor)) $creditor=$conf->global->$paramcreditor;
|
if (! empty($conf->global->$paramcreditor)) $creditor=$conf->global->$paramcreditor;
|
||||||
else if (! empty($conf->global->PAYBOX_CREDITOR)) $creditor=$conf->global->PAYBOX_CREDITOR;
|
else if (! empty($conf->global->PAYBOX_CREDITOR)) $creditor=$conf->global->PAYBOX_CREDITOR;
|
||||||
|
|||||||
@ -215,7 +215,7 @@ llxHeaderPaypal($langs->trans("PaymentForm"));
|
|||||||
|
|
||||||
|
|
||||||
// Common variables
|
// Common variables
|
||||||
$creditor=$mysoc->nom;
|
$creditor=$mysoc->name;
|
||||||
$paramcreditor='PAYPAL_CREDITOR_'.$suffix;
|
$paramcreditor='PAYPAL_CREDITOR_'.$suffix;
|
||||||
if (! empty($conf->global->$paramcreditor)) $creditor=$conf->global->$paramcreditor;
|
if (! empty($conf->global->$paramcreditor)) $creditor=$conf->global->$paramcreditor;
|
||||||
else if (! empty($conf->global->PAYPAL_CREDITOR)) $creditor=$conf->global->PAYPAL_CREDITOR;
|
else if (! empty($conf->global->PAYPAL_CREDITOR)) $creditor=$conf->global->PAYPAL_CREDITOR;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user