From f52c4f441fdbb2e2ca882e85ce4c162452186f05 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 21 Jul 2011 11:15:18 +0000 Subject: - Simplify undo message, add dots at the end of messages --- program/steps/addressbook/delete.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'program/steps/addressbook/delete.inc') diff --git a/program/steps/addressbook/delete.inc b/program/steps/addressbook/delete.inc index b0b255e27..222535cf3 100644 --- a/program/steps/addressbook/delete.inc +++ b/program/steps/addressbook/delete.inc @@ -145,7 +145,7 @@ $OUTPUT->command('set_rowcount', rcmail_get_rowcount_text($result)); if (!empty($_SESSION['contact_undo'])) { $_SESSION['contact_undo']['ts'] = time(); - $msg = html::span(null, rcube_label(array('name' => 'itemsdeleted', 'vars' => array('num' => $deleted)))) + $msg = html::span(null, rcube_label('contactdeleted')) . ' ' . html::a(array('onclick' => JS_OBJECT_NAME.".command('undo', '', this)"), rcube_label('undo')); $OUTPUT->show_message($msg, 'confirmation', null, true, $undo_time); -- cgit v1.2.3