Changeset 26143 for main/trunk
- Timestamp:
- 2012-08-30T18:24:22+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/pages/query.xsl
r26136 r26143 189 189 </xsl:choose> 190 190 </xsl:variable> 191 191 192 192 <!-- The list of search terms with their frequency and document count --> 193 193 <xsl:choose> … … 261 261 </p> 262 262 </xsl:when> 263 <xsl:otherwise> 264 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'query.nodocsmatch')"/> 263 <xsl:otherwise><!-- 0 results. Still need to check for search term being stopwords --> 264 <xsl:choose> 265 <xsl:when test="count(/page/pageResponse/termList/stopword) > 0"> 266 <p class="termList"> 267 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'query.common')"/><xsl:text> </xsl:text> 268 269 <xsl:if test="/page/pageResponse/termList/stopword"> 270 <xsl:for-each select="/page/pageResponse/termList/stopword"> 271 <span style="font-style:italic;"><xsl:value-of select="@name"/></span><xsl:text> </xsl:text> 272 </xsl:for-each> 273 <br /><br /> 274 </xsl:if> 275 </p> 276 </xsl:when> 277 <xsl:otherwise><!-- 0 results and not owing to stopwords.--> 278 <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'query.nodocsmatch')"/> 279 </xsl:otherwise> 280 </xsl:choose> 265 281 </xsl:otherwise> 266 282 </xsl:choose>
Note:
See TracChangeset
for help on using the changeset viewer.