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, 1); } // Confirm send card by mail if ($action == 'sendinfo') { print $form->formconfirm("card.php?rowid=" . $rowid, $langs->trans("SendCardByMail"), $langs->trans("ConfirmSendCardByMail", $object->email), "confirm_sendinfo", '', 0, 1); } // Confirm terminate if ($action == 'resign') { $langs->load("mails"); $adht = new AdherentType($db); $adht->fetch($object->typeid); $subjecttosend = $object->makeSubstitution($conf->global->ADHERENT_MAIL_RESIL_SUBJECT); $texttosend = $object->makeSubstitution($adht->getMailOnResiliate()); $tmp = $langs->trans("SendAnEMailToMember"); $tmp .= '<br>(' . $langs->trans("MailFrom") . ': <b>' . $conf->global->ADHERENT_MAIL_FROM . '</b>, '; $tmp .= $langs->trans("MailRecipient") . ': <b>' . $object->email . '</b>)'; $helpcontent = ''; $helpcontent .= '<b>' . $langs->trans("MailFrom") . '</b>: ' . $conf->global->ADHERENT_MAIL_FROM . '<br>' . "\n"; $helpcontent .= '<b>' . $langs->trans("MailRecipient") . '</b>: ' . $object->email . '<br>' . "\n"; $helpcontent .= '<b>' . $langs->trans("Subject") . '</b>:<br>' . "\n"; $helpcontent .= $subjecttosend . "\n"; $helpcontent .= "<br>"; $helpcontent .= '<b>' . $langs->trans("Content") . '</b>:<br>'; $helpcontent .= dol_htmlentitiesbr($texttosend) . "\n"; $label = $form->textwithpicto($tmp, $helpcontent, 1, 'help'); // Cree un tableau formulaire $formquestion = array(); if ($object->email) {