diff --git a/html/js/scripts.js b/html/js/scripts.js index 5faa766c7..94fb14b5e 100644 --- a/html/js/scripts.js +++ b/html/js/scripts.js @@ -2751,7 +2751,8 @@ function calendar_zoom(obj) obj.outdiv = 'calendar_zoom_div'; } if ($(obj.outdiv) == undefined) { - var str_style = fixed_position(0, 220); + var str_style = 'top:10%;margin-left:2%;'; +// var str_style = fixed_position(0, 120); add_div({id: obj.outdiv, style: 'margin-left:3%;width:94%;' + str_style, cssclass: "inner_box", drag: 0}); } remove_waiting_box(); diff --git a/include/ajax/ajax_calendar_zoom.php b/include/ajax/ajax_calendar_zoom.php index 6d5ebe7e3..4639e526c 100644 --- a/include/ajax/ajax_calendar_zoom.php +++ b/include/ajax/ajax_calendar_zoom.php @@ -27,7 +27,10 @@ require_once NOALYSS_INCLUDE.'/lib/http_input.class.php'; $http=new HttpInput(); ob_start(); -if ( $notitle== 0 ) echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div"); +if ($notitle==0) +{ + echo HtmlInput::title_box(_("Calendrier"), "calendar_zoom_div", "close", "", "y"); +} $cal=new Calendar(); $in=$http->get('in',"string",""); $notitle=$http->get('notitle',"string","0"); diff --git a/include/template/action_display_short.php b/include/template/action_display_short.php index bcea6f9b0..2afec0525 100644 --- a/include/template/action_display_short.php +++ b/include/template/action_display_short.php @@ -78,7 +78,7 @@ $dest->style=' style="vertical-align:0%"'; $hour=new IText('hour_event'); $hour->size=5; -echo HtmlInput::title_box(_('Nouvel événement'), 'action_add_div'); +echo HtmlInput::title_box(_('Nouvel événement'), 'action_add_div',"close","","y"); ?>