diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 15:10:41 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-19 15:10:41 +0000 |
commit | e603c947a5ae2869164b11fee827d4c595e4a3f8 (patch) | |
tree | 7826bcb38858e86d43485f7f18e02f8d22a5808c /mod/messages/inbox.php | |
parent | eec475fb1272a99134784b18b0451b306c5dbc4a (diff) | |
download | elgg-e603c947a5ae2869164b11fee827d4c595e4a3f8.tar.gz elgg-e603c947a5ae2869164b11fee827d4c595e4a3f8.tar.bz2 |
Refs #3158 update messages plugin
git-svn-id: http://code.elgg.org/elgg/trunk@8768 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/messages/inbox.php')
-rw-r--r-- | mod/messages/inbox.php | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/mod/messages/inbox.php b/mod/messages/inbox.php deleted file mode 100644 index 4b2d11bbf..000000000 --- a/mod/messages/inbox.php +++ /dev/null @@ -1,41 +0,0 @@ -<?php -/** - * Elgg messages inbox page - * - * @package ElggMessages -*/ - -gatekeeper(); - -$page_owner = elgg_get_page_owner_entity(); -if (!$page_owner) { - register_error(elgg_echo()); - forward(); -} - -elgg_push_breadcrumb(elgg_echo('messages:inbox')); - -$title = elgg_echo('messages:user', array($page_owner->name)); - -$list = elgg_list_entities_from_metadata(array( - 'type' => 'object', - 'subtype' => 'messages', - 'metadata_name' => 'toId', - 'metadata_value' => elgg_get_page_owner_guid(), - 'owner_guid' => elgg_get_page_owner_guid(), - 'full_view' => false, -)); - -$body_vars = array( - 'folder' => 'inbox', - 'list' => $list, -); -$content = elgg_view_form('messages/process', array(), $body_vars); - -$body = elgg_view_layout('content', array( - 'content' => $content, - 'title' => elgg_echo('messages:inbox'), - 'filter' => '', -)); - -echo elgg_view_page($title, $body); |