diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:58:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:58:59 -0300 |
commit | 792f381882a59615e0a7c1c0ee5d1c63d59cb358 (patch) | |
tree | ed9487afb1639d02de7320797d3dc0bfc8651f6e /mod/elgg-favorites/views/default/favorites/view.php | |
parent | 323fdcc59e467e6437aad244c475ed0184c7a020 (diff) | |
parent | 31354451ce2c236c9c963064652c39fe54be4afd (diff) | |
download | elgg-792f381882a59615e0a7c1c0ee5d1c63d59cb358.tar.gz elgg-792f381882a59615e0a7c1c0ee5d1c63d59cb358.tar.bz2 |
Merge commit '31354451ce2c236c9c963064652c39fe54be4afd' as 'mod/elgg-favorites'
Diffstat (limited to 'mod/elgg-favorites/views/default/favorites/view.php')
-rw-r--r-- | mod/elgg-favorites/views/default/favorites/view.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/elgg-favorites/views/default/favorites/view.php b/mod/elgg-favorites/views/default/favorites/view.php new file mode 100644 index 000000000..53e322f39 --- /dev/null +++ b/mod/elgg-favorites/views/default/favorites/view.php @@ -0,0 +1,15 @@ +<?php + +if (!elgg_is_logged_in()) { + return; +} + +$fav_options = array( + 'type' => 'object', + 'relationship_guid' => elgg_get_logged_in_user_guid(), + 'relationship' => 'flags_content', + 'full_view' => FALSE, + 'view_type_toggle' => FALSE, +); + +echo elgg_list_entities_from_relationship($fav_options); |