Changeset 4996
- Timestamp:
- 2003-07-21T16:26:44+12:00 (21 years ago)
- Location:
- trunk/gsdl3/web/interfaces/nzdl/transform
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/web/interfaces/nzdl/transform/pref.xsl
r4732 r4996 90 90 <!-- case folding --> 91 91 <xsl:variable name="case"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='case']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='case']/@value"/></xsl:when><xsl:otherwise>1</xsl:otherwise></xsl:choose></xsl:variable> 92 <tr><td rowspan='2' valign='baseline'>Case differences:</td><td><input type='radio' name='ca ' value='1'><xsl:if test="$case=1"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> ignore case differences</td></tr>93 <tr><td><input type='radio' name='ca ' value='0'><xsl:if test="$case=0"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> upper/lower case must match</td></tr>92 <tr><td rowspan='2' valign='baseline'>Case differences:</td><td><input type='radio' name='case' value='1'><xsl:if test="$case=1"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> ignore case differences</td></tr> 93 <tr><td><input type='radio' name='case' value='0'><xsl:if test="$case=0"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> upper/lower case must match</td></tr> 94 94 <!-- stemming --> 95 95 <xsl:variable name="stem"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='stem']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='stem']/@value"/></xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable> 96 <tr><td rowspan='2' valign='baseline'>Word endings:</td><td><input type='radio' name='st ' value='1'><xsl:if test="$stem=1"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> ignore word endings</td></tr>97 <tr><td><input type='radio' name='st ' value='0'><xsl:if test="$stem=0"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> whole word must match</td></tr>96 <tr><td rowspan='2' valign='baseline'>Word endings:</td><td><input type='radio' name='stem' value='1'><xsl:if test="$stem=1"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> ignore word endings</td></tr> 97 <tr><td><input type='radio' name='stem' value='0'><xsl:if test="$stem=0"><xsl:attribute name="checked"></xsl:attribute></xsl:if></input></td><td> whole word must match</td></tr> 98 98 <!-- hit display --> 99 99 <xsl:variable name="maxdocs"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='maxDocs']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='maxDocs']/@value"/></xsl:when><xsl:otherwise>50</xsl:otherwise></xsl:choose></xsl:variable> 100 100 <xsl:variable name="hits"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='hp']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='hp']/@value"/></xsl:when><xsl:otherwise>20</xsl:otherwise></xsl:choose></xsl:variable> 101 101 <tr><td colspan='3'>Return up to 102 <select name="m d">102 <select name="maxDocs"> 103 103 <option value="50"><xsl:if test="$maxdocs=50"><xsl:attribute name="selected"></xsl:attribute></xsl:if>50</option> 104 104 <option value="100"><xsl:if test="$maxdocs=100"><xsl:attribute name="selected"></xsl:attribute></xsl:if>100</option> -
trunk/gsdl3/web/interfaces/nzdl/transform/query.xsl
r4901 r4996 122 122 <xsl:template match="param[@name='matchMode']" mode='query1'> 123 123 <xsl:param name='default'/> 124 in query 1125 124 <xsl:variable name="qfm" select="/page/pageRequest/paramList/param[@name='qfm']/@value"/> 126 125 <xsl:choose> … … 156 155 <xsl:when test="$qb=1"><!-- large query box --> 157 156 <tr><td> 158 <textarea name="q " cols='63' rows='10'>157 <textarea name="query" cols='63' rows='10'> 159 158 <xsl:apply-templates select="param[@name='query']" mode="calculate-default"/><xsl:text> </xsl:text><!-- put a space here just in case there is no value- mozilla craps out if have a <textarea /> element --> 160 159 </textarea> … … 203 202 </xsl:when> 204 203 <xsl:otherwise><!-- put in a hidden placeholder --> 205 <input type="hidden" name='{@ shortname}' value=''/>204 <input type="hidden" name='{@name}' value=''/> 206 205 </xsl:otherwise> 207 206 </xsl:choose></td>
Note:
See TracChangeset
for help on using the changeset viewer.