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

(-)a/installer/data/mysql/atomicupdate/bug_15485_xslt_for_lists.sql (-1 / +1 lines)
Lines 16-21 VALUES ('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists page Link Here
16
16
17
--     });
17
--     });
18
18
19
--     print "Upgrade to $DBversion done (Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC)\n";
19
--     print "Upgrade to $DBversion done (Bug 15485: Allow choosing different XSLTs for lists)\n";
20
--     SetVersion($DBversion);
20
--     SetVersion($DBversion);
21
-- }
21
-- }
(-)a/installer/data/mysql/sysprefs.sql (-1 / +1 lines)
Lines 534-540 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
534
('XISBN','0','','Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','YesNo'),
534
('XISBN','0','','Use with FRBRizeEditions. If ON, Koha will use the OCLC xISBN web service in the Editions tab on the detail pages. See: http://www.worldcat.org/affiliate/webservices/xisbn/app.jsp','YesNo'),
535
('XISBNDailyLimit','999','','The xISBN Web service is free for non-commercial use when usage does not exceed 1000 requests per day','Integer'),
535
('XISBNDailyLimit','999','','The xISBN Web service is free for non-commercial use when usage does not exceed 1000 requests per day','Integer'),
536
('XSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on intranet','Free'),
536
('XSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on intranet','Free'),
537
('XSLTListsDisplay','default','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
537
('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on intranet','Free'),
538
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
538
('XSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on intranet','Free'),
539
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
539
('z3950AuthorAuthFields','701,702,700',NULL,'Define the MARC biblio fields for Personal Name Authorities to fill biblio.author','free'),
540
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
540
('z3950NormalizeAuthor','0','','If ON, Personal Name Authorities will replace authors in biblio.author','YesNo')
(-)a/opac/opac-shelves.pl (-1 / +3 lines)
Lines 248-254 if ( $op eq 'view' ) { Link Here
248
248
249
            my $borrower = GetMember( borrowernumber => $loggedinuser );
249
            my $borrower = GetMember( borrowernumber => $loggedinuser );
250
250
251
            my $xslfile = C4::Context->preference('OPACXSLTListsDisplay');
251
            # Lists display falls back to search results configuration
252
            my $xslfile = C4::Context->preference('OPACXSLTListsDisplay') ||
253
                          C4::Context->preference('OPACXSLTResultsDisplay');
252
            my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
254
            my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
253
            my $sysxml = $xslfile ? C4::XSLT::get_xslt_sysprefs() : undef;
255
            my $sysxml = $xslfile ? C4::XSLT::get_xslt_sysprefs() : undef;
254
256
(-)a/virtualshelves/shelves.pl (-2 / +3 lines)
Lines 215-221 if ( $op eq 'view' ) { Link Here
215
215
216
            my $borrower = GetMember( borrowernumber => $loggedinuser );
216
            my $borrower = GetMember( borrowernumber => $loggedinuser );
217
217
218
            my $xslfile = C4::Context->preference('XSLTListsDisplay') || 'default';
218
            # Lists display falls back to search results configuration
219
            my $xslfile = C4::Context->preference('XSLTListsDisplay') ||
220
                          C4::Context->preference('XSLTResultsDisplay');
219
            my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
221
            my $lang   = $xslfile ? C4::Languages::getlanguage()  : undef;
220
            my $sysxml = $xslfile ? C4::XSLT::get_xslt_sysprefs() : undef;
222
            my $sysxml = $xslfile ? C4::XSLT::get_xslt_sysprefs() : undef;
221
223
222
- 

Return to bug 15485