From c07218b9c7b256e998f0a31c0226b3bd6d8011d7 Mon Sep 17 00:00:00 2001 From: Kevin Jardine Date: Mon, 27 Jun 2011 12:49:05 +0200 Subject: added main code --- .../default/event_calendar/review_requests.php | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 trunk/views/default/event_calendar/review_requests.php (limited to 'trunk/views/default/event_calendar/review_requests.php') diff --git a/trunk/views/default/event_calendar/review_requests.php b/trunk/views/default/event_calendar/review_requests.php new file mode 100644 index 000000000..e1866a32b --- /dev/null +++ b/trunk/views/default/event_calendar/review_requests.php @@ -0,0 +1,25 @@ + $request, + 'size' => 'small' + )); + $info = ''.$request->name.''; + $info .= '
'; + $info .= elgg_view('output/confirmlink', + array( + 'class' => "cancel_button", + 'href' => $vars['url'] . 'action/event_calendar/killrequest?user_guid='.$request->guid.'&event_id=' . $vars['entity']->guid, + 'confirm' => elgg_echo('event_calendar:request:remove:check'), + 'text' => elgg_echo('delete'), + )); + $info .= '  '; + $url = elgg_add_action_tokens_to_url("{$vars['url']}action/event_calendar/addtocalendar?user_guid={$request->guid}&event_id={$vars['entity']->guid}"); + $info .= ''.elgg_echo('accept').''; + echo elgg_view_listing($icon,$info); + } +} + +?> -- cgit v1.2.3