- Timestamp:
- 2012-08-01T16:07:03+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r26028 r26057 358 358 <!-- Search form should only appear if there's a search (query) service AND it has an index. 359 359 By default, all collections end up with some query service (default is MGPP) even when they have 360 no search indexes, which is why the extra test for the presence of an index is necessary. -->360 no search indexes, which is why the extra test for the presence of an index/fq-something is necessary. --> 361 361 <xsl:template name="quick-search-area"> 362 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']/paramList/param[@name='index' ]">362 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@type='query']/paramList/param[@name='index' or fn:starts-with('fq')]"> 363 363 <xsl:variable name="subaction" select="/page/pageRequest/@subaction"/> 364 364 <div id="quicksearcharea"> … … 412 412 </span> 413 413 </xsl:if> 414 <!-- The submit button --> 414 <!-- The submit button (for TextQuery) --> 415 <xsl:if test="/page/pageResponse/collection[@name=$collNameChecked]/serviceList/service[@name='TextQuery']"> 415 416 <input type="submit" id="quickSearchSubmitButton"> 416 417 <xsl:attribute name="value"> … … 419 420 </input> 420 421 <br/> 422 </xsl:if> 421 423 <!-- The list of other search types --> 422 424 <ul>
Note:
See TracChangeset
for help on using the changeset viewer.