This commit is contained in:
Laurent Destailleur 2019-10-05 19:28:00 +02:00
parent 7f5ccf4b8e
commit ac8837d01f

View File

@ -125,12 +125,12 @@ function getValidOnlinePaymentMethods($paymentmethod = '')
*/
function showOnlinePaymentUrl($type, $ref)
{
global $conf, $langs;
global $langs;
// Load translation files required by the page
$langs->loadLangs(array('payment', 'paybox'));
$servicename=$langs->transnoentitiesnoconve('Online'):;
$servicename=$langs->transnoentitiesnoconv('Online');
$out = img_picto('', 'object_globe.png').' '.$langs->trans("ToOfferALinkForOnlinePayment", $servicename).'<br>';
$url = getOnlinePaymentUrl(0, $type, $ref);