diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 17:52:18 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-12 17:52:18 +0000 |
commit | e4158cbf4159183b7d9362cf30c7fd5dfb1d877a (patch) | |
tree | d4f33641da43b059e4921638907f212212b2be09 /mod/reportedcontent/start.php | |
parent | d7f37fc752418661e0dadae8dfc40f07e7603740 (diff) | |
download | elgg-e4158cbf4159183b7d9362cf30c7fd5dfb1d877a.tar.gz elgg-e4158cbf4159183b7d9362cf30c7fd5dfb1d877a.tar.bz2 |
updated reported content to use elgg_view_form
git-svn-id: http://code.elgg.org/elgg/trunk@8166 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/start.php')
-rw-r--r-- | mod/reportedcontent/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php index e231216cd..9e5bb813a 100644 --- a/mod/reportedcontent/start.php +++ b/mod/reportedcontent/start.php @@ -36,7 +36,7 @@ function reportedcontent_init() { 'admin'); // Register actions - $action_path = elgg_get_plugins_path() . "reportedcontent/actions"; + $action_path = elgg_get_plugins_path() . "reportedcontent/actions/reportedcontent"; elgg_register_action('reportedcontent/add', "$action_path/add.php"); elgg_register_action('reportedcontent/delete', "$action_path/delete.php", 'admin'); elgg_register_action('reportedcontent/archive', "$action_path/archive.php", 'admin'); @@ -54,7 +54,7 @@ function reportedcontent_page_handler($page) { gatekeeper(); $content .= elgg_view_title(elgg_echo('reportedcontent:this')); - $content .= elgg_view('reportedcontent/form'); + $content .= elgg_view_form('reportedcontent/add'); $sidebar = elgg_echo('reportedcontent:instructions'); $params = array( |