[freeside-commits] freeside/httemplate/edit cgp_rule-vacation.html, NONE, 1.1 cgp_rule-redirect_all.html, NONE, 1.1
Ivan,,,
ivan at wavetail.420.am
Mon Jul 26 15:59:06 PDT 2010
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv2385/httemplate/edit
Added Files:
cgp_rule-vacation.html cgp_rule-redirect_all.html
Log Message:
communigate vacation & redirect all rules, RT#7514
--- NEW FILE: cgp_rule-redirect_all.html ---
<% include('/elements/header-popup.html', 'Redirect all mail') %>
<FORM NAME="RedirectAllForm" ACTION="process/cgp_rule-redirect_all.html" METHOD=POST>
%# XXX upstream Redirect 1
<% ntable("#cccccc", 2) %>
<TR>
<TD ALIGN="right">Redirect all mail to</TD>
<TD><textarea name="RedirectText" rows="5" cols="50"></textarea></TD>
</TR>
<% include('/elements/tr-checkbox.html',
'name' => 'RedirKeep',
'label' => 'Keep a copy',
'value' => 1,
'curr_value' => '', #XXX
)
%>
<% include('/elements/tr-checkbox.html',
'name' => 'RedirHuman',
'label' => 'Do not redirect automatic messages',
'value' => 1,
'curr_value' => '', #XXX
)
%>
<% include('/elements/tr-checkbox.html',
'name' => 'KeepToAndCc',
'label' => 'Preserve To/Cc fields',
'value' => 1,
'curr_value' => '', #XXX
)
%>
</TABLE>
<BR>
<INPUT TYPE="submit" VALUE="Redirect all mail">
%#XXX Add/Edit
</FORM>
</BODY>
</HTML>
<%init>
my %opt = @_;
my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $opt{'svcnum'} } )
or die "unknown svcnum";
#XXX look for existing redirect all rule
</%init>
--- NEW FILE: cgp_rule-vacation.html ---
<% include('/elements/header-popup.html', 'Vacation rule') %>
<FORM NAME="VacationForm" ACTION="process/cgp_rule-vacation.html" METHOD=POST>
%# XXX upstream Vacation 1
<% ntable("#cccccc", 2) %>
<TR>
<TD ALIGN="right">Vacation message</TD>
<TD><textarea name="VacationText" rows="5" cols="50"></textarea></TD>
</TR>
<% include('/elements/tr-input-date-field.html', {
'label' => 'Ends',
'name' => 'vacationTill',
'value' => '', #XXX
})
%>
%# XXX upstream:
%# VacationTill 1
%# vacationDay
%# vacationMonth
%# vacationYear
%#XXX Clear 'Replied Addresses' List
</TABLE>
<BR>
<INPUT TYPE="submit" VALUE="Add vacation message">
%#XXX Add/Edit
</FORM>
</BODY>
</HTML>
<%init>
my %opt = @_;
my $svc_acct = qsearchs('svc_acct', { 'svcnum' => $opt{'svcnum'} } )
or die "unknown svcnum";
#XXX look for existing vacation rule
</%init>
More information about the freeside-commits
mailing list