aboutsummaryrefslogtreecommitdiff
path: root/mod/reportedcontent/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:20:15 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-22 16:20:15 +0000
commit146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0 (patch)
tree4e128bb75e641cdd7d587927bde57e9d85d3c58d /mod/reportedcontent/start.php
parent4d21dc679676166b1ea93412dbe0cdba73a88721 (diff)
downloadelgg-146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0.tar.gz
elgg-146aa6bf8b3c7bb0ce9cb85f99613cf9b22258c0.tar.bz2
removing reported content dependency from core code...again
git-svn-id: http://code.elgg.org/elgg/trunk@6137 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/reportedcontent/start.php')
-rw-r--r--mod/reportedcontent/start.php9
1 files changed, 5 insertions, 4 deletions
diff --git a/mod/reportedcontent/start.php b/mod/reportedcontent/start.php
index e9b86230a..ad75f06f0 100644
--- a/mod/reportedcontent/start.php
+++ b/mod/reportedcontent/start.php
@@ -17,14 +17,15 @@ function reportedcontent_init() {
global $CONFIG;
// Register a page handler, so we can have nice URLs
- register_page_handler('reportedcontent','reportedcontent_page_handler');
+ register_page_handler('reportedcontent', 'reportedcontent_page_handler');
// Extend CSS
- elgg_extend_view('css','reportedcontent/css');
+ elgg_extend_view('css', 'reportedcontent/css');
- // Extend context menu and owner_block with report content link
+ // Extend context menu and footer with report content link
if (isloggedin()) {
- elgg_extend_view('profile/menu/links','reportedcontent/user_report');
+ elgg_extend_view('profile/menu/links', 'reportedcontent/user_report');
+ elgg_extend_view('footer/links', 'reportedcontent/footer_link');
}
}