Fix: Direct payment from autosubscribe form was showing wrong text.
This commit is contained in:
parent
40be7cc59a
commit
06968f3f77
@ -193,3 +193,4 @@ Associations=Foundations
|
|||||||
Collectivités=Organizations
|
Collectivités=Organizations
|
||||||
Particuliers=Personal
|
Particuliers=Personal
|
||||||
Entreprises=Companies
|
Entreprises=Companies
|
||||||
|
DOLIBARRFOUNDATION_PAYMENT_FORM=To make your subscription payment using a bank transfer, see page <a href="http://wiki.dolibarr.org/index.php/Subscribe#To_subscribe_making_a_bank_transfer">http://wiki.dolibarr.org/index.php/Subscribe</a>.<br>To pay using a Credit Card or Paypal, click on button at bottom of this page.<br><br>
|
||||||
|
|||||||
@ -197,3 +197,4 @@ Associations=Associations
|
|||||||
Collectivités=Collectivités
|
Collectivités=Collectivités
|
||||||
Particuliers=Particuliers
|
Particuliers=Particuliers
|
||||||
Entreprises=Entreprises
|
Entreprises=Entreprises
|
||||||
|
DOLIBARRFOUNDATION_PAYMENT_FORM=Pour réaliser le paiement de votre cotisation par virement bancaire ou par chèque, consulter la page <a href="http://wiki.dolibarr.org/index.php/Adh%C3%A9rer#Pour_une_adh.C3.A9sion_par_ch.C3.A8que">http://wiki.dolibarr.org/index.php/Adhérer</a>.<br>Pour payer dès maintenant par Carte Bancaire ou Paypal, cliquer sur le bouton au bas de cette page.<br><br>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
* \ingroup paybox
|
* \ingroup paybox
|
||||||
* \brief File to offer a way to make a payment for a particular Dolibarr entity
|
* \brief File to offer a way to make a payment for a particular Dolibarr entity
|
||||||
* \author Laurent Destailleur
|
* \author Laurent Destailleur
|
||||||
* \version $Id: newpayment.php,v 1.57 2011/07/13 11:14:43 eldy Exp $
|
* \version $Id: newpayment.php,v 1.58 2011/07/13 11:42:39 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define("NOLOGIN",1); // This means this output page does not require to be logged.
|
define("NOLOGIN",1); // This means this output page does not require to be logged.
|
||||||
@ -188,7 +188,12 @@ if ($urllogo)
|
|||||||
|
|
||||||
// Output introduction text
|
// Output introduction text
|
||||||
$text='';
|
$text='';
|
||||||
if (! empty($conf->global->PAYBOX_NEWMEMBER_TEXT)) $text.=$langs->trans($conf->global->PAYBOX_NEWMEMBER_TEXT)."<br>\n";
|
if (! empty($conf->global->PAYBOX_NEWMEMBER_TEXT))
|
||||||
|
{
|
||||||
|
$langs->load("members");
|
||||||
|
if (preg_match('/^\((.*)\)$/',$conf->global->PAYBOX_NEWMEMBER_TEXT,$reg)) $text.=$langs->trans($reg[1])."<br>\n";
|
||||||
|
else $text.=$conf->global->PAYBOX_NEWMEMBER_TEXT."<br>\n";
|
||||||
|
}
|
||||||
if (empty($text))
|
if (empty($text))
|
||||||
{
|
{
|
||||||
$text.='<tr><td align="center"><br>'.$langs->trans("WelcomeOnPaymentPage").'<br></td></tr>'."\n";
|
$text.='<tr><td align="center"><br>'.$langs->trans("WelcomeOnPaymentPage").'<br></td></tr>'."\n";
|
||||||
@ -723,5 +728,5 @@ html_print_paybox_footer($mysoc,$langs);
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooterPayBox('$Date: 2011/07/13 11:14:43 $ - $Revision: 1.57 $');
|
llxFooterPayBox('$Date: 2011/07/13 11:42:39 $ - $Revision: 1.58 $');
|
||||||
?>
|
?>
|
||||||
|
|||||||
@ -23,7 +23,7 @@
|
|||||||
* \ingroup paypal
|
* \ingroup paypal
|
||||||
* \brief File to offer a way to make a payment for a particular Dolibarr entity
|
* \brief File to offer a way to make a payment for a particular Dolibarr entity
|
||||||
* \author Laurent Destailleur
|
* \author Laurent Destailleur
|
||||||
* \version $Id: newpayment.php,v 1.22 2011/07/13 11:14:43 eldy Exp $
|
* \version $Id: newpayment.php,v 1.23 2011/07/13 11:42:39 eldy Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
define("NOLOGIN",1); // This means this output page does not require to be logged.
|
define("NOLOGIN",1); // This means this output page does not require to be logged.
|
||||||
@ -282,7 +282,12 @@ if ($urllogo)
|
|||||||
|
|
||||||
// Output introduction text
|
// Output introduction text
|
||||||
$text='';
|
$text='';
|
||||||
if (! empty($conf->global->PAYPAL_NEWMEMBER_TEXT)) $text.=$langs->trans($conf->global->PAYPAL_NEWMEMBER_TEXT)."<br>\n";
|
if (! empty($conf->global->PAYBOX_NEWMEMBER_TEXT))
|
||||||
|
{
|
||||||
|
$langs->load("members");
|
||||||
|
if (preg_match('/^\((.*)\)$/',$conf->global->PAYBOX_NEWMEMBER_TEXT,$reg)) $text.=$langs->trans($reg[1])."<br>\n";
|
||||||
|
else $text.=$conf->global->PAYBOX_NEWMEMBER_TEXT."<br>\n";
|
||||||
|
}
|
||||||
if (empty($text))
|
if (empty($text))
|
||||||
{
|
{
|
||||||
$text.='<tr><td align="center"><br>'.$langs->trans("WelcomeOnPaymentPage").'<br></td></tr>'."\n";
|
$text.='<tr><td align="center"><br>'.$langs->trans("WelcomeOnPaymentPage").'<br></td></tr>'."\n";
|
||||||
@ -941,5 +946,5 @@ html_print_paypal_footer($mysoc,$langs);
|
|||||||
|
|
||||||
$db->close();
|
$db->close();
|
||||||
|
|
||||||
llxFooterPaypal('$Date: 2011/07/13 11:14:43 $ - $Revision: 1.22 $');
|
llxFooterPaypal('$Date: 2011/07/13 11:42:39 $ - $Revision: 1.23 $');
|
||||||
?>
|
?>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user