Ignore:
Timestamp:
2011-03-15T16:13:12+13:00 (13 years ago)
Author:
davidb
Message:

Two new interfaces - 'default' now tries to use the client's XSLT capabilities of the web browser, falling back to the 'traditional' interface if this fails.

File:
1 edited

Legend:

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

    r18388 r23779  
    33  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    44  xmlns:java="http://xml.apache.org/xslt/java"
    5   xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
    6   extension-element-prefixes="java util"
    7   exclude-result-prefixes="java util">
     5  extension-element-prefixes="java"
     6  exclude-result-prefixes="java">
    87 
    98  <!-- style includes global params interface_name, library_name -->
     
    2120    <title>
    2221      <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
    23       <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     22      <xsl:text> </xsl:text>
    2423    </title>
    2524    <xsl:call-template name="globalStyle"/>
     
    2726      </head>
    2827      <body>
     28   
    2929    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
    3030    <div id="page-wrapper">
     
    3232      <xsl:call-template name="greenstoneFooter"/>
    3333    </div>
     34    <xsl:call-template name="pageTitle"/>
    3435      </body>
    3536    </html>
     
    3940
    4041  <xsl:template name="pageTitle">
    41     <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/>
     42    <span class="getTextFor null document.title.gsdl"></span>
    4243  </xsl:template>
    4344
     
    8182  <xsl:template name="query-response">
    8283    <xsl:param name="collName"/>
    83     <xsl:call-template name="dividerBar"><xsl:with-param name='text'><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'query.results')"/></xsl:with-param></xsl:call-template>
     84    <xsl:call-template name="dividerBar"><xsl:with-param name='text'>query.results</xsl:with-param></xsl:call-template>
    8485   
    8586    <!-- If query term information is available, display it -->
Note: See TracChangeset for help on using the changeset viewer.