diff options
author | ivan <ivan> | 2010-04-19 01:27:00 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-04-19 01:27:00 +0000 |
commit | ad7f49821d40ffd099a45acc32ba91e0e211aede (patch) | |
tree | 8228c5db1da46fd27a84a47dc0267b4ea6a9b297 /httemplate | |
parent | a81b07fba385be4599feec950d5b108e3c107d0d (diff) |
communigate provisioning phase 2: add svc_domain.trailer -> communigate TrailerText, RT#7514
Diffstat (limited to 'httemplate')
-rwxr-xr-x | httemplate/edit/svc_domain.cgi | 18 | ||||
-rw-r--r-- | httemplate/view/svc_domain/basics.html | 7 |
2 files changed, 24 insertions, 1 deletions
diff --git a/httemplate/edit/svc_domain.cgi b/httemplate/edit/svc_domain.cgi index c85dd3b72..8b4f282a6 100755 --- a/httemplate/edit/svc_domain.cgi +++ b/httemplate/edit/svc_domain.cgi @@ -55,7 +55,7 @@ Available top-level domains: <% $export->option('tlds') %> % } % if ( $communigate -% && $part_svc->part_svc_column('max_accounts')->columnflag !~ /^[FA]$/ ) { +% && $part_svc->part_svc_column('cgp_aliases')->columnflag !~ /^[FA]$/ ) { <TR> <TD ALIGN="right">Aliases</TD> @@ -95,6 +95,22 @@ Available top-level domains: <% $export->option('tlds') %> <INPUT TYPE="hidden" NAME="cgp_accessmodes" VALUE="<% $svc_domain->cgp_accessmodes() |h %>"> % } +% if ( $communigate +% && $part_svc->part_svc_column('trailer')->columnflag ne 'F' ) +% { + + <TR> + <TD ALIGN="right">Mail trailer</TD> + <TD> + <TEXTAREA NAME="trailer" ROWS=5 COLS=60><% $svc_domain->trailer() |h %></TEXTAREA> + </TD> + </TR> + +% } else { + <INPUT TYPE="hidden" NAME="trailer" VALUE="<% $svc_domain->trailer() |h %>"> +% } + + </TABLE> <BR> diff --git a/httemplate/view/svc_domain/basics.html b/httemplate/view/svc_domain/basics.html index db4fac150..c9841f49c 100644 --- a/httemplate/view/svc_domain/basics.html +++ b/httemplate/view/svc_domain/basics.html @@ -84,6 +84,13 @@ Service #<B><% $svcnum %></B> <TD BGCOLOR="#ffffff"><% $svc_domain->cgp_accessmodes %></TD> </TR> +% if ( $svc_domain->trailer ) { + <TR> + <TD ALIGN="right">Mail trailer</TD> + <TD BGCOLOR="#ffffff"><PRE><% $svc_domain->trailer |h %></PRE></TD> + </TR> +% } + </TABLE></TD></TR></TABLE> <%init> |