Add xml navigation menu.

Approved by:	blackend (mentor)
This commit is contained in:
Alex Dupre 2004-02-03 22:26:58 +00:00
parent 839379aa02
commit c6358796bc
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=19964
3 changed files with 87 additions and 105 deletions

View file

@ -1,4 +1,4 @@
# $FreeBSD: www/it/Makefile,v 1.4 2004/01/14 11:11:14 ale Exp $
# $FreeBSD: www/it/Makefile,v 1.5 2004/01/14 14:29:03 ale Exp $
.if exists(Makefile.conf)
.include "Makefile.conf"
.endif
@ -28,7 +28,7 @@ CLEANFILES+= index.html
index.html: index.xsl ${XML_INCLUDES} \
${XML_NEWS_INCLUDES_MASTER} ${XML_NEWS_NEWS_MASTER} ${XML_NEWS_PRESS_MASTER} \
${XML_MIRRORS} ${XML_TRANSTABLE} ${XML_ADVISORIES}
${XML_MIRRORS} ${XML_TRANSTABLE} ${XML_ADVISORIES} ${XML_NAVIGATION}
${XSLTPROC} ${XSLTPROCOPTS} \
-o $@ \
--param mirrors.xml "'${XML_MIRRORS}'" \
@ -36,6 +36,7 @@ index.html: index.xsl ${XML_INCLUDES} \
--param news.press.xml "'${XML_NEWS_PRESS_MASTER}'" \
--param news.project.xml "'${XML_NEWS_NEWS_MASTER}'" \
--param transtable.xml "'${XML_TRANSTABLE}'" \
--param navigation.xml "'${XML_NAVIGATION}'" \
${.CURDIR}/index.xsl ${XML_NEWS_NEWS_MASTER}
.if !defined(NO_TIDY)
-${TIDY} ${TIDYOPTS} ${.TARGET}

View file

@ -1,15 +1,13 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $FreeBSD: www/it/index.xsl,v 1.8 2004/01/14 14:29:03 ale Exp $ -->
<!-- $FreeBSD: www/it/index.xsl,v 1.9 2004/01/26 18:20:06 ale Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="includes.xsl"/>
<xsl:import href="../en/news/includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="enbase" select="'..'"/>
<xsl:variable name="date" select="'$FreeBSD: www/it/index.xsl,v 1.8 2004/01/14 14:29:03 ale Exp $'"/>
<xsl:variable name="date" select="'$FreeBSD: www/it/index.xsl,v 1.9 2004/01/26 18:20:06 ale Exp $'"/>
<xsl:variable name="title" select="'The FreeBSD Project'"/>
<!-- these params should be externally bound. The values
@ -100,104 +98,9 @@
bgcolor="#ffcc66" width="100%">
<tr>
<td>
<p>
<a href="{$enbase}/platforms/index.html">
<font size="+1" color="#990000"><b>Piattaforme:</b></font>
</a><small><br/>
&#183; <a href="{$enbase}/smp/index.html">i386</a><br/>
&#183; <a href="{$enbase}/platforms/alpha.html">Alpha</a><br/>
&#183; <a href="{$enbase}/platforms/ia64/index.html">IA-64</a><br/>
&#183; <a href="{$enbase}/platforms/amd64.html">AMD64</a><br/>
&#183; <a href="{$enbase}/platforms/sparc.html">Sparc64</a><br/>
&#183; <a href="{$enbase}/platforms/index.html">Altre?</a><br/>
</small></p>
<p><font size="+1" color="#990000"><b>Software</b></font>
<small><br/>
&#183; <a href="{$enbase}/doc/it_IT.ISO8859-15/books/handbook/mirrors.html">Ottenere FreeBSD</a><br/>
&#183; <a href="{$base}/releases/index.html">Info sulle Release</a><br/>
&#183; <a href="{$enbase}/ports/index.html">Applicazioni Portate</a><br/>
</small></p>
<p>
<a href="docs.html">
<font size="+1" color="#990000"><b>Documentazione</b></font>
</a><small><br/>
&#183; <a href="{$enbase}/doc/en_US.ISO8859-1/books/faq/index.html">FAQ</a><br/>
&#183; <a href="{$enbase}/doc/it_IT.ISO8859-15/books/handbook/index.html">Manuale</a><br/>
&#183; <a href="http://www.FreeBSD.org/cgi/man.cgi">Pagine man</a><br/>
&#183; <a href="{$enbase}/projects/newbies.html">Per i Niubbi</a><br/>
&#183; <a href="{$enbase}/docproj/index.html">Doc. Project</a><br/>
</small></p>
<p>
<a href="{$enbase}/support.html">
<font size="+1" color="#990000"><b>Supporto</b></font>
</a><small><br/>
&#183; <a href="{$enbase}/support.html#mailing-list">Mailing List</a><br/>
&#183; <a href="{$enbase}/support.html#newsgroups">Newsgroup</a><br/>
&#183; <a href="{$enbase}/support.html#user">Gruppi Utenti</a><br/>
&#183; <a href="{$enbase}/support.html#web">Risorse Web</a><br/>
&#183; <a href="{$enbase}/security/index.html">Sicurezza</a><br/>
</small></p>
<p>
<a href="{$enbase}/support.html#gnats">
<font size="+1" color="#990000"><b>Report di Bug</b></font>
</a><small><br/>
&#183; <a href="http://www.FreeBSD.org/cgi/query-pr-summary.cgi?query">Cerca</a><br/>
&#183; <a href="http://www.FreeBSD.org/cgi/query-pr.cgi">Visualizza un Report</a><br/>
&#183; <a href="http://www.FreeBSD.org/cgi/query-pr-summary.cgi">Elenca tutti i Report</a><br/>
&#183; <a href="{$enbase}/send-pr.html">Invia un report</a><br/>
&#183; <a href="{$enbase}/doc/en_US.ISO8859-1/articles/problem-reports/article.html">Scrivere i Report</a><br/>
</small></p>
<p>
<a href="{$enbase}/projects/index.html">
<font size="+1" color="#990000"><b>Sviluppo</b></font>
</a><small><br/>
&#183; <a href="{$enbase}/doc/en_US.ISO8859-1/books/developers-handbook">Manuale dello Sviluppatore</a><br/>
&#183; <a href="{$enbase}/doc/en_US.ISO8859-1/books/porters-handbook">Manuale del Porter</a><br/>
&#183; <a href="{$enbase}/support.html#cvs">Repository CVS</a><br/>
&#183; <a href="{$enbase}/releng/index.html">Release Engineering</a><br/>
&#183; <a href="{$enbase}/doc/en_US.ISO8859-1/articles/contributing/index.html">Contribuire a FreeBSD</a><br/>
</small></p>
<p><font size="+1" color="#990000"><b>Fornitori</b></font>
<small><br/>
&#183; <a href="{$enbase}/commercial/software_bycat.html">Software</a><br/>
&#183; <a href="{$enbase}/commercial/hardware.html">Hardware</a><br/>
&#183; <a href="{$enbase}/commercial/consulting_bycat.html">Consulenza</a><br/>
&#183; <a href="{$enbase}/commercial/misc.html">Varie</a><br/>
</small></p>
<p><font size="+1" color="#990000"><b>Donazioni</b></font>
<small><br/>
&#183; <a href="{$enbase}/donations/index.html">Info sul Progetto</a><br/>
&#183; <a href="{$enbase}/donations/donors.html">Attuali Donazioni</a><br/>
&#183; <a href="{$enbase}/donations/wantlist.html">Elenco delle Richieste</a><br/>
</small></p>
<p>
<a href="{$enbase}/search/index-site.html">
<font size="+1" color="#990000"><b>Questo Sito</b></font>
</a><small><br/>
&#183; <a href="{$enbase}/search/search.html#web">Cerca nel Sito</a><br/>
&#183; <a href="{$enbase}/search/search.html#mailinglists">Cerca nelle Mailing List</a><br/>
&#183; <a href="{$enbase}/search/search.html">Cerca ovunque</a><br/>
</small></p>
<p>
<a href="mailto.html">
<font size="+1" color="#990000"><b>Contattare FreeBSD</b></font>
</a>
</p>
<p>
<a href="{$enbase}/copyright/index.html">
<font size="+1" color="#990000"><b>Il Copyright BSD</b></font>
</a>
</p>
<xsl:call-template name="html-index-navigation-link-list">
<xsl:with-param name="navigation.xml" select="$navigation.xml"/>
</xsl:call-template>
<form action="http://www.FreeBSD.org/cgi/search.cgi" method="get">
<small>Cerca:<br/>
@ -205,7 +108,8 @@
<input type="hidden" name="max" value="25"/>
<input type="hidden" name="source" value="www"/>
<input type="submit" value="Vai"/></small>
</form></td>
</form>
</td>
</tr>
</table>
</td>

77
it/navigation.xml Executable file
View file

@ -0,0 +1,77 @@
<?xml version="1.0"?>
<navigation>
<cvs:keywords xmlns:cvs="http://www.FreeBSD.org/XML/CVS" version="1.0">
<cvs:keyword name="freebsd">
$FreeBSD$
</cvs:keyword>
</cvs:keywords>
<category src="platforms/index.html" path="enbase" name="Piattaforme">
<link src="smp/index.html" path="enbase" name="i386"/>
<link src="platforms/alpha.html" path="enbase" name="Alpha"/>
<link src="platforms/ia64/index.html" path="enbase" name="IA-64"/>
<link src="platforms/amd64.html" path="enbase" name="AMD64"/>
<link src="platforms/sparc.html" path="enbase" name="Sparc64"/>
<link src="platforms/index.html" path="enbase" name="Altre?"/>
</category>
<category name="Software">
<link src="doc/it_IT.ISO8859-15/books/handbook/mirrors.html" path="enbase" name="Ottenere FreeBSD"/>
<link src="releases/index.html" path="base" name="Info sulle Release"/>
<link src="ports/index.html" path="enbase" name="Applicazioni Portate"/>
</category>
<category src="docs.html" path="base" name="Documentazione">
<link src="doc/en_US.ISO8859-1/books/faq/index.html" path="enbase" name="FAQ"/>
<link src="doc/it_IT.ISO8859-15/books/handbook/index.html" path="enbase" name="Manuale"/>
<link src="http://www.freebsd.org/cgi/man.cgi" name="Pagine man"/>
<link src="projects/newbies.html" path="enbase" name="Per i Niubbi"/>
<link src="docproj/index.html" path="enbase" name="Doc. Project"/>
</category>
<category src="support.html" path="enbase" name="Supporto">
<link src="support.html#mailing-list" path="enbase" name="Mailing lists"/>
<link src="support.html#newsgroups" path="enbase" name="Newsgroups"/>
<link src="support.html#user" path="enbase" name="Gruppi Utenti"/>
<link src="support.html#web" path="enbase" name="Risorse Web"/>
<link src="security/index.html" path="enbase" name="Sicurezza"/>
</category>
<category src="support.html#gnats" path="enbase" name="Report di Bug">
<link src="http://www.freebsd.org/cgi/query-pr-summary.cgi?query" name="Cerca"/>
<link src="http://www.freebsd.org/cgi/query-pr.cgi" name="Visualizza un Report"/>
<link src="http://www.freebsd.org/cgi/query-pr-summary.cgi" name="Elenca tutti i Report"/>
<link src="send-pr.html" path="enbase" name="Invia un report"/>
<link src="doc/en_US.ISO8859-1/articles/problem-reports/article.html" path="enbase" name="Scrivere i Report"/>
</category>
<category src="projects/index.html" path="enbase" name="Sviluppo">
<link src="doc/en_US.ISO8859-1/books/developers-handbook" path="enbase" name="Manuale dello Sviluppatore"/>
<link src="doc/en_US.ISO8859-1/books/porters-handbook" path="enbase" name="Manuale del Porter"/>
<link src="support.html#cvs" path="enbase" name="Repository CVS"/>
<link src="releng/index.html" path="enbase" name="Release Engineering"/>
<link src="doc/en_US.ISO8859-1/articles/contributing/index.html" path="enbase" name="Contribuire a FreeBSD"/>
</category>
<category name="Fornitori">
<link src="commercial/software_bycat.html" path="enbase" name="Software"/>
<link src="commercial/hardware.html" path="enbase" name="Hardware"/>
<link src="commercial/consulting_bycat.html" path="enbase" name="Consulenza"/>
<link src="commercial/misc.html" path="enbase" name="Varie"/>
</category>
<category name="Donazioni">
<link src="donations/index.html" path="enbase" name="Info sul Progetto"/>
<link src="donations/donors.html" path="enbase" name="Attuali Donazioni"/>
<link src="donations/wantlist.html" path="enbase" name="Elenco delle Richieste"/>
</category>
<category src="search/index-site.html" path="enbase" name="Questo Sito">
<link src="search/search.html#web" path="enbase" name="Cerca nel Sito"/>
<link src="search/search.html#mailinglists" path="enbase" name="Cerca nelle Mailing List"/>
<link src="search/search.html" path="enbase" name="Cerca Ovunque"/>
</category>
<category src="mailto.html" path="base" name="Contattare FreeBSD"/>
<category src="copyright/index.html" path="enbase" name="Il Copyright BSD"/>
</navigation>