mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
"fixed typo (in commented code) phpgwpai"
This commit is contained in:
parent
28a9c4b470
commit
841aef5769
@ -454,12 +454,12 @@ class calendar_uiviews extends calendar_ui
|
||||
#
|
||||
# // 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(
|
||||
# $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),
|
||||
# )) . ' <b>'.$GLOBALS['egw_info']['flags']['app_header'];
|
||||
# // next week
|
||||
# $GLOBALS['egw_info']['flags']['app_header'] .= '</b> '.html::a_href(html::image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array(
|
||||
# $GLOBALS['egw_info']['flags']['app_header'] .= '</b> '.html::a_href(html::image('phpgwapi','last',lang('next'),$options=' alt=">>"'),array(
|
||||
# 'menuaction' => $this->view_menuaction,
|
||||
# 'date' => date('Ymd',$this->last+$days*DAY_s),
|
||||
# ));
|
||||
@ -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),
|
||||
)) . ' <b>'.$title;
|
||||
// next week
|
||||
$title .= '</b> '.html::a_href(html::image('phpgwpai','last',lang('next'),$options=' alt=">>"'),array(
|
||||
$title .= '</b> '.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),
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user