aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/river/group/create.php
blob: a70f8b51d01d34433c7fdd924ebeb0b48f9f6099 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * Group creation river view.
 */

$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>';
}