diff --git a/htdocs/adherents/card.php b/htdocs/adherents/card.php
index 924d9bc4481..9a0fecba320 100644
--- a/htdocs/adherents/card.php
+++ b/htdocs/adherents/card.php
@@ -976,7 +976,6 @@ else
$head = member_prepare_head($object);
- dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user');
if ($conf->use_javascript_ajax)
{
@@ -1020,6 +1019,8 @@ else
print ' ';
if ($backtopage) print ' ';
+ dol_fiche_head($head, 'general', $langs->trans("Member"), 0, 'user');
+
print '
';
+ dol_fiche_end();
+
+ print '
';
print ' ';
print ' ';
print ' ';
@@ -1187,7 +1190,6 @@ else
print '';
- print '
';
}
if ($rowid && $action != 'edit')
@@ -1277,7 +1279,7 @@ else
$texttosend=$object->makeSubstitution($adht->getMailOnValid());
$tmp=$langs->trans("SendAnEMailToMember");
- $tmp.=' ('.$langs->trans("MailFrom").':
'.$conf->global->ADHERENT_MAIL_FROM.' , ';
+ $tmp.='
('.$langs->trans("MailFrom").':
'.$conf->global->ADHERENT_MAIL_FROM.' , ';
$tmp.=$langs->trans("MailRecipient").':
'.$object->email.' )';
$helpcontent='';
$helpcontent.='
'.$langs->trans("MailFrom").' : '.$conf->global->ADHERENT_MAIL_FROM.'
'."\n";
@@ -1298,7 +1300,7 @@ else
if (! empty($conf->mailman->enabled) && ! empty($conf->global->ADHERENT_USE_SPIP)) {
$formquestion[]=array('type'=>'other','label'=>$langs->transnoentitiesnoconv("SynchroSpipEnabled"),'value'=>'');
}
- print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ValidateMember"),$langs->trans("ConfirmValidateMember"),"confirm_valid",$formquestion,1);
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ValidateMember"),$langs->trans("ConfirmValidateMember"),"confirm_valid",$formquestion,1,1);
}
// Confirm send card by mail
@@ -1319,7 +1321,7 @@ else
$texttosend=$object->makeSubstitution($adht->getMailOnResiliate());
$tmp=$langs->trans("SendAnEMailToMember");
- $tmp.=' ('.$langs->trans("MailFrom").':
'.$conf->global->ADHERENT_MAIL_FROM.' , ';
+ $tmp.='
('.$langs->trans("MailFrom").':
'.$conf->global->ADHERENT_MAIL_FROM.' , ';
$tmp.=$langs->trans("MailRecipient").':
'.$object->email.' )';
$helpcontent='';
$helpcontent.='
'.$langs->trans("MailFrom").' : '.$conf->global->ADHERENT_MAIL_FROM.'
'."\n";
@@ -1335,7 +1337,7 @@ else
$formquestion=array();
if ($object->email) $formquestion[]=array('type' => 'checkbox', 'name' => 'send_mail', 'label' => $label, 'value' => (! empty($conf->global->ADHERENT_DEFAULT_SENDINFOBYMAIL)?'true':'false'));
if ($backtopage) $formquestion[]=array('type' => 'hidden', 'name' => 'backtopage', 'value' => ($backtopage != '1' ? $backtopage : $_SERVER["HTTP_REFERER"]));
- print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ResiliateMember"),$langs->trans("ConfirmResiliateMember"),"confirm_resign",$formquestion);
+ print $form->formconfirm("card.php?rowid=".$rowid,$langs->trans("ResiliateMember"),$langs->trans("ConfirmResiliateMember"),"confirm_resign",$formquestion,'no',1);
}
// Confirm remove member
diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 75f10d812f9..69d480888fe 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -404,7 +404,7 @@ class Form
else $paramfortooltiptd =($extracss?' class="'.$extracss.'"':'').($extrastyle?' style="'.$extrastyle.'"':''); // Attribut to put on td text tag
$s="";
if (empty($notabs)) $s.='
';
- elseif ($notabs == 2) $s.='';
+ elseif ($notabs == 2) $s.='
';
// Define value if value is before
if ($direction < 0) {
$s.='<'.$tag.$paramfortooltipimg;
@@ -3212,9 +3212,9 @@ class Form
// Show JQuery confirm box. Note that global var $useglobalvars is used inside this template
$formconfirm.= '
';
if (! empty($more)) {
- $formconfirm.= '
'.$more.'
';
+ $formconfirm.= '
'.$more.'
';
}
- $formconfirm.= ($question ? img_help('','').' '.$question : '');
+ $formconfirm.= ($question ? '
': '');
$formconfirm.= '
'."\n";
$formconfirm.= "\n\n";
diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php
index 44c71a304eb..0ab45e0d0d9 100644
--- a/htdocs/theme/eldy/style.css.php
+++ b/htdocs/theme/eldy/style.css.php
@@ -465,7 +465,9 @@ div.divsearchfield {
float: ;
margin-: 12px;
}
-
+div.confirmmessage {
+ padding-top: 6px;
+}
/* Style to move picto into left of button */
/*
.buttonactionview {