From 841aef5769a694993792c7d5f83b2b9640823966 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 24 Jul 2009 10:34:20 +0000 Subject: [PATCH] "fixed typo (in commented code) phpgwpai" --- calendar/inc/class.calendar_uiviews.inc.php | 42 ++++++++++----------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/calendar/inc/class.calendar_uiviews.inc.php b/calendar/inc/class.calendar_uiviews.inc.php index b4064c8dd3..dcdab66d6e 100644 --- a/calendar/inc/class.calendar_uiviews.inc.php +++ b/calendar/inc/class.calendar_uiviews.inc.php @@ -452,19 +452,19 @@ class calendar_uiviews extends calendar_ui # 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'] = html::a_href(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'] .= '   '.html::a_href(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'; + # // add navigation for previous and next + # // prev. week + # $GLOBALS['egw_info']['flags']['app_header'] = html::a_href(html::image('phpgwapi','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'] .= '   '.html::a_href(html::image('phpgwapi','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( @@ -1602,11 +1602,11 @@ class calendar_uiviews extends calendar_ui if ($this->day >= 15) $prev = $t_arr; // we stay in the same month $prev['day'] = $this->day < 15 ? 15 : 1; $half = $this->bo->date2string($prev); - $title = html::a_href(html::image('phpgwpai','first',lang('back one month'),$options=' alt="<<"'),array( + $title = html::a_href(html::image('phpgwapi','first',lang('back one month'),$options=' alt="<<"'),array( 'menuaction' => $this->view_menuaction, 'date' => $full, )) . '   '. - html::a_href(html::image('phpgwpai','left',lang('back half a month'),$options=' alt="<"'),array( + html::a_href(html::image('phpgwapi','left',lang('back half a month'),$options=' alt="<"'),array( 'menuaction' => $this->view_menuaction, 'date' => $half, )) . '   '.$title; @@ -1628,11 +1628,11 @@ class calendar_uiviews extends calendar_ui if ($this->day < 15) $next = $t_arr; // we stay in the same month $next['day'] = $this->day < 15 ? 15 : 1; $half = $this->bo->date2string($next); - $title .= '   '.html::a_href(html::image('phpgwpai','right',lang('forward half a month'),$options=' alt=">>"'),array( + $title .= '   '.html::a_href(html::image('phpgwapi','right',lang('forward half a month'),$options=' alt=">>"'),array( 'menuaction' => $this->view_menuaction, 'date' => $half, )). '   '. - html::a_href(html::image('phpgwpai','last',lang('forward one month'),$options=' alt=">>"'),array( + html::a_href(html::image('phpgwapi','last',lang('forward one month'),$options=' alt=">>"'),array( 'menuaction' => $this->view_menuaction, 'date' => $full, )); @@ -1678,12 +1678,12 @@ class calendar_uiviews extends calendar_ui else { // prev. week - $title = html::a_href(html::image('phpgwpai','first',lang('previous'),$options=' alt="<<"'),array( + $title = html::a_href(html::image('phpgwapi','first',lang('previous'),$options=' alt="<<"'),array( 'menuaction' => $this->view_menuaction, 'date' => date('Ymd',$t-7*DAY_s), )) . '   '.$title; // next week - $title .= '   '.html::a_href(html::image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array( + $title .= '   '.html::a_href(html::image('phpgwapi','last',lang('next'),$options=' alt=">>"'),array( 'menuaction' => $this->view_menuaction, 'date' => date('Ymd',$t+7*DAY_s), )); @@ -1737,14 +1737,14 @@ class calendar_uiviews extends calendar_ui { if (!$i) // prev. day only for the first day { - $title = html::a_href(html::image('phpgwpai','first',lang('previous'),$options=' alt="<<"'),array( + $title = html::a_href(html::image('phpgwapi','first',lang('previous'),$options=' alt="<<"'),array( 'menuaction' => $this->view_menuaction, 'date' => date('Ymd',$start-DAY_s), )) . '   '.$title; } if ($i == $days-1) // next day only for the last day { - $title .= '   '.html::a_href(html::image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array( + $title .= '   '.html::a_href(html::image('phpgwapi','last',lang('next'),$options=' alt=">>"'),array( 'menuaction' => $this->view_menuaction, 'date' => date('Ymd',$start+DAY_s), ));