[Koha-bugs] [Bug 12655] PROG/CCSR deprecation: Correct hard-coded opac-tmpl/prog path in XSLT

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 18 00:18:36 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12655

Brendan Gallagher <brendan at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #31024|0                           |1
        is obsolete|                            |

--- Comment #10 from Brendan Gallagher <brendan at bywatersolutions.com> ---
Created attachment 31687
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31687&action=edit
Bug 12655 [Revised] PROG/CCSR deprecation: Correct hard-coded opac-tmpl/prog
path in XSLT

Two XSL files in the bootstrap theme contain hard-coded paths to the
prog theme directory. This patch adds a query of the opacthemes system
preference and builds the path based on the returned value.

To test in a MARC21 system:

Create or locate a record which contains a subject which is linked to an
authority record. View the detail page for that record in the bootstrap
OPAC and confirm that there is a magnifying class icon next to the link
for that subject heading. Inspect or right-click the image and "View
image" [FF. "Open image in new tab" in Chrome] to verify that the image
being shown is from the bootstrap theme directory.

Also modified: The NORMARC XSL for the detail page which has been
changed in the same way. I did not test it in a NORMARC catalog.

Edit: Fixed copy-and-paste error causing duplicate image.
Signed-off-by: Brendan Gallagher <brendan at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list