diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 03:02:46 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-05 03:02:46 +0000 |
commit | 60c803f7104116b93433e417a197331f78bcb23b (patch) | |
tree | c56ae918155ac431b3665070f8ab23258a25b3a2 /mod/blog/views/default/object | |
parent | f6efaba63af8100f7cebcbd9414e04ff4187c6c2 (diff) | |
download | elgg-60c803f7104116b93433e417a197331f78bcb23b.tar.gz elgg-60c803f7104116b93433e417a197331f78bcb23b.tar.bz2 |
Clean-up of the blog plugin - now using urls from 1.7.5
git-svn-id: http://code.elgg.org/elgg/trunk@7535 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog/views/default/object')
-rw-r--r-- | mod/blog/views/default/object/blog.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index 0638c2fc4..7e6be0b21 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -20,7 +20,7 @@ $excerpt = $blog->excerpt; $body = autop($blog->description); $owner_icon = elgg_view('profile/icon', array('entity' => $owner, 'size' => 'tiny')); -$owner_blog_link = "<a href=\"" . elgg_get_site_url() . "pg/blog/$owner->username\">{$owner->name}</a>"; +$owner_blog_link = "<a href=\"" . elgg_get_site_url() . "pg/blog/owner/$owner->username\">{$owner->name}</a>"; $author_text = elgg_echo('blog:author_by_line', array($owner_blog_link)); if ($blog->tags) { $tags = "<p class=\"elgg-tags\">" . elgg_view('output/tags', array('tags' => $blog->tags)) . "</p>"; @@ -48,7 +48,7 @@ $edit = elgg_view('output/access', array('entity' => $vars['entity'])); // links to delete or edit. if ($blog->canEdit()) { - $edit_url = elgg_get_site_url()."pg/blog/{$owner->username}/edit/{$blog->getGUID()}/"; + $edit_url = elgg_get_site_url()."pg/blog/edit/{$owner->username}/{$blog->getGUID()}/"; $edit_link = "<span class='entity-edit'><a href=\"$edit_url\">" . elgg_echo('edit') . '</a></span>'; $delete_url = "action/blog/delete?guid={$blog->getGUID()}"; |