Ignore:
Timestamp:
2006-11-15T11:05:47+13:00 (17 years ago)
Author:
shaoqun
Message:

now replace table tags and other formating tags with div tages to make changing styles easier

File:
1 edited

Legend:

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

    r12152 r13268  
    3232
    3333  <xsl:template match="pageResponse">
    34  
    35     <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    36     <!-- <center>-->
     34    <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    3735    <xsl:call-template name="standardPageBanner">
    3836      <xsl:with-param name="collName" select="$collName"/>
     
    4139      <xsl:with-param name="collName" select="$collName"/>
    4240    </xsl:call-template>
     41    <div class="document">
    4342    <xsl:apply-templates select="service">
    4443      <xsl:with-param name="collName" select="$collName"/>
    4544    </xsl:apply-templates>
    46     <!--  </center>-->
     45   
    4746    <!--<xsl:if test="$berryBaskets = 'true'">-->
    4847    <xsl:if test="$berrybasketswitch = 'on'">
     
    5453      </xsl:call-template>
    5554    </xsl:if>
    56     <xsl:call-template name="dividerBar"/>
    57   </xsl:template>
     55    </div>
     56   </xsl:template>
    5857
    5958
     
    6766    <xsl:call-template name="matchDocs"/>
    6867   
    69     <!-- next and prev links at top of results-->
     68     <!-- next and prev links at top of results-->
     69   
    7070    <xsl:call-template name="resultNavigation">
    7171      <xsl:with-param name="collName" select="$collName"/>
    7272    </xsl:call-template>
    73     <!-- Display the matching documents -->
     73   
     74    <!-- Display the matching documents --> 
     75   
    7476    <xsl:call-template name="resultList">
    7577      <xsl:with-param name="collName" select="$collName"/>
    7678    </xsl:call-template>
     79   
    7780    <!-- next and prev links at bottom of page -->
    7881    <xsl:call-template name="resultNavigation">
    7982      <xsl:with-param name="collName" select="$collName"/>
    8083    </xsl:call-template>
     84
    8185  </xsl:template>
    8286 
     
    8589    <xsl:param name="collName"/>
    8690    <xsl:variable name="subaction" select="../pageRequest/@subaction"/>
     91    <div class="queryform">
    8792    <form name="QueryForm" method="get" action="{$library_name}">
    8893      <input type="hidden" name="a" value="q"/>
     
    95100      </xsl:if>
    96101      <xsl:apply-templates select="paramList"/>
    97       <br/>
    98102      <input type="submit"><xsl:attribute name="value"><xsl:value-of select="displayItem[@name='submit']"/></xsl:attribute></input>
    99103    </form>
     104    </div>
    100105  </xsl:template>
    101106   
Note: See TracChangeset for help on using the changeset viewer.