From 819cebeb27c5ab8b4a04fc8660667ec9a29681c1 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Sun, 22 Jul 2012 14:05:50 +0200 Subject: manager subscribers link now appears on the lightbox version of an event (assuming that the add users plugin option is enabled) --- views/default/object/event_calendar.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'views/default/object/event_calendar.php') diff --git a/views/default/object/event_calendar.php b/views/default/object/event_calendar.php index afd4325f1..5779c004c 100644 --- a/views/default/object/event_calendar.php +++ b/views/default/object/event_calendar.php @@ -59,9 +59,17 @@ if ($full) { } else { echo '

'.$event->description.'

'; } + if ($vars['light_box'] == TRUE) { + $event_calendar_add_users = elgg_get_plugin_setting('add_users', 'event_calendar'); + if ($event_calendar_add_users == 'yes') { + $url = "event_calendar/manage_users/$event->guid"; + echo '

'.elgg_view('output/url',array('text'=> elgg_echo('event_calendar:manage_users:breadcrumb'), 'href'=>$url)).'

'; + } + } if (elgg_get_plugin_setting('add_to_group_calendar', 'event_calendar') == 'yes') { echo elgg_view('event_calendar/forms/add_to_group',array('event' => $event)); } + } else { $time_bit = event_calendar_get_formatted_time($event); -- cgit v1.2.3