diff options
-rw-r--r-- | mod/ecml/start.php | 5 | ||||
-rw-r--r-- | mod/ecml/views/default/ecml/admin/ecml_admin.php | 4 |
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, |