diff options
author | Cash Costello <cash.costello@gmail.com> | 2013-06-14 07:29:43 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2013-06-14 07:29:43 -0400 |
commit | d2b525a8c9d4926944ad4a9126dbd266dc823a9b (patch) | |
tree | 838022e68dcba46540db96469a02277bedf3f6dd /views/default/river/elements/summary.php | |
parent | 9c322938db8b7c4cf87298f5f51fc3eed9450aeb (diff) | |
download | elgg-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/elements/summary.php')
-rw-r--r-- | views/default/river/elements/summary.php | 3 |
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, )); |