aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default/object
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages/views/default/object')
-rw-r--r--mod/messages/views/default/object/messages.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/mod/messages/views/default/object/messages.php b/mod/messages/views/default/object/messages.php
index 70a51bf57..1c97c8e36 100644
--- a/mod/messages/views/default/object/messages.php
+++ b/mod/messages/views/default/object/messages.php
@@ -54,11 +54,12 @@ $subject_info .= elgg_view('output/url', array(
'text' => $message->title,
));
-$delete_link = "<span class='elgg-button elgg-button-delete'>" . elgg_view("output/confirmlink", array(
+$delete_link = elgg_view("output/confirmlink", array(
'href' => "action/messages/delete?guid=" . $message->getGUID(),
- 'text' => elgg_echo('delete'),
+ 'text' => "<span class=\"elgg-icon elgg-icon-delete right\"></span>",
'confirm' => elgg_echo('deleteconfirm'),
- )) . "</span>";
+ 'text_encode' => false,
+ ));
$body = <<<HTML
<div class="messages-owner">$user_link</div>