* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
// If there is any content to view, view it
if (is_array($vars['annotation']) && sizeof($vars['annotation']) > 0) {
//start the div which will wrap all the message board contents
echo "
";
//loop through all annotations and display
foreach($vars['annotation'] as $content) {
echo elgg_view("messageboard/messageboard_content", array('annotation' => $content));
}
//close the wrapper div
echo "
";
} else {
echo "" . elgg_echo("messageboard:none") . "
";
}