From 89ce06e66737761f99949a32729f5a759630ce49 Mon Sep 17 00:00:00 2001 From: cash Date: Sat, 5 Mar 2011 22:29:24 +0000 Subject: cleared up confusion over elgg-icon-delete and elgg-button-delete git-svn-id: http://code.elgg.org/elgg/trunk@8594 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/messages/views/default/forms/messages/process.php | 1 + mod/messages/views/default/object/messages.php | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'mod') 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 '
'; 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 = "" . elgg_view("output/confirmlink", array( +$delete_link = elgg_view("output/confirmlink", array( 'href' => "action/messages/delete?guid=" . $message->getGUID(), - 'text' => elgg_echo('delete'), + 'text' => "", 'confirm' => elgg_echo('deleteconfirm'), - )) . ""; + 'text_encode' => false, + )); $body = <<$user_link
-- cgit v1.2.3