From a0e1759e5c4300aa48bd137f8e5cbb4aa0e36778 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 19 Apr 2010 06:16:01 +0000 Subject: communigate provisioning phase 2: Account:Settings: RulesAllowed, RPOPAllowed, MailToAll, AddMailTrailer. RT#7514 --- httemplate/edit/svc_acct.cgi | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) (limited to 'httemplate/edit') diff --git a/httemplate/edit/svc_acct.cgi b/httemplate/edit/svc_acct.cgi index 9c21c44bc..04c442a30 100755 --- a/httemplate/edit/svc_acct.cgi +++ b/httemplate/edit/svc_acct.cgi @@ -260,6 +260,8 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
% && $part_svc->part_svc_column('cgp_type')->columnflag ne 'F' ) % { +% # settings + Mailbox type @@ -331,6 +333,43 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
% if ( $communigate ) { +% #preferences + + <% include('/elements/tr-select.html', + 'label' => 'Allowed mail rules', + 'field' => 'cgp_rulesallowed', + 'options' => [ '', 'No', 'Filter Only', 'All But Exec', 'Any' ], + 'labels' => { + '' => 'default (No)', #No always the default? + }, + 'curr_value' => $svc_acct->cgp_rulesallowed, + ) + %> + + <% include('/elements/tr-checkbox.html', + 'label' => 'RPOP modifications', + 'field' => 'cgp_rpopallowed', + 'curr_value' => $svc_acct->cgp_rpopallowed, + 'value' => 'Y', + ) + %> + + <% include('/elements/tr-checkbox.html', + 'label' => 'Accepts mail to "all"', + 'field' => 'cgp_mailtoall', + 'curr_value' => $svc_acct->cgp_mailtoall, + 'value' => 'Y', + ) + %> + + <% include('/elements/tr-checkbox.html', + 'label' => 'Add trailer to sent mail', + 'field' => 'cgp_addmailtrailer', + 'curr_value' => $svc_acct->cgp_addmailtrailer, + 'value' => 'Y', + ) + %> + %# false laziness w/svc_domain acct_def Message delete method @@ -350,6 +389,9 @@ Service # <% $svcnum ? "$svcnum" : " (NEW)" %>
+%#XXX language, time zone, layout, printo style, send read receipts +%#XXX vacation message, redirect all mail, mail rules + % } else { -- cgit v1.2.1