From 8783e3bdd666768041a812bf146e4913000cb688 Mon Sep 17 00:00:00 2001 From: pete Date: Tue, 18 May 2010 12:37:45 +0000 Subject: Interface updates to plugins settings form. git-svn-id: http://code.elgg.org/elgg/trunk@6080 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/admin/components/plugin_settings.php | 6 +++--- 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 .= '

' . elgg_view('input/submit', array('value' => elgg_echo('save'))); -$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'))) . '

'; +$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_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; } -- cgit v1.2.3