From 23e964e6dd60e3a69044dd3da88c3b1a5c571912 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Mon, 5 Mar 2007 08:12:43 +0000 Subject: [PATCH] week navigation temporarly disabled, because it collides with the title for the website --- calendar/inc/class.uiviews.inc.php | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/calendar/inc/class.uiviews.inc.php b/calendar/inc/class.uiviews.inc.php index 1b31b0dfcd..bad7f2b34c 100644 --- a/calendar/inc/class.uiviews.inc.php +++ b/calendar/inc/class.uiviews.inc.php @@ -431,19 +431,22 @@ class uiviews extends uical $this->last = $this->first + $days * DAY_s - 1; $GLOBALS['egw_info']['flags']['app_header'] .= ': '.lang('Week').' '.adodb_date('W',$this->first).': '.$this->bo->long_date($this->first,$this->last); } - // add navigation for previous and next - // prev. week - $GLOBALS['egw_info']['flags']['app_header'] = $this->html->a_href($this->html->image('phpgwpai','first',lang('previous'),$options=' alt="<<"'),array( - 'menuaction' => $this->view_menuaction, - 'date' => date('Ymd',$this->first-$days*DAY_s), - )) . '   '.$GLOBALS['egw_info']['flags']['app_header']; - // next week - $GLOBALS['egw_info']['flags']['app_header'] .= '   '.$this->html->a_href($this->html->image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array( - 'menuaction' => $this->view_menuaction, - 'date' => date('Ymd',$this->last+$days*DAY_s), - )); - $class = $class == 'row_on' ? 'th' : 'row_on'; + # temporarly disabled, because it collides with the title for the website + # + # // add navigation for previous and next + # // prev. week + # $GLOBALS['egw_info']['flags']['app_header'] = $this->html->a_href($this->html->image('phpgwpai','first',lang('previous'),$options=' alt="<<"'),array( + # 'menuaction' => $this->view_menuaction, + # 'date' => date('Ymd',$this->first-$days*DAY_s), + # )) . '   '.$GLOBALS['egw_info']['flags']['app_header']; + # // next week + # $GLOBALS['egw_info']['flags']['app_header'] .= '   '.$this->html->a_href($this->html->image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array( + # 'menuaction' => $this->view_menuaction, + # 'date' => date('Ymd',$this->last+$days*DAY_s), + # )); + # + # $class = $class == 'row_on' ? 'th' : 'row_on'; //echo "

weekdaystarts='".$this->cal_prefs['weekdaystarts']."', get_weekday_start($this->year,$this->month,$this->day)=".date('l Y-m-d',$wd_start).", first=".date('l Y-m-d',$this->first)."

\n"; $search_params = array(