From 68d2d541002017dae51127aa05af58d19916655b Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Sun, 16 Jan 2011 14:42:40 -0500 Subject: [PATCH] - Move action files map from index.php to steps' func.inc files --- 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 a3f0407..e8b05ed 100644 --- a/program/steps/addressbook/func.inc +++ b/program/steps/addressbook/func.inc @@ -293,3 +293,13 @@ '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', +)); -- Gitblit v1.9.1