Changeset 3fe8b51 for stylesheets/xhtml/lfs-admon.xsl
- Timestamp:
- 01/07/2005 05:14:15 AM (17 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/test-20220226
- Children:
- d8dc77a
- Parents:
- bad8b53
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-admon.xsl
rbad8b53 r3fe8b51 1 1 <?xml version='1.0' encoding='ISO-8859-1'?> 2 3 <!-- Version 0.9 - Manuel Canales Esparcia <macana@lfs-es.org> -->4 2 5 3 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" … … 7 5 version="1.0"> 8 6 9 7 <!-- Use graphics in admonitions --> 10 8 <xsl:param name="admon.graphics" select="1"/> 11 9 <xsl:param name="admon.graphics.path">../images/</xsl:param> 12 10 <xsl:param name="admon.graphics.extension" select="'.png'"/> 13 11 14 12 <!-- Changing the output tagging --> 15 13 <xsl:template name="graphical.admonition"> 16 14 <xsl:variable name="admon.type"> … … 24 22 </xsl:choose> 25 23 </xsl:variable> 26 <div class="admonition"> 27 <div class ="admonhead"> 28 <img alt="[{$admon.type}]"> 24 <xsl:variable name="alt"> 25 <xsl:call-template name="gentext"> 26 <xsl:with-param name="key" select="$admon.type"/> 27 </xsl:call-template> 28 </xsl:variable> 29 <div class="{name(.)}"> 30 <div class ="admonhead"> 31 <img alt="[{$alt}]"> 29 32 <xsl:attribute name="src"> 30 33 <xsl:call-template name="admon.graphic"/> 31 34 </xsl:attribute> 32 35 </img> 33 <h3 class="{name(.)}"> 34 <xsl:value-of select="$admon.type"/> 35 <xsl:if test="title"> 36 <xsl:text>: </xsl:text> 37 <xsl:value-of select="title"/> 38 </xsl:if> 36 <h3 class="admontitle"> 37 <xsl:apply-templates select="." mode="object.title.markup"/> 39 38 </h3> 40 39 </div> 41 40 <div class="admonbody"> 42 41 <xsl:apply-templates/> 43 42 </div> 44 43 </div>
Note:
See TracChangeset
for help on using the changeset viewer.