diff options
author | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-21 09:44:48 +0000 |
---|---|---|
committer | dave <dave@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-21 09:44:48 +0000 |
commit | d8e044d4b6bcc240f974d457a4601f54b6eea526 (patch) | |
tree | 82b3377411ca21242a4815a900858bd346ed5158 /mod/riverdashboard/index.php | |
parent | b4f73b8a8bab3b2235d1f709f28cbbb0291c5075 (diff) | |
download | elgg-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/riverdashboard/index.php')
-rw-r--r-- | mod/riverdashboard/index.php | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/riverdashboard/index.php b/mod/riverdashboard/index.php index e025850ea..758aa4018 100644 --- a/mod/riverdashboard/index.php +++ b/mod/riverdashboard/index.php @@ -41,7 +41,12 @@ switch($orient) { $title = elgg_view_title($title_wording); -$river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false) . "</div>"; +//select the correct river +if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic') + $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, true) . "</div>"; +else + $river = elgg_view_river_items($subject_guid, 0, $relationship_type, $type, $subtype, '', 20, 0, 0, true, false) . "</div>"; + // Replacing callback calls in the nav with something meaningless $river = str_replace('callback=true','replaced=88,334',$river); |