Changeset 5382


Ignore:
Timestamp:
2003-09-01T09:49:16+12:00 (21 years ago)
Author:
kjdon
Message:

no longer use a template named iconblankbar - always use dividerBar now. replaced coll bars (selcolun.gif and selcolde.gif) with dividerBar with text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/nzdl/transform/home.xsl

    r4948 r5382  
    1313  <xsl:output method="html"/> 
    1414
    15  <xsl:template name="pageHead">
     15  <xsl:template name="pageHead">
    1616    <head>
    1717      <title>
     
    2727    <xsl:apply-templates select="collectionList"/>
    2828    </center>
    29     <center><xsl:call-template name="iconblankbar"/></center>   
     29    <center><xsl:call-template name="dividerBar"/></center>   
    3030    <p />
    3131    <center><h2><xsl:call-template name="textprojhead"/></h2></center>
     
    3838    </table>
    3939    <center>
    40       <xsl:call-template name="iconblankbar"/>
     40      <xsl:call-template name="dividerBar"/>
    4141      <xsl:call-template name="greenstone_info"/>
    4242      <p />
    4343      <xsl:call-template name="nzdlpagefooter"/>
    44       <br />April 2003
     44      <br />September 2003
    4545    </center>
    4646  </xsl:template>
     
    107107  </xsl:template>
    108108 
    109  
    110 <!-- the ancestor axis contains the parent of the context node, and its parent and so on. to pick one node among these: ancestor::elem-name. I dont know how this works if there are two nodes with the same name in the axis. -->
    111109  <xsl:template match="collection">
    112110    <xsl:variable name="ct"><xsl:choose><xsl:when test="metadataList/metadata[@name='buildType']='mgpp'">1</xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable>
     
    128126  <xsl:template match="collectionList">
    129127    <center>
    130       <p /><img src="interfaces/nzdl/images/selcolun.gif" width="537" height="17" alt="Humanitarian and UN collections"/>
     128      <xsl:call-template name="dividerBar"><xsl:with-param name="text">Humanitarian and UN collections</xsl:with-param></xsl:call-template>
    131129      <p /><xsl:call-template name="collectfao"/>
    132       <p /><img src="interfaces/nzdl/images/selcolde.gif" width="537" height="17" alt="Demonstration collections"/>
     130      <xsl:call-template name="dividerBar"><xsl:with-param name="text">Demonstration collections</xsl:with-param></xsl:call-template>
    133131      <p /><xsl:call-template name="collectrest"/>
    134132    </center>
Note: See TracChangeset for help on using the changeset viewer.