blob: fcc35608b7647c9603c434eaf230c99efbded9ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
/**
* Elgg profile feeds page
*/
//$twitter_username = $vars['entity']->twitter;
$page_owner = page_owner();
$feeds = elgg_get_entities(array('types' => 'object', 'subtypes' => 'aggregator_feed_url', 'owner_guids' => $page_owner, 'count' => true));
// if the twitter username is empty, then do not show
?>
<div id="profile_content">
<?php
if($feeds){
echo elgg_view('aggregator/profile',array('feeds'=>$feeds));
}else{
echo "This user has not added any feeds.";
}
?>
</div>
|