diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-20 12:38:25 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-12-20 12:38:25 +0000 |
commit | 45809013256e8c5eb87fa90a6feee66ec632cb03 (patch) | |
tree | dcecf3c13dea698febc0d00c49ba90260abce79d /mod/blog | |
parent | 14a131e73eca92bb216ffad468a18c4a28ee35c2 (diff) | |
download | elgg-45809013256e8c5eb87fa90a6feee66ec632cb03.tar.gz elgg-45809013256e8c5eb87fa90a6feee66ec632cb03.tar.bz2 |
added elgg-icon-delete and elgg-icon-likes
git-svn-id: http://code.elgg.org/elgg/trunk@7698 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/blog')
-rw-r--r-- | mod/blog/views/default/object/blog.php | 12 |
1 files changed, 7 insertions, 5 deletions
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 = "<span class='entity-edit'><a href=\"$edit_url\">" . elgg_echo('edit') . '</a></span>'; $delete_url = "action/blog/delete?guid={$blog->getGUID()}"; - $delete_link = "<span class='delete-button'>" . elgg_view('output/confirmlink', array( + $delete_link = elgg_view('output/confirmlink', array( 'href' => $delete_url, - 'text' => elgg_echo('delete'), - 'confirm' => elgg_echo('deleteconfirm') - )) . "</span>"; + 'text' => '<span class="elgg-icon elgg-icon-delete"></span>', + '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) { |