Ignore:
Timestamp:
2012-04-26T11:57:44+12:00 (12 years ago)
Author:
sjm84
Message:

The search status text will now say "sections" if a section search was done. Also fixed the next/prev buttons on the search results page

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/layouts/header.xsl

    r25469 r25485  
    377377                        </xsl:attribute>
    378378                    </input>
    379                     <input type="hidden" name="startPage" value="1"/>
     379                    <xsl:choose>
     380                        <xsl:when test="/page/pageResponse/service[@name = 'TextQuery']/paramList/param[@name = 'startPage']">
     381                            <input type="hidden" name="s1.startPage" value="1"/>
     382                        </xsl:when>
     383                        <xsl:otherwise>
     384                            <input type="hidden" name="startPage" value="1"/>
     385                        </xsl:otherwise>
     386                    </xsl:choose>
     387                    <xsl:if test="not(/page/pageRequest/paramList/param[@name = 's1.hitsPerPage'])">
     388                        <input type="hidden" name="s1.hitsPerPage" value="20"/>
     389                    </xsl:if>
     390                    <xsl:if test="not(/page/pageRequest/paramList/param[@name = 's1.maxDocs'])">
     391                        <input type="hidden" name="s1.maxDocs" value="100"/>
     392                    </xsl:if>
    380393                    <!-- The query text box -->
    381394                    <span class="querybox">
Note: See TracChangeset for help on using the changeset viewer.