blob: 56670dcf0c3c13897e0379de8d70de8ba96e412f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* Elgg Commentwall display page
*/
//start the div which will wrap all the message board contents
echo "<div id='comment_wall_display'>";
// If there is any content to view, view it
if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) {
//loop through all annotations and display
foreach($vars['annotation'] as $content) {
echo elgg_view("profile/commentwall/commentwall_content", array('annotation' => $content));
}
} else {
echo "<p class='margin-top'>" . elgg_echo("profile:commentwall:none") . "</p>";
}
//close the wrapper div
echo "</div>";
|