diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/admin/components/plugin_settings.php | 6 | ||||
-rw-r--r-- | views/default/canvas/layouts/administration.php | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/views/default/admin/components/plugin_settings.php b/views/default/admin/components/plugin_settings.php index 22544e45f..78489c52a 100644 --- a/views/default/admin/components/plugin_settings.php +++ b/views/default/admin/components/plugin_settings.php @@ -13,9 +13,9 @@ $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 .= '<p>' . elgg_view('input/submit', array('value' => elgg_echo('save'))); -$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'))) . '</p>'; +$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' => 'action_button disabled')); echo elgg_view_title($plugin_info['name']); -echo elgg_view('input/form', array('body' => $form_body, 'action' => "{$vars['url']}action/plugins/settings/save"));
\ No newline at end of file +echo elgg_view('input/form', array('body' => $form_body, 'internalid' => 'plugin_settings', 'action' => "{$vars['url']}action/plugins/settings/save"));
\ No newline at end of file diff --git a/views/default/canvas/layouts/administration.php b/views/default/canvas/layouts/administration.php index 48e18f5ab..802b9070f 100644 --- a/views/default/canvas/layouts/administration.php +++ b/views/default/canvas/layouts/administration.php @@ -134,6 +134,13 @@ body { background-color: #444444; } .admin_area .input_textarea { width:98%; } +.admin_area form#plugin_settings { + margin-top: 10px; +} +.admin_area form#plugin_settings .action_button.disabled { + margin-top:10px; + float:right; +} .admin_settings { margin-bottom:20px; } |