aboutsummaryrefslogtreecommitdiff
path: root/mod/riverdashboard/start.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 01:42:18 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-05-13 01:42:18 +0000
commitdd08cd1133ea8c82acfb7624efcf83571568ee42 (patch)
treed97ea30b007260e7adc5723010c790cffc4bf5e0 /mod/riverdashboard/start.php
parent402134632f0d60e9644d0121c2a84db4a4c1a169 (diff)
downloadelgg-dd08cd1133ea8c82acfb7624efcf83571568ee42.tar.gz
elgg-dd08cd1133ea8c82acfb7624efcf83571568ee42.tar.bz2
attempting to standardize riverdashboard plugin in similar manner as 1.7 branch revision [5943]
git-svn-id: http://code.elgg.org/elgg/trunk@6021 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/riverdashboard/start.php')
-rw-r--r--mod/riverdashboard/start.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/mod/riverdashboard/start.php b/mod/riverdashboard/start.php
index 9f64f4c9d..e30681f75 100644
--- a/mod/riverdashboard/start.php
+++ b/mod/riverdashboard/start.php
@@ -8,12 +8,12 @@
function riverdashboard_init() {
global $CONFIG;
// Register and optionally replace the dashboard
- register_page_handler('dashboard','riverdashboard_page_handler');
+ register_page_handler('dashboard', 'riverdashboard_page_handler');
add_menu(elgg_echo('activity'), $CONFIG->wwwroot . "mod/riverdashboard/");
// Page handler
- register_page_handler('riverdashboard','riverdashboard_page_handler');
- elgg_extend_view('css','riverdashboard/css');
+ register_page_handler('riverdashboard', 'riverdashboard_page_handler');
+ elgg_extend_view('css', 'riverdashboard/css');
// add an activity stream ECML keyword
// we'll restrict it to use in sitepages's custom_frontpage
@@ -41,7 +41,7 @@ function elgg_make_river_comment($entity){
return false;
} else {
//display the comment form
- $comments = elgg_view('riverdashboard/rivercomment',array('entity' => $entity));
+ $comments = elgg_view('riverdashboard/rivercomment', array('entity' => $entity));
return $comments;
}
}