From 296f0fbadb9d63c2b9a789b2a3e72dbef8f2a593 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 17 Sep 2006 19:19:34 +0000 Subject: [PATCH] =?UTF-8?q?Modifications=20pour=20pr=E9parer=20le=20drag?= =?UTF-8?q?=20and=20drop=20des=20boites=20par=20ajax?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/ihm.php | 19 +++++++++++++++++-- htdocs/includes/boxes/modules_boxes.php | 8 +++++--- htdocs/theme/eldy/eldy.css.php | 1 - 3 files changed, 22 insertions(+), 6 deletions(-) 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 ''; print ''; $var=!$var; - print ''; + print ''; 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 '
'; print '
'; @@ -315,11 +327,14 @@ else print ''; print '
'; + // Message of the day $var=true; print ''; print ''; $var=!$var; - print ''; + 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 '
'; diff --git a/htdocs/includes/boxes/modules_boxes.php b/htdocs/includes/boxes/modules_boxes.php index 70f4e7c414a..852b1bf18cc 100644 --- a/htdocs/includes/boxes/modules_boxes.php +++ b/htdocs/includes/boxes/modules_boxes.php @@ -65,8 +65,10 @@ class ModeleBoxes $nbcol=sizeof($contents[0])+1; $nblines=sizeof($contents); - print "\n\n"; - print ''; + print "\n\n\n"; + print '
boxid)) print ' id="boxobject_'.$this->boxid.'"'; + print '>'; // Affiche titre de la boite 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 {