From aa04adce03438348c52477eacbd611c83d3caf68 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Mon, 2 Jan 2012 15:09:06 +0100 Subject: added new userpicker for site-wide event user management --- views/default/forms/event_calendar/manage_subscribers.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 views/default/forms/event_calendar/manage_subscribers.php (limited to 'views') diff --git a/views/default/forms/event_calendar/manage_subscribers.php b/views/default/forms/event_calendar/manage_subscribers.php new file mode 100644 index 000000000..8039c5015 --- /dev/null +++ b/views/default/forms/event_calendar/manage_subscribers.php @@ -0,0 +1,14 @@ +guid,0); +$guids = array(); +foreach($users as $user) { + $guids[] = $user->guid; +} +// TODO: if the event container is a group need to restrict user picker to the members of the group? +$content = elgg_view('input/userpicker_plus',array('value'=> $guids)); +$content .= '

'; +$content .= elgg_view('input/hidden',array('name'=>'event_guid','value'=>$event->guid)); +$content .= elgg_view('input/submit',array('value'=>elgg_echo('submit'),'name'=>'submit_manage_subscribers','id'=>'submit-manage-subscribers')); + +echo $content; -- cgit v1.2.3