]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/www/lambdadelta/xslt/ld_web_root.xsl
- xhtbl: minor improvement
[helm.git] / helm / www / lambdadelta / xslt / ld_web_root.xsl
index 014d2e65ed3f39a47a7269115c6581e979c16bff..8c2c3ad3949300b3ed505f761ceb3b7520a99bb9 100644 (file)
@@ -82,7 +82,7 @@
 
 <xsl:template match="ld:news">
    <ul><li>
-      <span class="date"><xsl:value-of select="@date"/></span>
+      <span class="emph {@class}"><xsl:value-of select="@date"/></span>
       <xsl:apply-templates/>
    </li></ul>
 </xsl:template>
    <li><xsl:apply-templates/></li>
 </xsl:template>
 
-<xsl:template match="ld:date">
-   <span class="date"><xsl:value-of select="@date"/></span>
+<xsl:template match="ld:notice">
+   <span class="emph {@class}"><xsl:value-of select="@notice"/></span>
 </xsl:template>
 
-<xsl:template match="ld:basic-icon">
-   <img class="icon32"
-       alt="[basic lambdadelta logo]"
-       title="basic lambdadelta"
-       src="{$baseurl}images/basic_32.png"
-   />
+<xsl:template match="ld:version2-icon">
+   <xsl:call-template name="butterfly">
+      <xsl:with-param name="name" select="4"/>
+   </xsl:call-template>
+   <xsl:call-template name="sp"/>
+</xsl:template>
+
+<xsl:template match="ld:version1-icon">
+   <xsl:call-template name="butterfly">
+      <xsl:with-param name="name" select="6"/>
+   </xsl:call-template>
    <xsl:call-template name="sp"/>
 </xsl:template>
 
    </body></html>
 </xsl:template>
 
+<xsl:template match="@*|node()">
+   <xsl:copy>
+      <xsl:apply-templates select="@*|node()"/>
+   </xsl:copy>
+</xsl:template>
+
 </xsl:stylesheet>