forked from extern/egroupware
Fixes 2 parsing errors.
This commit is contained in:
parent
77dc66bb77
commit
61a0b05de1
@ -944,7 +944,7 @@
|
|||||||
{
|
{
|
||||||
$cel .= $html->image('calendar','mini-calendar-bar.gif','','border=0');
|
$cel .= $html->image('calendar','mini-calendar-bar.gif','','border=0');
|
||||||
}
|
}
|
||||||
$cel .= $html->image('calendar',count($event['participants)']>1?'multi_3.gif':'single.gif',$this->planner_participants($event['participants']),'border=0');
|
$cel .= $html->image('calendar',count($event['participants'])>1?'multi_3.gif':'single.gif',$this->planner_participants($event['participants']),'border=0');
|
||||||
$cel .= '</a>';
|
$cel .= '</a>';
|
||||||
|
|
||||||
$akt_cell = $end_cell + 1;
|
$akt_cell = $end_cell + 1;
|
||||||
@ -1982,6 +1982,11 @@
|
|||||||
{
|
{
|
||||||
global $phpgw, $phpgw_info;
|
global $phpgw, $phpgw_info;
|
||||||
|
|
||||||
|
if(!$event['participants'][$this->bo->owner])
|
||||||
|
{
|
||||||
|
return '<center>'.lang('You do not have permission to read this record!').'</center>';
|
||||||
|
}
|
||||||
|
|
||||||
$pri = Array(
|
$pri = Array(
|
||||||
1 => lang('Low'),
|
1 => lang('Low'),
|
||||||
2 => lang('Normal'),
|
2 => lang('Normal'),
|
||||||
@ -2110,7 +2115,7 @@
|
|||||||
$str_extra = '';
|
$str_extra = '';
|
||||||
if ($event['recur_enddate']['mday'] != 0 && $event['recur_enddate']['month'] != 0 && $event['recur_enddate']['year'] != 0)
|
if ($event['recur_enddate']['mday'] != 0 && $event['recur_enddate']['month'] != 0 && $event['recur_enddate']['year'] != 0)
|
||||||
{
|
{
|
||||||
$recur_end = $this-bo->maketime($event['recur_enddate']);
|
$recur_end = $this->bo->maketime($event['recur_enddate']);
|
||||||
if($recur_end != 0)
|
if($recur_end != 0)
|
||||||
{
|
{
|
||||||
$recur_end -= $this->bo->datetime->tz_offset;
|
$recur_end -= $this->bo->datetime->tz_offset;
|
||||||
|
Loading…
Reference in New Issue
Block a user