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

(-)a/installer/data/mysql/atomicupdate/bug_30237.pl (-1 / +1 lines)
Lines 8-14 return { Link Here
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        # Add WELCOME notice
9
        # Add WELCOME notice
10
        $dbh->do( q{
10
        $dbh->do( q{
11
            INSERT IGNORE INTO letter (module, code, name, is_html, title, content, message_transport_type) VALUES ('members', 'WELCOME', 'Welcome notice', 1, "[% USE Koha %]Welcome to [% Koha.Preference('LibraryName') %]", "[% USE Koha %]\r\nHello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].\r\n\r\nThankyou for joining [% Koha.Preference('LibraryName') %]\r\n\r\nThe library's catalog can be found <a href='[% Koha.Preference('OPACBaseURL') %]'>here</a>.\r\n\r\nYour library card number is [% borrower.cardnumber %]\r\n\r\nIf you have any problems or questions regarding your account, please contact your Koha Administrator.", 'email');});
11
            INSERT IGNORE INTO letter (module, code, name, is_html, title, content, message_transport_type) VALUES ('members', 'WELCOME', 'Welcome notice', 1, "[% USE Koha %]Welcome to [% Koha.Preference('LibraryName') %]", "[% USE Koha %]\r\nHello [% borrower.title %] [% borrower.firstname %] [% borrower.surname %].\r\n\r\nThank you for joining [% Koha.Preference('LibraryName') %]\r\n\r\nYou can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>.\r\n\r\nYour library card number is [% borrower.cardnumber %]\r\n\r\nIf you have any problems or questions regarding your account, please contact the library.", 'email');});
12
12
13
        # Update system preference
13
        # Update system preference
14
        $dbh->do( q{
14
        $dbh->do( q{
(-)a/installer/data/mysql/en/mandatory/sample_notices.yml (-3 / +2 lines)
Lines 1077-1087 tables: Link Here
1077
            - ""
1077
            - ""
1078
            - "Thankyou for joining [% Koha.Preference('LibraryName') %]"
1078
            - "Thankyou for joining [% Koha.Preference('LibraryName') %]"
1079
            - ""
1079
            - ""
1080
            - "The library's catalog can be found <a href='[% Koha.Preference('OPACBaseURL') %]'>here</a>."
1080
            - "You can search for all our materials in our <a href='[% Koha.Preference('OPACBaseURL') %]'>catalog</a>."
1081
            - ""
1081
            - ""
1082
            - "Your library card number is [% borrower.cardnumber %]"
1082
            - "Your library card number is [% borrower.cardnumber %]"
1083
            - ""
1083
            - ""
1084
            - "If you have any problems or questions regarding your account, please contact your Koha Administrator."
1084
            - "If you have any problems or questions regarding your account, please contact the library."
1085
1085
1086
        - module: orderacquisition
1086
        - module: orderacquisition
1087
          code: ACQORDER
1087
          code: ACQORDER
1088
- 

Return to bug 30237