From 346bbcd48b3baab9d7b2409b319e9697fba5101a Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 5 Mar 2014 13:24:27 +0000 Subject: [PATCH] given all selectboxes below navigation calendar same width --- calendar/inc/class.calendar_ui.inc.php | 71 +++++++++++++------------- 1 file changed, 35 insertions(+), 36 deletions(-) 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";