* @copyright Curverider Ltd 2008-2010
* @link http://elgg.com/
*/
// get the groups passed over here
//get the full page owner entity
$entity = $vars['entity'];
$num_display = 10;
?>
getAnnotations('messageboard', $num_display, 0, 'desc');
//as long as there is some content to display, display it
if (!empty($contents)) {
echo elgg_view('messageboard/messageboard',array('annotation' => $contents));
} else {
//put the required div on the page for the first message
echo "";
}
?>