Add subscribe/unsubcribe menus to mail tree context menu

This commit is contained in:
Hadi Nategh 2013-12-18 17:35:03 +00:00
parent 42314ab168
commit bf231133a0

View File

@ -345,9 +345,18 @@ class mail_ui
'caption' => 'Delete Folder', 'caption' => 'Delete Folder',
'onExecute' => 'javaScript:app.mail.mail_DeleteFolder' 'onExecute' => 'javaScript:app.mail.mail_DeleteFolder'
), ),
'subscribe' => array(
'caption' => 'Subscribe folder',
//'icon' => 'configure',
'onExecute' => 'javaScript:app.mail.subscribe_folder',
),
'unsubscribe' => array(
'caption' => 'Unsubscribe folder',
//'icon' => 'configure',
'onExecute' => 'javaScript:app.mail.unsubscribe_folder',
),
'sieve' => array( 'sieve' => array(
'caption' => 'Mail filter', 'caption' => 'Mail filter',
'icon' => 'configure',
'onExecute' => 'javaScript:app.mail.edit_sieve', 'onExecute' => 'javaScript:app.mail.edit_sieve',
'group' => $group++, 'group' => $group++,
), ),
@ -365,7 +374,7 @@ class mail_ui
), ),
'edit_acl' => array( 'edit_acl' => array(
'caption' => 'Edit folder ACL', 'caption' => 'Edit folder ACL',
'icon' => 'configure', 'icon' => 'blocks',
'onExecute' => 'javaScript:app.mail.edit_acl', 'onExecute' => 'javaScript:app.mail.edit_acl',
), ),
); );