diff options
author | ivan <ivan> | 2010-03-23 03:48:31 +0000 |
---|---|---|
committer | ivan <ivan> | 2010-03-23 03:48:31 +0000 |
commit | 7167be4668e6187ac55126791ca9b74cd5fb27e8 (patch) | |
tree | 54914bf888f1b9fdd046c5008ebfffc8b641c695 /httemplate/edit/svc_mailinglist.cgi | |
parent | 8317e8d1763c5e13f5fe30f4da91e4f0fac584c6 (diff) |
adding svc_mailinglist for communigate "groups" (mailing lists), RT#7514
Diffstat (limited to 'httemplate/edit/svc_mailinglist.cgi')
-rw-r--r-- | httemplate/edit/svc_mailinglist.cgi | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/httemplate/edit/svc_mailinglist.cgi b/httemplate/edit/svc_mailinglist.cgi new file mode 100644 index 000000000..c7c739daa --- /dev/null +++ b/httemplate/edit/svc_mailinglist.cgi @@ -0,0 +1,25 @@ +<% include( 'elements/svc_Common.html', + 'table' => 'svc_mailinglist', + 'fields' => \@fields, + ) +%> +<%init> + +die "access denied" + unless $FS::CurrentUser::CurrentUser->access_right('Provision customer service'); #something else more specific? + +my @fields = ( + 'username', + { field=>'domsvc', type=>'select-svc-domain', + #label => 'List address domain', + }, + { field=>'listnum', type=>'hidden', }, + { field=>'listname', type=>'text', }, + { field=>'reply_to', type=>'checkbox', value=>'Y' }, + { field=>'remove_from', type=>'checkbox', value=>'Y' }, + { field=>'reject_auto', type=>'checkbox', value=>'Y' }, + { field=>'remove_to_and_cc', type=>'checkbox', value=>'Y' }, + +); + +</%init> |