diff options
author | robbat2 <robbat2> | 2009-06-17 01:29:38 +0000 |
---|---|---|
committer | robbat2 <robbat2> | 2009-06-17 01:29:38 +0000 |
commit | 7b3a25cfcceb688d023b256aba9b375f98577b29 (patch) | |
tree | 28f5c5a5d7111079beca327a85dee882da9fbeb0 | |
parent | Enable link to new stores page. (diff) | |
download | www-redesign-7b3a25cfcceb688d023b256aba9b375f98577b29.tar.gz www-redesign-7b3a25cfcceb688d023b256aba9b375f98577b29.tar.bz2 www-redesign-7b3a25cfcceb688d023b256aba9b375f98577b29.zip |
This was a tag attribute used for archives.g.o, to get a code listing block without the caption bar at all. It got dropped at some point, re-adding now to sync up archives XSL.
-rw-r--r-- | xml/htdocs/xsl/guide.xsl | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/xml/htdocs/xsl/guide.xsl b/xml/htdocs/xsl/guide.xsl index 0daddcd6..9d51b5ad 100644 --- a/xml/htdocs/xsl/guide.xsl +++ b/xml/htdocs/xsl/guide.xsl @@ -1160,16 +1160,18 @@ 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"> - <tr> - <td bgcolor="#7a5ada"> - <p class="codetitle"> - <xsl:value-of select="func:gettext('CodeListing')"/> <xsl:if test="$chid"><xsl:value-of select="$chid"/>.</xsl:if><xsl:value-of select="$prenum"/> - <xsl:if test="@caption"> - <xsl:value-of select="func:gettext('SpaceBeforeColon')"/>: <xsl:value-of select="@caption"/> - </xsl:if> - </p> - </td> - </tr> + <xsl:if test="@plain!='true'"> + <tr> + <td bgcolor="#7a5ada"> + <p class="codetitle"> + <xsl:value-of select="func:gettext('CodeListing')"/> <xsl:if test="$chid"><xsl:value-of select="$chid"/>.</xsl:if><xsl:value-of select="$prenum"/> + <xsl:if test="@caption"> + <xsl:value-of select="func:gettext('SpaceBeforeColon')"/>: <xsl:value-of select="@caption"/> + </xsl:if> + </p> + </td> + </tr> + </xsl:if> <tr> <td bgcolor="#eeeeff" align="left" dir="ltr"> <pre> |