diff --git a/htdocs/admin/ihm.php b/htdocs/admin/ihm.php index ccc92ec4d56..811ba377924 100644 --- a/htdocs/admin/ihm.php +++ b/htdocs/admin/ihm.php @@ -208,7 +208,19 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') print '
| '.$langs->trans("Parameter").' | '.$langs->trans("Value").' |
| '.$langs->trans("MessageOfDay").' | |
| '.$langs->trans("MessageOfDay").' | '; + if ($conf->fckeditor->enabled) + { + // Editeur wysiwyg + require_once(DOL_DOCUMENT_ROOT."/lib/doleditor.class.php"); + $doleditor=new DolEditor('main_motd',$conf->global->MAIN_MOTD,158,'dolibarr_notes','In',true); + $doleditor->Create(); + } + else + { + print ''; + } + print ' |
| '.$langs->trans("Parameter").' | '.$langs->trans("Value").' |
| '.$langs->trans("MessageOfDay").' | ' . stripslashes(nl2br($conf->global->MAIN_MOTD)) . ' |
| '.$langs->trans("MessageOfDay").' | '; + print nl2br($conf->global->MAIN_MOTD); + print ' |
| "; - print "\n\n"; + print "\n\n\n"; } diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index 20d28c14e7a..8082e7ddfab 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -608,7 +608,6 @@ list-style-type:none; margin:0px; padding:0px; spacing:0px; -cursor:move; } .notopnoleft { |