fix for bug #292 Settings for fixed time intervals are partly ignored

This commit is contained in:
Christian Binder 2007-01-25 12:10:02 +00:00
parent 50d9156460
commit f78132d150
2 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ class uiviews extends uical
{ {
if ($this->debug > 0) $this->bo->debug_message('uiviews::month(weeks=%1) date=%2',True,$weeks,$this->date); if ($this->debug > 0) $this->bo->debug_message('uiviews::month(weeks=%1) date=%2',True,$weeks,$this->date);
$this->use_time_grid = $this->cal_prefs['use_time_grid'] == ''; // all views $this->use_time_grid = $this->cal_prefs['use_time_grid'] == 'all'; // all views
if ($weeks) if ($weeks)
{ {

View File

@ -28,7 +28,7 @@
'listview' => lang('Listview'), 'listview' => lang('Listview'),
); );
$grid_views = array( $grid_views = array(
'' => lang('all'), 'all' => lang('all'),
'day_week' => lang('Dayview').', '.lang('Four days view').' & '.lang('Weekview'), 'day_week' => lang('Dayview').', '.lang('Four days view').' & '.lang('Weekview'),
'day4' => lang('Dayview').' & '.lang('Four days view'), 'day4' => lang('Dayview').' & '.lang('Four days view'),
'day' => lang('Dayview'), 'day' => lang('Dayview'),