This commit was manufactured by cvs2svn to create branch
[freeside.git] / httemplate / edit / cgp_rule-redirect_all.html
1 <% include('/elements/header-popup.html', 'Redirect all mail') %>
2
3 <FORM NAME="RedirectAllForm" ACTION="process/cgp_rule-redirect_all.html" METHOD=POST>
4
5 %# XXX upstream Redirect 1
6
7 <% ntable("#cccccc", 2) %>
8
9 <TR>
10   <TD ALIGN="right">Redirect all mail to</TD>
11   <TD><textarea name="RedirectText" rows="5" cols="50"></textarea></TD>
12 </TR>
13
14 <% include('/elements/tr-checkbox.html',
15              'name'       => 'RedirKeep',
16              'label'      => 'Keep a copy',
17              'value'      => 1,
18              'curr_value' => '', #XXX
19           )
20 %>
21
22 <% include('/elements/tr-checkbox.html',
23              'name'       => 'RedirHuman',
24              'label'      => 'Do not redirect automatic messages',
25              'value'      => 1,
26              'curr_value' => '', #XXX
27           )
28 %>
29
30 <% include('/elements/tr-checkbox.html',
31              'name'       => 'KeepToAndCc',
32              'label'      => 'Preserve To/Cc fields',
33              'value'      => 1,
34              'curr_value' => '', #XXX
35           )
36 %>
37
38 </TABLE>
39
40 <BR>
41 <INPUT TYPE="submit" VALUE="Redirect all mail">
42 %#XXX Add/Edit
43
44 </FORM>
45
46 </BODY>
47 </HTML>
48 <%init>
49
50 my %opt = @_;
51
52 my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $opt{'svcnum'} } )
53   or die "unknown svcnum";
54
55 #XXX look for existing redirect all rule
56
57 </%init>