string replacements. $sections = array( 'intro' => array(), 'admin_overview' => array(), 'outro' => array() ); // don't use longtext because it filters output. // that's annoying. echo '
'; foreach ($sections as $section => $strings) { echo '

' . elgg_echo("admin:widget:admin_welcome:$section", $strings) . '

'; } echo '
';