New translations.
fr/events/events.css: MFen 1.1 fr/events/events.dtd: MFen 1.1 fr/events/events.xml: MFen 1.20 (submitted by Francis Bacque <opl@opltech.net>) fr/events/events.xsl: MFen 1.2 fr/events/includes.xsl: MFen 1.1
This commit is contained in:
parent
0bb048cd4f
commit
c856104af7
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=20283
8 changed files with 993 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $FreeBSD: www/fr/Makefile,v 1.2 2003/12/16 21:39:05 stephane Exp $
|
# $FreeBSD: www/fr/Makefile,v 1.3 2004/02/29 13:20:40 stephane Exp $
|
||||||
|
|
||||||
# The FreeBSD French Documentation Project
|
# The FreeBSD French Documentation Project
|
||||||
# Original revision: 1.107
|
# Original revision: 1.107
|
||||||
|
@ -42,7 +42,7 @@ SUBDIR+= docproj
|
||||||
SUBDIR+= news
|
SUBDIR+= news
|
||||||
SUBDIR+= advocacy
|
SUBDIR+= advocacy
|
||||||
|
|
||||||
# SUBDIR+= events
|
SUBDIR+= events
|
||||||
SUBDIR+= FAQ
|
SUBDIR+= FAQ
|
||||||
SUBDIR+= handbook
|
SUBDIR+= handbook
|
||||||
SUBDIR+= internal
|
SUBDIR+= internal
|
||||||
|
|
52
fr/events/Makefile
Normal file
52
fr/events/Makefile
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
# The FreeBSD French Documentation Project
|
||||||
|
# Original revision: 1.5
|
||||||
|
|
||||||
|
.if exists(../Makefile.conf)
|
||||||
|
.include "../Makefile.conf"
|
||||||
|
.endif
|
||||||
|
.if exists(../Makefile.inc)
|
||||||
|
.include "../Makefile.inc"
|
||||||
|
.endif
|
||||||
|
|
||||||
|
# SUBDIR= 2002 2003
|
||||||
|
|
||||||
|
DATA= events.css
|
||||||
|
|
||||||
|
DATA= events.html
|
||||||
|
CLEANFILES+= events.html curdate.xml
|
||||||
|
|
||||||
|
INDEXLINK= events.html
|
||||||
|
|
||||||
|
DATE?= /bin/date
|
||||||
|
TR?= /usr/bin/tr
|
||||||
|
XMLLINT?= /usr/local/bin/xmllint # Part of textproc/libxml2.
|
||||||
|
|
||||||
|
events.html: events.xsl events.xml ../includes.xsl curdate.xml
|
||||||
|
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||||
|
${.CURDIR}/events.xsl ${.CURDIR}/events.xml
|
||||||
|
.if !defined(NO_TIDY)
|
||||||
|
-${TIDY} ${TIDYOPTS} ${.TARGET}
|
||||||
|
.endif
|
||||||
|
|
||||||
|
lint:
|
||||||
|
${XMLLINT} --valid -o /dev/null ${.CURDIR}/events.xml
|
||||||
|
|
||||||
|
# XXX TODO: Handle this better, so curdate.xml isn't rebuild on install.
|
||||||
|
curdate.xml!
|
||||||
|
@${ECHO} "Generating ${.TARGET}"
|
||||||
|
@${ECHO_CMD} '<?xml version="1.0"?>' > ${.TARGET}
|
||||||
|
@${ECHO_CMD} '<curdate>' >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} -n ' <year>' >> ${.TARGET}
|
||||||
|
@${DATE} +%Y | ${TR} -d "\n" >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} '</year>' >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} -n ' <month>' >> ${.TARGET}
|
||||||
|
@${DATE} +%m | ${TR} -d "\n" >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} '</month>' >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} -n ' <day>' >> ${.TARGET}
|
||||||
|
@${DATE} +%d | ${TR} -d "\n" >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} '</day>' >> ${.TARGET}
|
||||||
|
@${ECHO_CMD} '</curdate>' >> ${.TARGET}
|
||||||
|
|
||||||
|
.include "${WEB_PREFIX}/share/mk/web.site.mk"
|
7
fr/events/Makefile.inc
Normal file
7
fr/events/Makefile.inc
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
# The FreeBSD French Documentation Project
|
||||||
|
# Original revision: 1.2
|
||||||
|
|
||||||
|
WEB_PREFIX?= ${.CURDIR}/../../..
|
||||||
|
WEBBASE?= /data/events
|
23
fr/events/events.css
Normal file
23
fr/events/events.css
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<!-- $FreeBSD$ -->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The FreeBSD French Documentation Project
|
||||||
|
Original revision: 1.1
|
||||||
|
-->
|
||||||
|
|
||||||
|
div.topic {
|
||||||
|
margin-top: 1em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.discussion {
|
||||||
|
margin-left: 1cm;
|
||||||
|
}
|
||||||
|
|
||||||
|
strong.speaker {
|
||||||
|
color: #660000;
|
||||||
|
}
|
||||||
|
|
||||||
|
strong.action {
|
||||||
|
color: red;
|
||||||
|
}
|
88
fr/events/events.dtd
Normal file
88
fr/events/events.dtd
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
<!-- Copyright (c) 2003 Simon L. Nielsen <simon@FreeBSD.org>
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGE.
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The FreeBSD French Documentation Project
|
||||||
|
Original revision: 1.1
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- DTD for events.xml on the FreeBSD website. -->
|
||||||
|
|
||||||
|
<!ELEMENT events (cvs:keywords?, event+)>
|
||||||
|
|
||||||
|
<!ELEMENT event (name?, url?, startdate, enddate, location, description?, link*)>
|
||||||
|
<!ATTLIST event id ID #REQUIRED>
|
||||||
|
|
||||||
|
<!ELEMENT name (#PCDATA)>
|
||||||
|
<!ELEMENT url (#PCDATA)>
|
||||||
|
<!--
|
||||||
|
Meaning of type attribute:
|
||||||
|
freebsd-website:
|
||||||
|
The URL is relative to the FreeBSD website root.
|
||||||
|
The URL should start with a single "/".
|
||||||
|
absolute:
|
||||||
|
Normal absolute URL.
|
||||||
|
-->
|
||||||
|
<!ATTLIST url type (absolute|freebsd-website) "absolute">
|
||||||
|
|
||||||
|
<!ELEMENT startdate (year,month,day)>
|
||||||
|
<!ELEMENT enddate (year,month,day)>
|
||||||
|
<!ELEMENT year (#PCDATA)>
|
||||||
|
<!ELEMENT month (#PCDATA)>
|
||||||
|
<!ELEMENT day (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT location (country?,state?,city?,site?,address?)>
|
||||||
|
<!ELEMENT country (#PCDATA)>
|
||||||
|
<!ELEMENT state (#PCDATA)>
|
||||||
|
<!ELEMENT city (#PCDATA)>
|
||||||
|
<!ELEMENT site (#PCDATA)>
|
||||||
|
<!ELEMENT address (#PCDATA)>
|
||||||
|
|
||||||
|
<!ELEMENT description (#PCDATA|a|tt|i|b)*>
|
||||||
|
|
||||||
|
<!-- Misc HTML entities which might be used; just add more as needed -->
|
||||||
|
<!ELEMENT a (#PCDATA)>
|
||||||
|
<!ATTLIST a href CDATA #REQUIRED>
|
||||||
|
|
||||||
|
<!ELEMENT b (#PCDATA|a)*>
|
||||||
|
<!ELEMENT i (#PCDATA|a)*>
|
||||||
|
<!ELEMENT tt (#PCDATA|a)*>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Link to a web page (local or remote) with additional information
|
||||||
|
about the event. Can also be used for post-event comments/notes.
|
||||||
|
-->
|
||||||
|
<!ELEMENT link (name, url)>
|
||||||
|
<!ATTLIST link type (photos|notes|other) "other">
|
||||||
|
|
||||||
|
<!-- Common CVS tags -->
|
||||||
|
<!ELEMENT cvs:keywords (cvs:keyword+)>
|
||||||
|
<!ATTLIST cvs:keywords xmlns:cvs CDATA #FIXED 'http://www.FreeBSD.org/XML/CVS'>
|
||||||
|
<!ATTLIST cvs:keywords version CDATA #FIXED '1.0'>
|
||||||
|
|
||||||
|
<!ELEMENT cvs:keyword (#PCDATA)>
|
||||||
|
<!ATTLIST cvs:keyword name CDATA #REQUIRED>
|
471
fr/events/events.xml
Normal file
471
fr/events/events.xml
Normal file
|
@ -0,0 +1,471 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
<!DOCTYPE events SYSTEM "events.dtd">
|
||||||
|
<!--
|
||||||
|
Events which might be interesting for FreeBSD users.
|
||||||
|
|
||||||
|
Please sort the events by start date.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The FreeBSD French Documentation Project
|
||||||
|
Original revision: 1.20
|
||||||
|
|
||||||
|
Version francaise : Francis Bacque <opl@opltech.net>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<events>
|
||||||
|
<cvs:keywords xmlns:cvs="http://www.FreeBSD.org/XML/CVS" version="1.0">
|
||||||
|
<cvs:keyword name="freebsd">
|
||||||
|
$FreeBSD$
|
||||||
|
</cvs:keyword>
|
||||||
|
</cvs:keywords>
|
||||||
|
|
||||||
|
<event id="sucon-2004">
|
||||||
|
<name>2ème Conférence Unix Helvétique</name>
|
||||||
|
<url>http://www.sucon.ch/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>9</month>
|
||||||
|
<day>2</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>9</month>
|
||||||
|
<day>4</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Suisse</country>
|
||||||
|
<state></state>
|
||||||
|
<city>Zürich</city>
|
||||||
|
</location>
|
||||||
|
|
||||||
|
<description>SUCON est une conférence emergente centrée sur
|
||||||
|
les thèmes relatifs au système d'exploitation Unix. Notre but
|
||||||
|
est de rassembler les dévelopeurs, les administrateurs système
|
||||||
|
et les utilisateurs d'Unix pour encourager les projets, les idées
|
||||||
|
et la connaissance de chaque individu. Il y aura aussi des exposés
|
||||||
|
relatifs à FreeBSD.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="usenix-2004">
|
||||||
|
<name>Conférence Technique Annuelle USENIX de 2004</name>
|
||||||
|
<url>http://www.usenix.org/events/usenix04/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>6</month>
|
||||||
|
<day>27</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>7</month>
|
||||||
|
<day>2</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>USA</country>
|
||||||
|
<state>Massachusetts</state>
|
||||||
|
<city>Boston</city>
|
||||||
|
</location>
|
||||||
|
|
||||||
|
<description>A la Conférence Technique Annuelle USENIX 2004, se tiendra <a
|
||||||
|
href="http://www.usenix.org/events/usenix04/cfp/freenix.html">FREENIX</a>
|
||||||
|
et une session d'évaluation formelle des documents ainsi que les nouvelles
|
||||||
|
Sessions du Groupe d'Intéret Spécial <a
|
||||||
|
href="http://www.usenix.org/events/usenix04/usebsd.html">UseBSD</a>.
|
||||||
|
Il n'y aura pas d'autre conférence BSD indépendante soutenue par Usenix
|
||||||
|
aux USA en 2004, ce qui fait de celle-ci LA grosse conférence de l'année
|
||||||
|
pour les "BSDistes" enthousiastes aux US.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event>
|
||||||
|
<name>Linuxtag 2004</name>
|
||||||
|
<url>http://www.linuxtag.org/2004/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>6</month>
|
||||||
|
<day>23</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>6</month>
|
||||||
|
<day>26</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Allemagne</country>
|
||||||
|
<city>Karlsruhe</city>
|
||||||
|
<site>Kongresszentrum</site>
|
||||||
|
</location>
|
||||||
|
<description>Linuxtag est l'un des plus importants marchés et conférences
|
||||||
|
Linux et Open Source d'Europe. Comme les années précédentes, un stand FreeBSD
|
||||||
|
sera présent.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="bsdcan-2004">
|
||||||
|
<name>BSDCan</name>
|
||||||
|
<url>http://www.bsdcan.org/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>5</month>
|
||||||
|
<day>13</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>5</month>
|
||||||
|
<day>15</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Canada</country>
|
||||||
|
<city>Ottawa</city>
|
||||||
|
<site>University of Ottawa</site>
|
||||||
|
</location>
|
||||||
|
<description>BSDCan est une conférence pour dévelopeurs, où l'accent
|
||||||
|
est fortement mis sur les technologies émergentes, les projets de
|
||||||
|
recherche et les travaux en cours. Il présente aussi les projets
|
||||||
|
d'infrastructures côté utilisateur et invite à la fois la contribution des
|
||||||
|
dévelopeurs de logiciels libres et celle des solutions commerciales.
|
||||||
|
</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="asia-bsdcon-2004">
|
||||||
|
<name>BSDCon Asie 2004</name>
|
||||||
|
<url>http://www.asiabsdcon.org/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>3</month>
|
||||||
|
<day>12</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>3</month>
|
||||||
|
<day>15</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Taiwan</country>
|
||||||
|
<city>Taipei</city>
|
||||||
|
<site>Academica Sinica</site>
|
||||||
|
</location>
|
||||||
|
<description>La première Conférence BSD en Asie, soutenue par <a
|
||||||
|
href="http://www.usenix.org/">l'association USENIX</a>. Deux
|
||||||
|
jours de cours précéderont deux jours de sessions techniques
|
||||||
|
et d'expositions commerciales.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="linuxforum-2004">
|
||||||
|
<name>LinuxForum 2004</name>
|
||||||
|
<url>http://www.linuxforum.dk/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>3</month>
|
||||||
|
<day>5</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>3</month>
|
||||||
|
<day>6</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Danemark</country>
|
||||||
|
<city>Copenhague</city>
|
||||||
|
<site>Symbion</site>
|
||||||
|
<address>Fruebjergvej 3</address>
|
||||||
|
</location>
|
||||||
|
<description>Conférence annuelle Open Source Danoise. Le groupe danois
|
||||||
|
d'utilisateurs BSD <a href="http://www.bsd-dk.dk">BSD-DK</a>
|
||||||
|
présentera les BSDs.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="fosdem-2004">
|
||||||
|
<name>Fosdem 2004</name>
|
||||||
|
<url>http://www.fosdem.org/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>2</month>
|
||||||
|
<day>21</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>2</month>
|
||||||
|
<day>22</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Belgique</country>
|
||||||
|
<city>Bruxelle</city>
|
||||||
|
<site>Université Libre de Bruxelles</site>
|
||||||
|
<address>Avenue Franklin D. Roosevelt 50</address>
|
||||||
|
</location>
|
||||||
|
<description>Un évenement de 2 jours pour promouvoir la généralisation
|
||||||
|
de l'utilisation du logiciel Libre et Open Source. Parmi les projets
|
||||||
|
présents lors de cet événement, il y aura Mozilla, KDE et, bien sûr
|
||||||
|
FreeBSD.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="linuxexpofr-2004">
|
||||||
|
<name>Solutions Linux 2004</name>
|
||||||
|
<url>http://www.linuxsolutions.fr/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>2</month>
|
||||||
|
<day>3</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2004</year>
|
||||||
|
<month>2</month>
|
||||||
|
<day>5</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>France</country>
|
||||||
|
<city>Paris</city>
|
||||||
|
<site>CNIT</site>
|
||||||
|
<address>La Défense</address>
|
||||||
|
</location>
|
||||||
|
<description>Un événement sur 3 jours pour la promotion de GNU/Linux et
|
||||||
|
des logiciels Open Source.<a href="http://www.FreeBSD-fr.ORG"> Le
|
||||||
|
groupe français d'utilisateurs FreeBSD</a> sera présent dans le village
|
||||||
|
des Associations pour promouvoir FreeBSD, bien sûr!</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
|
||||||
|
<event id="ccc-20">
|
||||||
|
<name>20. Congrès Chaos Communication</name>
|
||||||
|
<url>http://www.ccc.de/congress/2003/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>27</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>29</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Allemagne</country>
|
||||||
|
<city>Berlin</city>
|
||||||
|
<site>Berliner Congress Center</site>
|
||||||
|
<address>Alexanderplatz 2</address>
|
||||||
|
</location>
|
||||||
|
<description>Le Congrès Chaos Communication est une conférence
|
||||||
|
de 3 jours portant sur la technologie, la société et l'utopie.
|
||||||
|
FreeBSD sera présent avec un stand. Si vous désirez
|
||||||
|
nous aider, merci de contacter <a
|
||||||
|
href="mailto:brueffer@FreeBSD.org">Christian Brueffer</a>.
|
||||||
|
</description>
|
||||||
|
<link type="photos">
|
||||||
|
<name>Photos par Josef El-Rayes</name>
|
||||||
|
<url>http://gallery.daemon.li/20c3/</url>
|
||||||
|
</link>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="bsdcon-brasil-2003">
|
||||||
|
<name>BSDCon Brésil</name>
|
||||||
|
<url>http://bsdcon.myfreebsd.com.br/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>6</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>7</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Brésil</country>
|
||||||
|
<city>Rio de Janeiro</city>
|
||||||
|
</location>
|
||||||
|
<description>C'est la première édition de la BSDCon Brésil. BSDCon
|
||||||
|
Brésil est promue et organisée par un groupe de corporations
|
||||||
|
en relation avec la communauté BSD. Il y aura 2 jours intensifs
|
||||||
|
d'ateliers, de présentations et de mini tutoriels relatifs aux
|
||||||
|
BSDs.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="bsdlinuxday-2003">
|
||||||
|
<name>Journée BSD/Linux</name>
|
||||||
|
<url>http://www.jus.or.jp/events/bsd-linux-day/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>2</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>12</month>
|
||||||
|
<day>2</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Japon</country>
|
||||||
|
<city>Yokohama</city>
|
||||||
|
</location>
|
||||||
|
<description>Pendant la Conférence InternetWeek 2003, qui aura
|
||||||
|
lieu à Yokohama entre le 2 et le 5 Décembre, il y aura une
|
||||||
|
journée BSD/Linux organisée par la Japan Unix Society.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="sf10yearparty">
|
||||||
|
<name>Soirée pour le 10ème anniversaire de FreeBSD</name>
|
||||||
|
<url>http://www.offmyserver.com/cgi-bin/store/rsvp.html</url>
|
||||||
|
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>24</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>24</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>U.S.A.</country>
|
||||||
|
<city>San Francisco</city>
|
||||||
|
<site>DNA Lounge</site>
|
||||||
|
<address>www.dnalounge.com</address>
|
||||||
|
</location>
|
||||||
|
<description>Rejoignez nous Lundi 24 Novembre pour célébrer les 10
|
||||||
|
ans de FreeBSD ! RSVP <a
|
||||||
|
href="http://www.offmyserver.com/cgi-bin/store/rsvp.html"> ici</a>
|
||||||
|
pour que nous commandions suffisamment de nourriture et de boissons
|
||||||
|
pour tout le monde.</description>
|
||||||
|
|
||||||
|
<link type="photos">
|
||||||
|
<name>Photos par Matt Dillon</name>
|
||||||
|
<url>http://apollo.backplane.com/pics.bsdparty/</url>
|
||||||
|
</link>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="scale-2003">
|
||||||
|
<name>SCALE: Expo Linux 2003 de Californie du Sud</name>
|
||||||
|
<url>http://www.socallinuxexpo.com/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>22</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>22</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>USA</country>
|
||||||
|
<state>Californie</state>
|
||||||
|
<city>Los Angeles</city>
|
||||||
|
<site>Los Angeles Convention Center</site>
|
||||||
|
</location>
|
||||||
|
<description>La Deuxième Expo annuelle Linux du Sud de la Californie.
|
||||||
|
FreeBSD sera là et présentera du matériel promotionnel.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="linuxday-5">
|
||||||
|
<name>5. Linuxday Vorarlberg</name>
|
||||||
|
<url>http://www.linuxday.at/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>15</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>11</month>
|
||||||
|
<day>15</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Autriche</country>
|
||||||
|
<city>Dornbirn</city>
|
||||||
|
<site>HTL Dornbirn</site>
|
||||||
|
<address>Höchsterstrasse 73</address>
|
||||||
|
</location>
|
||||||
|
<description>La journée Linux de Vorarlberg est un évenement
|
||||||
|
où les acteurs des projets Open Source présentent leurs
|
||||||
|
travaux à la communauté. L'entrée est gratuite. Il y sera
|
||||||
|
aussi question de FreeBSD.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="bsdcon-japan-2003">
|
||||||
|
<name>BSDCon Japon 2003</name>
|
||||||
|
<url>http://bsdcon.jp/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>10</month>
|
||||||
|
<day>18</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>10</month>
|
||||||
|
<day>18</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Japon</country>
|
||||||
|
<city>Tokyo</city>
|
||||||
|
<site>BIZ Shinjuku</site>
|
||||||
|
</location>
|
||||||
|
<description>Conférence BSD Japon 2003, la seconde conférence
|
||||||
|
concernant les *BSD du Japon, s'est tenue à Tokyo le 18
|
||||||
|
Octobre 2003. Il y avait environ 170 participants. Il y a eu
|
||||||
|
deux sessions parallèles (générale et technique), quatre
|
||||||
|
documents techniques ainsi que douze présentations de travaux en cours
|
||||||
|
durant cette conférence.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="linux-kongress-03">
|
||||||
|
<name>Linux-Kongress 2003</name>
|
||||||
|
<url>http://www.linux-kongress.org/2003/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>10</month>
|
||||||
|
<day>14</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>10</month>
|
||||||
|
<day>16</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>Allemagne</country>
|
||||||
|
<city>Saarbrücken</city>
|
||||||
|
<site>Université de Saarland</site>
|
||||||
|
</location>
|
||||||
|
<description>FreeBSD présentera un stand au Linux-Kongress, probablement
|
||||||
|
la conférence la plus connue en Europe des developpeurs Linux. Nous
|
||||||
|
répondrons aux questions, ferons des démonstrations du système et vendrons
|
||||||
|
quelques produits FreeBSD.</description>
|
||||||
|
</event>
|
||||||
|
|
||||||
|
<event id="bsdcon-03">
|
||||||
|
<name>BSDCon 03</name>
|
||||||
|
<url>http://www.usenix.org/events/bsdcon03/</url>
|
||||||
|
<startdate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>9</month>
|
||||||
|
<day>8</day>
|
||||||
|
</startdate>
|
||||||
|
<enddate>
|
||||||
|
<year>2003</year>
|
||||||
|
<month>9</month>
|
||||||
|
<day>12</day>
|
||||||
|
</enddate>
|
||||||
|
<location>
|
||||||
|
<country>USA</country>
|
||||||
|
<state>Californie</state>
|
||||||
|
<city>San Mateo</city>
|
||||||
|
</location>
|
||||||
|
<description>Pour la quatrième fois, l'évenement majeur BSD, la BSDCon.
|
||||||
|
Deux jours de tutoriels précederont deux jours et demi de sessions
|
||||||
|
techniques. Une opportunité pour les personnes de tous niveaux
|
||||||
|
d'expérience de rencontrer des experts BSD, des professionnels
|
||||||
|
avec des expériences concrètes et des leaders de l'industrie.
|
||||||
|
</description>
|
||||||
|
<link type="notes">
|
||||||
|
<name>Notes sur la rencontre des développeurs FreeBSD</name>
|
||||||
|
<url type="freebsd-website">/events/2003/bsdcon-devsummit.html</url>
|
||||||
|
</link>
|
||||||
|
<link type="other">
|
||||||
|
<name>Wiki non-officiel BSDCon US 2003</name>
|
||||||
|
<url>http://bsdcon.kwiki.org/</url>
|
||||||
|
</link>
|
||||||
|
<link type="photos">
|
||||||
|
<name>Photos BSDCon 2003 par Matt Dillon</name>
|
||||||
|
<url>http://apollo.backplane.com/BSDCON2003/</url>
|
||||||
|
</link>
|
||||||
|
</event>
|
||||||
|
</events>
|
241
fr/events/events.xsl
Normal file
241
fr/events/events.xsl
Normal file
|
@ -0,0 +1,241 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
|
|
||||||
|
<!-- Copyright (c) 2003 Simon L. Nielsen <simon@FreeBSD.org>
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGE.
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The FreeBSD French Documentation Project
|
||||||
|
Original revision: 1.2
|
||||||
|
|
||||||
|
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||||
|
xmlns:cvs="http://www.FreeBSD.org/XML/CVS"
|
||||||
|
exclude-result-prefixes="cvs">
|
||||||
|
|
||||||
|
<xsl:import href="../includes.xsl"/>
|
||||||
|
<xsl:import href="includes.xsl"/>
|
||||||
|
|
||||||
|
<xsl:variable name="curdate" select="document('curdate.xml')//curdate"/>
|
||||||
|
|
||||||
|
<xsl:variable name="base" select="'..'"/>
|
||||||
|
<xsl:variable name="date">
|
||||||
|
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
|
||||||
|
</xsl:variable>
|
||||||
|
<xsl:variable name="email" select="'freebsd-www'"/>
|
||||||
|
<xsl:variable name="title" select="'Evénements FreeBSD'"/>
|
||||||
|
|
||||||
|
<xsl:output method="xml" encoding="iso-8859-1"
|
||||||
|
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
|
||||||
|
doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN"/>
|
||||||
|
|
||||||
|
<xsl:key name="event-by-month" match="event"
|
||||||
|
use="concat(startdate/year, format-number(startdate/month, '00'))"/>
|
||||||
|
|
||||||
|
<!-- Template: events -->
|
||||||
|
<xsl:template match="events">
|
||||||
|
<html>
|
||||||
|
<xsl:copy-of select="$header1"/>
|
||||||
|
|
||||||
|
<body xsl:use-attribute-sets="att.body">
|
||||||
|
|
||||||
|
<xsl:copy-of select="$header2"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Note the current date to have a reference, if the
|
||||||
|
upcoming/past events are split incorrectly.
|
||||||
|
-->
|
||||||
|
<xsl:comment>
|
||||||
|
<xsl:text>Généré le : </xsl:text>
|
||||||
|
<xsl:value-of select="concat($curdate/year,
|
||||||
|
format-number($curdate/month, '00'),
|
||||||
|
format-number($curdate/day, '00'))"/>
|
||||||
|
</xsl:comment>
|
||||||
|
|
||||||
|
<p>Si vous avez connaissance d'événements liés à FreeBSD, ou d'événements qui
|
||||||
|
pourraient intéressés les utilisateurs FreeBSD, qui ne sont pas indiqués
|
||||||
|
ici, veuillez envoyer tous les détails à <a
|
||||||
|
href="mailto:www@freebsd.org">www@FreeBSD.org</a> de manière
|
||||||
|
à ce qu'ils puissent être ajoutés.</p>
|
||||||
|
|
||||||
|
<h2 id="upcoming">
|
||||||
|
<xsl:text>Evénements actuels / à venir :</xsl:text>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<xsl:for-each select="event[generate-id() =
|
||||||
|
generate-id(key('event-by-month',
|
||||||
|
concat(startdate/year, format-number(startdate/month, '00')))[1])
|
||||||
|
and ((number(enddate/year) > number($curdate/year)) or
|
||||||
|
(number(enddate/year) = number($curdate/year) and
|
||||||
|
number(enddate/month) > number($curdate/month)) or
|
||||||
|
(number(enddate/year) = number($curdate/year) and
|
||||||
|
number(enddate/month) = number($curdate/month) and
|
||||||
|
enddate/day >= $curdate/day))]">
|
||||||
|
|
||||||
|
<xsl:sort select="startdate/year" order="ascending"/>
|
||||||
|
<xsl:sort select="format-number(startdate/month, '00')" order="ascending"/>
|
||||||
|
<xsl:sort select="format-number(startdate/day, '00')" order="ascending"/>
|
||||||
|
|
||||||
|
<h3>
|
||||||
|
<xsl:attribute name="id">
|
||||||
|
<xsl:text>mois :</xsl:text>
|
||||||
|
<xsl:value-of select="concat(startdate/year,
|
||||||
|
format-number(startdate/month, '00'))"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="gen-long-en-month">
|
||||||
|
<xsl:with-param name="nummonth" select="startdate/month"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
<xsl:value-of select="startdate/year"/>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<xsl:for-each select="key('event-by-month',
|
||||||
|
concat(startdate/year, format-number(startdate/month, '00')))">
|
||||||
|
|
||||||
|
<xsl:sort select="format-number(startdate/day, '00')" order="ascending"/>
|
||||||
|
<xsl:apply-templates select="."/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
|
</xsl:for-each>
|
||||||
|
|
||||||
|
<h2 id="past">
|
||||||
|
<xsl:text>Evénements passés :</xsl:text>
|
||||||
|
</h2>
|
||||||
|
|
||||||
|
<xsl:for-each select="event[generate-id() =
|
||||||
|
generate-id(key('event-by-month', concat(startdate/year,
|
||||||
|
format-number(startdate/month, '00')))[1])
|
||||||
|
and ((number(enddate/year) < number($curdate/year)) or
|
||||||
|
(number(enddate/year) = number($curdate/year) and
|
||||||
|
number(enddate/month) < number($curdate/month)) or
|
||||||
|
(number(enddate/year) = number($curdate/year) and
|
||||||
|
number(enddate/month) = number($curdate/month) and
|
||||||
|
number(enddate/day) < number($curdate/day)))]">
|
||||||
|
|
||||||
|
<xsl:sort select="number(startdate/year)" order="descending"/>
|
||||||
|
<xsl:sort select="format-number(startdate/month, '00')" order="descending"/>
|
||||||
|
<xsl:sort select="format-number(startdate/day, '00')" order="descending"/>
|
||||||
|
|
||||||
|
<h3>
|
||||||
|
<xsl:attribute name="id">
|
||||||
|
<xsl:text>mois :</xsl:text>
|
||||||
|
<xsl:value-of select="concat(startdate/year,
|
||||||
|
format-number(startdate/month, '00'))"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:call-template name="gen-long-en-month">
|
||||||
|
<xsl:with-param name="nummonth" select="startdate/month"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
<xsl:value-of select="startdate/year"/>
|
||||||
|
</h3>
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
<xsl:for-each select="key('event-by-month',
|
||||||
|
concat(startdate/year, format-number(startdate/month, '00')))">
|
||||||
|
|
||||||
|
<xsl:sort select="format-number(startdate/day, '00')" order="descending"/>
|
||||||
|
<xsl:apply-templates select="."/>
|
||||||
|
</xsl:for-each>
|
||||||
|
</ul>
|
||||||
|
</xsl:for-each>
|
||||||
|
<xsl:copy-of select="$footer"/>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Template: event -->
|
||||||
|
<xsl:template match="event">
|
||||||
|
<li>
|
||||||
|
<xsl:attribute name="id">
|
||||||
|
<xsl:call-template name="generate-event-anchor"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<b>
|
||||||
|
<xsl:if test="url">
|
||||||
|
<xsl:apply-templates select="url"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="not(url)">
|
||||||
|
<xsl:value-of select="name"/>
|
||||||
|
</xsl:if>
|
||||||
|
</b>
|
||||||
|
<xsl:if test="location/site!=''">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="location/site"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="location/city!=''">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="location/city"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="location/state!=''">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="location/state"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:if test="location/country!=''">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="location/country"/>
|
||||||
|
</xsl:if>
|
||||||
|
<br/>
|
||||||
|
<em>
|
||||||
|
<xsl:call-template name="gen-date-interval">
|
||||||
|
<xsl:with-param name="startdate" select="startdate" />
|
||||||
|
<xsl:with-param name="enddate" select="enddate" />
|
||||||
|
</xsl:call-template>
|
||||||
|
</em><br/>
|
||||||
|
<xsl:copy-of select="description/child::node()"/>
|
||||||
|
</p>
|
||||||
|
<xsl:if test="link">
|
||||||
|
<p><xsl:apply-templates select="link"/></p>
|
||||||
|
</xsl:if>
|
||||||
|
</li>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Template: link -->
|
||||||
|
<xsl:template match="link">
|
||||||
|
<xsl:apply-templates select="url"/>
|
||||||
|
<xsl:if test="not(position()=last())">
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Template: url -->
|
||||||
|
<xsl:template match="url">
|
||||||
|
<a>
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@type='freebsd-website'">
|
||||||
|
<xsl:value-of select="$base"/>
|
||||||
|
</xsl:when>
|
||||||
|
</xsl:choose>
|
||||||
|
<xsl:value-of select="."/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:value-of select="../name"/>
|
||||||
|
</a>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
109
fr/events/includes.xsl
Normal file
109
fr/events/includes.xsl
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||||
|
|
||||||
|
<!-- Copyright (c) 2003 Simon L. Nielsen <simon@FreeBSD.org>
|
||||||
|
All rights reserved.
|
||||||
|
|
||||||
|
Redistribution and use in source and binary forms, with or without
|
||||||
|
modification, are permitted provided that the following conditions
|
||||||
|
are met:
|
||||||
|
1. Redistributions of source code must retain the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer.
|
||||||
|
2. Redistributions in binary form must reproduce the above copyright
|
||||||
|
notice, this list of conditions and the following disclaimer in the
|
||||||
|
documentation and/or other materials provided with the distribution.
|
||||||
|
|
||||||
|
THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
|
||||||
|
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||||
|
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||||
|
ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
|
||||||
|
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||||
|
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
|
||||||
|
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||||
|
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
|
||||||
|
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||||
|
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGE.
|
||||||
|
|
||||||
|
$FreeBSD$
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
The FreeBSD French Documentation Project
|
||||||
|
Original revision: 1.1
|
||||||
|
|
||||||
|
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
|
||||||
|
-->
|
||||||
|
|
||||||
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||||
|
|
||||||
|
<!-- Generate a unique anchor for this event. -->
|
||||||
|
<xsl:template name="generate-event-anchor">
|
||||||
|
<xsl:text>événement :</xsl:text>
|
||||||
|
<xsl:value-of select="@id"/>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Generic templates: -->
|
||||||
|
|
||||||
|
<!-- Convert a month number to the corresponding long English name. -->
|
||||||
|
<xsl:template name="gen-long-en-month">
|
||||||
|
<xsl:param name="nummonth"/>
|
||||||
|
<xsl:variable name="month" select="number($nummonth)"/>
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="$month=1">Janvier</xsl:when>
|
||||||
|
<xsl:when test="$month=2">Février</xsl:when>
|
||||||
|
<xsl:when test="$month=3">Mars</xsl:when>
|
||||||
|
<xsl:when test="$month=4">Avril</xsl:when>
|
||||||
|
<xsl:when test="$month=5">Mai</xsl:when>
|
||||||
|
<xsl:when test="$month=6">Juin</xsl:when>
|
||||||
|
<xsl:when test="$month=7">Juillet</xsl:when>
|
||||||
|
<xsl:when test="$month=8">Août</xsl:when>
|
||||||
|
<xsl:when test="$month=9">Septembre</xsl:when>
|
||||||
|
<xsl:when test="$month=10">Octobre</xsl:when>
|
||||||
|
<xsl:when test="$month=11">Novembre</xsl:when>
|
||||||
|
<xsl:when test="$month=12">Décembre</xsl:when>
|
||||||
|
<xsl:otherwise>Mois invalide</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
|
</xsl:template>
|
||||||
|
|
||||||
|
<!-- Generate a date interval. -->
|
||||||
|
<!-- Sample: 27 November, 2002 - 29 December, 2003 -->
|
||||||
|
<xsl:template name="gen-date-interval">
|
||||||
|
<xsl:param name="startdate"/>
|
||||||
|
<xsl:param name="enddate"/>
|
||||||
|
|
||||||
|
<xsl:value-of select="startdate/day"/>
|
||||||
|
|
||||||
|
<xsl:if test="number(startdate/month) != number(enddate/month) or
|
||||||
|
number(startdate/day) != number(enddate/day) or
|
||||||
|
number(startdate/year) != number(enddate/year)">
|
||||||
|
|
||||||
|
<xsl:if test="number(startdate/month) != number(enddate/month) or
|
||||||
|
number(startdate/year) != number(enddate/year)">
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
<xsl:call-template name="gen-long-en-month">
|
||||||
|
<xsl:with-param name="nummonth" select="startdate/month"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:if test="number(startdate/year) != number(enddate/year)">
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="startdate/year"/>
|
||||||
|
</xsl:if>
|
||||||
|
<xsl:text> - </xsl:text>
|
||||||
|
|
||||||
|
<xsl:if test="number(startdate/day) != number(enddate/day) or
|
||||||
|
number(startdate/month) != number(enddate/month) or
|
||||||
|
number(startdate/year) != number(enddate/year)">
|
||||||
|
<xsl:value-of select="enddate/day"/>
|
||||||
|
</xsl:if>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
|
<xsl:text> </xsl:text>
|
||||||
|
<xsl:call-template name="gen-long-en-month">
|
||||||
|
<xsl:with-param name="nummonth" select="enddate/month"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
|
||||||
|
<xsl:text>, </xsl:text>
|
||||||
|
<xsl:value-of select="enddate/year"/>
|
||||||
|
</xsl:template>
|
||||||
|
</xsl:stylesheet>
|
Loading…
Reference in a new issue