Ignore:
Timestamp:
2002-11-26T13:42:55+13:00 (21 years ago)
Author:
kjdon
Message:

langauge stuff now comes from display elements. also changed the page structure a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/interfaces/default/transform/about.xsl

    r3474 r3564  
    5252<xsl:template match="metadataList">
    5353<xsl:param name="collName">coll-name</xsl:param>
    54 <h2>Description</h2>
     54<h2><xsl:call-template name="text"><xsl:with-param name="key">about.description</xsl:with-param></xsl:call-template></h2>
    5555<p/>
    5656<table>
     
    6464<xsl:param name="collName">coll-name</xsl:param>
    6565<xsl:variable name="library" select="ancestor::page/config/library_name"/>
    66 <h2>Services available</h2>
     66<h2><xsl:call-template name="text"><xsl:with-param name="key">about.services</xsl:with-param></xsl:call-template></h2>
    6767<table>
    6868<xsl:for-each select="service[@type='query']">
     
    7272<xsl:variable name="orig-type"><xsl:value-of select="substring-before($serviceName, 'Query')"/></xsl:variable>
    7373<xsl:variable name="lower-type" select="java:org.greenstone.gsdl3.util.XSLTUtil.toLower($orig-type)"/>
    74 <td><xsl:call-template name="text"><xsl:with-param name="key">common/search</xsl:with-param></xsl:call-template></td>
    75 <td><a href="{$library}?a=q&amp;sa={$lower-type}&amp;c={$collName}"><xsl:value-of select="$orig-type"/></a></td>
     74<td><a href="{$library}?a=q&amp;sa={$lower-type}&amp;c={$collName}"><xsl:value-of select="$serviceName"/></a></td>
    7675</xsl:if>
    7776<xsl:if test="contains($serviceName, 'Browse')">
    7877<xsl:variable name="orig-type"><xsl:value-of select="substring-before($serviceName, 'Browse')"/></xsl:variable>
    7978<xsl:variable name="lower-type" select="java:org.greenstone.gsdl3.util.XSLTUtil.toLower($orig-type)"/>
    80 <td><xsl:call-template name="text"><xsl:with-param name="key">common/browse</xsl:with-param></xsl:call-template></td>
    81 <td><a href="{$library}?a=b&amp;sa={$lower-type}&amp;c={$collName}"><xsl:value-of select="$orig-type"/></a></td>
     79<td><a href="{$library}?a=b&amp;sa={$lower-type}&amp;c={$collName}"><xsl:value-of select="$serviceName"/></a></td>
    8280</xsl:if>
    8381<xsl:if test="contains($serviceName, 'Applet')">
    8482<xsl:variable name="orig-type"><xsl:value-of select="substring-before($serviceName, 'Applet')"/></xsl:variable>
    85 <td><xsl:call-template name="text"><xsl:with-param name="key">common/applet</xsl:with-param></xsl:call-template></td>
    86 <td><a href="{$library}?a=a&amp;sa=d&amp;sn={$orig-type}&amp;c={$collName}"><xsl:value-of select="$orig-type"/></a></td>
     83<td><a href="{$library}?a=a&amp;sa=d&amp;sn={$orig-type}&amp;c={$collName}"><xsl:value-of select="$serviceName"/></a></td>
    8784</xsl:if>
    8885</tr>
     
    9693<xsl:param name="collName">coll-name</xsl:param>
    9794<xsl:variable name="library" select="ancestor::page/config/library_name"/>
    98 <h2>Services available</h2>
     95<h2><xsl:call-template name="text"><xsl:with-param name="key">about.services</xsl:with-param></xsl:call-template></h2>
    9996<table>
    10097<xsl:for-each select="service">
Note: See TracChangeset for help on using the changeset viewer.