aboutsummaryrefslogtreecommitdiff
path: root/views/default/admin/components/plugin_settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/admin/components/plugin_settings.php')
-rw-r--r--views/default/admin/components/plugin_settings.php22
1 files changed, 17 insertions, 5 deletions
diff --git a/views/default/admin/components/plugin_settings.php b/views/default/admin/components/plugin_settings.php
index 785b5550d..0a4891145 100644
--- a/views/default/admin/components/plugin_settings.php
+++ b/views/default/admin/components/plugin_settings.php
@@ -11,9 +11,21 @@ $plugin_info = load_plugin_manifest($plugin);
$form_body = elgg_view("settings/{$plugin}/edit", $vars);
$form_body .= elgg_view('input/hidden', array('internalname' => 'plugin', 'value' => $plugin));
-$form_body .= "<div class='divider'></div>" . elgg_view('input/submit', array('value' => elgg_echo('save')));
-$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'elgg-action-button disabled'));
+$form_body .= elgg_view('input/submit', array('value' => elgg_echo('save')));
+//$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset')));
-echo elgg_view_title($plugin_info['name']);
-
-echo elgg_view('input/form', array('body' => $form_body, 'internalid' => 'plugin_settings', 'action' => "action/plugins/settings/save")); \ No newline at end of file
+?>
+<div class="elgg-module elgg-inline-module">
+ <div class="elgg-head">
+ <h3><?php echo $plugin_info['name']; ?></h3>
+ </div>
+ <div class="elgg-body">
+ <?php
+ echo elgg_view('input/form', array(
+ 'body' => $form_body,
+ 'internalid' => 'plugin_settings',
+ 'action' => "action/plugins/settings/save",
+ ));
+ ?>
+ </div>
+</div>