From: brettp Date: Thu, 15 Apr 2010 21:45:58 +0000 (+0000) Subject: Correctly setting context to admin to pull in the admin sidebar for ECML permissions... X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7fee58e1ef7aaab02630a1c8ee3254d8c4eca383;p=lorea%2Felgg.git Correctly setting context to admin to pull in the admin sidebar for ECML permissions page. git-svn-id: http://code.elgg.org/elgg/trunk@5755 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/mod/ecml/start.php b/mod/ecml/start.php index 7f99747e9..983894511 100644 --- a/mod/ecml/start.php +++ b/mod/ecml/start.php @@ -100,9 +100,10 @@ function ecml_help_page_handler($page) { */ function ecml_admin_page_handler($page) { admin_gatekeeper(); + set_context('admin'); $content = elgg_view('ecml/admin/ecml_admin'); $body = elgg_view_layout('one_column_with_sidebar', $content); - echo page_draw(elgg_echo('ecml:admin'), $body); + echo page_draw(elgg_echo('ecml:admin'), $body); } /**