From: Michael M Slusarz Date: Wed, 20 Jan 2010 19:07:50 +0000 (-0700) Subject: A bit more feedback when adding/deleting flags X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2c4f91bd6d87e4af1e725160b871f92295fc46e4;p=horde.git A bit more feedback when adding/deleting flags --- diff --git a/imp/lib/Application.php b/imp/lib/Application.php index afb0ce31e..ad9a62215 100644 --- a/imp/lib/Application.php +++ b/imp/lib/Application.php @@ -801,6 +801,7 @@ class IMP_Application extends Horde_Registry_Application $data = Horde_Util::getFormData('flag_data'); if ($action == 'add') { + $GLOBALS['notification']->push(sprintf(_("Added flag \"%s\"."), $data), 'horde.success'); $imp_flags->addFlag($data); return; } @@ -815,6 +816,7 @@ class IMP_Application extends Horde_Registry_Application case 'delete': if ($data == ('bg_' . $md5)) { $imp_flags->deleteFlag($key); + $GLOBALS['notification']->push(sprintf(_("Deleted flag \"%s\"."), $val['l']), 'horde.success'); } break;