moving team pages in to root dir
svn path=/trunk/; revision=19608
This commit is contained in:
parent
f463241bda
commit
dc020eba1d
108
de/de.en.xhtml
Normal file
108
de/de.en.xhtml
Normal file
@ -0,0 +1,108 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>About Free Software Foundation Europe - Germany</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<!-- <p id="category"><a href="/about/people/people.html">People</a></p> -->
|
||||
<h1>Germany</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</a>
|
||||
|
||||
</h2>
|
||||
|
||||
<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</a>
|
||||
|
||||
</h2>
|
||||
|
||||
<country-events />
|
||||
|
||||
</div><!--end #events-->
|
||||
|
||||
<div id="contact" class="section">
|
||||
|
||||
<h2><span>Contact</span></h2>
|
||||
|
||||
<div class="entry">
|
||||
|
||||
<p><a href="mailto:germany@fsfeurope.org">germany@fsfeurope.org</a></p>
|
||||
|
||||
<p>
|
||||
Free Software Foundation Europe e.V.<br />
|
||||
Linienstr. 141 EG<br />
|
||||
10115 Berlin
|
||||
</p>
|
||||
|
||||
<p>+49 30 27595290</p>
|
||||
|
||||
</div>
|
||||
|
||||
</div><!--end #contact-->
|
||||
|
||||
<div id="team" class="section grid-100">
|
||||
|
||||
<h2><span>German Team</span></h2>
|
||||
|
||||
<country-team-list />
|
||||
|
||||
<div class="image center">
|
||||
<img src="germany.jpg" alt="A group picture of the German team" />
|
||||
<p>
|
||||
The German Team of FSFE in 2010 at LinuxHotel.
|
||||
</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: ***
|
||||
-->
|
20
de/de.sources
Normal file
20
de/de.sources
Normal file
@ -0,0 +1,20 @@
|
||||
about/germany/germany:global
|
||||
about/people/people:global
|
||||
about/people/functions:global
|
||||
about/people/function-:global
|
||||
about/people/countries:global
|
||||
about/people/volunteers: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
|
70
de/de.xsl
Normal file
70
de/de.xsl
Normal file
@ -0,0 +1,70 @@
|
||||
<?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: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">de</xsl:variable>
|
||||
|
||||
<!--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: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:call-template>
|
||||
|
||||
<!-- Future events -->
|
||||
<xsl:call-template name="fetch-events">
|
||||
<xsl:with-param name="wanted-time" select="'future'" />
|
||||
<xsl:with-param name="nb-events" select="3" />
|
||||
<xsl:with-param name="tag">
|
||||
<xsl:value-of select="$country-code" />
|
||||
</xsl:with-param>
|
||||
</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>
|
BIN
de/germany.jpg
Normal file
BIN
de/germany.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 42 KiB |
137
gb/gb.en.xhtml
Normal file
137
gb/gb.en.xhtml
Normal file
@ -0,0 +1,137 @@
|
||||
<?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: ***
|
||||
-->
|
21
gb/gb.sources
Normal file
21
gb/gb.sources
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
159
gb/gb.xsl
Normal file
159
gb/gb.xsl
Normal file
@ -0,0 +1,159 @@
|
||||
<?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>
|
157
it/it.it.xhtml
Normal file
157
it/it.it.xhtml
Normal file
@ -0,0 +1,157 @@
|
||||
<?xml version="1.0" encoding="iso-8859-1" ?>
|
||||
|
||||
<html>
|
||||
<head>
|
||||
<title>Team Italiano</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<h1>Italia</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>Uniscti alla Fellowship</p>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div id="campaign-box-3">
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
-->
|
||||
|
||||
<div id="team" class="section grid-100">
|
||||
|
||||
<h2><span>Team Italiano</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-->
|
||||
|
||||
|
||||
<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 id="campaigns-boxes">
|
||||
<div id="campaign-box-1">
|
||||
<a href="/campaigns/pdfreaders/">
|
||||
<h3>Aiutaci a porre fine alla pubblicità del Governo a lettori PDF non liberi</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>Uniscti alla Fellowship</p>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<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/fsfeitalia"><img src="/graphics/identica.png" alt="identica" title="Follow FSFE Italian Team 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":"fsfeitalia",
|
||||
"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>
|
||||
|
||||
<p>Per contattare il team italiano di FSFE, potete scrivere una e-mail all'indirizzo qui sotto indicato:</p>
|
||||
<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 -->
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
<timestamp>$Date$ $Author$</timestamp>
|
||||
</html>
|
||||
<!--
|
||||
Local Variables: ***
|
||||
mode: xml ***
|
||||
End: ***
|
||||
-->
|
21
it/it.sources
Normal file
21
it/it.sources
Normal file
@ -0,0 +1,21 @@
|
||||
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
|
159
it/it.xsl
Normal file
159
it/it.xsl
Normal file
@ -0,0 +1,159 @@
|
||||
<?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">xx</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">it</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 = 'IT'">
|
||||
|
||||
<!-- 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…
Reference in New Issue
Block a user