mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
week navigation temporarly disabled, because it collides with the title for the website
This commit is contained in:
parent
ed24e233f6
commit
23e964e6dd
@ -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),
|
||||
)) . ' <b>'.$GLOBALS['egw_info']['flags']['app_header'];
|
||||
// next week
|
||||
$GLOBALS['egw_info']['flags']['app_header'] .= '</b> '.$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),
|
||||
# )) . ' <b>'.$GLOBALS['egw_info']['flags']['app_header'];
|
||||
# // next week
|
||||
# $GLOBALS['egw_info']['flags']['app_header'] .= '</b> '.$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 "<p>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)."</p>\n";
|
||||
|
||||
$search_params = array(
|
||||
|
Loading…
Reference in New Issue
Block a user