aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-18 12:37:45 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-18 12:37:45 +0000
commit8783e3bdd666768041a812bf146e4913000cb688 (patch)
tree0cfcee510815f04d77bae307e10da6418b714d77 /views
parent9b20d0c97c3d41ddd59d396e5b65c0ff2b821ad8 (diff)
downloadelgg-8783e3bdd666768041a812bf146e4913000cb688.tar.gz
elgg-8783e3bdd666768041a812bf146e4913000cb688.tar.bz2
Interface updates to plugins settings form.
git-svn-id: http://code.elgg.org/elgg/trunk@6080 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-rw-r--r--views/default/admin/components/plugin_settings.php6
-rw-r--r--views/default/canvas/layouts/administration.php7
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;
}