summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2011-01-16 19:42:40 +0000
committeralecpl <alec@alec.pl>2011-01-16 19:42:40 +0000
commit68d2d541002017dae51127aa05af58d19916655b (patch)
tree0fa9953196a9dc94d048d954dbd7482ef4140e7a /program/steps/mail
parent88007cf0602434d73a21b475a151b80a9002e6da (diff)
- Move action files map from index.php to steps' func.inc files
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/func.inc15
1 files changed, 14 insertions, 1 deletions
diff --git a/program/steps/mail/func.inc b/program/steps/mail/func.inc
index b0e7a789d..6648f7aee 100644
--- a/program/steps/mail/func.inc
+++ b/program/steps/mail/func.inc
@@ -1757,4 +1757,17 @@ $OUTPUT->add_handlers(array(
'searchform' => array($OUTPUT, 'search_form'),
));
-
+// register action aliases
+$RCMAIL->register_action_map(array(
+ 'preview' => 'show.inc',
+ 'print' => 'show.inc',
+ 'moveto' => 'move_del.inc',
+ 'delete' => 'move_del.inc',
+ 'send' => 'sendmail.inc',
+ 'expunge' => 'folders.inc',
+ 'purge' => 'folders.inc',
+ 'remove-attachment' => 'attachments.inc',
+ 'display-attachment' => 'attachments.inc',
+ 'upload' => 'attachments.inc',
+ 'group-expand' => 'autocomplete.inc',
+));