diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 94c8ff897c..84d74eaa57 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -232,6 +232,10 @@ } } + else + { + $day_params['day_image'] = ''; + } $var[] = Array( 'day_image' => $day_params['day_image'], 'dayname' => $str @@ -257,6 +261,31 @@ $GLOBALS['phpgw']->common->phpgw_exit(); } + function printer_friendly($body) + { + if($this->bo->printer_friendly) + { + $new_body = ''."\n" + .'
'."\n" + .''."\n" + .''."\n" + .$body + .''."\n" + .'