diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index cb1a1d55f0..4ee817687e 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -612,27 +612,13 @@ { if($this->bo->printer_friendly) { - $new_body = ''."\n" - .''."\n" - .''."\n" - .''."\n" - .$this->bo->debug_string.$body - .''."\n" - .''."\n"; + $GLOBALS['phpgw_info']['flags']['headonly'] = True; } else { $this->cal_header($func_header && $GLOBALS['phpgw_info']['user']['template'] == 'idots' ? $func_header : ''); - - $new_body = $this->bo->debug_string.$body; } - return $new_body; + return $this->bo->debug_string . $body; } function month() @@ -1587,6 +1573,11 @@ $event = $this->bo->read_entry($GLOBALS['HTTP_GET_VARS']['cal_id']); $this->view_event($event); + $GLOBALS['phpgw']->template->set_var(array( + 'button_left' => '', + 'button_center' => '', + 'button_right' => '' + )); $GLOBALS['phpgw']->template->fp('phpgw_body','view_event',True); echo $this->get_response($event['id']); diff --git a/phpgwapi/templates/default/phpgw_header.xsl b/phpgwapi/templates/default/phpgw_header.xsl index fb5a0617c4..90ae9797f4 100644 --- a/phpgwapi/templates/default/phpgw_header.xsl +++ b/phpgwapi/templates/default/phpgw_header.xsl @@ -22,11 +22,14 @@
- + + - + + + + +