Qual: Remove usage of deprecated properties

This commit is contained in:
Laurent Destailleur 2011-02-20 11:52:23 +00:00
parent 61950abf47
commit 33dc0374bc
4 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;