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',
76 <% include('/view/elements/tr.html',
77 label=>'Message delete method',
78 value=>$svc_domain->acct_def_cgp_deletemode,
82 <% include('/view/elements/tr.html',
83 label=>'On logout remove trash',
84 value=>$svc_domain->acct_def_cgp_emptytrash,
88 <% include('/view/elements/tr.html',
90 value=>$svc_domain->acct_def_cgp_language || 'default (English)'
94 <% include('/view/elements/tr.html',
96 value=>$svc_domain->acct_def_cgp_timezone || 'default (HostOS)'
100 <% include('/view/elements/tr.html',
102 value=>$svc_domain->acct_def_cgp_skinname || 'default (***)'
106 <% include('/view/elements/tr.html',
107 label=>'Pronto style',
108 value=>$svc_domain->acct_def_cgp_prontoskinname
112 <% include('/view/elements/tr.html',
113 label=>'Send read receipts',
114 value=>$svc_domain->acct_def_cgp_sendmdnmode
119 %#XXX rules, archive rule, spam foldering rule(s)
121 </TABLE></TD></TR></TABLE>
126 my($svc_domain, %opt) = @_;
128 my $part_svc = $opt{'part_svc'};
130 my $communigate = scalar($part_svc->part_export('communigate_pro'));
131 # || scalar($part_svc->part_export('communigate_pro_singledomain'));
134 -1 => 'default (No)', #No always the default?