diff --git a/calendar/inc/class.calendar_ui.inc.php b/calendar/inc/class.calendar_ui.inc.php index 69536c2f2e..b08b5902af 100644 --- a/calendar/inc/class.calendar_ui.inc.php +++ b/calendar/inc/class.calendar_ui.inc.php @@ -436,7 +436,7 @@ class calendar_ui { egw_framework::set_extra('calendar', 'state', $states); } - + } } } @@ -509,9 +509,9 @@ class calendar_ui * Create a select-box item in the sidebox-menu * @privat used only by sidebox_menu ! */ - function _select_box($title,$name,$options) + function _select_box($title,$name,$options,$width='99%') { - $select = ' \n"; @@ -686,12 +686,12 @@ class calendar_ui { $options .= '\n"; } - $file[++$n] = $this->_select_box('displayed view','view',$options,egw::link('/index.php','',false)); + $file[++$n] = $this->_select_box('displayed view','view',$options); // Search $file[++$n] = array( 'text' => html::input('keywords', '', 'text', - 'id="calendar_keywords" style="width: 97.5%;" placeholder="'.html::htmlspecialchars(lang('Search').'...').'"'), + 'id="calendar_keywords" style="width: 96.5%;" placeholder="'.html::htmlspecialchars(lang('Search').'...').'"'), 'no_lang' => True, 'link' => False, 'icon' => false, @@ -748,7 +748,7 @@ class calendar_ui // Category Selection $cat_id = explode(',',$this->cat_id); - $select = ' '. $options."\n";