aboutsummaryrefslogtreecommitdiff
path: root/mod/blog/views/default
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-20 12:38:25 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-20 12:38:25 +0000
commit45809013256e8c5eb87fa90a6feee66ec632cb03 (patch)
treedcecf3c13dea698febc0d00c49ba90260abce79d /mod/blog/views/default
parent14a131e73eca92bb216ffad468a18c4a28ee35c2 (diff)
downloadelgg-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/views/default')
-rw-r--r--mod/blog/views/default/object/blog.php12
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) {