Ignore:
Timestamp:
2011-07-27T20:59:04+12:00 (13 years ago)
Author:
ak19
Message:

Getting a normal hierarchical classifier view to work in oran skin: this will be the look for the the default format statements that are present in collectionconfig.xml. Remove those format statements and Sam's much better interface will be displayed. To get things to work, needed to include some template match statements from default/gs3library as these were missing for dev/oran, including lots of elements from classifiertools.xsl. Dev therefore has a new file now: its own classifiertools.xsl.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/config_format.xsl

    r24127 r24340  
    5555                   disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />/index/assoc/<xslt:value-of
    5656                   disable-output-escaping="yes" select="metadataList/metadata[@name='assocfilepath']" />/<xslt:value-of
    57                    disable-output-escaping="yes" select="metadataList/metadata[@name='Source']" /></xslt:attribute>
     57                   disable-output-escaping="yes" select="metadataList/metadata[@name='srclinkFile']" /></xslt:attribute>
    5858                  <xsl:apply-templates/>
    5959                </a>
     
    119119        <xsl:choose>
    120120            <xsl:when test="@type='classifier'">
    121                 <img style="width:20px; height:16px; border:0px" src="util:getInterfaceText($interface_name, /page/@lang, 'bookshelf_image')" />
     121                <img style="width:20px; height:16px; border:0px"><xsl:attribute name="src"><xsl:text>interfaces/oran/images/bookshelf.png</xsl:text></xsl:attribute></img>
    122122            </xsl:when>
    123123            <xsl:when test="@type='document'">
    124                 <img style="width:20px; height:16px; border:0px" src="util:getInterfaceText($interface_name, /page/@lang, 'book_image')" />
     124                <img style="width:20px; height:16px; border:0px"><xsl:attribute name="src"><xsl:text>interfaces/oran/images/itext.gif</xsl:text></xsl:attribute></img>
    125125            </xsl:when>
    126126        </xsl:choose>
Note: See TracChangeset for help on using the changeset viewer.