Update www/es/include.xsl to use www/share/indlude.xsl.
Approved by: jesusr (mentor)
This commit is contained in:
parent
febc6e50a0
commit
cef929ce2e
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=24516
1 changed files with 1 additions and 158 deletions
159
es/includes.xsl
159
es/includes.xsl
|
@ -8,163 +8,6 @@
|
|||
|
||||
<xsl:variable name="url.doc.langcode" select="'es_ES.ISO8859-1'" />
|
||||
|
||||
<xsl:variable name="i.daemon">
|
||||
<img src="{$enbase}/gifs/daemon.gif" alt="" align="left" width="80" height="76"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="i.new">
|
||||
<img src="{$enbase}/gifs/new.gif" alt="[New!]" width="28" height="11"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="copyright">
|
||||
<a href="{$enbase}/copyright/index.html">Copyright</a> © 1995-2004 the FreeBSD Project. Todos los derechos reservados.
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="email" select="'freebsd-questions'"/>
|
||||
<xsl:variable name="author">
|
||||
<a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="concat($base, '/mailto.html')"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="$email"/>@FreeBSD.org</a><br/><xsl:value-of select="$copyright"/>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="home">
|
||||
<a href="{$base}/index.html"><img src="{$enbase}/gifs/home.gif" alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"/></a>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="header1">
|
||||
<head>
|
||||
<title><xsl:value-of select="$title"/></title>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
|
||||
<meta name="MSSmartTagsPreventParsing" content="TRUE"/>
|
||||
</head>
|
||||
</xsl:variable>
|
||||
|
||||
<xsl:variable name="header2">
|
||||
<img src="{$enbase}/gifs/bar.gif" alt="Navigation Bar" width="565"
|
||||
height="33" border="0" usemap="#bar"/>
|
||||
|
||||
<h1 align="left"><font color="#660000"><xsl:value-of select="$title"/></font></h1>
|
||||
|
||||
<br clear="all"/>
|
||||
|
||||
<map name="bar">
|
||||
<area shape="rect" coords="1,1,111,31"
|
||||
href="{$base}/index.html" alt="Home"/>
|
||||
<area shape="rect" coords="112,11,196,31"
|
||||
href="{$base}/ports/index.html" alt="Aplicaciones"/>
|
||||
<area shape="rect" coords="196,12,257,33"
|
||||
href="{$base}/support.html" alt="Soporte"/>
|
||||
<area shape="rect" coords="256,12,365,33"
|
||||
href="{$base}/docs.html" alt="Documentació"/>
|
||||
<area shape="rect" coords="366,13,424,32"
|
||||
href="{$base}/commercial/commercial.html" alt="Vendors"/>
|
||||
<area shape="rect" coords="425,16,475,32"
|
||||
href="{$base}/search/search.html" alt="Buscar"/>
|
||||
<area shape="rect" coords="477,16,516,33"
|
||||
href="{$base}/search/index-site.html" alt="Index"/>
|
||||
<area shape="rect" coords="516,15,562,33"
|
||||
href="{$base}/index.html" alt="Top"/>
|
||||
<area shape="rect" coords="0,0,564,32"
|
||||
href="{$base}/index.html" alt="Top"/>
|
||||
</map>
|
||||
</xsl:variable>
|
||||
|
||||
<!-- template: "html-index-advisories-items-lastmodified" -->
|
||||
|
||||
<xsl:template name="html-index-advisories-items-lastmodified">
|
||||
<xsl:param name="advisories.xml" select="''" />
|
||||
|
||||
<xsl:value-of select="document($advisories.xml)/descendant::day[position() = 1]/name"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:call-template name="transtable-lookup">
|
||||
<xsl:with-param name="word-group" select="'number-month'" />
|
||||
<xsl:with-param name="word">
|
||||
<xsl:value-of select="document($advisories.xml)/descendant::month[position() = 1]/name"/>
|
||||
</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="document($advisories.xml)/descendant::year[position() = 1]/name"/>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "html-index-news-project-items"
|
||||
pulls in the 10 most recent project items -->
|
||||
|
||||
<xsl:template name="html-index-news-project-items">
|
||||
<xsl:param name="news.project.xml" select="''" />
|
||||
|
||||
<xsl:for-each select="document($news.project.xml)/descendant::event[position() <= 10]">
|
||||
<xsl:value-of select="$leadingmark" /><a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="$enbase"/>/news/newsflash.html#<xsl:call-template name="generate-event-anchor"/>
|
||||
</xsl:attribute>
|
||||
<xsl:choose>
|
||||
<xsl:when test="count(child::title)">
|
||||
<xsl:value-of select="title"/><br/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="p"/><br/>
|
||||
</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
</a>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "html-index-news-press-items"
|
||||
pulls in the 10 most recent press items -->
|
||||
|
||||
<xsl:template name="html-index-news-press-items">
|
||||
<xsl:param name="news.press.xml" select="''" />
|
||||
|
||||
<xsl:for-each select="document($news.press.xml)/descendant::story[position() < 10]">
|
||||
<xsl:value-of select="$leadingmark" /><a>
|
||||
<xsl:attribute name="href">
|
||||
<xsl:value-of select="$enbase"/>/news/press.html#<xsl:call-template name="generate-story-anchor"/>
|
||||
</xsl:attribute>
|
||||
<xsl:value-of select="name"/>
|
||||
</a><br/>
|
||||
</xsl:for-each>
|
||||
</xsl:template>
|
||||
|
||||
<!-- template: "html-index-news-project-items-lastmodified" -->
|
||||
|
||||
<xsl:template name="html-index-news-project-items-lastmodified">
|
||||
<xsl:param name="news.project.xml" select="''" />
|
||||
|
||||
<xsl:value-of select="document($news.project.xml)/descendant::day[position() = 1]/name"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:call-template name="transtable-lookup">
|
||||
<xsl:with-param name="word-group" select="'number-month'" />
|
||||
<xsl:with-param name="word">
|
||||
<xsl:value-of select="document($news.project.xml)/descendant::month[position() = 1]/name"/>
|
||||
</xsl:with-param>
|
||||
</xsl:call-template>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="document($news.project.xml)/descendant::year[position() = 1]/name"/>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:variable name="u.rel.notes">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel.current"/>R/relnotes.html</xsl:variable>
|
||||
|
||||
<xsl:variable name="u.rel.announce">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel.current"/>R/announce.html</xsl:variable>
|
||||
<xsl:variable name="u.rel.errata">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel.current"/>R/errata.html</xsl:variable>
|
||||
<xsl:variable name="u.rel.hardware">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel.current"/>R/hardware.html</xsl:variable>
|
||||
<xsl:variable name="u.rel.early">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel.current"/>R/early-adopter.html</xsl:variable>
|
||||
|
||||
<xsl:variable name="u.rel2.notes">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel2.current"/>R/relnotes.html</xsl:variable>
|
||||
|
||||
<xsl:variable name="u.rel2.announce">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel2.current"/>R/announce.html</xsl:variable>
|
||||
<xsl:variable name="u.rel2.errata">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel2.current"/>R/errata.html</xsl:variable>
|
||||
<xsl:variable name="u.rel2.hardware">
|
||||
<xsl:value-of select="$enbase"/>/releases/<xsl:value-of select="$rel2.current"/>R/hardware.html</xsl:variable>
|
||||
<!-- Language-specific definitions should be put below this line -->
|
||||
|
||||
</xsl:stylesheet>
|
||||
|
|
Loading…
Reference in a new issue