projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06092df
)
A bit more feedback when adding/deleting flags
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 20 Jan 2010 19:07:50 +0000
(12:07 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 20 Jan 2010 19:07:50 +0000
(12:07 -0700)
imp/lib/Application.php
patch
|
blob
|
history
diff --git
a/imp/lib/Application.php
b/imp/lib/Application.php
index
afb0ce3
..
ad9a622
100644
(file)
--- 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;