diff options
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> |