MFbed: Update the German web site.
index.xsl 1.75 -> 1.76 [1] mailto.sgml 1.27 -> 1.28 Makefile [1] includes.xsl [1,2] news/newsflash.xsl [2] news/oldnewsflash.xsl [2] [1] Generate links to the security advisories from advisories.xml in the en/ tree (found this in the it/ tree, thanks :-). [2] Use relative links instead of "http://www.FreeBSD.org/" to access the base directory.
This commit is contained in:
parent
0316aaf085
commit
4c28d128e8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18229
6 changed files with 43 additions and 23 deletions
|
@ -1,7 +1,7 @@
|
|||
# The FreeBSD Documentation Project
|
||||
# The FreeBSD German Documentation Project
|
||||
# $FreeBSD$
|
||||
# $FreeBSDde: de-www/Makefile,v 1.15 2003/08/14 23:13:43 mheinen Exp $
|
||||
# $FreeBSDde: de-www/Makefile,v 1.16 2003/09/21 22:54:51 mheinen Exp $
|
||||
# basiert auf: 1.98
|
||||
|
||||
.if exists(Makefile.conf)
|
||||
|
@ -61,7 +61,7 @@ DATA+= index.html
|
|||
CLEANFILES+= index.html
|
||||
|
||||
#index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl security/advisories.xml
|
||||
index.html: index.xsl news/news.xml includes.xsl news/includes.xsl security/advisories.xml
|
||||
index.html: index.xsl news/news.xml includes.xsl news/includes.xsl ../en/security/advisories.xml
|
||||
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
|
||||
${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
|
||||
.if !defined(NO_TIDY)
|
||||
|
|
|
@ -1,17 +1,14 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<!-- $FreeBSD$
|
||||
$FreeBSDde: de-www/includes.xsl,v 1.2 2003/08/02 09:24:07 mheinen Exp $
|
||||
$FreeBSDde: de-www/includes.xsl,v 1.4 2003/09/23 22:38:10 mheinen Exp $
|
||||
basiert auf: 1.15
|
||||
-->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
||||
<xsl:variable name="base" select="'.'"/>
|
||||
<!--
|
||||
<xsl:variable name="enbase" select="'..'"/>
|
||||
-->
|
||||
<xsl:variable name="enbase" select="'http://www.freebsd.org'"/>
|
||||
<xsl:variable name="debase" select="'http://www.de.freebsd.org/de'"/>
|
||||
|
||||
<xsl:variable name="i.daemon">
|
||||
|
@ -119,4 +116,23 @@
|
|||
<xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/errata.html</xsl:variable>
|
||||
<xsl:variable name="u.rel2.hardware">
|
||||
<xsl:value-of select="$base"/>/releases/<xsl:value-of select="$rel2.current"/>R/hardware.html</xsl:variable>
|
||||
|
||||
<!-- Translate month name -->
|
||||
<xsl:template name="translate-month">
|
||||
<xsl:param name="month"/>
|
||||
<xsl:choose>
|
||||
<xsl:when test="$month = 'January'">Januar</xsl:when>
|
||||
<xsl:when test="$month = 'February'">Februar</xsl:when>
|
||||
<xsl:when test="$month = 'March'">März</xsl:when>
|
||||
<xsl:when test="$month = 'April'">April</xsl:when>
|
||||
<xsl:when test="$month = 'May'">Mai</xsl:when>
|
||||
<xsl:when test="$month = 'June'">Juni</xsl:when>
|
||||
<xsl:when test="$month = 'July'">Juli</xsl:when>
|
||||
<xsl:when test="$month = 'August'">August</xsl:when>
|
||||
<xsl:when test="$month = 'September'">September</xsl:when>
|
||||
<xsl:when test="$month = 'October'">Oktober</xsl:when>
|
||||
<xsl:when test="$month = 'November'">November</xsl:when>
|
||||
<xsl:when test="$month = 'December'">Dezember</xsl:when>
|
||||
</xsl:choose>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
|
18
de/index.xsl
18
de/index.xsl
|
@ -2,8 +2,8 @@
|
|||
|
||||
<!--
|
||||
$FreeBSD$
|
||||
$FreeBSDde: de-www/index.xsl,v 1.10 2003/09/05 11:54:11 mheinen Exp $
|
||||
basiert auf: 1.76
|
||||
$FreeBSDde: de-www/index.xsl,v 1.12 2003/09/23 23:11:33 mheinen Exp $
|
||||
basiert auf: 1.77
|
||||
-->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
||||
|
@ -11,7 +11,7 @@
|
|||
<xsl:import href="includes.xsl"/>
|
||||
<xsl:import href="news/includes.xsl"/>
|
||||
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/en/index.xsl,v 1.42 2002/12/16 21:10:22 keramida Exp $'"/>
|
||||
<xsl:variable name="date" select="'$FreeBSD: www/de/index.xsl,v 1.4 2003/09/17 23:40:35 mheinen Exp $'"/>
|
||||
<xsl:variable name="title" select="'The FreeBSD Project'"/>
|
||||
|
||||
<xsl:output type="html" encoding="iso-8859-1"
|
||||
|
@ -489,16 +489,18 @@
|
|||
<font size="-1">
|
||||
aktualisiert am:
|
||||
<xsl:value-of
|
||||
select="document('security/advisories.xml')/descendant::day[position() = 1]/name"/>
|
||||
select="document('../en/security/advisories.xml')/descendant::day[position() = 1]/name"/>
|
||||
<xsl:text>. </xsl:text>
|
||||
<xsl:value-of
|
||||
select="document('security/advisories.xml')/descendant::month[position() = 1]/name"/>
|
||||
<xsl:call-template name="translate-month">
|
||||
<xsl:with-param name="month"
|
||||
select="descendant::month[position() = 1]/name"/>
|
||||
</xsl:call-template>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of
|
||||
select="document('security/advisories.xml')/descendant::year[position() = 1]/name"/>
|
||||
select="document('../en/security/advisories.xml')/descendant::year[position() = 1]/name"/>
|
||||
<br/>
|
||||
<!-- Pull in the 10 most recent security advisories -->
|
||||
<xsl:for-each select="document('security/advisories.xml')/descendant::advisory[position() < 10]">
|
||||
<xsl:for-each select="document('../en/security/advisories.xml')/descendant::advisory[position() < 10]">
|
||||
· <a>
|
||||
<xsl:attribute name="href">ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/<xsl:value-of select="name"/>.asc</xsl:attribute>
|
||||
<xsl:value-of select="name"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" [
|
||||
<!ENTITY date "$FreeBSD$">
|
||||
<!ENTITY dedate "$FreeBSDde: de-www/mailto.sgml,v 1.1 2003/08/04 23:55:35 mheinen Exp $">
|
||||
<!ENTITY reference "basiert auf: 1.27">
|
||||
<!ENTITY dedate "$FreeBSDde: de-www/mailto.sgml,v 1.2 2003/09/23 23:11:49 mheinen Exp $">
|
||||
<!ENTITY reference "basiert auf: 1.28">
|
||||
<!ENTITY title "FreeBSD Ansprechpartner">
|
||||
<!ENTITY % includes SYSTEM "includes.sgml"> %includes;
|
||||
]>
|
||||
|
@ -12,7 +12,7 @@
|
|||
<h2>Fragen zu FreeBSD</h2>
|
||||
|
||||
<p>Fragen zu FreeBSD sollten auf der Mailingliste
|
||||
<a href="mailto:de-bsd-questions@de.FreeBSD.ORG">de-bsd-questions@de.FreeBSD.ORG</a>
|
||||
<a href="mailto:de-bsd-questions@de.FreeBSD.org">de-bsd-questions@de.FreeBSD.org</a>
|
||||
gestellt werden.</p>
|
||||
|
||||
<p>Die Unterstützung der FreeBSD-Benutzer wird
|
||||
|
@ -26,13 +26,13 @@
|
|||
<p>Fragen und Vorschläge zur Dokumentation (dem
|
||||
<a href="&base;/../doc/de_DE.ISO8859-1/books/handbook/index.html">Handbuch</a>,
|
||||
der <a href="&base;/../doc/de_DE.ISO8859-1/books/faq/index.html">FAQ</a>
|
||||
und den <a href="&base;/../tutorials/index.html">Tutorien</a>) sollten
|
||||
auf der Liste des FreeBSD Documentation Projects
|
||||
<a href="mailto:freebsd-doc@FreeBSD.ORG">freebsd-doc@FreeBSD.ORG</a>
|
||||
sowie den <a href="&base;/../docs.html">Büchern und
|
||||
Artikeln</a>) sollten auf der Liste des FreeBSD Documentation Projects
|
||||
<a href="mailto:freebsd-doc@FreeBSD.org">freebsd-doc@FreeBSD.org</a>
|
||||
gestellt werden.</p>
|
||||
|
||||
<p>Fragen zur deutschen Dokumentation sollten auf der Liste
|
||||
<a href="mailto:de-bsd-translators@DE.FreeBSD.ORG">de-bsd-translators@DE.FreeBSD.ORG</a>
|
||||
<a href="mailto:de-bsd-translators@DE.FreeBSD.org">de-bsd-translators@DE.FreeBSD.org</a>
|
||||
gestellt werden.</p>
|
||||
|
||||
<h2>Sonstiges</h2>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<!--
|
||||
$FreeBSD$
|
||||
$FreeBSDde: de-www/news/newsflash.xsl,v 1.6 2003/08/10 15:22:58 mheinen Exp $
|
||||
$FreeBSDde: de-www/news/newsflash.xsl,v 1.7 2003/09/23 22:38:11 mheinen Exp $
|
||||
basiert auf: 1.9
|
||||
-->
|
||||
|
||||
|
@ -13,6 +13,7 @@
|
|||
<xsl:import href="includes.xsl"/>
|
||||
|
||||
<xsl:variable name="base" select="'..'"/>
|
||||
<xsl:variable name="enbase" select="'../..'"/>
|
||||
<xsl:variable name="title" select="'FreeBSD Ankündigungen'"/>
|
||||
<xsl:variable name="date">
|
||||
<xsl:value-of select="//cvs:keyword[@name='freebsd']"/>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
|
||||
<!-- $FreeBSD$
|
||||
$FreeBSDde: de-www/news/oldnewsflash.xsl,v 1.2 2003/08/09 11:56:31 mheinen Exp $
|
||||
$FreeBSDde: de-www/news/oldnewsflash.xsl,v 1.3 2003/09/23 22:38:11 mheinen Exp $
|
||||
basiert auf: 1.5 -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
|
@ -14,6 +14,7 @@
|
|||
<xsl:value-of select="descendant::year/name"/>
|
||||
</xsl:variable>
|
||||
<xsl:variable name="base" select="'../..'"/>
|
||||
<xsl:variable name="enbase" select="'../../..'"/>
|
||||
<xsl:variable name="title" select="concat('FreeBSD Ankündigungen (', $year, ')')"/>
|
||||
<!-- <xsl:variable name="title" select="$year"/> -->
|
||||
<xsl:variable name="date">
|
||||
|
|
Loading…
Reference in a new issue