aboutsummaryrefslogtreecommitdiff
path: root/mod/messages
diff options
context:
space:
mode:
Diffstat (limited to 'mod/messages')
-rw-r--r--mod/messages/views/default/messages/view.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/messages/views/default/messages/view.php b/mod/messages/views/default/messages/view.php
index 90b9e518e..2de060e33 100644
--- a/mod/messages/views/default/messages/view.php
+++ b/mod/messages/views/default/messages/view.php
@@ -44,11 +44,11 @@ if (is_array($vars['entity']) && sizeof($vars['entity']) > 0) {
// display message subject
echo "<div class='message_subject'>";
// display delete button
- echo "<div class='delete_button'>" . elgg_view("output/confirmlink", array(
+ echo "<span class='delete_button'>" . elgg_view("output/confirmlink", array(
'href' => $vars['url'] . "action/messages/delete?message_id=" . $message->getGUID() . "&type=inbox&submit=" . urlencode(elgg_echo('delete')),
'text' => elgg_echo('delete'),
'confirm' => elgg_echo('deleteconfirm'),
- )) . "</div>";
+ )) . "</span>";
echo "<p class='entity_title'><input type='checkbox' name=\"message_id[]\" value=\"{$message->guid}\" />";
echo "<a href=\"{$message->getURL()}\">" . $message->title . "</a></p>";
echo "</div></div></div>"; // close the message container