aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/river2.php15
1 files changed, 11 insertions, 4 deletions
diff --git a/engine/lib/river2.php b/engine/lib/river2.php
index 3d826f517..8e015ea0d 100644
--- a/engine/lib/river2.php
+++ b/engine/lib/river2.php
@@ -383,10 +383,17 @@ function elgg_view_river_item($item) {
));
}
}
- return elgg_view('river/item/wrapper',array(
- 'item' => $item,
- 'body' => $body
- ));
+ if (get_plugin_setting('activitytype', 'riverdashboard') == 'classic'){
+ return elgg_view('river/item/wrapper_classic',array(
+ 'item' => $item,
+ 'body' => $body
+ ));
+ }else{
+ return elgg_view('river/item/wrapper',array(
+ 'item' => $item,
+ 'body' => $body
+ ));
+ }
}
return false;
}