aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorKevin Jardine <kevinjardine@yahoo.com>2011-09-26 12:42:11 +0200
committerKevin Jardine <kevinjardine@yahoo.com>2011-09-26 12:42:11 +0200
commit804dfcf6c4b5b6380d607c8ec6b843d56ac82247 (patch)
treecc81ecb76a5f1422100d521b9fe3b93166fcdf3e /pages
parent6b20e80c9d577a3eeeb570a6d9fd706fe619709b (diff)
downloadelgg-804dfcf6c4b5b6380d607c8ec6b843d56ac82247.tar.gz
elgg-804dfcf6c4b5b6380d607c8ec6b843d56ac82247.tar.bz2
major changes for Elgg 1.8
Diffstat (limited to 'pages')
-rw-r--r--pages/review_requests.php33
1 files changed, 0 insertions, 33 deletions
diff --git a/pages/review_requests.php b/pages/review_requests.php
deleted file mode 100644
index fc6c3726a..000000000
--- a/pages/review_requests.php
+++ /dev/null
@@ -1,33 +0,0 @@
-<?php
-
-gatekeeper();
-
-$event_id = get_input('event_id',0);
-
-$title = elgg_echo('event_calendar:review_requests_title');
-
-$event = get_entity($event_id);
-$user_id = get_loggedin_userid();
-
-if (event_calendar_personal_can_manage($event,$user_id)) {
- $requests = elgg_get_entities_from_relationship(
- array(
- 'relationship' => '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