1
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5
<xsl:import href="kubuntu-chunk.xsl"/>
7
<xsl:template match="email">
8
<xsl:call-template name="inline.monoseq">
9
<xsl:with-param name="content">
10
<xsl:text>(</xsl:text>
11
<xsl:call-template name="replaceCharsInString">
12
<xsl:with-param name="stringIn" select="."/>
13
<xsl:with-param name="charsIn" select="'@'"/>
14
<xsl:with-param name="charsOut" select="' AT '"/>
16
<xsl:text>)</xsl:text>
20
<xsl:template name="replaceCharsInString">
21
<xsl:param name="stringIn"/>
22
<xsl:param name="charsIn"/>
23
<xsl:param name="charsOut"/>
25
<xsl:when test="contains($stringIn,$charsIn)">
26
<xsl:value-of select="concat(substring-before($stringIn,$charsIn),$charsOut)"/>
27
<xsl:call-template name="replaceCharsInString">
28
<xsl:with-param name="stringIn" select="substring-after($stringIn,$charsIn)"/>
29
<xsl:with-param name="charsIn" select="$charsIn"/>
30
<xsl:with-param name="charsOut" select="$charsOut"/>
34
<xsl:value-of select="$stringIn"/>
40
<xsl:template name="header.navigation">
41
<xsl:param name="prev" select="/foo"/>
42
<xsl:param name="next" select="/foo"/>
43
<xsl:variable name="home" select="/*[1]"/>
44
<xsl:variable name="up" select="parent::*"/>
45
<xsl:if test="$suppress.navigation = '0'">
46
<div style="background-image: url(../../common/top-middle.png); width: 100%; height: 131px;">
47
<div style="position: absolute;
49
<img src="../../common/top-right-konqueror.png"
50
style="margin: 0px" alt="" />
54
<a href="/5.10">5.10</a>
57
<a href="/6.06">6.06 LTS</a>
60
<a href="/6.10">6.10</a>
63
<a href="/community">Community Docs</a>
68
<div style="position: absolute; left: 0px;">
69
<img src="../../common/top-left.png" style="margin: 0px" alt="" />
74
<div style="position: absolute;
80
text-shadow: #fff 0px 0px 5px;
82
<xsl:apply-templates select="." mode="title.markup"/>
86
<div style="margin-top: 20px; background-color: #white;
90
<div style="position: absolute;
92
<xsl:if test="count($prev)>0">
94
<xsl:attribute name="href">
95
<xsl:call-template name="href.target">
96
<xsl:with-param name="object" select="$prev"/>
99
<xsl:call-template name="gentext.nav.prev"/>
103
<div style="position: absolute;
105
<xsl:if test="count($next)>0">
107
<xsl:attribute name="href">
108
<xsl:call-template name="href.target">
109
<xsl:with-param name="object" select="$next"/>
112
<xsl:call-template name="gentext.nav.next"/>
116
<div class="navCenter">
118
<xsl:when test="count($up) > 0 and $up != $home">
119
<xsl:apply-templates select="$up" mode="title.markup"/>
121
<xsl:otherwise> </xsl:otherwise>
129
<!-- ==================================================================== -->
131
<xsl:template name="footer.navigation">
132
<xsl:param name="prev" select="/foo"/>
133
<xsl:param name="next" select="/foo"/>
134
<xsl:variable name="home" select="/*[1]"/>
135
<xsl:variable name="up" select="parent::*"/>
137
<xsl:if test="$suppress.navigation = '0'">
139
<div style="background-color: #white; color: black;
140
margin-top: 20px; margin-left: 20px;
141
margin-right: 20px;">
142
<div style="position: absolute; left: 20px;">
143
<xsl:if test="count($prev)>0">
145
<xsl:attribute name="href">
146
<xsl:call-template name="href.target">
147
<xsl:with-param name="object" select="$prev"/>
150
<xsl:call-template name="gentext.nav.prev"/>
154
<div style="position: absolute; right: 20px;">
155
<xsl:if test="count($next)>0">
157
<xsl:attribute name="href">
158
<xsl:call-template name="href.target">
159
<xsl:with-param name="object" select="$next"/>
162
<xsl:call-template name="gentext.nav.next"/>
168
<xsl:when test="$home != .">
170
<xsl:attribute name="href">
171
<xsl:call-template name="href.target">
172
<xsl:with-param name="object" select="$home"/>
175
<xsl:call-template name="gentext.nav.home"/>
178
<xsl:otherwise> </xsl:otherwise>
182
<div style="background-color: #white;
185
margin-right: 20px;">
186
<div class="navLeft">
187
<xsl:apply-templates select="$prev" mode="title.markup"/>
188
<xsl:text> </xsl:text>
190
<div class="navRight">
191
<xsl:text> </xsl:text>
192
<xsl:apply-templates select="$next" mode="title.markup"/>
194
<div class="navCenter">
196
<xsl:when test="count($up)>0">
198
<xsl:attribute name="href">
199
<xsl:call-template name="href.target">
200
<xsl:with-param name="object" select="$up"/>
203
<xsl:call-template name="gentext.nav.up"/>
206
<xsl:otherwise> </xsl:otherwise>
216
<div class="bannerBottom" style="background-image: url(../../common/bottom-middle.png);
217
background-repeat: x-repeat;
221
<div class="BannerBottomRight">
222
<img src="../../common/bottom-right.png" style="margin: 0px" alt=""/>
224
<div class="bannerBottomLeft">
225
<img src="../../common/bottom-left.png" style="margin: 0px;" alt=""/>