%# settings <% include('/view/elements/tr.html', label=>'Mailbox type', value=>$svc_acct->cgp_type) %> <% include('/view/elements/tr.html', label=>'Enabled services', value=>$svc_acct->cgp_accessmodes ) %> <% include('/view/elements/tr.html', label=>'Mail storage limit', value=>$svc_acct->quota ) %> <% include('/view/elements/tr.html', label=>'File storage limit', value=>$svc_acct->file_quota ) %> <% include('/view/elements/tr.html', label=>'Number of files limit', value=>$svc_acct->file_maxnum ) %> <% include('/view/elements/tr.html', label=>'File size limit', value=>$svc_acct->file_maxsize ) %> <% include('/view/elements/tr.html', label=>'Password recovery', value=>$svc_acct->password_recover ? 'YES' : 'NO' ) %> <% include('/view/elements/tr.html', label=>'Allowed mail rules', value=>$svc_acct->cgp_rulesallowed || 'default (No)') %> <% include('/view/elements/tr.html', label=>'RPOP modifications', value=>$svc_acct->cgp_rpopallowed ? 'YES' : 'NO' ) %> <% include('/view/elements/tr.html', label=>'Accepts mail to "all"', value=>$svc_acct->cgp_mailtoall ? 'YES' : 'NO' ) %> <% include('/view/elements/tr.html', label=>'Add trailer to sent mail', value=>$svc_acct->cgp_addmailtrailer ? 'YES' : 'NO' ) %> % my $archive_after = $svc_acct->cgp_archiveafter; % $archive_after = % $archive_after % ? ( $archive_after / 86400 ). ' days' % : ( $archive_after eq '0' ? 'Never' : 'default (730 days)' ); <% include('/view/elements/tr.html', label=>'Archive messages after', value=>$archive_after, ) %> %# preferences <% include('/view/elements/tr.html', label=>'Message delete method', value=>$svc_acct->cgp_deletemode ) %> <% include('/view/elements/tr.html', label=>'On logout remove trash', value=>$svc_acct->cgp_emptytrash ) %> <% include('/view/elements/tr.html', label=>'Language', value=>$svc_acct->cgp_language || 'default (English)' ) %> <% include('/view/elements/tr.html', label=>'Time zone', value=>$svc_acct->cgp_timezone || 'default (HostOS)' ) %> <% include('/view/elements/tr.html', label=>'Layout', value=>$svc_acct->cgp_skinname || 'default (***)' ) %> <% include('/view/elements/tr.html', label=>'Pronto style', value=>$svc_acct->cgp_prontoskinname ) %> <% include('/view/elements/tr.html', label=>'Send read receipts', value=>$svc_acct->cgp_sendmdnmode ) %> %# vacation message <% include('/elements/init_overlib.html') %>