/usr/share/kf5/kdoctools/customization/kde-web-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 | <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<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'">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr class="header">
<td colspan="2"> </td>
</tr>
<tr id="logo">
<td valign="top">
<img src="{$kde.common}part_of_the_kde_family_horizontal_190.png" alt="Part of the KDE family"
width="190" height="68" border="0" />
</td>
<td valign="middle" align="center" id="location">
<h1><!-- Why was this used in fact: could the text not just be copied?-->
<xsl:apply-templates select="." mode="title.markup"/>
</h1>
</td>
</tr>
</table>
<table width="100%" class="header">
<tbody>
<tr>
<td align="left" class="navLeft" width="33%">
<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 align="center" class="navCenter" width="34%">
<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 align="right" class="navRight" width="33%"> 
<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>
</tbody>
</table>
</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'">
<!-- Bottom Navigation -->
<table width="100%" class="bottom-nav">
<tr>
<td width="33%" align="left" valign="top" class="navLeft">
<xsl:if test="count($prev)>0">
<a>
<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 width="34%" align="center" valign="top" class="navCenter">
<xsl:choose>
<xsl:when test="$home != .">
<a>
<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 width="33%" align="right" valign="top" class="navRight">
<xsl:if test="count($next)>0">
<a>
<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 width="33%" align="left" class="navLeft">
<xsl:apply-templates select="$prev" mode="title.markup"/>
<xsl:text> </xsl:text>
</td>
<td width="34%" align="center" class="navCenter">
<xsl:choose>
<xsl:when test="count($up)>0">
<a>
<xsl:attribute name="href">
<xsl:call-template name="href.target">
<xsl:with-param name="object" select="$up"/>
</xsl:call-template>
</xsl:attribute>
<xsl:call-template name="gentext.nav.up"/>
</a>
</xsl:when>
<xsl:otherwise> </xsl:otherwise>
</xsl:choose>
</td>
<td width="33%" align="right" class="navRight">
<xsl:text> </xsl:text>
<xsl:apply-templates select="$next" mode="title.markup"/>
</td>
</tr>
</table>
</xsl:if>
</xsl:template>
</xsl:stylesheet>
|