From 9bc52deb3e976a1cb16e3089002c3c8dbaba9695 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 8 Mar 2006 15:39:53 +0000 Subject: [PATCH] fix for bug [ 1445308 ] Part of calendar showing in Holiday Management screen --- calendar/inc/class.uiholiday.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calendar/inc/class.uiholiday.inc.php b/calendar/inc/class.uiholiday.inc.php index da39374f5b..a7623cb925 100755 --- a/calendar/inc/class.uiholiday.inc.php +++ b/calendar/inc/class.uiholiday.inc.php @@ -55,6 +55,9 @@ { $GLOBALS['egw']->jscalendar =& CreateObject('phpgwapi.jscalendar'); } + // calendar does not work with hidden sidebox atm. + unset($GLOBALS['egw_info']['user']['preferences']['common']['auto_hide_sidebox']); + $GLOBALS['egw_info']['flags']['app_header'] = $GLOBALS['egw_info']['apps']['calendar']['title'].' - '.lang('Holiday Management'); $GLOBALS['egw']->template->set_var('help_msg',lang('Please note: The calendar use the holidays of your country, which is set to %1. You can change it in your %2.
Holidays are %3 automatic installed from %4. You can changed it in %5.',