Changeset 4269


Ignore:
Timestamp:
2003-05-12T16:30:29+12:00 (21 years ago)
Author:
kjdon
Message:

changed to use archivedir instead of assocfilepath for image location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/web/interfaces/default/transform/document.xsl

    r4253 r4269  
    9090    <xsl:param name="collName"/>
    9191    <xsl:variable name="httpPath" select="ancestor::pageResponse/collection/metadataList/metadata[@name='httpPath']"/>
    92     <xsl:variable name="assocfilepath" select="metadataList/metadata[@name='assocfilepath']"/>
     92    <xsl:variable name="archivedir" select="metadataList/metadata[@name='archivedir']"/>
    9393    <!-- Display cover image -->
    9494    <td valign="top" align="left" width="200">
    95       <img><xsl:attribute name='src'><xsl:value-of select="ancestor::pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='assocfilepath']"/>/cover.jpg</xsl:attribute></img>
     95      <img><xsl:attribute name='src'><xsl:value-of select="ancestor::pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='archivedir']"/>/cover.jpg</xsl:attribute></img>
    9696      <p />
    9797      <!-- display the enrich service options here -->
     
    159159    </td>
    160160    <td valign="top" align="right" width="200">
    161     <img><xsl:attribute name='src'><xsl:value-of select="ancestor::pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='assocfilepath']"/>/cover.jpg</xsl:attribute></img>
     161    <img><xsl:attribute name='src'><xsl:value-of select="ancestor::pageResponse/collection/metadataList/metadata[@name='httpPath']"/>/index/assoc/<xsl:value-of select="metadataList/metadata[@name='archivedir']"/>/cover.jpg</xsl:attribute></img>
    162162      <p />
    163163      <!-- display the enrich service options here -->
Note: See TracChangeset for help on using the changeset viewer.