[freeside-commits] freeside/httemplate/edit part_svc.cgi, 1.62.2.5, 1.62.2.6 svc_mailinglist.cgi, NONE, 1.1.2.1 mailinglistmember.html, NONE, 1.1.2.1
Ivan,,,
ivan at wavetail.420.am
Mon Mar 22 20:48:03 PDT 2010
- Previous message: [freeside-commits] freeside/FS/t svc_mailinglist.t, NONE, 1.1.2.1 mailinglist.t, NONE, 1.1.2.1 mailinglistmember.t, NONE, 1.1.2.1
- Next message: [freeside-commits] freeside/httemplate/edit/process svc_mailinglist.html, NONE, 1.1.2.1 mailinglistmember.html, NONE, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/httemplate/edit
In directory wavetail.420.am:/tmp/cvs-serv16892/httemplate/edit
Modified Files:
Tag: FREESIDE_1_9_BRANCH
part_svc.cgi
Added Files:
Tag: FREESIDE_1_9_BRANCH
svc_mailinglist.cgi mailinglistmember.html
Log Message:
adding svc_mailinglist for communigate "groups" (mailing lists), RT#7514
--- NEW FILE: mailinglistmember.html ---
<% include( 'elements/edit.html',
'name_singular' => 'member',
'table' => 'mailinglistmember',
'popup' => 1,
'fields' => [
{ field=>'listnum', type=>'hidden', },
{ field=>'svcnum', type=>'hidden', }, #not yet
{ field=>'contactemailnum', type=>'hidden', }, #not yet
{ field=>'email', type=>'text', },
],
'labels' => { 'membernum' => 'Member',
'email' => 'Email address',
},
'new_callback' => $new_callback,
)
%>
<%init>
my $new_callback = sub {
#my( $cgi, $object, $fields_listref, $opt_hashref ) = @_;
my( $cgi, $object ) = @_;
$object->listnum( $cgi->param('listnum') );
};
</%init>
Index: part_svc.cgi
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/edit/part_svc.cgi,v
retrieving revision 1.62.2.5
retrieving revision 1.62.2.6
diff -u -w -d -r1.62.2.5 -r1.62.2.6
--- part_svc.cgi 1 Mar 2010 19:29:20 -0000 1.62.2.5
+++ part_svc.cgi 23 Mar 2010 03:48:01 -0000 1.62.2.6
@@ -15,7 +15,8 @@
Service definitions are the templates for items you offer to your customers.
<UL><LI>svc_acct - Accounts - anything with a username (Mailboxes, PPP accounts, shell accounts, RADIUS entries for broadband, etc.)
<LI>svc_domain - Domains
- <LI>svc_forward - mail forwarding
+ <LI>svc_forward - Mail forwarding
+ <LI>svc_mailinglist - Mailing list
<LI>svc_www - Virtual domain website
<LI>svc_broadband - Broadband/High-speed Internet service (always-on)
<LI>svc_phone - Customer phone numbers
--- NEW FILE: svc_mailinglist.cgi ---
<% 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>
- Previous message: [freeside-commits] freeside/FS/t svc_mailinglist.t, NONE, 1.1.2.1 mailinglist.t, NONE, 1.1.2.1 mailinglistmember.t, NONE, 1.1.2.1
- Next message: [freeside-commits] freeside/httemplate/edit/process svc_mailinglist.html, NONE, 1.1.2.1 mailinglistmember.html, NONE, 1.1.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list