"; // 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 "
" . elgg_echo("profile:commentwall:none") . "
"; } //close the wrapper div echo "";