summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorneysx <neysx>2009-06-26 16:31:39 +0000
committerneysx <neysx>2009-06-26 16:31:39 +0000
commit320af244653b35a4a31637851ffe477df898668e (patch)
treee67202fe38473bc677060e449e2f55106bda36f6
parentreverting robbat2's commit to 'fix' archives.gentoo.org, as it completely hos... (diff)
downloadwww-redesign-320af244653b35a4a31637851ffe477df898668e.tar.gz
www-redesign-320af244653b35a4a31637851ffe477df898668e.tar.bz2
www-redesign-320af244653b35a4a31637851ffe477df898668e.zip
Do not display header on <pre> tags on archives.g.o
-rw-r--r--xml/htdocs/xsl/guide.xsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/xml/htdocs/xsl/guide.xsl b/xml/htdocs/xsl/guide.xsl
index 55147b14..0f16f9f0 100644
--- a/xml/htdocs/xsl/guide.xsl
+++ b/xml/htdocs/xsl/guide.xsl
@@ -1160,6 +1160,7 @@ Copyright 2001-<xsl:value-of select="substring(func:today(),1,4)"/> Gentoo Found
<a name="{$preid}"/>
<table class="ntable" width="100%" cellspacing="0" cellpadding="0" border="0">
+ <xsl:if test="not($httphost='archives')">
<tr>
<td bgcolor="#7a5ada">
<p class="codetitle">
@@ -1170,6 +1171,7 @@ Copyright 2001-<xsl:value-of select="substring(func:today(),1,4)"/> Gentoo Found
</p>
</td>
</tr>
+ </xsl:if>
<tr>
<td bgcolor="#eeeeff" align="left" dir="ltr">
<pre>