From ce4fc106aa374a82aea8a03bb887be37ccff6dfb Mon Sep 17 00:00:00 2001 From: alec Date: Thu, 21 Jul 2011 11:15:18 +0000 Subject: - Simplify undo message, add dots at the end of messages git-svn-id: https://svn.roundcube.net/trunk@4951 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/steps/addressbook/delete.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/steps/addressbook') diff --git a/roundcubemail/program/steps/addressbook/delete.inc b/roundcubemail/program/steps/addressbook/delete.inc index b0b255e27..222535cf3 100644 --- a/roundcubemail/program/steps/addressbook/delete.inc +++ b/roundcubemail/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