summaryrefslogtreecommitdiff
path: root/program/steps/addressbook
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/addressbook
parent88007cf0602434d73a21b475a151b80a9002e6da (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.inc10
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',
+));