Sfoglia il codice sorgente

svn path=/trunk/; revision=19879

tags/stw2018
nicoulas 8 anni fa
parent
commit
b51af9c169
6 ha cambiato i file con 52 aggiunte e 319 eliminazioni
  1. 2
    2
      about/printable/Makefile
  2. 44
    0
      links/links-201102.en.xml
  3. 6
    0
      projects/eu/eu.en.xhtml
  4. 0
    137
      uk/uk.en.xhtml
  5. 0
    21
      uk/uk.sources
  6. 0
    159
      uk/uk.xsl

+ 2
- 2
about/printable/Makefile Vedi File

@@ -7,9 +7,9 @@ pdfs_0 := $(leafletsources:.xhtml=.0.pdf)

# FIXME: How can we cause the rebuild to be run also when a file is deleted?

.PHONY: all
#.PHONY: all

all: printable.en.xml $(pdfs_F) $(pdfs_G) $(pdfs_0)
#all: printable.en.xml $(pdfs_F) $(pdfs_G) $(pdfs_0)

printable.en.xml: $(leafletsources) mk-printable-en-xml.sh get_h1.xsl get_moreinfo.xsl
/bin/bash mk-printable-en-xml.sh $(leafletsources)

+ 44
- 0
links/links-201102.en.xml Vedi File

@@ -0,0 +1,44 @@
<?xml version="1.0"?>

<!-- Do not translate this file -->

<linkset>

<link>
<title>€189m European Commission sofware deal "contradicts" EU guidelines</title>
<href>http://www.computerweekly.com/Articles/2010/12/09/244378/189m-European-Commission-sofware-deal-quotcontradictsquot-EU.htm</href>
<lang>en</lang>
<description>The European Commission's (EC) largest ever software contract
is in "direct contradiction" of EU guidelines, according to campaign
group Free Software Foundation Europe (FSFE).</description>
<tags>
<tag>ec</tag>
<tag>eu</tag>
<tag>microsoft</tag>
</tags>
</link>
<link>
<title>European Commission signs largest ever software deal</title>
<href>http://www.computerweekly.com/Articles/2010/12/03/244307/European-Commission-signs-largest-ever-software-deal.htm</href>
<lang>en</lang>
<description></description>
<tags>
<tag>ec</tag>
<tag>procurement</tag>
</tags>
</link>
</linkset>

+ 6
- 0
projects/eu/eu.en.xhtml Vedi File

@@ -19,6 +19,12 @@
</p>
</div>
<h2>Links</h2>
<alllinks/>
<h2>EU Browser case</h2>
<p>
Free Software Foundation Europe supported the European Commission's

+ 0
- 137
uk/uk.en.xhtml Vedi File

@@ -1,137 +0,0 @@
<?xml version="1.0" encoding="iso-8859-1" ?>

<html>
<head>
<title>British Team</title>
</head>

<body>
<!-- <p id="category"><a href="/about/people/people.html">People</a></p> -->
<h1>United Kingdom</h1>
<!--Change the content of these campaign boxes to suit your country,
or disable them completely.
<div id="campaigns-boxes">
<div id="campaign-box-1">
<a href="/campaigns/pdfreaders/">
<h3>Help us End Government Advertising of Non-Free PDF Readers</h3>
</a>
</div>

<div id="campaign-box-2">
<a href="donate/donate.html" class="donate-box">
<p>Donate</p>
</a>
<a href="http://fellowship.fsfe.org/join" class="fellowship-box">
<p>Join</p>
</a>
</div>
<div id="campaign-box-3">
</div>
</div>
-->
<div id="news" class="section">
<h2>
<a class="rss-feed" href="/news.rss"><img src="/graphics/rss.png" alt="News RSS" title="news RSS feed" /></a>
<a class="ical" href="http://identi.ca/fsfe"><img src="/graphics/identica.png" alt="identica" title="follow FSFE on identi.ca"/></a>
<a href="/news/news.html"><news-label /></a>
</h2>
<!-- this element fetches all news items which have the relevant country tag -->
<country-news />
</div><!--end #news-->
<div id="events" class="section">
<h2>
<a class="rss-feed" href="/events.rss"><img src="/graphics/rss.png" alt="Events RSS" title="events RSS feed" /></a>
<a class="ical" href="webcal://fsfe.org/events/events.ics"><img src="/graphics/ical.png" alt="iCal" title="FSFE events as iCal feed" /></a>
<a href="/events/events.html"><events-label /></a>
</h2>
<!-- this element fetches all event items which have the relevant country tag -->
<country-events />
</div><!--end #events-->
<div class="clear">
<!-- enable or disable this div to show or hide an identica feed. change 'user'
parameter to filter the 'dents' that will be shown -->
<div id="identica" class="section">
<h2>
<a class="ical" href="http://identi.ca/fsfe"><img src="/graphics/identica.png" alt="identica" title="follow FSFE on identi.ca"/></a>
<span><microblog-label /></span>
</h2>
<div class="entry">
<script type="text/javascript" src="http://identi.ca/js/identica-badge.js">
{
"user":"fsfe",
"server":"identi.ca",
"border":"0px",
"background":"none",
"width":"360px",
"height":"200px"
}
</script>
</div>
</div><!--end #identica-->
<div id="contact" class="section">
<h2><span><contact-label /></span></h2>
<div class="entry">
<!-- this element fetches contact details from /contact/local.en.xml - edit
this file to change the contact details that will be listed -->
<contact-details />
</div>
</div><!--end #contact-->
</div><!-- end .clear -->
<div id="team" class="section grid-100">
<h2><span>British Team</span></h2>
<!-- this element fetches all team members which are listed as being a member
of this country's team. Edit /abount/people/people.en.xml to change which
members will be listed here -->
<country-team-list />
<!--<div class="image center">
<img src="/graphics/image.png" alt="team members" />
<p>
(type caption here)
</p>
</div>-->
</div><!--end #team-->
</body>

<timestamp>$Date: 2010-03-19 16:00:25 +0100 (ven. 19 mars 2010) $ $Author: hugo $</timestamp>
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->

+ 0
- 21
uk/uk.sources Vedi File

@@ -1,21 +0,0 @@
about/germany/germany:global
about/people/people:global
about/people/functions:global
about/people/function-:global
about/people/countries:global
about/people/volunteers:global
contact/local:global
news/*/news:global
news/generated_xml/:global
news/nl/nl:global
de/news/*/news:de
es/news/*/news:es
fr/news/*/news:fr
it/news/*/news:it
se/news/*/news:se
events/*/event:global
de/events/*/event:de
es/events/*/event:es
fr/events/*/event:fr
it/events/*/event:it
se/events/*/event:se

+ 0
- 159
uk/uk.xsl Vedi File

@@ -1,159 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:dt="http://xsltsl.org/date-time">
<xsl:import href="../../tools/xsltsl/tagging.xsl" />
<xsl:import href="../../tools/xsltsl/countries.xsl" />
<xsl:import href="../../tools/xsltsl/translations.xsl" />
<xsl:output method="xml" encoding="UTF-8" indent="yes" />

<!-- To localise this page to a new country, copy this file and change the following:
# <xsl:variable name="country-code">de</xsl:variable> -> change xx to your country code
For more information, take a look at the documentation under
/tools/xsltsl/tagging-documentation.txt
-->
<xsl:variable name="country-code">gb</xsl:variable>
<!--display labels-->

<!--translated word "news"-->
<xsl:template match="news-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'news'" />
</xsl:call-template>
</xsl:template>

<!--translated word "events"-->
<xsl:template match="events-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'events'" />
</xsl:call-template>
</xsl:template>

<!--translated word "microblog"-->
<xsl:template match="microblog-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'microblog'" />
</xsl:call-template>
</xsl:template>

<!--translated word "contact"-->
<xsl:template match="contact-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'contact'" />
</xsl:call-template>
</xsl:template>

<!--translated word "team"-->
<xsl:template match="team-label">
<xsl:call-template name="gettext">
<xsl:with-param name="id" select="'team'" />
</xsl:call-template>
</xsl:template>
<!--define contact information-->
<xsl:template match="contact-details">
<xsl:for-each select="/html/set/contact">

<xsl:if test="@id = 'GB'">
<!-- Email -->
<xsl:if test="email != ''">
<xsl:element name="p">
<xsl:value-of select="/buildinfo/textset/text[@id='email']" />
<xsl:text> </xsl:text>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text>
<xsl:value-of select="email" />
</xsl:attribute>
<xsl:value-of select="email" />
</xsl:element>
</xsl:element>
</xsl:if>
<!-- Address -->
<xsl:if test="address != ''">
<xsl:apply-templates select="address"/>
</xsl:if>
<!-- Phone -->
<xsl:if test="phone != ''">
<xsl:element name="p">
<xsl:value-of select="/buildinfo/textset/text[@id='phone']" />
<xsl:text> </xsl:text>
<xsl:value-of select="phone" />
</xsl:element>
</xsl:if>

<!-- Fax -->
<xsl:if test="fax != ''">
<xsl:element name="p">
<xsl:value-of select="/buildinfo/textset/text[@id='fax']" />
<xsl:text> </xsl:text>
<xsl:value-of select="fax" />
</xsl:element>
</xsl:if>
</xsl:if>
</xsl:for-each>
</xsl:template>
<!--define dynamic list of country news items-->
<xsl:template match="country-news">
<xsl:call-template name="fetch-news">
<xsl:with-param name="tag">
<xsl:value-of select="$country-code" />
</xsl:with-param>
<xsl:with-param name="nb-items" select="3" />
</xsl:call-template>
</xsl:template>
<!--define dynamic list of country event items-->
<xsl:template match="country-events">
<!-- Current events -->
<xsl:call-template name="fetch-events">
<xsl:with-param name="wanted-time" select="'present'" />
<xsl:with-param name="tag">
<xsl:value-of select="$country-code" />
</xsl:with-param>
<xsl:with-param name="display-details" select="'yes'" />
</xsl:call-template>
<!-- Future events -->
<xsl:call-template name="fetch-events">
<xsl:with-param name="wanted-time" select="'future'" />
<xsl:with-param name="nb-items" select="3" />
<xsl:with-param name="tag">
<xsl:value-of select="$country-code" />
</xsl:with-param>
<xsl:with-param name="display-details" select="'yes'" />
</xsl:call-template>
</xsl:template>
<!--define dynamic list of country team members-->
<xsl:template match="country-team-list">
<xsl:call-template name="country-people-list">
<xsl:with-param name="team">
<xsl:value-of select="$country-code" />
</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>

Loading…
Annulla
Salva