blob: ff401c0fc8e339d37c21ebdb7f81984566c3e45b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
% if ( $communigate ) {
<TR>
<TD ALIGN="right">Administrator domain</TD>
<TD>
<% include('/elements/select-domain.html',
'element_name' => 'parent_svcnum',
'curr_value' => $svc_domain->parent_svcnum,
'empty_label' => '(none)',
)
%>
</TD>
</TR>
% } else {
<INPUT TYPE="hidden" NAME="parent_svcnum" VALUE="<% $svc_domain->parent_svcnum %>">
% }
% if ( $communigate
% && $part_svc->part_svc_column('cgp_aliases')->columnflag !~ /^[FA]$/ ) {
<TR>
<TD ALIGN="right">Aliases</TD>
<TD><INPUT TYPE="text" NAME="cgp_aliases" VALUE="<% $svc_domain->cgp_aliases %>"></TD>
</TR>
% } else {
<INPUT TYPE="hidden" NAME="cgp_aliases" VALUE="<% $svc_domain->cgp_aliases %>">
% }
% if ( $part_svc->part_svc_column('max_accounts')->columnflag =~ /^[FA]$/ ) {
<INPUT TYPE="hidden" NAME="max_accounts" VALUE="<% $svc_domain->max_accounts %>">
% } else {
<TR>
<TD ALIGN="right">Maximum number of accounts</TD>
<TD>
<INPUT TYPE="text" NAME="max_accounts" SIZE=5 MAXLENGTH=6 VALUE="<% $svc_domain->max_accounts %>">
</TD>
</TR>
% }
% if ( $communigate
% && $part_svc->part_svc_column('cgp_accessmodes')->columnflag ne 'F' )
% {
<TR>
<TD ALIGN="right">Enabled services</TD>
<TD>
<% include( '/elements/communigate_pro-accessmodes.html',
'curr_value' => $svc_domain->cgp_accessmodes,
)
%>
</TD>
</TR>
% } else {
<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 %>">
% }
<%init>
my %opt = @_;
my $svc_domain = $opt{'svc_domain'};
my $part_svc = $opt{'part_svc'};
my $communigate = $opt{'communigate'};
</%init>
|