Changeset 21282


Ignore:
Timestamp:
12/07/09 13:14:14 (11 years ago)
Author:
kjdon
Message:

now test for hidden attribute to determine whether to display a service on about page and in nav bar

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/style.xsl

    r18387 r21282  
    137137        <xsl:for-each select="$this-element/serviceList/service">
    138138          <xsl:variable name="action"><xsl:choose>
     139          <xsl:when test="@hidden='true'">DO_NOT_DISPLAY</xsl:when>
    139140          <xsl:when test="@name=$this-service">CURRENT</xsl:when>
    140141          <xsl:when test="@type='query'">q</xsl:when>
  • main/trunk/greenstone3/web/interfaces/default/transform/util.xsl

    r20291 r21282  
    244244    <xsl:for-each select="$this-element/serviceList/service">
    245245      <xsl:variable name="action"><xsl:choose>
     246      <xsl:when test="@hidden='true'">DO_NOT_DISPLAY</xsl:when>
    246247      <xsl:when test="@name=$this-service">CURRENT</xsl:when>
    247248      <xsl:when test="@type='query'">q</xsl:when>
     
    293294    <xsl:for-each select="service">
    294295      <xsl:variable name="action"><xsl:choose>
     296          <xsl:when test="@hidden='true'">DO_NOT_DISPLAY</xsl:when>
    295297          <xsl:when test="@type='query'">q</xsl:when>
    296298          <xsl:when test="@type='browse'">b</xsl:when>
Note: See TracChangeset for help on using the changeset viewer.