aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/group
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2011-06-08 02:31:30 -0700
committerEvan Winslow <evan@elgg.org>2011-06-08 02:31:30 -0700
commit1fd8bd6e296e2b1fc960fde1dd204b6c4e3e8aec (patch)
tree36da4522942dd749e82e9f33c0213cbedbb3d5f2 /mod/groups/views/default/river/group
parent8ddeb1f6e37dc1647e9bee4f3cfe35adcb2ca004 (diff)
downloadelgg-1fd8bd6e296e2b1fc960fde1dd204b6c4e3e8aec.tar.gz
elgg-1fd8bd6e296e2b1fc960fde1dd204b6c4e3e8aec.tar.bz2
River revamp for 1.8
Diffstat (limited to 'mod/groups/views/default/river/group')
-rw-r--r--mod/groups/views/default/river/group/create.php20
1 files changed, 4 insertions, 16 deletions
diff --git a/mod/groups/views/default/river/group/create.php b/mod/groups/views/default/river/group/create.php
index a70f8b51d..cacb5ad3f 100644
--- a/mod/groups/views/default/river/group/create.php
+++ b/mod/groups/views/default/river/group/create.php
@@ -7,19 +7,7 @@ $object = $vars['item']->getObjectEntity();
$excerpt = strip_tags($object->description);
$excerpt = elgg_get_excerpt($excerpt);
-$params = array(
- 'href' => $object->getURL(),
- 'text' => $object->name,
-);
-$link = elgg_view('output/url', $params);
-
-
-echo elgg_echo('groups:river:create');
-
-echo " $link";
-
-if ($excerpt) {
- echo '<div class="elgg-river-content">';
- echo $excerpt;
- echo '</div>';
-}
+echo elgg_view('river/item', array(
+ 'item' => $vars['item'],
+ 'message' => $excerpt,
+)); \ No newline at end of file