1 % if ( $communigate ) {
4 <% &ntable("#cccccc") %><TR><TD><% &ntable("#cccccc",2) %>
8 <% include('/view/elements/tr.html',
9 label=>'Password modification',
10 value=>$svc_domain->acct_def_password_selfchange ? 'YES' : 'NO',
14 <% include('/view/elements/tr.html',
15 label=>'Password recovery',
16 value=>$svc_domain->acct_def_password_recover ? 'YES' : 'NO',
20 <% include('/view/elements/tr.html',
21 label=>'Enabled services',
22 value=>$svc_domain->acct_def_cgp_accessmodes,
26 <% include('/view/elements/tr.html',
27 label=>'Mail storage limit',
28 value=>$svc_domain->acct_def_quota,
32 <% include('/view/elements/tr.html',
33 label=>'File storage limit',
34 value=>$svc_domain->acct_def_file_quota,
38 <% include('/view/elements/tr.html',
40 value=>$svc_domain->acct_def_file_maxnum,
44 <% include('/view/elements/tr.html',
45 label=>'File size limit',
46 value=>$svc_domain->acct_def_file_maxsize,
50 <% include('/view/elements/tr.html',
51 label=>'Allowed mail rules',
52 value=>$svc_domain->acct_def_cgp_rulesallowed || 'default (No)',
56 <% include('/view/elements/tr.html',
57 label=>'RPOP modifications',
58 value=>$svc_domain->acct_def_cgp_rpopallowed ? 'YES' : 'NO',
62 <% include('/view/elements/tr.html',
63 label=>'Accepts mail to "all"',
64 value=>$svc_domain->acct_def_cgp_mailtoall ? 'YES' : 'NO',
68 <% include('/view/elements/tr.html',
69 label=>'Add trailer to sent mail',
70 value=>$svc_domain->acct_def_cgp_addmailtrailer ? 'YES' : 'NO',
74 % my $archive_after = $svc_domain->acct_def_cgp_archiveafter;
77 % ? ( $archive_after / 86400 ). ' days'
78 % : ( $archive_after eq '0' ? 'Never' : 'default (730 days)' );
79 <% include('/view/elements/tr.html', label=>'Archive messages after',
80 value=>$archive_after, ) %>
84 <% include('/view/elements/tr.html',
85 label=>'Message delete method',
86 value=>$svc_domain->acct_def_cgp_deletemode,
90 <% include('/view/elements/tr.html',
91 label=>'On logout remove trash',
92 value=>$svc_domain->acct_def_cgp_emptytrash,
96 <% include('/view/elements/tr.html',
98 value=>$svc_domain->acct_def_cgp_language || 'default (English)'
102 <% include('/view/elements/tr.html',
104 value=>$svc_domain->acct_def_cgp_timezone || 'default (HostOS)'
108 <% include('/view/elements/tr.html',
110 value=>$svc_domain->acct_def_cgp_skinname || 'default (***)'
114 <% include('/view/elements/tr.html',
115 label=>'Pronto style',
116 value=>$svc_domain->acct_def_cgp_prontoskinname
120 <% include('/view/elements/tr.html',
121 label=>'Send read receipts',
122 value=>$svc_domain->acct_def_cgp_sendmdnmode
127 %#XXX rules, archive rule, spam foldering rule(s)
129 </TABLE></TD></TR></TABLE>
134 my($svc_domain, %opt) = @_;
136 my $part_svc = $opt{'part_svc'};
138 my $communigate = scalar($part_svc->part_export('communigate_pro'));
139 # || scalar($part_svc->part_export('communigate_pro_singledomain'));
142 -1 => 'default (No)', #No always the default?