$params) { $label = elgg_echo("install:$type:label:$name"); $help = elgg_echo("install:$type:help:$name"); $params['name'] = $name; $input = elgg_view("input/{$params['type']}", $params); $field = << $label $help $input FIELD; $form_body .= $field; } $form_body .= elgg_view('input/submit', array( 'value' => elgg_echo('install:next'), )); echo $form_body;