From e495d88fe96e6c73d6ed261fcdda332073052438 Mon Sep 17 00:00:00 2001 From: brettp Date: Mon, 24 May 2010 22:34:13 +0000 Subject: Added blog author link by line on blog list. git-svn-id: http://code.elgg.org/elgg/trunk@6195 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mod/blog/views/default') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index bb109a21e..02f74b95e 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -23,7 +23,9 @@ $categories = elgg_view('categories/view', $vars); $excerpt = $blog->excerpt; $body = autop($blog->description); -$owner_icon = elgg_view("profile/icon",array('entity' => $owner, 'size' => 'tiny')); +$owner_icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny')); +$owner_blog_link = "username\">{$owner->name}"; +$author_text = sprintf(elgg_echo('blog:author_by_line'), $owner_blog_link); $tags = elgg_view('output/tags', array('tags' => $blog->tags)); $date = friendly_time($blog->publish_date); @@ -77,6 +79,7 @@ echo <<<___END

+ $author_text $date $categories $comments_link @@ -98,6 +101,7 @@ ___END;

$linked_title

+ $author_text $date $categories $comments_link -- cgit v1.2.3