Lines 7017-7022
if ( CheckVersion($DBversion) ) {
Link Here
|
7017 |
SetVersion($DBversion); |
7017 |
SetVersion($DBversion); |
7018 |
} |
7018 |
} |
7019 |
|
7019 |
|
|
|
7020 |
$DBversion = "3.13.00.XXX"; |
7021 |
if ( CheckVersion($DBversion) ) { |
7022 |
$dbh->do(" |
7023 |
INSERT INTO letter (module, code, branchcode, name, is_html, title, content) |
7024 |
VALUES ( 'members', 'SHARE_INVITE', '', 'Invitation for sharing a list', '0', 'Share list <<listname>>', 'Dear patron, |
7025 |
|
7026 |
One of our patrons, <<borrowers.firstname>> <<borrowers.surname>>, invites you to share his list <<listname>> in our library catalog. |
7027 |
|
7028 |
To access this shared list, please click on the following URL or copy-and-paste it into your browser address bar. |
7029 |
|
7030 |
<<shareurl>> |
7031 |
|
7032 |
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. |
7033 |
|
7034 |
Thank you. |
7035 |
|
7036 |
Your library.' |
7037 |
)"); |
7038 |
print "Upgrade to $DBversion done (Bug 9032: Share a list (part 1: Send the invitation)\n"; |
7039 |
SetVersion($DBversion); |
7040 |
} |
7041 |
|
7020 |
=head1 FUNCTIONS |
7042 |
=head1 FUNCTIONS |
7021 |
|
7043 |
|
7022 |
=head2 TableExists($table) |
7044 |
=head2 TableExists($table) |
7023 |
- |
|
|