canEdit()) { register_error(elgg_echo("profile:icon:noaccess")); forward(); } // set title $area1 = elgg_view_title(elgg_echo('profile:createicon:header')); $area1 .= elgg_view("profile/edit_icon", array('user' => $user)); elgg_set_context('profile_edit'); // Get the form and correct canvas area $body = elgg_view_layout("one_column_with_sidebar", array('content' => $area1)); // Draw the page echo elgg_view_page(elgg_echo("profile:editicon"), $body);