From b2c9aedbcf575693570834d30c4c15aa78e33d32 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 13 Jul 2011 10:22:54 +0000 Subject: [PATCH] Fix: Only one message --- htdocs/public/members/new.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 5675d02c4c7..035e8848da4 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -22,7 +22,7 @@ * \file htdocs/public/members/new.php * \ingroup member * \brief Example of form to add a new member - * \version $Id: new.php,v 1.39 2011/07/05 08:33:34 eldy Exp $ + * \version $Id: new.php,v 1.40 2011/07/13 10:22:54 eldy Exp $ * * Note that you can add following constant to change behaviour of page * MEMBER_NEWFORM_AMOUNT Default amount for autosubscribe form @@ -280,7 +280,7 @@ if ($action == 'added') print $langs->trans("NewMemberbyWeb"); print ''; - llxFooterVierge('$Date: 2011/07/05 08:33:34 $ - $Revision: 1.39 $'); + llxFooterVierge('$Date: 2011/07/13 10:22:54 $ - $Revision: 1.40 $'); exit; } @@ -301,8 +301,8 @@ llxHeaderVierge($langs->trans("NewSubscription")); print_titre($langs->trans("NewSubscription")); -print $langs->trans("NewSubscriptionDesc").'
'; if (! empty($conf->global->MEMBER_NEWFORM_TEXT)) print $langs->trans($conf->global->MEMBER_NEWFORM_TEXT)."
\n"; +else print $langs->trans("NewSubscriptionDesc",$conf->global->MAIN_INFO_SOCIETE_MAIL)."
\n"; dol_htmloutput_errors($errmsg); @@ -528,5 +528,5 @@ print "
\n"; $db->close(); -llxFooterVierge('$Date: 2011/07/05 08:33:34 $ - $Revision: 1.39 $'); +llxFooterVierge('$Date: 2011/07/13 10:22:54 $ - $Revision: 1.40 $'); ?>