From 72d51769d0fa6c25ac69ff42aca97f67d85a1805 Mon Sep 17 00:00:00 2001 From: g0dil <g0dil@wiback.org> Date: Wed, 11 Jul 2007 09:53:30 +0000 Subject: [PATCH] Update doclib/html-munge.xsl to remove external modules from the modules page --- doclib/html-munge.xsl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/doclib/html-munge.xsl b/doclib/html-munge.xsl index d025ef67..d36e315a 100644 --- a/doclib/html-munge.xsl +++ b/doclib/html-munge.xsl @@ -15,7 +15,7 @@ <xsl:apply-templates/> </xsl:copy> </xsl:template> - + <xsl:template name="copy-attributes"> <xsl:for-each select="@*"> <xsl:attribute name="{name(current())}"> @@ -32,7 +32,8 @@ </xsl:attribute> </xsl:for-each> </xsl:template> - + + <!-- Remove the automatically inserted search form (we build our own) --> <xsl:template match="li[form]"> </xsl:template> @@ -107,5 +108,9 @@ <xsl:with-param name="class">anchor</xsl:with-param> </xsl:call-template> </xsl:template> + + <!-- Remove [external] references from the modules page --> + <xsl:template match="div[@id='content2']/ul/li[a/@class='elRef'][a/@doxygen][code/text()='[external]'][not(ul)]"> + </xsl:template> </xsl:stylesheet> -- GitLab