diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 07:08:17 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 07:08:17 +0000 |
commit | 9f96d6383157631aa9a8d087b3966d47e7b06899 (patch) | |
tree | cb7b064cb0e329f8334d9bca1592af674d26ac4a /kdoctools/docbook/xsl/html/sections.xsl | |
parent | 73a98149e76c195571c8b9b3ecd6753f204ccd97 (diff) | |
download | tdelibs-9f96d6383157631aa9a8d087b3966d47e7b06899.tar.gz tdelibs-9f96d6383157631aa9a8d087b3966d47e7b06899.zip |
Repair accidental damage to meinproc/docbook caused by prior commit
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211188 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdoctools/docbook/xsl/html/sections.xsl')
-rw-r--r-- | kdoctools/docbook/xsl/html/sections.xsl | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/kdoctools/docbook/xsl/html/sections.xsl b/kdoctools/docbook/xsl/html/sections.xsl index a787d5019..5ad567954 100644 --- a/kdoctools/docbook/xsl/html/sections.xsl +++ b/kdoctools/docbook/xsl/html/sections.xsl @@ -22,15 +22,15 @@ <xsl:call-template name="section.titlepage"/> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $depth <= $generate.section.toc.level"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -111,15 +111,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 1"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -155,15 +155,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 2"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -199,15 +199,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 3"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -243,15 +243,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 4"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -287,15 +287,15 @@ </xsl:choose> <xsl:variable name="toc.params"> - <xsl:call-template name="tqfind.path.params"> + <xsl:call-template name="find.path.params"> <xsl:with-param name="table" select="normalize-space($generate.toc)"/> </xsl:call-template> </xsl:variable> - <xsl:if test="tqcontains($toc.params, 'toc') + <xsl:if test="contains($toc.params, 'toc') and $generate.section.toc.level >= 5"> <xsl:call-template name="section.toc"> - <xsl:with-param name="toc.title.p" select="tqcontains($toc.params, 'title')"/> + <xsl:with-param name="toc.title.p" select="contains($toc.params, 'title')"/> </xsl:call-template> <xsl:call-template name="section.toc.separator"/> </xsl:if> @@ -366,7 +366,7 @@ <xsl:variable name="id"> <xsl:choose> <!-- if title is in an *info wrapper, get the grandparent --> - <xsl:when test="tqcontains(local-name(..), 'info')"> + <xsl:when test="contains(local-name(..), 'info')"> <xsl:call-template name="object.id"> <xsl:with-param name="object" select="../.."/> </xsl:call-template> |