* @copyright Curverider Ltd 2008 * @link http://elgg.com/ * * @uses $vars['entity'] Optionally, the topic to edit */ //users can edit the access and status for now $access_id = $vars['entity']->access_id; $status = $vars['entity']->status; $tags = $vars['entity']->tags; $title = $vars['entity']->title; $message = $vars['entity']->getAnnotations('group_topic_post', 1, 0, "asc"); foreach($message as $mes){ $messsage_content = $mes->value; $message_id = $mes->id; } // get the group GUID $group_guid = get_input("group"); // topic guid $topic_guid = $vars['entity']->guid; // set the title echo elgg_view_title(elgg_echo("groups:edittopic")); ?>