Better notification message on successful send in dimp.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 18:31:26 +0000 (12:31 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 18 Jun 2009 18:31:26 +0000 (12:31 -0600)
imp/compose-dimp.php

index 6ec6e81..f26d183 100644 (file)
@@ -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. */