From bf46ee17e9b4ed6c0f56bb6d7a8d92812ad9cee8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 22 Oct 2006 13:46:47 +0000 Subject: [PATCH] Debut gestion drag and drop des boxes --- htdocs/includes/boxes/modules_boxes.php | 7 +++++-- htdocs/theme/yellow/yellow.css | 1 - 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/htdocs/includes/boxes/modules_boxes.php b/htdocs/includes/boxes/modules_boxes.php index ae12ca9b75c..64c781dd827 100644 --- a/htdocs/includes/boxes/modules_boxes.php +++ b/htdocs/includes/boxes/modules_boxes.php @@ -56,7 +56,7 @@ class ModeleBoxes */ function showBox($head, $contents) { - global $langs; + global $langs,$conf; $bcx[0] = 'class="box_pair"'; $bcx[1] = 'class="box_impair"'; @@ -71,7 +71,10 @@ class ModeleBoxes print '>'; // Affiche titre de la boite - print 'use_ajax) print ' style="cursor:move;"'; + print '>'; + print ' 0) { print ' colspan="'.$nbcol.'"'; } print '>'; print dolibarr_trunc($head['text'],isset($head['limit'])?$head['limit']:$this->MAXLENGTHBOX); diff --git a/htdocs/theme/yellow/yellow.css b/htdocs/theme/yellow/yellow.css index e405bea7c16..376fb9a35c5 100644 --- a/htdocs/theme/yellow/yellow.css +++ b/htdocs/theme/yellow/yellow.css @@ -452,7 +452,6 @@ list-style-type:none; margin:0px; padding:0px; spacing:0px; -cursor:move; } .notopnoleft {