diff options
author | alecpl <alec@alec.pl> | 2011-01-16 19:42:40 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-01-16 19:42:40 +0000 |
commit | 68d2d541002017dae51127aa05af58d19916655b (patch) | |
tree | 0fa9953196a9dc94d048d954dbd7482ef4140e7a /program/steps/addressbook | |
parent | 88007cf0602434d73a21b475a151b80a9002e6da (diff) |
- Move action files map from index.php to steps' func.inc files
Diffstat (limited to 'program/steps/addressbook')
-rw-r--r-- | program/steps/addressbook/func.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/program/steps/addressbook/func.inc b/program/steps/addressbook/func.inc index a3f04071c..e8b05edb4 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -293,3 +293,13 @@ $OUTPUT->add_handlers(array( 'recordscountdisplay' => 'rcmail_rowcount_display', 'searchform' => array($OUTPUT, 'search_form') )); + +// register action aliases +$RCMAIL->register_action_map(array( + 'add' => 'edit.inc', + 'group-create' => 'groups.inc', + 'group-rename' => 'groups.inc', + 'group-delete' => 'groups.inc', + 'group-addmembers' => 'groups.inc', + 'group-delmembers' => 'groups.inc', +)); |