Changeset 19896

Show
Ignore:
Timestamp:
24.06.2009 12:40:45 (10 years ago)
Author:
kjdon
Message:

added mode attribute to textsearch service template so that its only used for the quick search on home page, and not for every textsearch service

Files:
1 modified

Legend:

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

    r19895 r19896  
    100100   
    101101   
    102   <xsl:template name="crossCollectionQuickSearchForm"> 
     102  <xsl:template name="crossCollectionQuickSearchForm" mode="quicksearch"> 
    103103    <xsl:apply-templates select="serviceList/service[@name='TextQuery']"/> 
    104104  </xsl:template>  
    105105   
    106   <xsl:template match="service[@name='TextQuery']"> 
     106  <xsl:template match="service[@name='TextQuery']" mode="quicksearch"> 
    107107    <form name="QuickSearch" method="get" action="{$library_name}"> 
    108108      <input type="hidden" name="a" value="q"/>