Changeset 20023
- Timestamp:
- 2009-07-20T14:46:03+12:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
greenstone3/trunk/web/interfaces/gs2/transform/library.xsl
r20019 r20023 72 72 </xsl:template> 73 73 74 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/> 75 <xsl:variable name="this-element" select="/page/pageResponse/collection|/page/pageResponse/serviceCluster"/> 76 77 <xsl:template name="collectionHomeLinkWithLogoIfAvailable"> 78 <a href="{$library_name}?a=p&sa=about&c={$collName}"> 79 <xsl:choose> 80 <xsl:when test="$this-element/displayItem[@name='icon']"> 81 <img border="0"> 82 <xsl:attribute name="src"> 83 <xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItem[@name='icon']"/> 84 </xsl:attribute> 85 <xsl:attribute name="alt"> 86 <xsl:value-of select="$this-element/displayItem[@name='name']"/> 87 </xsl:attribute> 88 <xsl:attribute name="title"> 89 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'aboutpage')"/> 90 </xsl:attribute> 91 </img> 92 </xsl:when> 93 <xsl:otherwise> 94 <xsl:value-of select="$this-element/displayItem[@name='name']"/> 95 </xsl:otherwise> 96 </xsl:choose> 97 </a> 98 </xsl:template> 74 99 75 100 <xsl:template name="quickSearchForm">
Note:
See TracChangeset
for help on using the changeset viewer.