www cleanup mega commit:

- Move includes.nav*.sgml to share/sgml/navibar.ent and
   <lang>/share/sgml/navibar.l10n.ent.

 - Move includes.sgml and includes.xsl to
   share/sgml/common.ent, share/sgml/header.ent, <lang>/share/sgml/l10n.ent,
   and <lang>/share/sgml/header.l10n.ent.

 - Move most of XSLT libraries to share/sgml/*.xsl and
   <lang>/share/sgml/*.xsl.

 - Move news.xml and other *.xml files for the similar purpose
   to share/sgml/*.xml and <lang>/share/sgml/*.xml.

 - Switch to use a custom DTD for HTML document.  Now we use
   "-//FreeBSD//DTD HTML 4.01 Transitional-Based Extension", which is
   HTML 4.01 + some entities previously pulled via
   "<!ENTITY % includes SYSTEM "includes.sgml"> %includes;" line.
   The location of entity file will be resolved by using catalog file.

 - Add DOCTYPE declearation to XML documents.  This makes the followings
   possible:

   * Use of &foo; entities for SGML in an XML file instead of defining
     {$foo} as the same content.

   * &symbolic; entities for Latin characters.

 - Duplicated information between SGML and XML, or English and
   translated doc, has been removed as much as possible.
This commit is contained in:
Hiroki Sato 2006-08-19 21:26:51 +00:00
parent de3f531874
commit 5305bb945d
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=28475
795 changed files with 4878 additions and 36943 deletions

View file

@ -1,22 +1,22 @@
<?xml version="1.0" encoding="KOI8-R" ?>
<?xml version="1.0" encoding="koi8-r" ?>
<!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 "ðÒÏÅËÔ FreeBSD">
]>
<!--
The FreeBSD Russian Documentation Project
$FreeBSD: www/ru/index.xsl,v 1.29 2006/01/09 17:55:19 bvs Exp $
$FreeBSD: www/ru/index.xsl,v 1.30 2006/01/17 09:27:09 bvs Exp $
$FreeBSDru: frdp/www/ru/index.xsl,v 1.47 2006/01/16 21:27:51 gad Exp $
Original revision: 1.127
-->
<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:import href="http://www.FreeBSD.org/XML/www/lang/share/sgml/libcommon.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="enbase" select="'..'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="title" select="'ðÒÏÅËÔ FreeBSD'"/>
<xsl:variable name="date" select="'$FreeBSD: www/ru/index.xsl,v 1.30 2006/01/17 09:27:09 bvs Exp $'"/>
<!-- these params should be externally bound. The values
here are not used actually -->
@ -29,15 +29,14 @@
<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="koi8-r"
<xsl:output type="html" encoding="&xml.encoding;"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<xsl:template match="/">
<html>
<head>
<title><xsl:value-of select="$title"/></title>
<title>&title;</title>
<meta name="description" content="ðÒÏÅËÔ FreeBSD"/>
<meta name="keywords" content="FreeBSD, BSD, UNIX, Support, Gallery,
Release, Application, Software, Handbook, FAQ, Tutorials, Bugs,
@ -45,17 +44,17 @@
ðÏÄÄÅÒÖËÁ, çÁÌÅÒÅÑ, òÅÌÉÚ, ðÒÉÌÏÖÅÎÉÅ, ðÒÏÇÒÁÍÍÙ, òÕËÏ×ÏÄÓÔ×Ï,
õÞÅÂÎÉËÉ, ïÛÉÂËÉ, îÏ×ÏÓÔÉ, ëÏÍÍÅÒÞÅÓËÉÅ ðÏÓÔÁ×ÝÉËÉ,
ÄÏÍÁÛÎÑÑ ÓÔÒÁÎÉÃÁ"/>
<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="{$enbase}/layout/css/fixed.css" type="text/css" title="Normal Text" />
<link rel="alternate stylesheet" media="screen" href="{$enbase}/layout/css/fixed_large.css" type="text/css" title="Large Text" />
<script type="text/javascript" src="{$enbase}/layout/js/styleswitcher.js"></script>
<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="&enbase;/layout/css/fixed.css" type="text/css" title="Normal Text" />
<link rel="alternate stylesheet" media="screen" href="&enbase;/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" href="{$base}/news/news.rdf" />
title="îÏ×ÏÓÔÉ ÐÒÏÅËÔÁ FreeBSD" href="&base;/news/news.rdf" />
<link rel="alternate" type="application/rss+xml"
title="FreeBSD Security Advisories" href="{$base}/security/advisories.rdf" />
title="FreeBSD Security Advisories" href="&base;/security/advisories.rdf" />
<link rel="alternate" type="application/rss+xml"
title="îÏ×ÏÓÔÉ ÐÒÏÅËÔÁ FreeBSD GNOME" href="{$base}/gnome/news.rdf" />
title="îÏ×ÏÓÔÉ ÐÒÏÅËÔÁ FreeBSD GNOME" href="&base;/gnome/news.rdf" />
<!-- Formatted to be easy to spam harvest, please do not reformat. -->
<xsl:comment>
@ -66,17 +65,17 @@
<body>
<div id="containerwrap">
<div id="container">
<xsl:copy-of select="$header2"/>
<div id="content">
<div id="CONTAINERWRAP">
<div id="CONTAINER">
&header2;
<div id="CONTENT">
<div id="frontcontainer">
<div id="frontmain">
<div id="frontfeaturecontainer">
<div id="FRONTCONTAINER">
<div id="FRONTMAIN">
<div id="FRONTFEATURECONTAINER">
<div id="frontfeatureleft">
<div id="frontfeaturecontent">
<div id="FRONTFEATURELEFT">
<div id="FRONTFEATURECONTENT">
<h1>
ïÓÎÏ×ÁÎÁ ÎÁ BSD UNIX&#174;
</h1>
@ -85,14 +84,14 @@
Pentium&#174; É Athlon&#8482;), amd64 (×ËÌÀÞÁÑ Opteron&#8482;,
Athlon 64 É EM64T), Alpha/AXP, IA-64, PC-98 É
UltraSPARC&#174;. ïÎÁ ÏÓÎÏ×ÁÎÁ ÎÁ BSD, ×ÅÒÓÉÉ
<xsl:value-of select="$unix"/>, ÓÏÚÄÁÎÎÏÊ × ëÁÌÉÆÏÒÎÉÊÓËÏÍ
&unix;, ÓÏÚÄÁÎÎÏÊ × ëÁÌÉÆÏÒÎÉÊÓËÏÍ
õÎÉ×ÅÒÓÉÔÅÔÅ × âÅÒËÌÉ. ïÎÁ ÒÁÚÒÁÂÁÔÙ×ÁÅÔÓÑ É ÐÏÄÄÅÒÖÉ×ÁÅÔÓÑ <a
href="{$enbase}/doc/en_US.ISO8859-1/articles/contributors/index.html">
href="&enbase;/doc/en_US.ISO8859-1/articles/contributors/index.html">
ÂÏÌØÛÏÊ ËÏÍÁÎÄÏÊ ÒÁÚÒÁÂÏÔÞÉËÏ×</a>. ðÏÄÄÅÒÖËÁ <a
href="platforms/index.html">ÄÒÕÇÉÈ ÐÌÁÔÆÏÒÍ</a>
ÎÁÈÏÄÉÔÓÑ ÎÁ ÒÁÚÎÙÈ ÓÔÁÄÉÑÈ ÒÁÚÒÁÂÏÔËÉ.</p>
<div id="txtfrontfeaturelink">
&#187;<a href="{$base}/about.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
&#187;<a href="&base;/about.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
</div> <!-- txtfrontfeaturelink -->
</div> <!-- frontfeaturecontent -->
</div> <!-- frontfeatureleft -->
@ -101,7 +100,7 @@
<div class="frontgetroundbox">
<div class="frontgettop"><div>&#160;</div>&#160;</div>
<div class="frontgetcontent">
<a href="{$base}/where.html">ðÏÌÕÞÉÔØ FreeBSD ÓÅÊÞÁÓ</a>
<a href="&base;/where.html">ðÏÌÕÞÉÔØ FreeBSD ÓÅÊÞÁÓ</a>
</div> <!-- frontgetcontent -->
<div class="frontgetbot"><div>&#160;</div>&#160;</div>
</div> <!-- frontgetroundbox -->
@ -111,10 +110,10 @@
<h2>ðÏÓÌÅÄÎÉÅ ÒÅÌÉÚÙ</h2>
<ul id="frontreleaseslist">
<li>
<a href="../{$u.rel.announce}">ðÒÏÄÕËÔÉ×ÎÙÊ ÒÅÌÉÚ <xsl:value-of select="$rel.current"/></a>
<a href="../&u.rel.announce;">ðÒÏÄÕËÔÉ×ÎÙÊ ÒÅÌÉÚ &rel.current;</a>
</li>
<li>
<a href="{$u.rel2.announce}">(óÔÁÒÙÊ) ðÒÏÄÕËÔÉ×ÎÙÊ ÒÅÌÉÚ <xsl:value-of select="$rel2.current"/></a>
<a href="&u.rel2.announce;">(óÔÁÒÙÊ) ðÒÏÄÕËÔÉ×ÎÙÊ ÒÅÌÉÚ &rel2.current;</a>
</li>
</ul>
</div> <!-- frontreleasescontent -->
@ -126,31 +125,31 @@
<div id="languagenav">
<ul id="languagenavlist">
<li>
<a href="{$enbase}/de/" title="îÅÍÅÃËÉÊ">de</a>
<a href="&enbase;/de/" title="îÅÍÅÃËÉÊ">de</a>
</li>
<li>
<a href="{$enbase}/" title="áÎÇÌÉÊÓËÉÊ">en</a>
<a href="&enbase;/" title="áÎÇÌÉÊÓËÉÊ">en</a>
</li>
<li>
<a href="{$enbase}/es/" title="éÓÐÁÎÓËÉÊ">es</a>
<a href="&enbase;/es/" title="éÓÐÁÎÓËÉÊ">es</a>
</li>
<li>
<a href="{$enbase}/fr/" title="æÒÁÎÃÕÚÓËÉÊ">fr</a>
<a href="&enbase;/fr/" title="æÒÁÎÃÕÚÓËÉÊ">fr</a>
</li>
<li>
<a href="{$enbase}/it/" title="éÔÁÌØÑÎÓËÉÊ">it</a>
<a href="&enbase;/it/" title="éÔÁÌØÑÎÓËÉÊ">it</a>
</li>
<li>
<a href="{$enbase}/ja/" title="ñÐÏÎÓËÉÊ">ja</a>
<a href="&enbase;/ja/" title="ñÐÏÎÓËÉÊ">ja</a>
</li>
<li class="last-child">
<a href="{$enbase}/ru/" title="òÕÓÓËÉÊ">ru</a>
<a href="&enbase;/ru/" title="òÕÓÓËÉÊ">ru</a>
</li>
</ul>
</div> <!-- languagenav -->
<div id="mirror">
<form action="{$enbase}/cgi/mirror.cgi" method="get">
<form action="&enbase;/cgi/mirror.cgi" method="get">
<div>
<h2 class="blockhide"><label for="mirrorsel">úÅÒËÁÌÏ</label></h2>
<select id="mirrorsel" name="goto">
@ -167,16 +166,16 @@
<h2>âÙÓÔÒÙÅ ÓÓÙÌËÉ</h2>
<ul id="frontshortcutslist">
<li>
<a href="{$base}/support.html#mailing-list" title="óÐÉÓËÉ ÒÁÓÓÙÌËÉ">óÐÉÓËÉ ÒÁÓÓÙÌËÉ</a>
<a href="&base;/support.html#mailing-list" title="óÐÉÓËÉ ÒÁÓÓÙÌËÉ">óÐÉÓËÉ ÒÁÓÓÙÌËÉ</a>
</li>
<li>
<a href="{$base}/platforms/" title="ðÌÁÔÆÏÒÍÙ">ðÌÁÔÆÏÒÍÙ</a>
<a href="&base;/platforms/" title="ðÌÁÔÆÏÒÍÙ">ðÌÁÔÆÏÒÍÙ</a>
</li>
<li>
<a href="{$base}/send-pr.html" title="ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ">ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ</a>
<a href="&base;/send-pr.html" title="ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ">ïÔÐÒÁ×ËÁ ÓÏÏÂÝÅÎÉÑ</a>
</li>
<li>
<a href="{$enbase}/doc/{$url.doc.langcode}/books/faq/index.html" title="FAQ">FAQ</a>
<a href="&enbase;/doc/&url.doc.langcode;/books/faq/index.html" title="FAQ">FAQ</a>
</li>
<li>
<a href="http://www.freebsdfoundation.org/" title="æÏÎÄ">æÏÎÄ FreeBSD</a>
@ -188,7 +187,7 @@
<div class="frontnewroundbox">
<div class="frontnewtop"><div>&#160;</div>&#160;</div>
<div class="frontnewcontent">
<a href="{$base}/projects/newbies.html">îÏ×ÉÞÏË ×Ï FreeBSD?</a>
<a href="&base;/projects/newbies.html">îÏ×ÉÞÏË ×Ï FreeBSD?</a>
</div> <!-- frontnewcontent -->
<div class="frontnewbot"><div>&#160;</div>&#160;</div>
</div> <!-- frontnewroundbox -->
@ -211,10 +210,10 @@
<div>
<ul class="newseventslist">
<li class="first-child">
<a href="{$base}/news/newsflash.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
<a href="&base;/news/newsflash.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
</li>
<li class="last-child">
<a href="{$base}/news/news.rdf" title="News RSS Feed"><img class="rssimage" src="{$enbase}/layout/images/ico_rss.png" width="27" height="12" alt="News RSS Feed" /></a>
<a href="&base;/news/news.rdf" title="News 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 -->
@ -238,7 +237,7 @@
<div>
<ul class="newseventslist">
<li class="only-child">
<a href="{$base}/events/" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
<a href="&base;/events/" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
</li>
</ul>
</div> <!-- unnamed -->
@ -261,7 +260,7 @@
<div>
<ul class="newseventslist">
<li class="only-child">
<a href="{$base}/news/press.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
<a href="&base;/news/press.html" title="äÁÌÅÅ...">äÁÌÅÅ...</a>
</li>
</ul>
</div> <!-- unnamed -->
@ -284,13 +283,13 @@
<div>
<ul class="newseventslist">
<li class="first-child">
<a href="{$base}/security/" title="ðÒÅÄÙÄÕÝÉÅ ÂÀÌÌÅÔÅÎÉ ÐÏ ÂÅÚÏÐÁÓÎÏÓÔÉ">äÏÐÏÌÎÉÔÅÌØÎÏ...</a>
<a href="&base;/security/" title="ðÒÅÄÙÄÕÝÉÅ ÂÀÌÌÅÔÅÎÉ ÐÏ ÂÅÚÏÐÁÓÎÏÓÔÉ">äÏÐÏÌÎÉÔÅÌØÎÏ...</a>
</li>
<li>
<a href="{$base}/send-pr.html" title="ðÏÓÌÁÔØ ÓÏÏÂÝÅÎÉÅ Ï ÏÛÉÂËÅ">óÏÏÂÝÉÔØ Ï ÏÛÉÂËÅ</a>
<a href="&base;/send-pr.html" title="ðÏÓÌÁÔØ ÓÏÏÂÝÅÎÉÅ Ï ÏÛÉÂËÅ">óÏÏÂÝÉÔØ Ï ÏÛÉÂËÅ</a>
</li>
<li class="last-child">
<a href="{$base}/security/advisories.rdf" title="Security Advisories RSS Feed"><img class="rssimage" src="{$enbase}/layout/images/ico_rss.png" width="27" height="12" alt="News RSS Feed" /></a>
<a href="&base;/security/advisories.rdf" title="Security Advisories 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 -->
@ -317,12 +316,18 @@
</div> <!-- frontcontainer -->
</div> <!-- content -->
<div id="footer">
<xsl:copy-of select="$copyright"/><br />
<xsl:copy-of select="$date"/>
</div> <!-- footer -->
</div> <!-- container -->
</div> <!-- containerwrap -->
<div id="FOOTER">
&copyright;
The mark FreeBSD is a registered trademark of The FreeBSD
Foundation and is used by The FreeBSD Project with the
permission of <a
href="http://www.freebsdfoundation.org/documents/Guidelines.shtml">The
FreeBSD Foundation</a>.
</div> <!-- FOOTER -->
</div> <!-- CONTAINER -->
</div> <!-- CONTAINERWRAP -->
</body>
</html>