- Timestamp:
- 2012-08-28T12:22:10+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r26120 r26133 147 147 </xsl:if> 148 148 149 <!-- PhindApplet. Need something similar for the Collage applet too, probably --> 150 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='PhindApplet']"> 151 <li> 152 <xsl:choose> 153 <!-- If this tab is selected then colour it differently --> 154 <xsl:when test="/page/pageRequest[@action='a']"> 155 <xsl:attribute name='class'>ui-state-default ui-corner-top ui-tabs-selected ui-state-active</xsl:attribute> 156 </xsl:when> 157 <xsl:otherwise> 158 <xsl:attribute name='class'>ui-state-default ui-corner-top</xsl:attribute> 159 </xsl:otherwise> 160 </xsl:choose> 161 162 <a> 163 <xsl:if test="displayItem[@name='description']"> 164 <xsl:attribute name="title"> 165 <xsl:value-of select="displayItem[@name='description']"/> 166 </xsl:attribute> 167 </xsl:if> 168 <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> 169 <xsl:value-of select="displayItem[@name='name']"/> 170 </a> 171 </li> 172 </xsl:for-each> 173 149 174 <!-- all other services --> 150 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') ]">175 <xsl:for-each select="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[not(@type='query') and not(@type='browse') and not (@name='PhindApplet')]"> 151 176 <xsl:call-template name="navigationTab"/> 152 177 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.