diff options
Diffstat (limited to 'mod/blog/views/default/river')
-rw-r--r-- | mod/blog/views/default/river/object/blog/create.php | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mod/blog/views/default/river/object/blog/create.php b/mod/blog/views/default/river/object/blog/create.php index 38ee177ed..9dc0ffdac 100644 --- a/mod/blog/views/default/river/object/blog/create.php +++ b/mod/blog/views/default/river/object/blog/create.php @@ -7,12 +7,19 @@ $object = $vars['item']->getObjectEntity(); $excerpt = strip_tags($object->excerpt); $excerpt = elgg_get_excerpt($excerpt); +$params = array( + 'href' => $object->getURL(), + 'text' => $object->title, +); +$link = elgg_view('output/url', $params); + + echo elgg_echo('blog:river:create'); -echo " <a href=\"{$object->getURL()}\">{$object->title}</a>"; +echo " $link"; if ($excerpt) { - echo '<div class="elgg-river-excerpt">'; + echo '<div class="elgg-river-content">'; echo $excerpt; echo '</div>'; } |