aboutsummaryrefslogtreecommitdiff
path: root/views/default/river
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2013-06-14 07:29:43 -0400
committerCash Costello <cash.costello@gmail.com>2013-06-14 07:29:43 -0400
commitd2b525a8c9d4926944ad4a9126dbd266dc823a9b (patch)
tree838022e68dcba46540db96469a02277bedf3f6dd /views/default/river
parent9c322938db8b7c4cf87298f5f51fc3eed9450aeb (diff)
downloadelgg-d2b525a8c9d4926944ad4a9126dbd266dc823a9b.tar.gz
elgg-d2b525a8c9d4926944ad4a9126dbd266dc823a9b.tar.bz2
Fixes #5626 adds limit for display of titles for river, breadcrumbs, and list pages
Diffstat (limited to 'views/default/river')
-rw-r--r--views/default/river/elements/summary.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/views/default/river/elements/summary.php b/views/default/river/elements/summary.php
index 416bc708b..d7bde51dd 100644
--- a/views/default/river/elements/summary.php
+++ b/views/default/river/elements/summary.php
@@ -18,9 +18,10 @@ $subject_link = elgg_view('output/url', array(
'is_trusted' => true,
));
+$object_text = $object->title ? $object->title : $object->name;
$object_link = elgg_view('output/url', array(
'href' => $object->getURL(),
- 'text' => $object->title ? $object->title : $object->name,
+ 'text' => elgg_get_excerpt($object_text, 100),
'class' => 'elgg-river-object',
'is_trusted' => true,
));