diff options
Diffstat (limited to 'mod/reportedcontent/start.php')
| -rw-r--r-- | mod/reportedcontent/start.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index 406624e50..8b18a4d64 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -31,6 +31,7 @@ function reportedcontent_init() { 'title' => elgg_echo('reportedcontent:this:tooltip'), 'text' => elgg_view_icon('report-this') . elgg_echo('reportedcontent:this'), 'priority' => 500, + 'section' => 'alt', )); } @@ -38,7 +39,7 @@ function reportedcontent_init() { // Add admin menu item // @todo Might want to move this to a 'feedback' section. something other than utils - elgg_register_admin_menu_item('administer', 'reportedcontent', 'utilities'); + elgg_register_admin_menu_item('administer', 'reportedcontent', 'administer_utilities'); elgg_register_widget_type( 'reportedcontent', @@ -59,6 +60,7 @@ function reportedcontent_init() { * Serves the add report page * * @param array $page Array of page routing elements + * @return bool */ function reportedcontent_page_handler($page) { // only logged in users can report things @@ -75,6 +77,7 @@ function reportedcontent_page_handler($page) { $body = elgg_view_layout('one_sidebar', $params); echo elgg_view_page(elgg_echo('reportedcontent:this'), $body); + return true; } /** |
