* @copyright Curverider Ltd 2008-2010 * @link http://elgg.com/ */ // a couple of required variables //get the full page owner entity $entity = get_entity(page_owner()); //the number of message to display $num_display = $vars['entity']->num_display; //if no num set, set to one if(!$num_display) $num_display = 5; //Just the loggedin user can send messages if(isloggedin()){ ?>