Ignore:
Timestamp:
2003-08-07T17:05:40+12:00 (21 years ago)
Author:
kjdon
Message:

now have navigation bar, some style templates have been renamed, hopefully I haven't stuffed anything up, will check at some stage

File:
1 edited

Legend:

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

    r4900 r5119  
    2424  <xsl:template match="pageResponse">
    2525    <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    26     <center>
    27       <xsl:call-template name="collectionPageBanner">
    28     <xsl:with-param name="collName" select="$collName"/>
    29       </xsl:call-template>
    30       <xsl:apply-templates select="service">
    31     <xsl:with-param name="collName" select="$collName"/>
    32       </xsl:apply-templates>
    33     </center>
    34 
     26   <!-- <center>-->
     27    <xsl:call-template name="standardPageBanner">
     28      <xsl:with-param name="collName" select="$collName"/>
     29    </xsl:call-template>
     30    <xsl:call-template name="navigationBar">
     31      <xsl:with-param name="collName" select="$collName"/>
     32    </xsl:call-template>     
     33<!--    <xsl:call-template name="dividerBar">
     34      <xsl:with-param name="text" select="service/displayItem[@name='name']"/>
     35    </xsl:call-template>-->
     36    <xsl:apply-templates select="service">
     37      <xsl:with-param name="collName" select="$collName"/>
     38    </xsl:apply-templates>
     39  <!--  </center>-->
    3540    <xsl:if test="documentNodeList">
    3641      <xsl:call-template name="query-response">
     
    3843      </xsl:call-template>
    3944    </xsl:if>
    40     <xsl:call-template name="greenBar"/>
     45    <xsl:call-template name="dividerBar"/>
    4146  </xsl:template>
    4247
     
    4550  <xsl:template name="query-response">
    4651    <xsl:param name="collName"/>
    47     <xsl:call-template name="greenBarResults"/>
     52    <xsl:call-template name="dividerBar"><xsl:with-param name='text'>Results</xsl:with-param></xsl:call-template>
    4853   
    4954    <!-- If query term information is available, display it -->
    50     <br/>
    5155    <xsl:call-template name="termInfo"/>
    5256    <xsl:call-template name="matchDocs"/>
     
    6670    <xsl:param name="collName"/>
    6771    <xsl:variable name="subaction" select="../pageRequest/@subaction"/>
    68     <h3><xsl:value-of select="displayItem[@name='name']"/></h3><p/>
     72    <!--<h3><xsl:value-of select="displayItem[@name='name']"/></h3><p/>-->
    6973    <form name="QueryForm" method="get" action="/gsdl3/{$library_name}">
    7074      <input type="hidden" name="a" value="q"/>
     
    7579      <input type="hidden" name="hn" value="1"/>
    7680      <xsl:apply-templates select="paramList"/>
     81      <br/>
    7782      <input type="submit"><xsl:attribute name="value"><xsl:value-of select="displayItem[@name='submit']"/></xsl:attribute></input>
    7883    </form>
Note: See TracChangeset for help on using the changeset viewer.