$plugin) {
if (!isset($plugin['manifest']['admin_interface']) || $plugin['manifest']['admin_interface'] == 'advanced') {
continue;
}
$plugin['installed_name'] = $installed_name;
$plugin_list[$plugin['manifest']['name']] = $plugin;
}
ksort($plugin_list);
$form_body .= <<<___END
';
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('save')));
$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'action_button disabled'));
echo elgg_view('input/form', array(
'action' => "{$vars['url']}action/admin/plugins/simple_update_states",
'body' => $form_body,
'class' => 'admin_plugins_simpleview'
));