doc/zh_CN/index.xsl
2007-04-17 03:36:08 +00:00

348 lines
12 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="gb2312" ?>
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd" [
<!ENTITY title "The FreeBSD Project">
]>
<!-- The FreeBSD Simplified Chinese Documentation Project -->
<!-- Original revision: 1.160 -->
<!-- $FreeBSD$ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
<!-- 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:output type="html" encoding="&xml.encoding;"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="/">
<html>
<head>
<title>&title;</title>
<meta name="description" content="The FreeBSD Project"/>
<meta name="keywords" content="FreeBSD, BSD, UNIX, 支持, 案例,
发行版, 应用, 软件, 手册, FAQ, 教程, Bugs,
CVS, CVSup, 新闻, 商业发行商, 主页, CTM, Unix"/>
<link rel="shortcut icon" href="&enbase;/favicon.ico" type="image/x-icon"/>
<link rel="icon" href="&enbase;/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="&enbase;/layout/js/styleswitcher.js"></script>
<link rel="alternate" type="application/rss+xml"
title="FreeBSD Project 新闻" href="&base;/news/news.rdf" />
<link rel="alternate" type="application/rss+xml"
title="FreeBSD 安全公告" href="&enbase;/security/advisories.rdf" />
<link rel="alternate" type="application/rss+xml"
title="FreeBSD GNOME Project 新闻" href="&enbase;/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">
&header2;
<div id="CONTENT">
<div id="FRONTCONTAINER">
<div id="FRONTMAIN">
<div id="FRONTFEATURECONTAINER">
<div id="FRONTFEATURELEFT">
<div id="FRONTFEATURECONTENT">
<h1>
基于 BSD &unix;
</h1>
<p>
FreeBSD&reg; 是可以用于
x86 兼容机 (包括 Pentium&reg; 和 Athlon&trade;)、
amd64 兼容机 (包括 Opteron&trade;、 Athlon&trade;64 和 EM64T)、
UltraSPARC&reg;、 IA-64、 PC-98 以及 ARM 硬件架构上的一种先进的操作系统。
它源于 BSD 由加州大学伯克利分校开发的 &unix; 版本。 目前由
<a href="&enbase;/doc/en_US.ISO8859-1/articles/contributors/staff-committers.html">一支包含大量开发人员的团队</a> 维护。
对于一些其它的 <a href="&base;/platforms/">硬件平台</a> 的支持,
也正处于不同的开发阶段。
</p>
<div id="TXTFRONTFEATURELINK">
&#187;<a href="&base;/about.html" title="了解更多">了解更多</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">立即获得 FreeBSD</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><a href="&base;/releases/"> 最新版本 </a></h2>
<ul id="FRONTRELEASESLIST">
<li>
<a href="&enbase;/&u.rel.announce;">生产适用版 &rel.current;</a>
</li>
<li>
<a href="&enbase;/&u.rel2.announce;">(旧式)生产适用版 &rel2.current;</a>
</li>
<xsl:if test="'&beta.testing;' != 'IGNORE'">
<li>
<a href="&base;/where.html#helptest">将发布的版本
&betarel.current; - &betarel.vers;</a>
</li>
</xsl:if>
<xsl:if test="'&beta2.testing;' != 'IGNORE'">
<li>
<a href="&base;/where.html#helptest">将发布的版本
&betarel2.current; - &betarel2.vers;</a>
</li>
</xsl:if>
</ul>
</div> <!-- FRONTRELEASESCONTENT -->
</div> <!-- FRONTRELEASES -->
</div> <!-- FRONTFEATUREMIDDLE -->
<div id="FRONTFEATURERIGHT">
<h2 class="blockhide">语言</h2>
<div id="LANGUAGENAV">
<ul id="LANGUAGENAVLIST">
<li>
<a href="&enbase;/de/" title="德语">de</a>
</li>
<li>
<a href="&enbase;/" title="英语">en</a>
</li>
<li>
<a href="&enbase;/es/" title="西班牙语">es</a>
</li>
<li>
<a href="&enbase;/fr/" title="法语">fr</a>
</li>
<li>
<a href="&enbase;/hu/" title="匈牙利语">hu</a>
</li>
<li>
<a href="&enbase;/it/" title="意大利语">it</a>
</li>
<li>
<a href="&enbase;/ja/" title="日语">ja</a>
</li>
<li>
<a href="&enbase;/ru/" title="俄语">ru</a>
</li>
<li class="last-child">
<a href="&enbase;/zh_CN/" title="中文 (简体)">zh_CN</a>
</li>
</ul>
</div> <!-- LANGUAGENAV -->
<div id="MIRROR">
<form action="&cgibase;/mirror.cgi" method="get">
<div>
<h2 class="blockhide"><label for="MIRRORSEL">镜像</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>常用链接</h2>
<ul id="FRONTSHORTCUTSLIST">
<li>
<a href="&enbase;/community/mailinglists.html" title="邮件列表">邮件列表</a>
</li>
<li>
<a href="&enbase;/support/bugreports.html" title="报告 Bug">报告 Bug</a>
</li>
<li>
<a href="&enbase;/doc/en_US.ISO8859-1/books/faq/index.html" title="FAQ">FAQ</a>
</li>
<li>
<a href="&enbase;/doc/zh_CN.GB2312/books/handbook/index.html" title="Handbook">使用手册</a>
</li>
<li>
<a href="&enbase;/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="&enbase;/projects/newbies.html">不熟悉 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>新闻</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="更多新闻">更多新闻</a>
</li>
<li class="last-child">
<a href="&base;/news/news.rdf" title="新闻 RSS Feed"><img class="rssimage" src="&enbase;/layout/images/ico_rss.png" width="27" height="12" alt="新闻 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>近期活动</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:call-template>
<div>
<ul class="newseventslist">
<li class="only-child">
<a href="&enbase;/events/" title="更多活动">更多活动</a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
</div> <!-- FRONTEVENTSCONTENT -->
</div> <!-- FRONTEVENTS -->
<div class="frontseparator"><b style="display: none">.</b></div>
<div id="FRONTMEDIA">
<div id="FRONTMEDIACONTENT" class="txtnewsevent">
<h2>媒体报道</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="更多媒体报道">更多媒体报道</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>安全公告</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="更多安全公告">更多</a>
</li>
<li class="last-child">
<a href="&enbase;/security/advisories.rdf" title="安全公告 RSS Feed"><img class="rssimage" src="&enbase;/layout/images/ico_rss.png" width="27" height="12" alt="安全公告 RSS Feed" /></a>
</li>
</ul>
</div> <!-- unnamed -->
</div> <!-- newseventswrap -->
<br />
<h2>发行版修正公告</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">
&copyright;
FreeBSD 标志是 FreeBSD
基金会的注册商标。 FreeBSD Project 使用此商标得到了 <a
href="http://www.freebsdfoundation.org/documents/Guidelines.shtml">FreeBSD 基金会</a>
的许可。
</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:
-->