username; $new_link = elgg_get_array_value('new_link', $vars, "pg/$context/new/$username/"); $params = array( 'href' => $new_link = elgg_normalize_url($new_link), 'text' => elgg_echo("$context:new"), 'class' => 'elgg-action-button', ); $buttons = elgg_view('output/url', $params); } } echo <<