mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Wrap title in calendar navheader with span
This commit is contained in:
parent
346bbcd48b
commit
ce1a248068
@ -689,9 +689,9 @@ class calendar_uiviews extends calendar_ui
|
||||
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',strtotime("-".$weekNavH, $weeks? $this->first: $this->bo->date2ts($this->date))),
|
||||
)). '  '.$navHeader;
|
||||
)). ' <span>'.$navHeader;
|
||||
|
||||
$navHeader = $navHeader.'  '.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
$navHeader = $navHeader.'</span> '.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',strtotime("+".$weekNavH, $weeks? $this->first: $this->bo->date2ts($this->date))),
|
||||
)).'</div>';
|
||||
@ -855,9 +855,9 @@ class calendar_uiviews extends calendar_ui
|
||||
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',$this->first-$days*DAY_s),
|
||||
)). '  '.$navHeader;
|
||||
)). '<span>'.$navHeader;
|
||||
|
||||
$navHeader = $navHeader.'  '.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
$navHeader = $navHeader.'</span>'.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',$this->last+$days*DAY_s),
|
||||
)).'</div>';
|
||||
@ -991,9 +991,9 @@ class calendar_uiviews extends calendar_ui
|
||||
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',$this->first-1),
|
||||
)). '  '.$this->bo->long_date($this->first,0,false,true);
|
||||
)). '<span>'.$this->bo->long_date($this->first,0,false,true);
|
||||
|
||||
$navHeader = $navHeader.'  '.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
$navHeader = $navHeader.'</span>'.html::a_href(html::image('phpgwapi','right',lang('next'),$options=' alt=">>"'),array(
|
||||
'menuaction' => $this->view_menuaction,
|
||||
'date' => date('Ymd',$this->last+1),
|
||||
)).'</div>';
|
||||
@ -1418,20 +1418,20 @@ class calendar_uiviews extends calendar_ui
|
||||
$day_view['date'] = $this->bo->date2string($ts -= 12*HOUR_s);
|
||||
if ($this->allowEdit)
|
||||
{
|
||||
$title = html::a_href(html::image('phpgwapi','left',$this->bo->long_date($ts)),$day_view).' '.$title;
|
||||
$title = html::a_href(html::image('phpgwapi','left',$this->bo->long_date($ts)),$day_view).' <span> '.$title;
|
||||
}
|
||||
else
|
||||
{
|
||||
$title = $day_view.' '.$title;
|
||||
$title = $day_view.' <span> '.$title;
|
||||
}
|
||||
$day_view['date'] = $this->bo->date2string($ts += 48*HOUR_s);
|
||||
if ($this->allowEdit)
|
||||
{
|
||||
$title .= ' '.html::a_href(html::image('phpgwapi','right',$this->bo->long_date($ts)),$day_view);
|
||||
$title .= ' </span> '.html::a_href(html::image('phpgwapi','right',$this->bo->long_date($ts)),$day_view);
|
||||
}
|
||||
else
|
||||
{
|
||||
$title .= ' '.$day_view;
|
||||
$title .= ' </span> '.$day_view;
|
||||
}
|
||||
}
|
||||
if (is_bool($short_title) || ($short_title != "")) {
|
||||
|
Loading…
Reference in New Issue
Block a user