aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:46:40 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-15 17:46:40 +0000
commitc852d9e9e0fd64d70dcaace105f2bf7e7d3c1b95 (patch)
treea96362eb6009c849c4cc466649aa2bc553285025
parent978b3484af2a47fe5cd3df6c1b68b5749612d1f2 (diff)
downloadelgg-c852d9e9e0fd64d70dcaace105f2bf7e7d3c1b95.tar.gz
elgg-c852d9e9e0fd64d70dcaace105f2bf7e7d3c1b95.tar.bz2
Small UI updates to ECML.
git-svn-id: http://code.elgg.org/elgg/trunk@5749 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/ecml/start.php5
-rw-r--r--mod/ecml/views/default/ecml/admin/ecml_admin.php4
2 files changed, 5 insertions, 4 deletions
diff --git a/mod/ecml/start.php b/mod/ecml/start.php
index cad6f096f..7f99747e9 100644
--- a/mod/ecml/start.php
+++ b/mod/ecml/start.php
@@ -94,14 +94,15 @@ function ecml_help_page_handler($page) {
}
/**
- * Display a help page for valid ECML keywords on this page.
+ * Display a admin area for ECML
*
* @param array $page
*/
function ecml_admin_page_handler($page) {
admin_gatekeeper();
$content = elgg_view('ecml/admin/ecml_admin');
- echo page_draw(elgg_echo('ecml:admin'), $content);
+ $body = elgg_view_layout('one_column_with_sidebar', $content);
+ echo page_draw(elgg_echo('ecml:admin'), $body);
}
/**
diff --git a/mod/ecml/views/default/ecml/admin/ecml_admin.php b/mod/ecml/views/default/ecml/admin/ecml_admin.php
index b91807510..bb2cd7f05 100644
--- a/mod/ecml/views/default/ecml/admin/ecml_admin.php
+++ b/mod/ecml/views/default/ecml/admin/ecml_admin.php
@@ -17,7 +17,7 @@ ksort($views);
ksort($keywords);
echo elgg_view_title(elgg_echo('ecml:admin:admin'));
-echo '<p>' . elgg_echo('ecml:admin:instruction') . '</p>';
+echo '<p class="margin_top">' . elgg_echo('ecml:admin:instruction') . '</p>';
// yes I'm using a table because this is table.
$form_body = <<<___END
@@ -53,7 +53,7 @@ foreach ($views as $view => $desc) {
$form_body .= '</table>';
$form_body .= elgg_view('input/submit', array('value' => elgg_echo('submit')));
-$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset')));
+$form_body .= elgg_view('input/reset', array('value' => elgg_echo('reset'), 'class' => 'cancel_button'));
echo elgg_view('input/form', array(
'body' => $form_body,