/usr/share/kf5/kdoctools/customization/kde-navig.xsl is in kdoctools5 5.44.0-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:template match="email">
<xsl:call-template name="inline.monoseq">
<xsl:with-param name="content">
<xsl:text>(</xsl:text>
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="."/>
<xsl:with-param name="charsIn" select="'@'"/>
<xsl:with-param name="charsOut" select="' AT '"/>
</xsl:call-template>
<xsl:text>)</xsl:text>
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<xsl:template name="replaceCharsInString">
<xsl:param name="stringIn"/>
<xsl:param name="charsIn"/>
<xsl:param name="charsOut"/>
<xsl:choose>
<xsl:when test="contains($stringIn,$charsIn)">
<xsl:value-of select="concat(substring-before($stringIn,$charsIn),$charsOut)"/>
<xsl:call-template name="replaceCharsInString">
<xsl:with-param name="stringIn" select="substring-after($stringIn,$charsIn)"/>
<xsl:with-param name="charsIn" select="$charsIn"/>
<xsl:with-param name="charsOut" select="$charsOut"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$stringIn"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template name="header.navigation">
<xsl:param name="prev" select="/foo"/>
<xsl:param name="next" select="/foo"/>
<xsl:variable name="home" select="/*[1]"/>
<xsl:variable name="up" select="parent::*"/>
<xsl:if test="$suppress.navigation = '0'">
<div id="header">
<div id="header_content">
<div id="header_left">
<div id="header_right">
<img src="{$kde.common}top-kde.jpg" width="36" height="34" />
<!-- The space is for spacing between the logo and title text -->
<xsl:text> </xsl:text>
<xsl:apply-templates
select="." mode="title.markup"/>
</div>
</div>
</div>
</div>
<!-- output navigation links -->
<div class="navCenter">
<table class="navigation">
<tr>
<td class="prevCell">
<xsl:if test="count($prev)>0">
<a accesskey="p">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$prev"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.prev"/>
</a>
</xsl:if>
</td>
<td class="upCell">
<xsl:choose>
<xsl:when test="count($up) > 0 and $up != $home">
<xsl:apply-templates select="$up" mode="title.markup"/>
</xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
</td>
<td class="nextCell">
<xsl:if test="count($next)>0">
<a accesskey="n">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$next"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.next"/>
</a>
</xsl:if>
</td>
</tr>
</table>
</div>
</xsl:if>
</xsl:template>
<!-- ==================================================================== -->
<xsl:template name="footer.navigation">
<xsl:param name="prev" select="/foo"/>
<xsl:param name="next" select="/foo"/>
<xsl:variable name="home" select="/*[1]"/>
<xsl:variable name="up" select="parent::*"/>
<xsl:if test="$suppress.navigation = '0'">
<div id="footer">
<!-- output navigation links -->
<div class="navCenter">
<table class="navigation">
<tr>
<td class="prevCell">
<xsl:if test="count($prev)>0">
<a accesskey="p">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$prev"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.prev"/>
</a>
</xsl:if>
</td>
<td class="upCell">
<xsl:choose>
<xsl:when test="$home != .">
<a accesskey="h">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$home"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.home"/>
</a>
</xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
</td>
<td class="nextCell">
<xsl:if test="count($next)>0">
<a accesskey="n">
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$next"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.next"/>
</a>
</xsl:if>
</td>
</tr>
<tr>
<td class="prevCell">
<xsl:apply-templates select="$prev" mode="title.markup"/>
<xsl:text> </xsl:text>
</td>
<td class="upCell">
<xsl:choose>
<xsl:when test="count($up) > 0 and $up != $home">
<xsl:apply-templates select="$up" mode="title.markup"/>
</xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
</td>
<td class="nextCell">
<xsl:text> </xsl:text>
<xsl:apply-templates select="$next" mode="title.markup"/>
</td>
</tr>
</table>
</div>
<div id="footer_text">
<xsl:call-template name="gentext.footer-doc-comment"/>
<br/>
<xsl:call-template name="gentext.footer-doc-feedback"/>
<a href="mailto:{$footer.email}" class="footer_email">
<xsl:call-template name="gentext.footer-doc-teamname"/>
</a>
</div>
</div>
</xsl:if>
</xsl:template>
<xsl:template name="gentext.footer-doc-comment">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'footer-doc-comment'"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="gentext.footer-doc-feedback">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'footer-doc-feedback'"/>
</xsl:call-template>
</xsl:template>
<xsl:template name="gentext.footer-doc-teamname">
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'footer-doc-teamname'"/>
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>
<!-- vim: set sw=2: -->
|