mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 16:03:47 +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(
|
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||||
'menuaction' => $this->view_menuaction,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',strtotime("-".$weekNavH, $weeks? $this->first: $this->bo->date2ts($this->date))),
|
'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,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',strtotime("+".$weekNavH, $weeks? $this->first: $this->bo->date2ts($this->date))),
|
'date' => date('Ymd',strtotime("+".$weekNavH, $weeks? $this->first: $this->bo->date2ts($this->date))),
|
||||||
)).'</div>';
|
)).'</div>';
|
||||||
@ -855,9 +855,9 @@ class calendar_uiviews extends calendar_ui
|
|||||||
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||||
'menuaction' => $this->view_menuaction,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',$this->first-$days*DAY_s),
|
'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,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',$this->last+$days*DAY_s),
|
'date' => date('Ymd',$this->last+$days*DAY_s),
|
||||||
)).'</div>';
|
)).'</div>';
|
||||||
@ -991,9 +991,9 @@ class calendar_uiviews extends calendar_ui
|
|||||||
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
.html::a_href(html::image('phpgwapi','left',lang('previous'),$options=' alt="<<"'),array(
|
||||||
'menuaction' => $this->view_menuaction,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',$this->first-1),
|
'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,
|
'menuaction' => $this->view_menuaction,
|
||||||
'date' => date('Ymd',$this->last+1),
|
'date' => date('Ymd',$this->last+1),
|
||||||
)).'</div>';
|
)).'</div>';
|
||||||
@ -1418,20 +1418,20 @@ class calendar_uiviews extends calendar_ui
|
|||||||
$day_view['date'] = $this->bo->date2string($ts -= 12*HOUR_s);
|
$day_view['date'] = $this->bo->date2string($ts -= 12*HOUR_s);
|
||||||
if ($this->allowEdit)
|
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
|
else
|
||||||
{
|
{
|
||||||
$title = $day_view.' '.$title;
|
$title = $day_view.' <span> '.$title;
|
||||||
}
|
}
|
||||||
$day_view['date'] = $this->bo->date2string($ts += 48*HOUR_s);
|
$day_view['date'] = $this->bo->date2string($ts += 48*HOUR_s);
|
||||||
if ($this->allowEdit)
|
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
|
else
|
||||||
{
|
{
|
||||||
$title .= ' '.$day_view;
|
$title .= ' </span> '.$day_view;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (is_bool($short_title) || ($short_title != "")) {
|
if (is_bool($short_title) || ($short_title != "")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user