From 43c33492d2ab65a783c17559cf8dabd7832e9ea1 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 15 Jan 2011 22:28:46 +0000 Subject: Updated the messages plugin to use the new CSS/HTML git-svn-id: http://code.elgg.org/elgg/trunk@7886 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/inbox.php | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 mod/messages/inbox.php (limited to 'mod/messages/inbox.php') diff --git a/mod/messages/inbox.php b/mod/messages/inbox.php new file mode 100644 index 000000000..b5c54a4e6 --- /dev/null +++ b/mod/messages/inbox.php @@ -0,0 +1,41 @@ +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); -- cgit v1.2.3