View | Details | Raw Unified | Return to bug 9032
Collapse All | Expand All

(-)a/installer/data/mysql/en/mandatory/sample_notices.sql (+16 lines)
Lines 117-119 http://<<OPACBaseURL>>/cgi-bin/koha/opac-registration-verify.pl?token=<<borrower Link Here
117
117
118
If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly.'
118
If you did not initiate this request, you may safely ignore this one-time message. The request will expire shortly.'
119
);
119
);
120
121
INSERT INTO  letter (module, code, branchcode, name, is_html, title, content)
122
VALUES ('members', 'SHARE_INVITE', '', 'Invitation for sharing a list', '0', 'Share list <<listname>>', 'Dear patron,
123
124
One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share his list <<listname>> in our library catalog.
125
126
To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar.
127
128
<<shareurl>>
129
130
In case you are not a patron in our library or do not want to accept this invitation, please ignore this mail. Note also that this invitation expires within two weeks.
131
132
Thank you.
133
134
Your library.'
135
);
(-)a/installer/data/mysql/updatedatabase.pl (-1 / +22 lines)
Lines 6983-6988 INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ( Link Here
6983
    SetVersion($DBversion);
6983
    SetVersion($DBversion);
6984
}
6984
}
6985
6985
6986
$DBversion = "3.13.00.XXX";
6987
if ( CheckVersion($DBversion) ) {
6988
    $dbh->do("
6989
INSERT INTO letter (module, code, branchcode, name, is_html, title, content)
6990
VALUES ( 'members', 'SHARE_INVITE', '', 'Invitation for sharing a list', '0', 'Share list <<listname>>', 'Dear patron,
6991
6992
One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share his list <<listname>> in our library catalog.
6993
6994
To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar.
6995
6996
<<shareurl>>
6997
6998
In case you are not a patron in our library or do not want to accept this invitation, please ignore this mail. Note also that this invitation expires within two weeks.
6999
7000
Thank you.
7001
7002
Your library.'
7003
    )");
7004
    print "Upgrade to $DBversion done (Bug 9032: Share a list (part 1: Send the invitation)\n";
7005
    SetVersion($DBversion);
7006
}
7007
6986
7008
6987
=head1 FUNCTIONS
7009
=head1 FUNCTIONS
6988
7010
6989
- 

Return to bug 9032