- Timestamp:
- 2024-03-20T22:31:51+13:00 (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r38813 r38854 433 433 </xsl:for-each> 434 434 435 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='GsdlCollageApplet']"> 436 <li> 437 <xsl:choose> 438 <!-- If this tab is selected then colour it differently --> 439 <xsl:when test="/page/pageRequest[@action='a']"> 440 <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute> 441 </xsl:when> 442 <xsl:otherwise> 443 <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute> 444 </xsl:otherwise> 445 </xsl:choose> 446 447 <a> 448 <xsl:if test="displayItem[@name='description']"> 449 <xsl:attribute name="title"> 450 <xsl:value-of select="displayItem[@name='description']"/> 451 </xsl:attribute> 452 </xsl:if> 453 <xsl:attribute name="href"><xsl:value-of select="$library_name"/>?a=a&rt=d&s=<xsl:value-of select="@name"/>&c=<xsl:value-of select="/page/pageResponse/collection/@name"/></xsl:attribute> 454 <!--<xsl:attribute name="href"><xsl:value-of select="$library_name"/>/collection/<xsl:value-of select="/page/pageResponse/collection/@name"/>/page/collage</xsl:attribute>--> 455 <xsl:value-of select="displayItem[@name='name']"/> 456 </a> 457 </li> 458 </xsl:for-each> 459 435 460 <!-- all other services --> 436 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet') ]">461 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet') and not (@name='GsdlCollageApplet')]"> 437 462 <xsl:call-template name="navigationTab"/> 438 463 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.