aboutsummaryrefslogtreecommitdiff
path: root/mod/profile
diff options
context:
space:
mode:
authordave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 09:44:48 +0000
committerdave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-21 09:44:48 +0000
commitd8e044d4b6bcc240f974d457a4601f54b6eea526 (patch)
tree82b3377411ca21242a4815a900858bd346ed5158 /mod/profile
parentb4f73b8a8bab3b2235d1f709f28cbbb0291c5075 (diff)
downloadelgg-d8e044d4b6bcc240f974d457a4601f54b6eea526.tar.gz
elgg-d8e044d4b6bcc240f974d457a4601f54b6eea526.tar.bz2
let site admins toggle between a classic activity stream or the new clustered version
git-svn-id: http://code.elgg.org/elgg/trunk@5826 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/profile')
-rwxr-xr-xmod/profile/views/default/profile/profile_contents/activity.php7
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/profile/views/default/profile/profile_contents/activity.php b/mod/profile/views/default/profile/profile_contents/activity.php
index 0184816e0..a9b8cce8c 100755
--- a/mod/profile/views/default/profile/profile_contents/activity.php
+++ b/mod/profile/views/default/profile/profile_contents/activity.php
@@ -16,8 +16,11 @@
echo elgg_view("profile/status", array("entity" => $vars['entity']));
}
if(is_plugin_enabled('riverdashboard')) {
- // users last 10 activites
- echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
+ //select the correct river
+ if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic')
+ echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,true);
+ else
+ echo elgg_view_river_items($vars['entity']->getGuid(), 0, '', '', '', '', $limit,0,0,false,false);
} else {
echo "Riverdashboard not loaded";
}