Changeset 3436 for trunk/gsdl3/interfaces/default/transform/about.xsl
- Timestamp:
- 2002-10-04T11:21:48+12:00 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/interfaces/default/transform/about.xsl
r3390 r3436 49 49 <xsl:template match="serviceList"> 50 50 <xsl:param name="collName">coll-name</xsl:param> 51 <xsl:variable name="library" select="ancestor::page/config/library_name"/> 51 52 <h2>Services available</h2> 52 53 <table> … … 58 59 <xsl:variable name="lower-type" select="java:org.greenstone.gsdl3.util.XSLTUtil.toLower($orig-type)"/> 59 60 <td><xsl:call-template name="text"><xsl:with-param name="key">common/search</xsl:with-param></xsl:call-template></td> 60 <td><a ><xsl:attribute name="href">library?a=q&sa=<xsl:value-of select="$lower-type"/>&c=<xsl:value-of select="$collName"/></xsl:attribute><xsl:value-of select="substring-before($serviceName, 'Query')"/></a></td>61 <td><a href="{$library}?a=q&sa={$lower-type}&c={$collName}"><xsl:value-of select="$orig-type"/></a></td> 61 62 </xsl:if> 62 63 <xsl:if test="contains($serviceName, 'Browse')"> … … 64 65 <xsl:variable name="lower-type" select="java:org.greenstone.gsdl3.util.XSLTUtil.toLower($orig-type)"/> 65 66 <td><xsl:call-template name="text"><xsl:with-param name="key">common/browse</xsl:with-param></xsl:call-template></td> 66 <td><a ><xsl:attribute name="href">library?a=b&sa=<xsl:value-of select="$lower-type"/>&c=<xsl:value-of select="$collName"/></xsl:attribute><xsl:value-of select="substring-before($serviceName, 'Browse')"/></a></td>67 <td><a href="{$library}?a=b&sa={$lower-type}&c={$collName}"><xsl:value-of select="$orig-type"/></a></td> 67 68 </xsl:if> 68 69 <xsl:if test="contains($serviceName, 'Applet')"> 69 70 <xsl:variable name="orig-type"><xsl:value-of select="substring-before($serviceName, 'Applet')"/></xsl:variable> 70 71 <td><xsl:call-template name="text"><xsl:with-param name="key">common/applet</xsl:with-param></xsl:call-template></td> 71 <td><a ><xsl:attribute name="href">library?a=a&sa=d&sn=<xsl:value-of select="$orig-type"/>&c=<xsl:value-of select="$collName"/></xsl:attribute><xsl:value-of select="$orig-type"/></a></td>72 <td><a href="{$library}?a=a&sa=d&sn={$orig-type}&c={$collName}"><xsl:value-of select="$orig-type"/></a></td> 72 73 </xsl:if> 73 74 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.