aboutsummaryrefslogtreecommitdiff
path: root/mod/tabbed_profile/views/default/profile/tabs/commentwall.php
blob: bf54bd7e73511cef7741e7a41f9c977ee5964245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?php
/**
 * Elgg profile comment wall
 */

$user = elgg_get_page_owner();
$comments = $user->getAnnotations('commentwall', 200, 0, 'desc');

if (isloggedin()) {
	echo elgg_view("profile/commentwall/commentwalladd");
}

echo elgg_view("profile/commentwall/commentwall", array('annotation' => $comments));