getAnnotations('comments'); set_page_owner($obj->getOwner()); $page_owner = get_entity($obj->getOwner()); $title = $obj->title; $area1 = ""; $area2 = elgg_view("object/tool", array( 'entity' => $obj, 'entity_owner' => $page_owner, 'comments' => $comments, 'full' => true)); // Add subjects menu $area1 .= elgg_view("tools/ke_menu_tools_section_moderator"); $area1 .= elgg_view("tools/ke_menu_subjects_view"); $body = elgg_view_layout("two_columns", $area1, $area2); } else { /*translation:Tool not found.*/ $title = elgg_echo("koolielu:error_tool_not_found"); /*translation:Tool not found.*/ $body = elgg_echo("koolielu:error_tool_not_found"); } page_draw($title, $body); ?>