aboutsummaryrefslogtreecommitdiff
path: root/views/default/favorites/sidebar/users.php
blob: 681a7728fff6b90c9667a638e14e947a7be0130c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
}