doc/zh_CN/index.xsl
Xin LI 702e390ee2 Merge Simplified Chinese translation for the website.
Obtained from:	The FreeBSD Simplified Chinese Project
Thanks goes to:	Gavin MU <gavin.mu at gmail dot com> [1],
		Fukang CHEN <loader at freebsdmall dot com> [2],
		intron <intron at intron dot ac> [3]

[1] The original translation with me.
[2] New layout and structural improvements.
[3] Additional and continued contributions.
2006-07-11 15:27:53 +00:00

355 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" ?>
<!-- The FreeBSD Simplified Chinese Documentation Project -->
<!-- Original revision: 1.151 -->
<!-- $FreeBSD: www/zh_CN/index.xsl,v 1.1.1002.22 2006/05/23 17:02:10 delphij 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="enbase" select="'..'" />
<xsl:variable name="date" select="''"/>
<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="gb2312"
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, 支持, 案例,
发行版, 应用, 软件, 手册, 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">
<xsl:copy-of select="$header2"/>
<div id="CONTENT">
<div id="FRONTCONTAINER">
<div id="FRONTMAIN">
<div id="FRONTFEATURECONTAINER">
<div id="FRONTFEATURELEFT">
<div id="FRONTFEATURECONTENT">
<h1>
基于 BSD UNIX&#174;
</h1>
<p>
FreeBSD&#174; 是可以用于 x86 兼容机 (包括
Pentium&#174;、 Athlon&#8482;)、
amd64 兼容机 (包括 Opteron&#8482;、 Athlon 64 和 EM64T)、
UltraSPARC&#174;、 IA-64 和 PC-98 以及 ARM
硬件架构上的一种先进的操作系统。 它源于 BSD
由加州大学伯克利分校开发的 UNIX&#174; 版本,
并由来自世界各地的 <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}">生产适用版 <xsl:value-of select="$rel.current"/></a>
</li>
<li>
<a href="{$enbase}/{$u.rel2.announce}">生产适用版(旧式) <xsl:value-of select="$rel2.current"/></a>
</li>
<xsl:if test="$beta.testing">
<li>
<a href="{$base}/where.html#helptest">将发布的版本
<xsl:value-of select="concat($betarel.current, '-', $betarel.vers)"/></a>
</li>
</xsl:if>
<xsl:if test="$beta2.testing">
<li>
<a href="{$base}/where.html#helptest">将发布的版本
<xsl:value-of select="concat($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}/zh_CN/" title="简体中文">cn</a>
</li>
<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}/it/" title="意大利语">it</a>
</li>
<li>
<a href="{$enbase}/ja/" title="日语">ja</a>
</li>
<li class="last-child">
<a href="{$enbase}/ru/" title="俄语">ru</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}/send-pr.html" title="报告 Bug">报告 Bug</a>
</li>
<li>
<a href="{$enbase}/doc/zh_CN.GB2312/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="http://www.freebsdfoundation.org/" title="基金会">基金会</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="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>近期活动</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="{$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">
<xsl:copy-of select="$copyright"/>
FreeBSD 标志是 FreeBSD
基金会的注册商标。 FreeBSD Project 使用此商标得到了 <a
href="http://www.freebsdfoundation.org/legal/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:
-->