Moved fundraising box to the top of each page.

svn path=/trunk/; revision=13503
This commit is contained in:
2009-11-16 17:24:47 +00:00
parent ae12fc6632
commit 6db8749637
20 changed files with 166 additions and 100 deletions

View File

@@ -201,6 +201,41 @@
</xsl:element>
<!-- End Language bar -->
<!-- Fundraising box -->
<xsl:if test="/buildinfo/fundraising">
<xsl:element name="div">
<xsl:attribute name="id">fundraising</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="class">box</xsl:attribute>
<xsl:element name="p">
<xsl:attribute name="class">call1</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/call1/node()"/>
</xsl:element>
<xsl:element name="p">
<xsl:attribute name="class">call2</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/call2/node()"/>
</xsl:element>
<!-- xsl:element name="div">
<xsl:attribute name="class">percentbox</xsl:attribute>
<xsl:element name="div">
<xsl:attribute name="class">percentbar</xsl:attribute>
<xsl:attribute name="style">width: 0.17%</xsl:attribute>
</xsl:element>
</xsl:element>
<xsl:element name="p">
<xsl:attribute name="class">current</xsl:attribute>
<xsl:apply-templates select="/buildinfo/fundraising/current/node()"/>
<xsl:text>€ 120</xsl:text>
</xsl:element>
<xsl:element name="p">
<xsl:attribute name="class">target</xsl:attribute>
<xsl:text>€ 70,000</xsl:text>
</xsl:element -->
</xsl:element>
</xsl:element>
</xsl:if>
<!-- End Fundraising box -->
<!-- Content -->
<xsl:element name="div">
<xsl:attribute name="id">content</xsl:attribute>
@@ -378,6 +413,7 @@
buildinfo/textsetbackup|
buildinfo/menuset|
buildinfo/trlist|
buildinfo/fundraising|
buildinfo/localmenuset"/>
<!-- For all other nodes, copy verbatim -->