This commit was generated by cvs2svn to compensate for changes in r11022,
[freeside.git] / httemplate / edit / process / cgp_rule-redirect_all.html
1 <% include('cgp_rule-simplified.html',
2              'name'       => '#Redirect',
3              'priority'   => 1,
4              'redirect'   => 'cgp_rule-redirect_all.html',
5              'conditions' => [
6                ( $cgi->param('RedirHuman')
7                  ? { conditionname => 'Human Generated', }
8                  : ()
9                ),
10              ],
11              'actions'    => [
12                { action => ( $cgi->param('KeepToAndCc')
13                                ? 'Mirror To'
14                                : 'Redirect To'
15                            ),
16                  params => scalar($cgi->param('RedirectText')),
17                },
18                ( $cgi->param('RedirKeep')
19                  ? ()
20                  : ( { 'action' => 'Discard' } )
21                ),
22              ],
23           )
24 %>