diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/messages/views/default/forms/messages/process.php | 1 | ||||
-rw-r--r-- | mod/messages/views/default/object/messages.php | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php index 5cdd01c1f..e415a092b 100644 --- a/mod/messages/views/default/forms/messages/process.php +++ b/mod/messages/views/default/forms/messages/process.php @@ -14,6 +14,7 @@ echo '<div class="messages-buttonbank">'; echo elgg_view('input/submit', array( 'value' => elgg_echo('delete'), 'name' => 'delete', + 'class' => 'elgg-button-delete', )); if ($vars['folder'] == "inbox") { 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> |