diff --git a/htdocs/paypal/admin/paypal.php b/htdocs/paypal/admin/paypal.php index 2d0be83c80d..4c3dd2d961e 100644 --- a/htdocs/paypal/admin/paypal.php +++ b/htdocs/paypal/admin/paypal.php @@ -141,7 +141,7 @@ print ''.$langs->trans("Value").''; print "\n"; print ''; -print ''; +print ''; print $langs->trans("PaypalLiveEnabled").''; if (empty($conf->global->PAYPAL_API_SANDBOX)) { diff --git a/htdocs/public/paypal/newpayment.php b/htdocs/public/paypal/newpayment.php index 08bf0c4faed..5be4e49f232 100644 --- a/htdocs/public/paypal/newpayment.php +++ b/htdocs/public/paypal/newpayment.php @@ -276,7 +276,7 @@ $paramcreditor='PAYPAL_CREDITOR_'.$suffix; if (! empty($conf->global->$paramcreditor)) $creditor=$conf->global->$paramcreditor; else if (! empty($conf->global->PAYPAL_CREDITOR)) $creditor=$conf->global->PAYPAL_CREDITOR; -print ''."\n"; +print ''."\n"; print '
'."\n"; print '
'."\n"; print ''."\n"; @@ -969,12 +969,13 @@ if ($found && ! $error) // We are in a management option and no error if ($conf->global->PAYPAL_API_INTEGRAL_OR_PAYPALONLY == 'integral') { - print '
'; + print '
'; } if ($conf->global->PAYPAL_API_INTEGRAL_OR_PAYPALONLY == 'paypalonly') { - print '
'; + print '
'; } + print ''; } else { @@ -986,9 +987,22 @@ print ''."\n"; print ''."\n"; print '
'."\n"; print '
'."\n"; + + +print ''; + + print '
'; + htmlPrintOnlinePaymentFooter($mysoc,$langs); llxFooter('', 'public'); diff --git a/htdocs/public/stripe/newpayment.php b/htdocs/public/stripe/newpayment.php index 64ea70cfbeb..a430baafb59 100644 --- a/htdocs/public/stripe/newpayment.php +++ b/htdocs/public/stripe/newpayment.php @@ -90,8 +90,8 @@ if (! $action) //$urlwithroot=$urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file $urlwithroot=DOL_MAIN_URL_ROOT; // This is to use same domain name than current -$urlok=$urlwithroot.'/public/paypal/paymentok.php?'; -$urlko=$urlwithroot.'/public/paypal/paymentko.php?'; +$urlok=$urlwithroot.'/public/stripe/paymentok.php?'; +$urlko=$urlwithroot.'/public/stripe/paymentko.php?'; // Complete urls for post treatment $SOURCE=GETPOST("source",'alpha'); @@ -1119,8 +1119,8 @@ if (preg_match('/^dopayment/',$action))
- - + + @@ -1131,82 +1131,84 @@ if (preg_match('/^dopayment/',$action)) '; + print ''; } diff --git a/htdocs/stripe/admin/stripe.php b/htdocs/stripe/admin/stripe.php index 056e43690b2..f135927b28a 100644 --- a/htdocs/stripe/admin/stripe.php +++ b/htdocs/stripe/admin/stripe.php @@ -134,7 +134,7 @@ print ''.$langs->trans("Value").''; print "\n"; print ''; -print ''; +print ''; print $langs->trans("StripeLiveEnabled").''; if (!empty($conf->global->STRIPE_LIVE)) { @@ -229,7 +229,7 @@ $token=''; // Url list print ''.$langs->trans("FollowingUrlAreAvailableToMakePayments").':
'; print img_picto('','object_globe.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnFreeAmount",$servicename).':
'; -print ''.getStripePaymentUrl(1,'free')."

\n"; +print ''.getStripePaymentUrl(1,'free')."
\n"; if (! empty($conf->commande->enabled)) { print img_picto('','object_globe.png').' '.$langs->trans("ToOfferALinkForOnlinePaymentOnOrder",$servicename).':
'; @@ -250,7 +250,6 @@ if (! empty($conf->commande->enabled)) } print ''; } - print '
'; } if (! empty($conf->facture->enabled)) { @@ -272,7 +271,6 @@ if (! empty($conf->facture->enabled)) } print ''; } - print '
'; } if (! empty($conf->contrat->enabled)) { @@ -294,7 +292,6 @@ if (! empty($conf->contrat->enabled)) } print ''; } - print '
'; } if (! empty($conf->adherent->enabled)) { diff --git a/htdocs/theme/common/dolibarr_box.png b/htdocs/theme/common/dolibarr_box.png index 074b41951ba..69595524187 100644 Binary files a/htdocs/theme/common/dolibarr_box.png and b/htdocs/theme/common/dolibarr_box.png differ diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index a8e7729f31b..80edfc6fea9 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -3264,7 +3264,7 @@ div.visible { display: block; } -div.hidden { +div.hidden, td.hidden, img.hidden { display: none; } @@ -3272,10 +3272,6 @@ tr.visible { display: block; } -td.hidden { - display: none; -} - /* ============================================================================== */ /* Module website */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 5c96fa501ae..36e2dc4e6f3 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3362,7 +3362,7 @@ div.visible { display: block; } -div.hidden { +div.hidden, td.hidden, img.hidden { display: none; } @@ -3370,10 +3370,6 @@ tr.visible { display: block; } -td.hidden { - display: none; -} - /* ============================================================================== */ /* Module website */