Browse Source

- rollback since the build script takes far too much time

svn path=/trunk/; revision=25135
pull/8/head
nicoulas 8 years ago
parent
commit
b3d035b5f8
167 changed files with 3592 additions and 2039 deletions
  1. +12
    -3
      about/legal/de/de.xsl
  2. +12
    -3
      about/members.xsl
  3. +4
    -0
      about/printable/get_h1.xsl
  4. +4
    -0
      about/printable/get_moreinfo.xsl
  5. +14
    -5
      about/printable/printable.xsl
  6. +11
    -2
      about/team.xsl
  7. +13
    -3
      activities/ftf/avm-gpl-violation.xsl
  8. +12
    -3
      activities/map/de/de.xsl
  9. +15
    -4
      activities/os/os.xsl
  10. +12
    -3
      activities/wipo/wipo.xsl
  11. +12
    -9
      activities/wipo/wiwo.de.xhtml
  12. +11
    -9
      activities/wipo/wiwo.el.xhtml
  13. +12
    -9
      activities/wipo/wiwo.en.xhtml
  14. +12
    -10
      activities/wipo/wiwo.es.xhtml
  15. +12
    -10
      activities/wipo/wiwo.fr.xhtml
  16. +7
    -5
      activities/wipo/wiwo.hu.xhtml
  17. +11
    -9
      activities/wipo/wiwo.it.xhtml
  18. +14
    -9
      activities/wipo/wiwo.nl.xhtml
  19. +10
    -9
      activities/wipo/wiwo.pt.xhtml
  20. +7
    -4
      activities/wipo/wiwo.ru.xhtml
  21. +31
    -15
      activities/wipo/wiwo.xsl
  22. +0
    -2
      associates/associates.ca.xhtml
  23. +0
    -3
      associates/associates.da.xhtml
  24. +0
    -2
      associates/associates.de.xhtml
  25. +0
    -2
      associates/associates.el.xhtml
  26. +0
    -3
      associates/associates.en.xhtml
  27. +0
    -2
      associates/associates.es.xhtml
  28. +0
    -2
      associates/associates.fi.xhtml
  29. +0
    -2
      associates/associates.fr.xhtml
  30. +0
    -2
      associates/associates.hu.xhtml
  31. +0
    -2
      associates/associates.it.xhtml
  32. +0
    -2
      associates/associates.nb.xhtml
  33. +0
    -2
      associates/associates.nl.xhtml
  34. +0
    -2
      associates/associates.pt.xhtml
  35. +0
    -2
      associates/associates.ro.xhtml
  36. +0
    -2
      associates/associates.ru.xhtml
  37. +0
    -3
      associates/associates.sq.xhtml
  38. +0
    -2
      associates/associates.sv.xhtml
  39. +0
    -2
      associates/associates.tr.xhtml
  40. +22
    -14
      associates/associates.xsl
  41. +12
    -3
      at/at.xsl
  42. +15
    -4
      campaigns/askyourcandidates/askyourcandidates.xsl
  43. +12
    -3
      campaigns/finished.xsl
  44. +15
    -4
      campaigns/ilovefs/2012/ilovefs.xsl
  45. +15
    -4
      campaigns/ilovefs/2012/unperfekthaus.xsl
  46. +12
    -3
      campaigns/inactive.xsl
  47. +15
    -4
      campaigns/nledu/nledu.xsl
  48. +38
    -29
      campaigns/pdfreaders/buglist.xsl
  49. +1
    -1
      campaigns/pdfreaders/follow-up.de.xhtml
  50. +25
    -16
      campaigns/pdfreaders/pdfreaders.xsl
  51. +34
    -16
      campaigns/pdfreaders/petition.xsl
  52. +12
    -3
      campaigns/projects.xsl
  53. +12
    -3
      campaigns/swpat/documents.xsl
  54. +8
    -7
      campaigns/swpat/memorandum.de.xhtml
  55. +9
    -8
      campaigns/swpat/memorandum.el.xhtml
  56. +8
    -7
      campaigns/swpat/memorandum.en.xhtml
  57. +7
    -6
      campaigns/swpat/memorandum.it.xhtml
  58. +28
    -11
      campaigns/swpat/memorandum.xsl
  59. +11
    -2
      campaigns/valentine/2011/valentine-2011.xsl
  60. +1
    -1
      contact/local.en.xml
  61. +45
    -36
      contact/local.xsl
  62. +12
    -3
      de/de.xsl
  63. +12
    -3
      documents/documents.xsl
  64. +14
    -3
      documents/whyfs.xsl
  65. +13
    -4
      donate/thankgnus-2001.xsl
  66. +13
    -4
      donate/thankgnus-2002.xsl
  67. +13
    -4
      donate/thankgnus-2003.xsl
  68. +13
    -4
      donate/thankgnus-2004.xsl
  69. +13
    -4
      donate/thankgnus-2005.xsl
  70. +13
    -4
      donate/thankgnus-2006.xsl
  71. +13
    -4
      donate/thankgnus-2007.xsl
  72. +13
    -4
      donate/thankgnus-2008.xsl
  73. +13
    -4
      donate/thankgnus-2009.xsl
  74. +13
    -4
      donate/thankgnus-2010.xsl
  75. +13
    -4
      donate/thankgnus-2011.xsl
  76. +13
    -4
      donate/thankgnus-2012.xsl
  77. +14
    -5
      donate/thankgnus.xsl
  78. +3
    -3
      events/events.ics.xsl
  79. +2
    -2
      events/events.rss.xsl
  80. +30
    -19
      events/events.xsl
  81. +892
    -0
      fellowship/fellowship.xsl
  82. +28
    -3
      fellowship/index.xsl
  83. +12
    -3
      fi/fi.xsl
  84. +5
    -4
      fr/fr.fr.xhtml
  85. +12
    -3
      fr/fr.xsl
  86. +211
    -231
      fsfe.xsl
  87. +3
    -3
      index.en.xhtml
  88. +28
    -4
      index.xsl
  89. +12
    -3
      it/it.xsl
  90. +18
    -2
      news/legal-news.xsl
  91. +12
    -2
      news/news.rss.xsl
  92. +19
    -7
      news/news.xsl
  93. +37
    -22
      news/newsletter.xsl
  94. +14
    -5
      order/order.xsl
  95. +13
    -4
      press/press.xsl
  96. +12
    -2
      tags/tagged.xsl
  97. +12
    -2
      tags/tags.xsl
  98. +237
    -239
      tools/build.pl
  99. +0
    -6
      tools/texts-ar.xml
  100. +0
    -5
      tools/texts-bg.xml

+ 12
- 3
about/legal/de/de.xsl View File

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/buildinfo/document/set/person[@chapter_de='yes']">
<xsl:for-each select="/html/set/person[@chapter_de='yes']">
<xsl:sort select="@id"/>
<xsl:element name="li">
<xsl:value-of select="name"/>
@ -16,4 +15,14 @@
</xsl:element>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
about/members.xsl View File

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/buildinfo/document/set/person[@association-member='yes']">
<xsl:for-each select="/html/set/person[@association-member='yes']">
<xsl:sort select="@id"/>
<xsl:element name="li">
<xsl:element name="p">
@ -44,4 +43,14 @@
</xsl:element>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 4
- 0
about/printable/get_h1.xsl View File

@ -9,4 +9,8 @@
<xsl:if test="../@id='fsfe'"> - </xsl:if>
<xsl:if test="../@id='free_software'"> - </xsl:if>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>
</xsl:stylesheet>

+ 4
- 0
about/printable/get_moreinfo.xsl View File

@ -6,4 +6,8 @@
<xsl:template match="a[@id='moreinfo']">
<xsl:value-of select="@href"/>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:apply-templates select="@*|node()"/>
</xsl:template>
</xsl:stylesheet>

+ 14
- 5
about/printable/printable.xsl View File

@ -1,8 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
@ -13,7 +12,7 @@
<xsl:variable name="text-pdf-0"><xsl:value-of select="text[@id='pdf-0']"/></xsl:variable>
<xsl:variable name="text-moreinfo"><xsl:value-of select="text[@id='moreinfo']"/></xsl:variable>
<xsl:for-each select="/buildinfo/document/set/printable[@type=$type]">
<xsl:for-each select="/html/set/printable[@type=$type]">
<xsl:sort select="@id"/>
<xsl:variable name="id"><xsl:value-of select="@id"/></xsl:variable>
@ -21,8 +20,8 @@
<xsl:element name="h3">
<xsl:attribute name="id"><xsl:value-of select="$id"/></xsl:attribute>
<xsl:choose>
<xsl:when test="translation[@lang=/buildinfo/@language]!=''">
<xsl:value-of select="translation[@lang=/buildinfo/@language]"/>
<xsl:when test="translation[@lang=/html/@lang]!=''">
<xsl:value-of select="translation[@lang=/html/@lang]"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="translation[@lang='en']"/>
@ -128,5 +127,15 @@
</xsl:element>
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set" />
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 11
- 2
about/team.xsl View File

@ -3,8 +3,7 @@
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../tools/xsltsl/countries.xsl" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes"/>
<!--
For documentation on tagging (e.g. display a people list), take a
@ -18,5 +17,15 @@
<xsl:with-param name="team" select="'main'" />
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 13
- 3
activities/ftf/avm-gpl-violation.xsl View File

@ -4,11 +4,10 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<!-- In /html/body node, append dynamic content -->
<xsl:template match="tagged-docs">
<xsl:template match="/html/body/tagged-docs">
<xsl:call-template name="fetch-news">
<xsl:with-param name="tag" select="'avmgplviolation'" />
@ -18,4 +17,15 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
activities/map/de/de.xsl View File

@ -1,17 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:variable name="type"><xsl:value-of select="@type"/></xsl:variable>
<xsl:for-each select="/buildinfo/document/set/item[@type=$type]">
<xsl:for-each select="/html/set/item[@type=$type]">
<xsl:element name="li">
<xsl:apply-templates select="node()"/>
</xsl:element>
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 15
- 4
activities/os/os.xsl View File

@ -4,8 +4,7 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="fetch-news">
@ -15,16 +14,28 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:template match="/html/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:value-of select="/html/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
activities/wipo/wipo.xsl View File

@ -1,13 +1,12 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="ISO-8859-1" indent="yes" />
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:element name="ul">
<xsl:for-each select="/buildinfo/document/set/document">
<xsl:for-each select="/html/set/document">
<xsl:sort select="@date" order="descending" />
<xsl:element name="li">
<xsl:element name="p">
@ -39,4 +38,14 @@
</xsl:element>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set" />
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 9
activities/wipo/wiwo.de.xhtml View File

@ -76,16 +76,19 @@
<h3>Unterzeichner</h3>
<signatories/>
<p>
Wenn sie ihren Namen oder den ihrer Organisation auch in dieser Liste
sehen wollen, kontaktieren Sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organisationen</text>
<text id="isig">Personen</text>
<text>
<footer>
<p>
Wenn sie ihren Namen oder den ihrer Organisation auch in dieser Liste
sehen wollen, kontaktieren Sie bitte
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>


+ 11
- 9
activities/wipo/wiwo.el.xhtml View File

@ -62,16 +62,18 @@ WIPO, αλλά τι είδους οργανισμό χρειαζόμαστε γ
<h2>Συμβαλλόμενα μέρη</h2>
<signatories/>
<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού σας να προστίθεται
σε αυτόν τον κατάλογο, παρακαλούμε επικοινωνήστε στο
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Οργανισμοί</text>
<text id="isig">Άτομα</text>
<text>
<footer>
<p>
Αν επιθυμείτε να δείτε το όνομά σας ή το όνομα του οργανισμού σας να προστίθεται
σε αυτόν τον κατάλογο, παρακαλούμε επικοινωνήστε στο
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>


+ 12
- 9
activities/wipo/wiwo.en.xhtml View File

@ -75,16 +75,19 @@
<h2>Signatories</h2>
<signatories/>
<p>
If you wish to see your name or the name of your organisation
added to this list, please contact <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organisations</text>
<text id="isig">Individuals</text>
<text>
<footer>
<p>
If you wish to see your name or the name of your organisation
added to this list, please contact <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--


+ 12
- 10
activities/wipo/wiwo.es.xhtml View File

@ -58,17 +58,19 @@ establecimiento de una agenda de desarrollo para la OMPI:
<a href="http://www.wipo.int/documents/es/document/govbody/wo_gb_ga/pdf/wo_ga_31_11.pdf">http://www.wipo.int/documents/es/document/govbody/wo_gb_ga/pdf/wo_ga_31_11.pdf</a></li>
</ol>
<h2>Firmantes</h2>
<signatories/>
<p>
Si desea que su nombre o el de su organización aparezca en
esta lista, por favor contacte con
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
<h2>Firmantes</h2>
</body>
<text id="osig">Organizaciones</text>
<text id="isig">Individuos</text>
<text>
<footer>
<p>
Si desea que su nombre o el de su organización aparezca en
esta lista, por favor contacte con
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>


+ 12
- 10
activities/wipo/wiwo.fr.xhtml View File

@ -60,16 +60,18 @@ avoir, mais plut
</li>
</ol>
<h2>Signataires</h2>
<signatories/>
<p>
Si vous désirez ajouter votre nom ou celui de votre organisation à la liste des signataires, veuillez contacter <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<h2>Signataires</h2>
</body>
<text id="osig">Organisations</text>
<text id="isig">Individus</text>
<text>
<footer>
<p>
Si vous désirez ajouter votre nom ou celui de votre organisation à la liste des signataires, veuillez contacter <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>


+ 7
- 5
activities/wipo/wiwo.hu.xhtml View File

@ -30,12 +30,14 @@ href="http://www.cptech.org/ip/wipo/genevadeclaration.html">Genfi Deklaráció</
<h2>Aláírók</h2>
<signatories/>
<p>Ha Ön is szerepeltetni szeretné saját vagy szervezete nevét e listán, kérjük jelezze a <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a> e-mail címen.</p>
</body>
<text id="osig">Szervezetek</text>
<text id="isig">Egyének</text>
<text>
<footer>
<p>Ha Ön is szerepeltetni szeretné saját vagy szervezete nevét e listán, kérjük jelezze a <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a> e-mail címen.</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
<translator>FSF.hu Alapítvány</translator>


+ 11
- 9
activities/wipo/wiwo.it.xhtml View File

@ -60,16 +60,18 @@ piuttosto al tipo di organizzazione di cui abbiamo bisogno al suo posto.</p>
<h2>Firmatari</h2>
<signatories/>
<p>
Per aggiungere il proprio nome, o quello della propria organizzazione,
a questa lista, si prega di contattare
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organizzazioni</text>
<text id="isig">Individui</text>
<text>
<footer>
<p>
Per aggiungere il proprio nome, o quello della propria organizzazione,
a questa lista, si prega di contattare
<a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>


+ 14
- 9
activities/wipo/wiwo.nl.xhtml View File

@ -77,17 +77,22 @@
</ol>
<h2>Ondertekenaars</h2>
<signatories/>
<p>
Als je uw naam of de naam van uw organisatie aan de lijst
wil toevoegen meld dit dan via <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organisaties</text>
<text id="isig">Personen</text>
<text>
<footer>
<p>
Als je uw naam of de naam van uw organisatie aan de lijst
wil toevoegen meld dit dan via <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--


+ 10
- 9
activities/wipo/wiwo.pt.xhtml View File

@ -57,16 +57,17 @@ nova organização, mas não o único e talvez nem mesmo o mais importante.</p>
</ol>
<h2>Assinantes</h2>
<signatories/>
<p>
Se deseja que o seu nome ou o nome da sua organização apareça
nesta lista, por favor entre em contacto com <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</body>
<text id="osig">Organizações</text>
<text id="isig">Indivíduos</text>
<text>
<footer>
<p>
Se deseja que o seu nome ou o nome da sua organização apareça
nesta lista, por favor entre em contacto com <a href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.
</p>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--


+ 7
- 4
activities/wipo/wiwo.ru.xhtml View File

@ -62,13 +62,16 @@ http://www.wipo.int/edocs/mdocs/govbody/en/wo_ga_31/wo_ga_31_11.pdf</a></li>
<h2>Присоединившиеся стороны</h2>
<signatories/>
</body>
<text id="osig">Организации</text>
<text id="isig">Частные лица</text>
<text>
<footer>
<p>Если вы хотите внести свое имя или название организации в этот
список, напишите по адресу <a
href="mailto:web@fsfeurope.org">web@fsfeurope.org</a>.</p>
</body>
</footer>
</text>
<timestamp>$Date$ $Author$</timestamp>
</html>
<!--


+ 31
- 15
activities/wipo/wiwo.xsl View File

@ -3,23 +3,39 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml"
encoding="ISO-8859-1"
indent="yes"
/>
<xsl:template match="signatories">
<h3 id="organisations">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'osig'" /></xsl:call-template>
</h3>
<ul>
<xsl:apply-templates select="/buildinfo/document/set/osig/node()" />
</ul>
<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="/html/body">
<body>
<xsl:apply-templates />
<h3><xsl:value-of select="/html/text[@id='osig']" /></h3>
<ul>
<xsl:apply-templates select="/html/set/osig/node()" />
</ul>
<h3><xsl:value-of select="/html/text[@id='isig']" /></h3>
<ul>
<xsl:apply-templates select="/html/set/isig/node()" />
</ul>
<xsl:apply-templates select="/html/text/footer/node()" />
</body>
</xsl:template>
<h3 id="individuals">
<xsl:call-template name="fsfe-gettext"><xsl:with-param name="id" select="'isig'" /></xsl:call-template>
</h3>
<ul>
<xsl:apply-templates select="/buildinfo/document/set/isig/node()" />
</ul>
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
</xsl:stylesheet>

+ 0
- 2
associates/associates.ca.xhtml View File

@ -21,8 +21,6 @@ junts en campanyes i events com fires.</p>
<p>Si voleu saber més sobre l'estatus d'associat, trobareu
aquesta informació <a href="/associates/about.html">aquí</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 3
associates/associates.da.xhtml View File

@ -29,9 +29,6 @@
læse om <a href="/associates/about.html">hvad det betyder, at være
tilknyttet FSFE og hvordan man bliver det</a>.
</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.de.xhtml View File

@ -29,8 +29,6 @@
Organisation suchen, so lesen Sie was es bedeutet, <a href="/associates/about.html">assoziierte
Organisation zu sein und wie Ihre Organisation es werden kann</a>.
</p>
<associates/>
</body>


+ 0
- 2
associates/associates.el.xhtml View File

@ -21,8 +21,6 @@
<p>Αν ενδιαφέρεστε για την ιδιότητα του συνεργαζόμενου, παρακαλούμε διαβάστε
<a href="/associates/about.html">τι σημαίνει συνεργαζόμενος με το FSFE και πώς θα γίνετε</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 3
associates/associates.en.xhtml View File

@ -26,9 +26,6 @@
<p>
If you are interested in the associate status, please consider to read <a href="/associates/about.html">what it means to be an associate of FSFE and how to become one</a>.
</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.es.xhtml View File

@ -21,8 +21,6 @@ en todos los aspectos (tales como afiliación, estatutos, finanzas, etc.)</p>
<p>Si desea saber más sobre el estatus de asociado, lea nuestra <a href="/associates/about.html">explicación del significado del estatus de asociado y como puede volverselo</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.fi.xhtml View File

@ -21,8 +21,6 @@ messuilla.</p>
<p>Lisätietoja kumppanuudesta FSFE:n kanssa löydät
<a href="/associates/about.html">täältä</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.fr.xhtml View File

@ -22,8 +22,6 @@ salons.</p>
<p>Si vous êtes intéressé par le statut de partenaire, nous vous recommandons de considérer<a href="/associates/about.html">ce que cela signifie d'être partenaire de la FSFE et comment en devenir un</a>. </p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.hu.xhtml View File

@ -17,8 +17,6 @@
<p>Amennyiben többet szeretne tudni a társult szervezeti státusról, további információt találhat <a href="/associates/about.html">itt</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.it.xhtml View File

@ -23,8 +23,6 @@ esempio fiere e manifestazioni).</p>
leggere <a href="/associates/about.html">cosa significa essere associati a FSFE
e come diventarlo</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.nb.xhtml View File

@ -21,8 +21,6 @@ også om kampanjer og begivenheter, som for eksempel messer.</p>
<p>Ønsker du å vite mer, kan du lese mer om <a
href="/associates/about.html">tilknyttingsstatusen</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.nl.xhtml View File

@ -22,8 +22,6 @@ samenwerken voor campagnes en evenementen zoals handelsbeurzen.</p>
<p>Als u meer wilt weten over de status als partnerorganisatie, kunt u dat
<a href="/associates/about.html">hier</a> vinden.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.pt.xhtml View File

@ -26,8 +26,6 @@
<p>
Se quiser saber mais sobre o estatuto de associado, você pode ler nossa <a href="/associates/about.html">exploração do significado do estatuto de aasociado e o guia para tornar-se associado da FSFE</a>.
</p>
<associates/>
</body>
<timestamp>$Date: 2010-01-23 16:58:15 +0000 (Sat, 23 Jan 2010) $ $Author: ato $</timestamp>


+ 0
- 2
associates/associates.ro.xhtml View File

@ -29,8 +29,6 @@ implica în activitãţile FSFE.</p>
Dacã doriţi mai multe informaţii despre statutul asociaţilor, puteţi
afla mai multe informaţii <a href="/associates/about.html">aici</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.ru.xhtml View File

@ -24,8 +24,6 @@
прочтите, пожалуйста, о том, <a href="/associates/about.html">что значит
быть союзной организацией ЕФСПО и как стать такой организацией</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 3
associates/associates.sq.xhtml View File

@ -26,9 +26,6 @@
<p>
Nëse jeni të interesuar rreth statusit të anëtarit shok, ju lutemi, mund të lexoni <a href="/associates/about.html">se ç'do të thotë të jesh anëtar shok i FSFE-së dhe se si të bëheni një i tillë</a>.
</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.sv.xhtml View File

@ -26,8 +26,6 @@ FSFE aktiviteter att g
<p>Om du vill veta mer om de associerades status så hittar du den
informationen <a href="/associates/about.html">här</a>.</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 0
- 2
associates/associates.tr.xhtml View File

@ -27,8 +27,6 @@ Ortaklık statüsüyle ilgili daha fazla bilgi edinmek isterseniz,
<a href="/associates/about.html">burada</a> aradığınızı bulabilirsiniz.
</p>
<associates/>
</body>
<timestamp>$Date$ $Author$</timestamp>


+ 22
- 14
associates/associates.xsl View File

@ -3,21 +3,29 @@
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml"
encoding="ISO-8859-1"
indent="yes"
/>
<xsl:template match="associates">
<xsl:for-each select="/buildinfo/document/set/associate">
<xsl:sort select="@id" />
<h3>
<xsl:call-template name="generate-id-attribute">
<xsl:with-param name="title" select="name" />
</xsl:call-template>
<a href="{link}"><xsl:value-of select="name" /></a>
</h3>
<xsl:apply-templates select="description/node()" />
</xsl:for-each>
<xsl:template match="/">
<html>
<xsl:apply-templates select="html/head" />
<body>
<xsl:apply-templates select="html/body/node()" />
<xsl:for-each select="/html/set/associate">
<xsl:sort select="@id" />
<h3><a href="{link}"><xsl:value-of select="name" /></a></h3>
<xsl:apply-templates select="description/node()" />
</xsl:for-each>
</body>
</html>
</xsl:template>
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
at/at.xsl View File

@ -7,8 +7,7 @@
<xsl:import href="../tools/xsltsl/tagging.xsl" />
<xsl:import href="../tools/xsltsl/countries.xsl" />
<xsl:import href="../tools/xsltsl/translations.xsl" />
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<!-- To localise this page to a new country, copy this file and change the following:
@ -61,7 +60,7 @@
<!--define contact information-->
<xsl:template match="contact-details">
<xsl:for-each select="/buildinfo/document/set/contact">
<xsl:for-each select="/html/set/contact">
<xsl:if test="@id = 'DE'">
@ -146,5 +145,15 @@
</xsl:with-param>
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 15
- 4
campaigns/askyourcandidates/askyourcandidates.xsl View File

@ -4,8 +4,7 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="fetch-news">
@ -15,16 +14,28 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:template match="/html/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:value-of select="/html/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
campaigns/finished.xsl View File

@ -1,12 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/buildinfo/document/set/project [@status = 'finished']">
<xsl:for-each select="/html/set/project [@status = 'finished']">
<xsl:sort select="@date" order="descending"/>
<!-- Title -->
@ -27,4 +26,14 @@
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 15
- 4
campaigns/ilovefs/2012/ilovefs.xsl View File

@ -4,8 +4,7 @@
<xsl:import href="../../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="fetch-news">
@ -15,16 +14,28 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:template match="/html/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:value-of select="/html/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 15
- 4
campaigns/ilovefs/2012/unperfekthaus.xsl View File

@ -4,8 +4,7 @@
<xsl:import href="../../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="fetch-news">
@ -15,16 +14,28 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:template match="/html/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:value-of select="/html/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 12
- 3
campaigns/inactive.xsl View File

@ -1,12 +1,11 @@
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="utf-8" indent="yes"/>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/buildinfo/document/set/project [@status = 'inactive']">
<xsl:for-each select="/html/set/project [@status = 'inactive']">
<xsl:sort select="@date" order="descending"/>
<!-- Title -->
@ -27,4 +26,14 @@
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> or <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 15
- 4
campaigns/nledu/nledu.xsl View File

@ -4,8 +4,7 @@
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="fetch-news">
@ -15,16 +14,28 @@
</xsl:call-template>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="/html/set" />
<xsl:template match="/html/text" />
<!-- How to show a link -->
<xsl:template match="/buildinfo/document/set/news/link">
<xsl:template match="/html/set/news/link">
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="text()" />
</xsl:attribute>
<xsl:text>[</xsl:text>
<xsl:value-of select="/buildinfo/document/text[@id='more']" />
<xsl:value-of select="/html/text[@id='more']" />
<xsl:text>]</xsl:text>
</xsl:element>
</xsl:template>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 38
- 29
campaigns/pdfreaders/buglist.xsl View File

@ -1,12 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes"/>
<!-- Fill dynamic index -->
<xsl:template match="dynamic-index">
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:for-each select="/html/set/buglist">
<xsl:sort select="@country"/>
<xsl:variable name="country">
@ -19,7 +18,7 @@
<xsl:text>#</xsl:text>
<xsl:value-of select="$country"/>
</xsl:attribute>
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
<xsl:value-of select="/html/set/country[@id=$country]"/>
</xsl:element>
</xsl:element>
@ -30,11 +29,11 @@
<!-- fill in global figures -->
<xsl:variable name="solved">
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@closed != ''] )" />
<xsl:value-of select="count( /html/set/buglist/bug[@closed != ''] )" />
</xsl:variable>
<xsl:variable name="total">
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug )" />
<xsl:value-of select="count( /html/set/buglist/bug )" />
</xsl:variable>
<xsl:template match="solved">
@ -50,18 +49,18 @@
</xsl:template>
<!-- <xsl:key name="indivs-by-name" match="/buildinfo/document/set/buglist/bug/@name" use="normalize-space(.)" />
<xsl:key name="groups-by-name" match="/buildinfo/document/set/buglist/bug/@group" use="normalize-space(.)" /> -->
<!-- <xsl:key name="indivs-by-name" match="/html/set/buglist/bug/@name" use="normalize-space(.)" />
<xsl:key name="groups-by-name" match="/html/set/buglist/bug/@group" use="normalize-space(.)" /> -->
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<!-- <xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@closed != ''] ) " /><br/>
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug ) " /><br/>
<xsl:value-of select="floor( count(/buildinfo/document/set/buglist/bug[@closed != '']) div count( /buildinfo/document/set/buglist/bug ) * 100)" /><br/>
<!-- <xsl:value-of select="count( /html/set/buglist/bug[@closed != ''] ) " /><br/>
<xsl:value-of select="count( /html/set/buglist/bug ) " /><br/>
<xsl:value-of select="floor( count(/html/set/buglist/bug[@closed != '']) div count( /html/set/buglist/bug ) * 100)" /><br/>
-->
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:for-each select="/html/set/buglist">
<xsl:sort select="@country"/>
<xsl:variable name="country">
@ -73,24 +72,24 @@
<xsl:attribute name="id">
<xsl:value-of select="$country"/>
</xsl:attribute>
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
<xsl:variable name="nbsolved" select="count( /buildinfo/document/set/buglist[@country=$country]/bug[@closed != ''] )" />
<xsl:variable name="nbinst" select="count( /buildinfo/document/set/buglist[@country=$country]/bug )" />
<xsl:value-of select="/html/set/country[@id=$country]"/>
<xsl:variable name="nbsolved" select="count( /html/set/buglist[@country=$country]/bug[@closed != ''] )" />
<xsl:variable name="nbinst" select="count( /html/set/buglist[@country=$country]/bug )" />
(<xsl:value-of select="$nbsolved" />/<xsl:value-of select="$nbinst" /> = <xsl:value-of select="floor($nbsolved div $nbinst * 100)" />%)
</xsl:element>
<!-- Table header -->
<xsl:element name="table">
<xsl:element name="tr">
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-name']"/></xsl:element>
<!--<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-address']"/></xsl:element>-->
<!--<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-url']"/></xsl:element>-->
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closedby']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='comment']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-name']"/></xsl:element>
<!--<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-address']"/></xsl:element>-->
<!--<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-url']"/></xsl:element>-->
<xsl:element name="th"><xsl:value-of select="/html/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closedby']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='comment']"/></xsl:element>
</xsl:element>
<!-- Table rows -->
@ -104,7 +103,7 @@
<xsl:attribute name="href">
<xsl:value-of select="@institution-url"/>
</xsl:attribute>
<xsl:value-of select="@institution-name"/><!--<xsl:value-of select="/buildinfo/document/text[@id='link']"/>-->
<xsl:value-of select="@institution-name"/><!--<xsl:value-of select="/html/text[@id='link']"/>-->
</xsl:element>
</xsl:element>
<xsl:comment><xsl:element name="td"><xsl:value-of select="translate(@institution-address, '-', '–' )"/></xsl:element></xsl:comment>
@ -122,19 +121,19 @@
<!-- List of participants -->
<!--
<xsl:value-of select="count(/buildinfo/document/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ])" />
<xsl:value-of select="count(/html/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ])" />
<xsl:element name="ul">
<xsl:for-each select=" /buildinfo/document/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ] ">
<xsl:sort select="count( /buildinfo/document/set/buglist/bug/@name = . )" data-type="number" />
<xsl:for-each select=" /html/set/buglist/bug/@group[ generate-id() = generate-id(key('groups-by-name', normalize-space(.))) ] ">
<xsl:sort select="count( /html/set/buglist/bug/@name = . )" data-type="number" />
<xsl:variable name="name" select="." />
<xsl:if test="position() &lt;= 5">
<xsl:element name="li">
<xsl:value-of select="count( /buildinfo/document/set/buglist/bug[@group=$name] )" />
<xsl:value-of select="count( /html/set/buglist/bug[@group=$name] )" />
<xsl:text>-</xsl:text>
<xsl:value-of select="$name" />
</xsl:element>
@ -148,4 +147,14 @@
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 1
- 1
campaigns/pdfreaders/follow-up.de.xhtml View File

@ -142,7 +142,7 @@ Dafür benötigen wir Ihre Geduld und Entschlossenheit.
</p>
</body>
<timestamp>$Date: 2010-09-07 16:38:57 +0200 (Tue, 07 Sep 2010) $ $Author: maelle $</timestamp>
<timestamp>$Date$ $Author$</timestamp>
<translator>Martin Gollowitzer</translator>
</html>

+ 25
- 16
campaigns/pdfreaders/pdfreaders.xsl View File

@ -1,24 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
<xsl:template match="number-of-businesses">
<xsl:value-of select="count(/buildinfo/document/set/bsig/li)" />
<xsl:value-of select="count(/html/set/bsig/li)" />
</xsl:template>
<xsl:template match="number-of-orgs">
<xsl:value-of select="count(/buildinfo/document/set/osig/li)" />
<xsl:value-of select="count(/html/set/osig/li)" />
</xsl:template>
<xsl:template match="number-of-individuals">
<xsl:value-of select="count(/buildinfo/document/set/isig/li)" />
<xsl:value-of select="count(/html/set/isig/li)" />
</xsl:template>
<!-- Fill dynamic content -->
<xsl:template match="dynamic-content">
<xsl:for-each select="/buildinfo/document/set/buglist">
<xsl:for-each select="/html/set/buglist">
<xsl:sort select="@country"/>
<xsl:variable name="country">
@ -27,20 +26,20 @@
<!-- Heading -->
<xsl:element name="h3">
<xsl:value-of select="/buildinfo/document/set/country[@id=$country]"/>
<xsl:value-of select="/html/set/country[@id=$country]"/>
</xsl:element>
<!-- Table header -->
<xsl:element name="table">
<xsl:element name="tr">
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-address']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='institution-url']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/buildinfo/document/text[@id='comment']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-address']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='institution-url']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='opened']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='closed']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='name']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='group']"/></xsl:element>
<xsl:element name="th"><xsl:value-of select="/html/text[@id='comment']"/></xsl:element>
</xsl:element>
<!-- Table rows -->
@ -53,7 +52,7 @@
<xsl:attribute name="href">
<xsl:value-of select="@institution-url"/>
</xsl:attribute>
<xsl:value-of select="/buildinfo/document/text[@id='link']"/>
<xsl:value-of select="/html/text[@id='link']"/>
</xsl:element>
</xsl:element>
<xsl:element name="td"><xsl:value-of select="@opened"/></xsl:element>
@ -68,4 +67,14 @@
</xsl:for-each>
</xsl:template>
<!-- Do not copy <set> and <text> to output at all -->
<xsl:template match="set | tags"/>
<!-- For all other nodes, copy verbatim -->
<xsl:template match="@*|node()" priority="-1">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>

+ 34
- 16
campaigns/pdfreaders/petition.xsl View File

@ -5,46 +5,64 @@
<xsl:import href="../../tools/xsltsl/countries.xsl" />
<xsl:import href="../../fsfe.xsl" />
<xsl:output method="html" encoding="utf-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:output method="xml"
encoding="UTF-8"
indent="yes"
/>
<xsl:template match="body">
<xsl:template match="/">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
<xsl:template match="/html/body">