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' => 'action-button right', ); $buttons = elgg_view('output/url', $params); } } echo <<

$title

$buttons HTML; }