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 --- trunk/pages/review_requests.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 trunk/pages/review_requests.php (limited to 'trunk/pages/review_requests.php') diff --git a/trunk/pages/review_requests.php b/trunk/pages/review_requests.php new file mode 100644 index 000000000..fc6c3726a --- /dev/null +++ b/trunk/pages/review_requests.php @@ -0,0 +1,33 @@ + 'event_calendar_request', + 'relationship_guid' => $event_id, + 'inverse_relationship' => TRUE, + 'limit' => 9999) + ); + if ($requests) { + $body = elgg_view('event_calendar/review_requests',array('requests' => $requests, 'entity' => $event)); + //$body = elgg_view('page_elements/contentwrapper',array('body'=>$body)); + } else { + $body = elgg_view('page_elements/contentwrapper',array('body'=>elgg_echo('event_calendar:review_requests_request_none'))); + } +} else { + $body = elgg_view('page_elements/contentwrapper',array('body'=>elgg_echo('event_calendar:review_requests_error'))); +} + +$body = elgg_view_layout('two_column_left_sidebar', '', elgg_view_title($title).$body); + +page_draw($title, $body); +?> \ No newline at end of file -- cgit v1.2.3