aboutsummaryrefslogtreecommitdiff
path: root/views/default/favorites/sidebar/users.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/favorites/sidebar/users.php')
-rw-r--r--views/default/favorites/sidebar/users.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/views/default/favorites/sidebar/users.php b/views/default/favorites/sidebar/users.php
new file mode 100644
index 000000000..681a7728f
--- /dev/null
+++ b/views/default/favorites/sidebar/users.php
@@ -0,0 +1,13 @@
+<?php
+
+$fav_user_body = elgg_list_entities_from_relationship(array(
+ 'relationship' => 'flags_content',
+ 'relationship_guid' => elgg_get_logged_in_user_guid(),
+ 'type' => 'user',
+ 'list_type' => 'gallery',
+ 'gallery_class' => 'elgg-gallery-users',
+ 'pagination' => false,
+));
+if ($fav_user_body) {
+ echo elgg_view_module('aside', elgg_echo('favorites:users'), $fav_user_body);
+}