Changeset 30740
- Timestamp:
- 2016-08-23T22:27:17+12:00 (7 years ago)
- Location:
- main/trunk/greenstone3/web/interfaces/default/transform
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl
r30688 r30740 238 238 <xsl:variable name="coll_href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="@name"/>/page/about<xsl:choose><xsl:when test="libraryParamList/param">?<xsl:for-each select="libraryParamList/param"><xsl:value-of select="@name"/>=<xsl:value-of select="@default"/>&</xsl:for-each></xsl:when></xsl:choose></xsl:variable> 239 239 <xsl:choose> 240 <xsl:when test="displayItem[@name=' icon']">240 <xsl:when test="displayItem[@name='smallicon']"> 241 241 <a href="{$coll_href}" title="{$desc}"> 242 242 <img class="collectionLinkImage"> 243 243 <xsl:attribute name="alt"><xsl:value-of select="displayItem[@name='name']"/></xsl:attribute> 244 <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/collect/<xsl:value-of select="@name"/>/images/<xsl:value-of select="displayItem[@name=' icon']"/></xsl:attribute>244 <xsl:attribute name="src">sites/<xsl:value-of select="$site_name"/>/collect/<xsl:value-of select="@name"/>/images/<xsl:value-of select="displayItem[@name='smallicon']"/></xsl:attribute> 245 245 </img> 246 246 </a> -
main/trunk/greenstone3/web/interfaces/default/transform/pages/about.xsl
r19988 r30740 20 20 <xsl:template match="/page"> 21 21 22 <xsl:choose> 23 <xsl:when test="$this-element/displayItem[@name='icon']"> 24 <img border="0"> 25 <xsl:attribute name="src"><xsl:value-of select="$this-element/metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="$this-element/displayItem[@name='icon']"/></xsl:attribute> 26 <xsl:attribute name="alt"> 27 <xsl:value-of select="$this-element/displayItem[@name='name']"/> 28 </xsl:attribute> 29 <xsl:attribute name="title"> 30 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'aboutpage')"/> 31 </xsl:attribute> 32 </img> 33 </xsl:when> 34 </xsl:choose> 35 22 36 <!--Display the description text of the current collection, 23 37 and if some services are available then create a list
Note:
See TracChangeset
for help on using the changeset viewer.