diff options
author | neysx <neysx> | 2009-07-01 16:33:53 +0000 |
---|---|---|
committer | neysx <neysx> | 2009-07-01 16:33:53 +0000 |
commit | 1406ce25808a6b48b09bb9ed2a16da4a17c4fe2f (patch) | |
tree | 1cb132e784cf2d04fbffdc2a283f320aa4521649 | |
parent | Do not display header on <pre> tags on archives.g.o (diff) | |
download | www-redesign-1406ce25808a6b48b09bb9ed2a16da4a17c4fe2f.tar.gz www-redesign-1406ce25808a6b48b09bb9ed2a16da4a17c4fe2f.tar.bz2 www-redesign-1406ce25808a6b48b09bb9ed2a16da4a17c4fe2f.zip |
Special for Gentoo's anniversary
-rw-r--r-- | xml/htdocs/dtd/guide.dtd | 2 | ||||
-rw-r--r-- | xml/htdocs/xsl/guide.xsl | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/xml/htdocs/dtd/guide.dtd b/xml/htdocs/dtd/guide.dtd index 41066acf..118b0c20 100644 --- a/xml/htdocs/dtd/guide.dtd +++ b/xml/htdocs/dtd/guide.dtd @@ -20,7 +20,7 @@ <!ELEMENT news (poster, date, title, summary?, body)> <!ATTLIST news gentoo (yes|no) "no" - category (gentoo|main|linux|moo|plans) #REQUIRED> + category (gentoo|main|linux|moo|plans|birthday) #REQUIRED> <!ELEMENT subtitle (#PCDATA)> diff --git a/xml/htdocs/xsl/guide.xsl b/xml/htdocs/xsl/guide.xsl index 0f16f9f0..0976b5ec 100644 --- a/xml/htdocs/xsl/guide.xsl +++ b/xml/htdocs/xsl/guide.xsl @@ -1911,6 +1911,9 @@ Copyright 2001-<xsl:value-of select="substring(func:today(),1,4)"/> Gentoo Found </p> <xsl:choose> + <xsl:when test="$thenews/@category='birthday'"> + <img class="newsicon" src="/images/birthday_cake.png" alt="Happy Birthday"/> + </xsl:when> <xsl:when test="$thenews/@category='gentoo'"> <img class="newsicon" src="/images/icon-gentoo.png" alt="gentoo"/> </xsl:when> |