From e9cdd3a46d79a18d1b1fa8a940989d6806b45d36 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 22 Dec 2006 20:34:34 +0000 Subject: [PATCH] Saisie des mails accueil en HTML avec FCKEDitor --- htdocs/adherents/type.php | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php index a2479b9bc5d..e7389281104 100644 --- a/htdocs/adherents/type.php +++ b/htdocs/adherents/type.php @@ -235,10 +235,11 @@ if ($rowid > 0) $h=0; $head[$h][0] = $_SERVER["PHP_SELF"].'?rowid='.$adht->id; - $head[$h][1] = $langs->trans("MemberType").': '.$adht->libelle; + $head[$h][1] = $langs->trans("Card"); + $head[$h][2] = 'card'; $h++; - dolibarr_fiche_head($head, 0, ''); + dolibarr_fiche_head($head, 'card', $langs->trans("MemberType")); print ''; @@ -289,10 +290,11 @@ if ($rowid > 0) $h=0; $head[$h][0] = $_SERVER["PHP_SELF"].'?rowid='.$adht->id; - $head[$h][1] = $langs->trans("MemberType").': '.$adht->libelle; + $head[$h][1] = $langs->trans("Card"); + $head[$h][2] = 'card'; $h++; - dolibarr_fiche_head($head, 0, ''); + dolibarr_fiche_head($head, 'card', $langs->trans("MemberType")); print ''; @@ -313,12 +315,25 @@ if ($rowid > 0) print ''; print '"; + print ""; print '"; + if ($conf->fckeditor->enabled) + { + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('mail_valid','',280,'dolibarr_notes','',false); + $doleditor->Create(); + } + else + { + print ''; + } + + + print ""; - print ''; print '
'.$langs->trans("Comments").''; - print "
'.$langs->trans("WelcomeEMail").''; - print "
 '; + print '
   '; print '
';