Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.2KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  3. <xsl:import href="translations.xsl" />
  4. <xsl:output method="xml" encoding="UTF-8" indent="yes" />
  5. <xsl:template name="campaigns">
  6. <div id="campaigns-boxes" class="cycle-slideshow" data-cycle-pause-on-hover="true" data-cycle-speed="500" data-cycle-timeout="9000" data-cycle-slides="a" data-cycle-fx="scrollHorz" data-cycle-swipe="true">
  7. <div class="cycle-pager"/>
  8. <!--xsl:for-each select=" /buildinfo/textset/campaigns/campaign "-->
  9. <xsl:for-each select="/buildinfo/textset/campaigns/campaign[@tag='' or @tag='donors' or @id='dfd']">
  10. <!--TODO select only campaigns asked from index.xsl-->
  11. <a href="{link}" class="campaign-box" id="{@id}">
  12. <img src="{photo}" alt="" />
  13. <p class="text">
  14. <xsl:value-of select=" text " />
  15. </p>
  16. <span class="author">
  17. <xsl:value-of select=" author " />
  18. </span>
  19. </a>
  20. </xsl-for-each>
  21. </div>
  22. </xsl:template>
  23. </xsl:stylesheet>