[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
Sat Jul 26 02:02:20 CEST 2014


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA
                 CC|                            |bgkriegel at gmail.com

--- Comment #2 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
This works for you? Not for me :(

First 'opacthemes' need to be added to C4/XSLT.pm list of usable sysprefs

Second I think the proper syntax is

<xsl:element name="img">
  <xsl:attribute name="src">/opac-tmpl/<xsl:value-of
select="$theme"/>/images/filefind.png</xsl:attribute>
  <xsl:attribute name="style">vertical-align:middle</xsl:attribute>
  <xsl:attribute name="height">15</xsl:attribute>
  <xsl:attribute name="width">15</xsl:attribute>
</xsl:element>

With your patch i got "http://.../opac-tmpl/%24theme/images/filefind.png"

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


More information about the Koha-bugs mailing list