diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-23 23:24:40 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-01-23 23:24:40 +0000 |
commit | 417333356a9293ce0b927d5dd08a4820658bd915 (patch) | |
tree | d9c6c705eb14337ac9c4dfa78c391967a6e6910f /views/default/admin/components/plugin_settings.php | |
parent | c78063361a3d46aecc7c8e6747937ac2360bd003 (diff) | |
download | elgg-417333356a9293ce0b927d5dd08a4820658bd915.tar.gz elgg-417333356a9293ce0b927d5dd08a4820658bd915.tar.bz2 |
updated more of the admin backend to use new CSS/HTML
git-svn-id: http://code.elgg.org/elgg/trunk@7920 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/admin/components/plugin_settings.php')
-rw-r--r-- | views/default/admin/components/plugin_settings.php | 22 |
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> |