From: Michael M Slusarz Date: Thu, 18 Jun 2009 18:31:26 +0000 (-0600) Subject: Better notification message on successful send in dimp. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=99c7fee20f189153b4293f4752502148b0dda3fa;p=horde.git Better notification message on successful send in dimp. --- diff --git a/imp/compose-dimp.php b/imp/compose-dimp.php index 6ec6e818e..f26d18390 100644 --- a/imp/compose-dimp.php +++ b/imp/compose-dimp.php @@ -180,7 +180,7 @@ if (count($_POST)) { } if ($sent && $prefs->getValue('compose_confirm')) { - $notification->push(_("Message sent successfully."), 'horde.success'); + $notification->push(empty($header['subject']) ? _("Message sent successfully.") : sprintf(_("Message \"%s\" sent successfully."), $header['subject']), 'horde.success'); } /* Update maillog information. */