mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-14 01:10:00 +01:00
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->parse("output","list",True);
|
||||||
|
|
||||||
$phpgw->template->set_var("field",lang("Created by"));
|
$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->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>");
|
."\">".$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->parse("output","list",True);
|
||||||
|
|
||||||
$phpgw->template->set_var("field",lang("Updated"));
|
$phpgw->template->set_var("field",lang("Updated"));
|
||||||
|
Loading…
Reference in New Issue
Block a user