From 45809013256e8c5eb87fa90a6feee66ec632cb03 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 20 Dec 2010 12:38:25 +0000 Subject: added elgg-icon-delete and elgg-icon-likes git-svn-id: http://code.elgg.org/elgg/trunk@7698 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/blog/views/default/object/blog.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'mod/blog/views') diff --git a/mod/blog/views/default/object/blog.php b/mod/blog/views/default/object/blog.php index 776408cc5..3efd749f1 100644 --- a/mod/blog/views/default/object/blog.php +++ b/mod/blog/views/default/object/blog.php @@ -52,11 +52,13 @@ if ($blog->canEdit()) { $edit_link = "" . elgg_echo('edit') . ''; $delete_url = "action/blog/delete?guid={$blog->getGUID()}"; - $delete_link = "" . elgg_view('output/confirmlink', array( + $delete_link = elgg_view('output/confirmlink', array( 'href' => $delete_url, - 'text' => elgg_echo('delete'), - 'confirm' => elgg_echo('deleteconfirm') - )) . ""; + 'text' => '', + 'title' => elgg_echo('delete'), + 'confirm' => elgg_echo('deleteconfirm'), + 'encode' => false, + )); $status = ''; if ($blog->status != 'published') { @@ -69,7 +71,7 @@ if ($blog->canEdit()) { // include a view for plugins to extend $edit = elgg_view("blogs/options", array("object_type" => 'blog', 'entity' => $blog)) . - elgg_view_likes($blog) . $edit; + $edit . elgg_view_likes($blog); if ($full) { -- cgit v1.2.3