diff --git a/htdocs/comm/mailing/card.php b/htdocs/comm/mailing/card.php index e8635ec48613fe6c0ac47a7c51025147c900028d..9108264691331157b46dd1bfc595f16e08f7229d 100644 --- a/htdocs/comm/mailing/card.php +++ b/htdocs/comm/mailing/card.php @@ -675,6 +675,8 @@ if ($action == 'create') print_fiche_titre($langs->trans("NewMailing")); + dol_fiche_head(); + print '<table class="border" width="100%">'; print '<tr><td width="25%" class="fieldrequired">'.$langs->trans("MailTitle").'</td><td><input class="flat" name="titre" size="40" value="'.$_POST['titre'].'"></td></tr>'; print '<tr><td width="25%" class="fieldrequired">'.$langs->trans("MailFrom").'</td><td><input class="flat" name="from" size="40" value="'.$conf->global->MAILING_EMAIL_FROM.'"></td></tr>'; @@ -706,12 +708,14 @@ if ($action == 'create') print '<td>'; // Editeur wysiwyg require_once DOL_DOCUMENT_ROOT.'/core/class/doleditor.class.php'; - $doleditor=new DolEditor('body',$_POST['body'],'',320,'dolibarr_mailings','',true,true,$conf->global->FCKEDITOR_ENABLE_MAILING,20,70); + $doleditor=new DolEditor('body',$_POST['body'],'',320,'dolibarr_mailings','',true,true,$conf->global->FCKEDITOR_ENABLE_MAILING,20,'90%'); $doleditor->Create(); print '</td></tr>'; print '</table>'; - print '<br><div class="center"><input type="submit" class="button" value="'.$langs->trans("CreateMailing").'"></div>'; + dol_fiche_end(); + + print '<div class="center"><input type="submit" class="button" value="'.$langs->trans("CreateMailing").'"></div>'; print '</form>'; } diff --git a/htdocs/don/index.php b/htdocs/don/index.php index e157c465a9ba586b43169dfa2c1d7f00a8077f89..7630ed8d3e7cf7c1150af3cd14b7052c3e8e2613 100644 --- a/htdocs/don/index.php +++ b/htdocs/don/index.php @@ -85,7 +85,7 @@ print '<table width="100%" class="notopnoleftnoright">'; print '<tr><td class="notopnoleft" width="30%" valign="top">'; -print '<table class="noborder" width="100%">'; +print '<table class="noborder nohover" width="100%">'; print '<tr class="liste_titre">'; print '<td colspan="4">'.$langs->trans("Statistics").'</td>'; print "</tr>\n";