"file_tools_edit_form" ); $body_vars = array( "page_owner_entity" => $page_owner ); // draw page if (elgg_is_xhr()) { echo "
"; echo elgg_view_title($title_text); echo elgg_view_form("file_tools/folder/edit", $form_vars, $body_vars); echo "
"; } else { echo elgg_view_page($title_text, elgg_view_layout("one_sidebar", array( "title" => $title_text, "content" => elgg_view_form("file_tools/folder/edit", $form_vars, $body_vars) ))); }