Ver código fonte

2011-08-19 Martin Gollowitzer <gollo@fsfe.org>

	* adding .at country team page

svn path=/trunk/; revision=20954
tags/stw2018
gollo 8 anos atrás
pai
commit
7cf1ba07f7
3 arquivos alterados com 314 adições e 0 exclusões
  1. 134
    0
      at/at.en.xhtml
  2. 21
    0
      at/at.sources
  3. 159
    0
      at/at.xsl

+ 134
- 0
at/at.en.xhtml Ver arquivo

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

<html>
<head>
<title>About Free Software Foundation Europe – Austria</title>
</head>

<body>
<!-- <p id="category"><a href="/about/people/people.html">People</a></p> -->
<h1>Austria</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/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/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 class="clear"> (commented out by Gollo as we don't need .at Identi.ca section) -->
<!-- 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/fsfede"><img src="/graphics/identica.png" alt="identica" title="Follow FSFE German 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":"fsfede",
"server":"identi.ca",
"border":"0px",
"background":"none",
"width":"360px",
"height":"200px"
}
</script>
</div>
</div> Gollo: same as above; too many comments in here --><!--end #identica-->
<!-- </div> Gollo: and another one -->
<div id="contact" class="section">
<h2><span>Contact</span></h2>
<div class="entry">
<p><a href="mailto:austria@fsfeurope.org">austria@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>Austrian Team</span></h2>
<country-team-list />
</div><!--end #team-->
</body>

<timestamp>$Date: $ $Author: $</timestamp>
</html>
<!--
Local Variables: ***
mode: xml ***
End: ***
-->

+ 21
- 0
at/at.sources Ver arquivo

@@ -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
projects/*/project: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
- 0
at/at.xsl Ver arquivo

@@ -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 at
http://fsfe.org/contribute/web/tagging.html
-->
<xsl:variable name="country-code">at</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 = 'DE'">
<!-- 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>

Carregando…
Cancelar
Salvar