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

(-)a/installer/data/mysql/atomicupdate/bug_15485_xslt_for_lists.sql (+21 lines)
Line 0 Link Here
1
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
2
VALUES ('OPACXSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on OPAC','Free');
3
INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
4
VALUES ('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on intranet','Free');
5
6
-- $DBversion = '16.06.00.XXX';
7
-- if ( CheckVersion($DBversion) ) {
8
--     $dbh->do(q{
9
--         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
10
--         VALUES ('OPACXSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on OPAC','Free')
11
--     });
12
13
--     $dbh->do(q{
14
--         INSERT IGNORE INTO systempreferences ( variable, value, options, explanation,type )
15
--         VALUES ('XSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on intranet','Free')
16
17
--     });
18
19
--     print "Upgrade to $DBversion done (Bug 12528 - Enable staff to deny message setting access to patrons on the OPAC)\n";
20
--     SetVersion($DBversion);
21
-- }
(-)a/installer/data/mysql/sysprefs.sql (+2 lines)
Lines 359-364 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
359
('opacuserlogin','1',NULL,'Enable or disable display of user login features','YesNo'),
359
('opacuserlogin','1',NULL,'Enable or disable display of user login features','YesNo'),
360
('OPACViewOthersSuggestions','0',NULL,'If ON, allows all suggestions to be displayed in the OPAC','YesNo'),
360
('OPACViewOthersSuggestions','0',NULL,'If ON, allows all suggestions to be displayed in the OPAC','YesNo'),
361
('OPACXSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on OPAC','Free'),
361
('OPACXSLTDetailsDisplay','default','','Enable XSL stylesheet control over details page display on OPAC','Free'),
362
('OPACXSLTListsDisplay','','','Enable XSLT stylesheet control over lists pages display on OPAC','Free'),
362
('OPACXSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on OPAC','Free'),
363
('OPACXSLTResultsDisplay','default','','Enable XSL stylesheet control over results page display on OPAC','Free'),
363
('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
364
('OpenLibraryCovers','0',NULL,'If ON Openlibrary book covers will be show','YesNo'),
364
('OpenLibrarySearch','0',NULL,'If Yes Open Library search results will show in OPAC','YesNo'),
365
('OpenLibrarySearch','0',NULL,'If Yes Open Library search results will show in OPAC','YesNo'),
Lines 533-538 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
533
('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'),
534
('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'),
535
('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'),
536
('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'),
537
('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'),
538
('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/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref (+5 lines)
Lines 80-85 OPAC: Link Here
80
                  no: Show
80
                  no: Show
81
            - lost items on search and detail pages.
81
            - lost items on search and detail pages.
82
        -
82
        -
83
            - 'Display lists in the OPAC using XSLT stylesheet at: '
84
            - pref: OPACXSLTListsDisplay
85
              class: file
86
            - '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="OPACXSLTListsDisplay" data-value="">Leave empty</a> for the default stylesheet (picked from OPACXSLTResultsDisplay).</li><li> put a path to define an xslt file.</li><li>put an URL for an external specific stylesheet.</li></ul>{langcode} will be replaced with current interface language'
87
        -
83
            - 'Display OPAC results using XSLT stylesheet at: '
88
            - 'Display OPAC results using XSLT stylesheet at: '
84
            - pref: OPACXSLTResultsDisplay
89
            - pref: OPACXSLTResultsDisplay
85
              class: file
90
              class: file
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref (-1 / +5 lines)
Lines 56-61 Staff Client: Link Here
56
              class: url
56
              class: url
57
            - for the Staff Client's favicon. (This should be a complete URL, starting with <code>http://</code>.)
57
            - for the Staff Client's favicon. (This should be a complete URL, starting with <code>http://</code>.)
58
        -
58
        -
59
            - 'Display lists in the staff client using XSLT stylesheet at: '
60
            - pref: XSLTListsDisplay
61
              class: file
62
            - '<br />Options:<ul><li><a href="#" class="set_syspref" data-syspref="XSLTListsDisplay" data-value="">Leave empty</a> for the default stylesheet (picked from XSLTResultsDisplay).</li><li> put a path to define an xslt file.</li><li>put an URL for an external specific stylesheet.</li></ul>{langcode} will be replaced with current interface language'
63
        -
59
            - 'Display results in the staff client using XSLT stylesheet at: '
64
            - 'Display results in the staff client using XSLT stylesheet at: '
60
            - pref: XSLTResultsDisplay
65
            - pref: XSLTResultsDisplay
61
              class: file
66
              class: file
62
- 

Return to bug 15485