aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/views/default/forms
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-02 11:28:32 -0400
committerCash Costello <cash.costello@gmail.com>2012-06-02 11:28:32 -0400
commitd06b10d5f084aceecdd302036697212a8d8d08e5 (patch)
tree0e4ba19279ad714ae1c1f3ab9f83e0001df0a4f6 /mod/messages/views/default/forms
parente1ad0033a34576b663caca96091eeed012d3447b (diff)
downloadelgg-d06b10d5f084aceecdd302036697212a8d8d08e5.tar.gz
elgg-d06b10d5f084aceecdd302036697212a8d8d08e5.tar.bz2
Fixes #2424 confirmation message when deleting multiple messages
Diffstat (limited to 'mod/messages/views/default/forms')
-rw-r--r--mod/messages/views/default/forms/messages/process.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/messages/views/default/forms/messages/process.php b/mod/messages/views/default/forms/messages/process.php
index f86c3217a..cb30792e9 100644
--- a/mod/messages/views/default/forms/messages/process.php
+++ b/mod/messages/views/default/forms/messages/process.php
@@ -19,10 +19,12 @@ echo $messages;
echo '</div>';
echo '<div class="elgg-foot messages-buttonbank">';
+
echo elgg_view('input/submit', array(
'value' => elgg_echo('delete'),
'name' => 'delete',
- 'class' => 'elgg-button-delete',
+ 'class' => 'elgg-button-delete elgg-requires-confirmation',
+ 'title' => elgg_echo('deleteconfirm:plural'),
));
if ($vars['folder'] == "inbox") {