doc/en/index.xsl
Murray Stokely a950444501 Add ports to the Shortcuts link on the front page. Our ports web
pages could really use some work as they don't do justice to the ports
collection, but I've been convinced this link is better than none.

Requested by:	dozens
2005-10-12 19:25:12 +00:00

330 lines
12 KiB
XML

<!-- $FreeBSD: www/en/index.xsl,v 1.136 2005/10/09 16:14:38 ceri Exp $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="includes.xsl"/>
<xsl:import href="news/includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date" select="'$FreeBSD: www/en/index.xsl,v 1.136 2005/10/09 16:14:38 ceri Exp $'"/>
<xsl:variable name="title" select="'The FreeBSD Project'"/>
<!-- these params should be externally bound. The values
here are not used actually -->
<xsl:param name="advisories.xml" select="'none'"/>
<xsl:param name="notices.xml" select="'none'"/>
<xsl:param name="mirrors.xml" select="'none'"/>
<xsl:param name="news.press.xml-master" select="'none'"/>
<xsl:param name="news.press.xml" select="'none'"/>
<xsl:param name="news.project.xml-master" select="'none'"/>
<xsl:param name="news.project.xml" select="'none'"/>
<xsl:param name="events.xml-master" select="'none'"/>
<xsl:param name="events.xml" select="'none'"/>
<xsl:param name="curdate.xml" select="'none'"/>
<xsl:output type="html" encoding="iso-8859-1"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="$title"/></title>
<meta name="description" content="The FreeBSD Project"/>
<meta name="keywords" content="FreeBSD, BSD, UNIX, Support, Ports,
Release, Application, Software, Handbook, FAQ, Tutorials, Bugs,
CVS, CVSup, News, Commercial Vendors, homepage, CTM, Unix"/>
<link rel="shortcut icon" href="{$base}/favicon.ico" type="image/x-icon"/>
<link rel="icon" href="{$base}/favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" media="screen" href="{$base}/layout/css/fixed.css" type="text/css" title="Normal Text" />
<link rel="alternate stylesheet" media="screen" href="{$base}/layout/css/fixed_large.css" type="text/css" title="Large Text" />
<script type="text/javascript" src="{$base}/layout/js/styleswitcher.js"></script>
<link rel="alternate" type="application/rss+xml"
title="FreeBSD Project News" href="{$base}/news/news.rdf" />
<link rel="alternate" type="application/rss+xml"
title="FreeBSD Security Advisories" href="{$base}/security/advisories.rdf" />
<link rel="alternate" type="application/rss+xml"
title="FreeBSD GNOME Project News" href="{$base}/gnome/news.rdf" />
<!-- Formatted to be easy to spam harvest, please do not reformat. -->
<xsl:comment>
Spamtrap, do not email:
&lt;a href="mailto:bruscar@freebsd.org"&gt;bruscar@freebsd.org&lt;/a&gt;
</xsl:comment>
</head>
<body>
<div id="containerwrap">
<div id="container">
<xsl:copy-of select="$header2"/>
<div id="content">
<div id="frontcontainer">
<div id="frontmain">
<div id="frontfeaturecontainer">
<div id="frontfeatureleft">
<div id="frontfeaturecontent">
<h1>
Based on BSD UNIX&#174;
</h1>
<p>
FreeBSD is an advanced operating system for x86 compatible (including Pentium&#174; and Athlon &#8482;), amd64 compatible (including Opteron &#8482;, Athlon 64, and EM64T), Alpha/AXP, IA-64, PC-98 and UltraSPARC&#174; architectures. It is derived from BSD, the version of UNIX&#174; developed at the University of California, Berkeley. It is developed and maintained by a <a href="{$base}/doc/en_US.ISO8859-1/articles/contributors/index.html">large team of individuals</a>. Additional <a href="{$base}/platforms/">platforms</a> are in various stages of development.
</p>
<div id="txtfrontfeaturelink">
&#187;<a href="{$base}/about.html" title="Learn More">Learn More</a>
</div> <!-- txtfrontfeaturelink -->
</div> <!-- frontfeaturecontent -->
</div> <!-- frontfeatureleft -->
<div id="frontfeaturemiddle">
<div class="frontgetroundbox">
<div class="frontgettop"><div><b style="display: none">.</b></div></div>
<div class="frontgetcontent">
<a href="{$base}/where.html">Get FreeBSD Now</a>
</div> <!-- frontgetcontent -->
<div class="frontgetbot"><div><b style="display: none">.</b></div></div>
</div> <!-- frontgetroundbox -->
<div id="frontreleases">
<div id="frontreleasescontent" class="txtshortcuts">
<h2>LATEST RELEASES</h2>
<ul id="frontreleaseslist">
<li>
<a href="{$u.rel.announce}">Production Release <xsl:value-of select="$rel.current"/></a>
</li>
<li>
<a href="{$u.rel2.announce}">Production (Legacy) Release <xsl:value-of select="$rel2.current"/></a>
</li>
<xsl:if test="$beta.testing">
<li>
<a href="{$base}/where.html#helptest">Upcoming Release
<xsl:value-of select="concat($betarel.current, '-', $betarel.vers)"/></a>
</li>
</xsl:if>
</ul>
</div> <!-- frontreleasescontent -->
</div> <!-- frontreleases -->
</div> <!-- frontfeaturemiddle -->
<div id="frontfeatureright">
<h2 class="blockhide">Language Links</h2>
<div id="languagenav">
<ul id="languagenavlist">
<li>
<a href="{$base}/de/" title="German">de</a>
</li>
<li>
<a href="{$base}/" title="English">en</a>
</li>
<li>
<a href="{$base}/es/" title="Spanish">es</a>
</li>
<li>
<a href="{$base}/fr/" title="French">fr</a>
</li>
<li>
<a href="{$base}/it/" title="Italian">it</a>
</li>
<li>
<a href="{$base}/ja/" title="Japanese">ja</a>
</li>
<li class="last-child">
<a href="{$base}/ru/" title="Russian">ru</a>
</li>
</ul>
</div> <!-- languagenav -->
<div id="mirror">
<form action="{$cgibase}/mirror.cgi" method="get">
<div>
<h2 class="blockhide"><label for="mirrorsel">Mirror</label></h2>
<select id="mirrorsel" name="goto">
<xsl:call-template name="html-index-mirrors-options-list">
<xsl:with-param name="mirrors.xml" select="$mirrors.xml" />
</xsl:call-template>
</select>
</div> <!-- unnamed -->
<input type="submit" value="Go" />
</form>
</div> <!-- mirror -->
<div id="frontshortcuts">
<div id="frontshortcutscontent" class="txtshortcuts">
<h2>SHORTCUTS</h2>
<ul id="frontshortcutslist">
<li>
<a href="{$base}/community/mailinglists.html" title="Mailing Lists">Mailing Lists</a>
</li>
<li>
<a href="{$base}/send-pr.html" title="Report a Bug">Report a Bug</a>
</li>
<li>
<a href="{$base}/doc/en_US.ISO8859-1/books/faq/index.html" title="FAQ">FAQ</a>
</li>
<li>
<a href="{$base}/doc/en_US.ISO8859-1/books/handbook/index.html" title="Handbook">Handbook</a>
</li>
<li>
<a href="http://www.freebsdfoundation.org/" title="Foundation">Foundation</a>
</li>
<li>
<a href="{$base}/ports/index.html" title="Ports">Ports</a>
</li>
</ul>
</div> <!-- frontshortcutscontent -->
</div> <!-- frontshortcuts -->
<div class="frontnewroundbox">
<div class="frontnewtop"><div><b style="display: none">.</b></div></div>
<div class="frontnewcontent">
<a href="{$base}/projects/newbies.html">New to FreeBSD?</a>
</div> <!-- frontnewcontent -->
<div class="frontnewbot"><div><b style="display: none">.</b></div></div>
</div> <!-- frontnewroundbox -->
</div> <!-- featureright -->
</div> <!-- frontfeaturecontainer -->
<br class="clearboth" />
<div id="frontnemscontainer">
<div id="frontnews">
<div id="frontnewscontent" class="txtnewsevent">
<h2>LATEST NEWS</h2>
<div class="newseventswrap">
<xsl:call-template name="html-index-news-project-items">
<xsl:with-param name="news.project.xml-master" select="$news.project.xml-master" />
<xsl:with-param name="news.project.xml" select="$news.project.xml" />
</xsl:call-template>
<div>
<ul class="newseventslist">
<li class="first-child">
<a href="{$base}/news/newsflash.html" title="More News">More News</a>
</li>
<li class="last-child">
<a href="{$base}/news/news.rdf" title="News RSS Feed"><img class="rssimage" src="{$base}/layout/images/ico_rss.png" width="27" height="12" alt="News RSS Feed" /></a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
</div> <!-- frontnewscontent -->
</div> <!-- frontnews -->
<div class="frontseparator"><b style="display: none">.</b></div>
<div id="frontevents">
<div id="fronteventscontent" class="txtnewsevent">
<h2>UPCOMING EVENTS</h2>
<div class="newseventswrap">
<xsl:call-template name="html-index-events-items">
<xsl:with-param name="events.xml-master" select="$events.xml-master" />
<xsl:with-param name="events.xml" select="$events.xml" />
<xsl:with-param name="curdate.xml" select="$curdate.xml" />
</xsl:call-template>
<div>
<ul class="newseventslist">
<li class="only-child">
<a href="{$base}/events/" title="More Events">More Events</a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
</div> <!-- frontnewsevents -->
</div> <!-- frontevents -->
<div class="frontseparator"><b style="display: none">.</b></div>
<div id="frontmedia">
<div id="frontmediacontent" class="txtnewsevent">
<h2>IN THE MEDIA</h2>
<div class="newseventswrap">
<xsl:call-template name="html-index-news-press-items">
<xsl:with-param name="news.press.xml-master" select="$news.press.xml-master" />
<xsl:with-param name="news.press.xml" select="$news.press.xml" />
</xsl:call-template>
<div>
<ul class="newseventslist">
<li class="only-child">
<a href="{$base}/news/press.html" title="More Media">More Media</a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
</div> <!-- frontmediacontent -->
</div> <!-- frontmedia -->
<div class="frontseparator"><b style="display: none">.</b></div>
<div id="frontsecurity">
<div id="frontsecuritycontent" class="txtnewsevent">
<h2>SECURITY ADVISORIES</h2>
<div class="newseventswrap">
<xsl:call-template name="html-index-advisories-items">
<xsl:with-param name="advisories.xml" select="$advisories.xml" />
<xsl:with-param name="type" select="'advisory'" />
</xsl:call-template>
<div>
<ul class="newseventslist">
<li class="first-child">
<a href="{$base}/security/" title="More Security Advisories">More</a>
</li>
<li>
<a href="{$base}/send-pr.html" title="Submit a Problem Report">Submit Bug</a>
</li>
<li class="last-child">
<a href="{$base}/security/advisories.rdf" title="Security Advisories RSS Feed"><img class="rssimage" src="{$base}/layout/images/ico_rss.png" width="27" height="12" alt="Security Advisories RSS Feed" /></a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
<br />
<h2>ERRATA NOTICES</h2>
<div class="newseventswrap">
<xsl:call-template name="html-index-advisories-items">
<xsl:with-param name="advisories.xml" select="$notices.xml" />
<xsl:with-param name="type" select="'notice'" />
</xsl:call-template>
</div> <!-- newseventswrap -->
</div> <!-- frontsecuritycontent -->
</div> <!-- frontsecurity -->
<br class="clearboth" />
</div> <!-- frontnemscontainer -->
</div> <!-- frontmain -->
</div> <!-- frontcontainer -->
</div> <!-- content -->
<div id="footer">
<xsl:copy-of select="$copyright"/><br />
<xsl:copy-of select="$date"/>
</div> <!-- footer -->
</div> <!-- container -->
</div> <!-- containerwrap -->
</body>
</html>
</xsl:template>
</xsl:stylesheet>
<!--
Local Variables:
mode: xml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->