From 2f4137934fa20a87d207d93df6eda6af80f8b5ea Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 23 Jan 2007 22:46:40 +0000 Subject: [PATCH] Look: Fix style bouton --- htdocs/admin/adherent.php | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/htdocs/admin/adherent.php b/htdocs/admin/adherent.php index d6bb7732ac9..119418a2d55 100644 --- a/htdocs/admin/adherent.php +++ b/htdocs/admin/adherent.php @@ -98,6 +98,7 @@ if ($_GET["action"] == 'unset') if ($db->query($sql)) { Header("Location: adherent.php"); + exit; } } @@ -128,9 +129,9 @@ print ''; print ''; print ''; print "".$langs->trans("AdherentMailRequired").''; -$form->selectyesnonum('constvalue',ADHERENT_MAIL_REQUIRED); +$form->selectyesnonum('constvalue',$conf->global->ADHERENT_MAIL_REQUIRED); print ''; -print ''; +print ''; print "\n"; print ''; @@ -143,9 +144,9 @@ if ($conf->banque->enabled) print ''; print ''; print "".$langs->trans("AddSubscriptionIntoAccount").''; - $form->selectyesnonum('constvalue',ADHERENT_BANK_USE); + $form->selectyesnonum('constvalue',$conf->global->ADHERENT_BANK_USE); print ''; - print ''; + print ''; print "\n"; print ''; } @@ -285,9 +286,9 @@ function form_constantes($tableau){ print ''; print ''; print ''; - print ''; + print ''; - print "".stripslashes(nl2br($obj->note))."\n"; + print "".nl2br($obj->note)."\n"; print ''; if ($obj->type == 'yesno') @@ -298,7 +299,7 @@ function form_constantes($tableau){ } elseif ($obj->type == 'texte') { - print '\n"; print ''; @@ -306,13 +307,13 @@ function form_constantes($tableau){ } else { - print ''; + print ''; print ''; $form->select_array('consttype',array('yesno','texte','chaine'),2); } print ''; - print '  '; + print '  '; // print ''.img_delete().''; print "\n";