aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 12:03:17 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-17 12:03:17 +0000
commit31867d1a44f87c775014c9f9c0b8fd546d7c4ba9 (patch)
treed7edbdc4b6620dd2b7488ce5c9127086f78d5bc0 /mod/blog/views
parente0d1bf52ccde42d62d979b11791905f069bad8c4 (diff)
downloadelgg-31867d1a44f87c775014c9f9c0b8fd546d7c4ba9.tar.gz
elgg-31867d1a44f87c775014c9f9c0b8fd546d7c4ba9.tar.bz2
updated river views for content display and added new bookmarks river view code
git-svn-id: http://code.elgg.org/elgg/trunk@7657 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views')
-rw-r--r--mod/blog/views/default/river/object/blog/create.php11
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>';
}