diff --git a/calendar/inc/class.uicalendar.inc.php b/calendar/inc/class.uicalendar.inc.php index 6124f27ea8..fc380ae39c 100755 --- a/calendar/inc/class.uicalendar.inc.php +++ b/calendar/inc/class.uicalendar.inc.php @@ -733,13 +733,13 @@ $printer = ''; $prev_week_link = '<<'; $next_week_link = '>>'; - $print = '[".lang('Printer Friendly').']'; + $print = 'bo->year,$this->bo->month,$this->bo->day))."\" TARGET=\"cal_printer_friendly\" onMouseOver=\"window.status = '".lang('Generate printer-friendly version')."'\">[".lang('Printer Friendly').']'; } else { $printer = '
'; - $prev_week_link = '<<'; - $next_week_link = '>>'; + $prev_week_link = ''; + $next_week_link = ''; $print = ''; $GLOBALS['phpgw_info']['flags']['nofooter'] = True; } @@ -856,7 +856,7 @@ $left_link = '<<'; $right_link = '>>'; $link = 'day'; - $printer = '['.lang('Printer Friendly').']'; + $printer = '['.lang('Printer Friendly').']'; } else { @@ -2794,7 +2794,7 @@ $this->link_tpl->set_var('link_link',$this->page('view','&cal_id='.$event['id'].'&date='.$date)); $this->link_tpl->set_var('lang_view',lang('View this entry')); $this->link_tpl->parse('picture','link_open',True); - + if($event['priority'] == 3) { $picture[] = Array( @@ -2884,10 +2884,6 @@ $this->output_template_array($this->link_tpl,'picture','pict',$var); } } - else - { - $text .= ''.nl2br($this->bo->get_short_field($event,$is_private,'description')).''.$GLOBALS['phpgw']->browser->br; - } if ($text) { $var = Array( diff --git a/calendar/templates/default/week.tpl b/calendar/templates/default/week.tpl index e8d964e65e..096f96ca17 100755 --- a/calendar/templates/default/week.tpl +++ b/calendar/templates/default/week.tpl @@ -5,14 +5,14 @@