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/classifier.xsl

    r23336 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 -->
     
    2019    <title>
    2120      <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
    22       <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     21      <xsl:text> </xsl:text>
    2322    </title>
    2423    <xsl:call-template name="globalStyle"/>
     
    3130      <xsl:call-template name="greenstoneFooter"/>
    3231    </div>
     32    <xsl:call-template name="pageTitle"/>
    3333      </body>
    3434    </html>
     
    3838
    3939  <xsl:template name="pageTitle">
    40     <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'gsdl')"/>
     40    <span class="getTextFor null document.title.gsdl">&amp;amp;nbsp;</span>
    4141  </xsl:template>
    4242
     
    4848    </xsl:if>
    4949  </xsl:template>
    50 
    5150
    5251  <xsl:template match="pageResponse">
     
    6160    </xsl:call-template>     
    6261 
    63     <div id="content">
     62    <div id="content" class="moz-output-escape">
    6463      <xsl:apply-templates select="service/classifierList">
    6564        <xsl:with-param name="collName" select="$collName"/>
     
    8887      </xsl:when>
    8988      <xsl:otherwise>
    90         <li><a href="{$library_name}?a=b&amp;rt=r&amp;s={$serviceName}&amp;c={$collName}&amp;cl={@name}"><xsl:value-of select="displayItem[@name='name']"/></a></li></xsl:otherwise></xsl:choose>
     89        <li><a href="{$library_name}?a=b&amp;amp;rt=r&amp;amp;s={$serviceName}&amp;amp;c={$collName}&amp;amp;cl={@name}"><xsl:value-of select="displayItem[@name='name']"/></a></li></xsl:otherwise></xsl:choose>
    9190   
    9291      </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.