* @copyright Curverider Ltd 2008-2010 * @link http://elgg.com/ * * @uses $vars['object'] Optionally, the topic to edit */ // Set title, form destination $title = elgg_echo("groups:addtopic"); $action = "groups/addtopic"; $tags = ""; $title = ""; $message = ""; $message_id = ""; $status = ""; $access_id = ACCESS_DEFAULT; // get the group guid $group_guid = (int) get_input('group_guid'); // set up breadcrumbs $group = get_entity($group_guid); elgg_push_breadcrumb(elgg_echo('groups'), $CONFIG->wwwroot."pg/groups/world/"); elgg_push_breadcrumb($group->name, $group->getURL()); elgg_push_breadcrumb(elgg_echo('item:object:groupforumtopic'), $CONFIG->wwwroot."pg/groups/forum/{$group_guid}/"); elgg_push_breadcrumb(elgg_echo("groups:addtopic")); echo elgg_view('navigation/breadcrumbs'); // set the title echo elgg_view_title(elgg_echo("groups:addtopic")); ?>

"topicmessage", "value" => $message, )); ?>