forked from extern/egroupware
can only view timematrix if owner of event
This commit is contained in:
parent
ecf581cc34
commit
9d38344e92
@ -90,9 +90,12 @@
|
||||
$phpgw->template->parse("output","list",True);
|
||||
|
||||
$phpgw->template->set_var("field",lang("Created by"));
|
||||
$phpgw->template->set_var("data","<a href=\""
|
||||
if($is_my_event)
|
||||
$phpgw->template->set_var("data","<a href=\""
|
||||
.$phpgw->link("timematrix.php","participants=".$cal_info->owner."&date=".$cal_info->year.$cal_info->month.$cal_info->day)
|
||||
."\">".$phpgw->common->grab_owner_name($cal_info->owner)."</a>");
|
||||
else
|
||||
$phpgw->template->set_var("data",$phpgw->common->grab_owner_name($cal_info->owner));
|
||||
$phpgw->template->parse("output","list",True);
|
||||
|
||||
$phpgw->template->set_var("field",lang("Updated"));
|
||||
|
Loading…
Reference in New Issue
Block a user