Split includes.sgml into several files in share/sgml/includes.*.sgml, since

most of the entities in the files are language independent.  The translators
can override them partly, choosing where they want to do so.
This commit is contained in:
Hiroki Sato 2003-10-11 18:51:26 +00:00
parent 48ee653ee9
commit 275e43fb8f
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=18401
5 changed files with 199 additions and 104 deletions

View file

@ -1,4 +1,7 @@
<!-- $FreeBSD: www/en/includes.sgml,v 1.60 2003/07/17 23:20:34 seanc Exp $ -->
<!-- $FreeBSD: www/en/includes.sgml,v 1.61 2003/10/03 22:42:03 simon Exp $ -->
<!ENTITY url.doc.langcode 'en_US.ISO8859-1'>
<!--
Base is the absolute URL for the given page, minus the actual page
part. It should either be specified as a fully qualified URL, or
@ -14,110 +17,10 @@
<!ENTITY base CDATA ".">
<!-- Images -->
<!ENTITY i.daemon '<img src="&base;/gifs/daemon.gif" alt="" align="left" width="80" height="76">'>
<!ENTITY i.new '<img src="&base;/gifs/new.gif" alt="[New!]" width="28" height="11">'>
<!-- Language-specific entities should be put above this line -->
<!-- Components making up the standard headers and footers. -->
<!-- Override in the prolog <em>before</em> including this -->
<!-- file if necessary. -->
<!ENTITY copyright '&copy; 1995-2003 The FreeBSD Project.
All rights reserved.'>
<!ENTITY email 'freebsd-questions'>
<!ENTITY author '<a href="&base;/index.html">home</a> &nbsp; | &nbsp; <a href="&base;/mailto.html">contact</a> &nbsp; | &nbsp; <a href="&base;/copyright/index.html">legal</a> &nbsp; | &nbsp; &copyright;'>
<!ENTITY date ''>
<!ENTITY home '<a href="&base;/index.html"><img src="&base;/gifs/home.gif"
alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"></a>'>
<!ENTITY stylesheet '&base;/freebsd.css'>
<!-- Standard headers and footers -->
<!ENTITY header '<head><title>&title;</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="&stylesheet;"></head><body
text="#000000" bgcolor="#FFFFFF" alink="#FFCC33"><img
src="&base;/gifs/bar.gif" alt="Navigation Bar" width="565" height="33" border="0" usemap="#bar">
<h1 align="left"><font color="#660000">&title;</font></h1><br clear="all">
<map name="bar">
<area shape="rect" coords="1,1,111,31" href="&base;/index.html" alt="Top">
<area shape="rect" coords="112,11,196,31" href="&base;/ports/index.html" alt="Applications">
<area shape="rect" coords="196,12,257,33" href="&base;/support.html" alt="Support">
<area shape="rect" coords="256,12,365,33" href="&base;/docs.html" alt="Documentation">
<area shape="rect" coords="366,13,424,32" href="&base;/commercial/commercial.html" alt="Vendors">
<area shape="rect" coords="425,16,475,32" href="&base;/search/search.html" alt="Search">
<area shape="rect" coords="477,16,516,33" href="&base;/search/index-site.html" alt="Index">
<area shape="rect" coords="516,15,562,33" href="&base;/index.html" alt="Top">
<area shape="rect" href="&base;/index.html" coords="0,0,564,32" alt="Top">
</map>'>
<!ENTITY footer '<HR NOSHADE>
<address>&author;<br>&date;</address>'>
<!-- XXX rel.current and u.rel.* should be available in doc/ -->
<!-- The currently released versions of FreeBSD. This value is used to
create some links on web sites and such, so do NOT change it until
it's really release time. When you update this, you should also
update (at least) the following:
- similar entity in the Handbook
- similar entity in the Relnotes
- releases/index.sgml has the date of the current release
- the FAQ has links to the release FTP url
- "versions supported" in security.sgml
(If you're the release engineer, feel free to update this list with
other doc-related things you had to do. It'll save you time and
trouble the next time around :-).)
As of 5.0, we now have the concept of two different "currently"
released versions (from two different development branches). Use
rel.* and u.rel.* for the "latest and greatest" version and
rel2.* and u.rel2.* for the "conservative users" version.
-->
<!ENTITY rel.current '5.1'>
<!ENTITY rel.current.date 'June 2003'>
<!-- URLs to information on the latest release -->
<!ENTITY u.rel.notes '&base;/releases/&rel.current;R/relnotes.html'>
<!ENTITY u.rel.announce '&base;/releases/&rel.current;R/announce.html'>
<!ENTITY u.rel.errata '&base;/releases/&rel.current;R/errata.html'>
<!ENTITY u.rel.hardware '&base;/releases/&rel.current;R/hardware.html'>
<!ENTITY u.rel.early '&base;/releases/&rel.current;R/early-adopter.html'>
<!-- Secondary "current release" entities -->
<!ENTITY rel2.current '4.8'>
<!ENTITY rel2.current.date 'April 2003'>
<!-- URLs to information on the latest release -->
<!ENTITY u.rel2.notes '&base;/releases/&rel2.current;R/relnotes.html'>
<!ENTITY u.rel2.announce '&base;/releases/&rel2.current;R/announce.html'>
<!ENTITY u.rel2.errata '&base;/releases/&rel2.current;R/errata.html'>
<!ENTITY u.rel2.hardware '&base;/releases/&rel2.current;R/hardware.html'>
<!-- macro for webbuild paper -->
<!ENTITY webbuild '
<p>This document describe how to build and update
the FreeBSD Web pages from the CVS repository by hand.</p>'>
<!-- avoid replacing &nbsp; etc. with hardcoded Latin1 values -->
<!ENTITY nbsp SDATA "[nbsp ]">
<!ENTITY copy SDATA "[copy ]">
<!ENTITY reg SDATA "[reg ]">
<!ENTITY deg SDATA "[deg ]">
<!ENTITY middot SDATA "[middot ]">
<!ENTITY raquo SDATA "[raquo ]">
<!ENTITY laquo SDATA "[laquo ]">
<!-- Often used trademarks -->
<!ENTITY unix 'UNIX&reg;'>
<!ENTITY java 'Java&trade;'>
<!ENTITY jdk 'JDK&trade;'>
<!ENTITY posix 'POSIX&reg;'>
<!ENTITY % includes.global SYSTEM "../share/sgml/includes.sgml">
%includes.global;
<!--
Local Variables:

View file

@ -0,0 +1,59 @@
<!-- $FreeBSD$ -->
<!-- Images -->
<!ENTITY i.daemon '<img src="&base;/gifs/daemon.gif" alt="" align="left" width="80" height="76">'>
<!ENTITY i.new '<img src="&base;/gifs/new.gif" alt="[New!]" width="28" height="11">'>
<!-- Components making up the standard headers and footers. -->
<!-- Override in the prolog <em>before</em> including this -->
<!-- file if necessary. -->
<!ENTITY copyright '&copy; 1995-2003 The FreeBSD Project.
All rights reserved.'>
<!ENTITY email 'freebsd-questions'>
<!ENTITY author '<a href="&base;/index.html">home</a> &nbsp; | &nbsp; <a href="&base;/mailto.html">contact</a> &nbsp; | &nbsp; <a href="&base;/copyright/index.html">legal</a> &nbsp; | &nbsp; &copyright;'>
<!ENTITY date ''>
<!ENTITY home '<a href="&base;/index.html"><img src="&base;/gifs/home.gif"
alt="FreeBSD Home Page" border="0" align="right" width="101" height="33"></a>'>
<!ENTITY stylesheet '&base;/freebsd.css'>
<!-- Standard headers and footers -->
<!ENTITY header '<head><title>&title;</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="&stylesheet;"></head><body
text="#000000" bgcolor="#FFFFFF" alink="#FFCC33"><img
src="&base;/gifs/bar.gif" alt="Navigation Bar" width="565" height="33" border="0" usemap="#bar">
<h1 align="left"><font color="#660000">&title;</font></h1><br clear="all">
<map name="bar">
<area shape="rect" coords="1,1,111,31" href="&base;/index.html" alt="Top">
<area shape="rect" coords="112,11,196,31" href="&base;/ports/index.html" alt="Applications">
<area shape="rect" coords="196,12,257,33" href="&base;/support.html" alt="Support">
<area shape="rect" coords="256,12,365,33" href="&base;/docs.html" alt="Documentation">
<area shape="rect" coords="366,13,424,32" href="&base;/commercial/commercial.html" alt="Vendors">
<area shape="rect" coords="425,16,475,32" href="&base;/search/search.html" alt="Search">
<area shape="rect" coords="477,16,516,33" href="&base;/search/index-site.html" alt="Index">
<area shape="rect" coords="516,15,562,33" href="&base;/index.html" alt="Top">
<area shape="rect" href="&base;/index.html" coords="0,0,564,32" alt="Top">
</map>'>
<!ENTITY footer '<HR NOSHADE>
<address>&author;<br>&date;</address>'>
<!-- macro for webbuild paper -->
<!ENTITY webbuild '
<p>This document describe how to build and update
the FreeBSD Web pages from the CVS repository by hand.</p>'>
<!--
Local Variables:
mode: sgml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->

View file

@ -0,0 +1,46 @@
<!-- $FreeBSD$ -->
<!-- avoid replacing &nbsp; etc. with hardcoded Latin1 values -->
<!ENTITY nbsp SDATA "[nbsp ]">
<!ENTITY copy SDATA "[copy ]">
<!ENTITY reg SDATA "[reg ]">
<!ENTITY deg SDATA "[deg ]">
<!ENTITY middot SDATA "[middot ]">
<!ENTITY raquo SDATA "[raquo ]">
<!ENTITY laquo SDATA "[laquo ]">
<!-- Often used trademarks -->
<!ENTITY unix 'UNIX&reg;'>
<!ENTITY java 'Java&trade;'>
<!ENTITY jdk 'JDK&trade;'>
<!ENTITY posix 'POSIX&reg;'>
<!-- URLs for the FreeBSD Documentation Set -->
<!ENTITY url.doc.origin '/doc'>
<!ENTITY url.doc.langcode 'en_US.ISO8859-1'>
<!ENTITY url.doc.langcode-en 'en_US.ISO8859-1'>
<!ENTITY url.doc.base '&url.doc.origin;/&url.doc.langcode;'>
<!ENTITY url.doc.base-en '&url.doc.origin;/&url.doc.langcode-en;'>
<!ENTITY url.doc.books.handbook '&url.doc.base;/books/handbook/index.html'>
<!ENTITY url.doc.books.handbook-en '&url.doc.base-en;/books/handbook/index.html'>
<!ENTITY url.doc.books.dhandbook '&url.doc.base;/books/developers-handbook/index.html'>
<!ENTITY url.doc.books.dhandbook-en '&url.doc.base-en;/books/developers-handbook/index.html'>
<!ENTITY url.doc.books.phandbook '&url.doc.base;/books/porters-handbook/index.html'>
<!ENTITY url.doc.books.phandbook-en '&url.doc.base-en;/books/porters-handbook/index.html'>
<!ENTITY url.doc.books.faq '&url.doc.base;/books/faq/index.html'>
<!ENTITY url.doc.books.faq-en '&url.doc.base-en;/books/faq/index.html'>
<!ENTITY url.doc.books.design-44bsd '&url.doc.base;/books/design-44bsd/index.html'>
<!ENTITY url.doc.books.design-44bsd-en '&url.doc.base-en;/books/design-44bsd/index.html'>
<!ENTITY url.doc.books.corp-net-guide '&url.doc.base;/books/corp-net-guide/index.html'>
<!ENTITY url.doc.books.corp-net-guide-en '&url.doc.base-en;/books/corp-net-guide/index.html'>
<!ENTITY url.doc.books.fdp-primer '&url.doc.base;/books/fdp-primer/index.html'>
<!ENTITY url.doc.books.fdp-primer-en '&url.doc.base-en;/books/fdp-primer/index.html'>
<!--
Local Variables:
mode: sgml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->

View file

@ -0,0 +1,51 @@
<!-- $FreeBSD$ -->
<!-- XXX rel.current and u.rel.* should be available in doc/ -->
<!-- The currently released versions of FreeBSD. This value is used to
create some links on web sites and such, so do NOT change it until
it's really release time. When you update this, you should also
update (at least) the following:
- similar entity in the Handbook
- similar entity in the Relnotes
- releases/index.sgml has the date of the current release
- the FAQ has links to the release FTP url
- "versions supported" in security.sgml
(If you're the release engineer, feel free to update this list with
other doc-related things you had to do. It'll save you time and
trouble the next time around :-).)
As of 5.0, we now have the concept of two different "currently"
released versions (from two different development branches). Use
rel.* and u.rel.* for the "latest and greatest" version and
rel2.* and u.rel2.* for the "conservative users" version.
-->
<!ENTITY rel.current '5.1'>
<!ENTITY rel.current.date 'June 2003'>
<!-- URLs to information on the latest release -->
<!ENTITY u.rel.notes '&base;/releases/&rel.current;R/relnotes.html'>
<!ENTITY u.rel.announce '&base;/releases/&rel.current;R/announce.html'>
<!ENTITY u.rel.errata '&base;/releases/&rel.current;R/errata.html'>
<!ENTITY u.rel.hardware '&base;/releases/&rel.current;R/hardware.html'>
<!ENTITY u.rel.early '&base;/releases/&rel.current;R/early-adopter.html'>
<!-- Secondary "current release" entities -->
<!ENTITY rel2.current '4.8'>
<!ENTITY rel2.current.date 'April 2003'>
<!-- URLs to information on the latest release -->
<!ENTITY u.rel2.notes '&base;/releases/&rel2.current;R/relnotes.html'>
<!ENTITY u.rel2.announce '&base;/releases/&rel2.current;R/announce.html'>
<!ENTITY u.rel2.errata '&base;/releases/&rel2.current;R/errata.html'>
<!ENTITY u.rel2.hardware '&base;/releases/&rel2.current;R/hardware.html'>
<!--
Local Variables:
mode: sgml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->

36
share/sgml/includes.sgml Normal file
View file

@ -0,0 +1,36 @@
<!-- $FreeBSD$ -->
<!--
Base is the absolute URL for the given page, minus the actual page
part. It should either be specified as a fully qualified URL, or
relative to the server root. It should be defined in the prolog
<em>before</em> including this file if the page does not live at the
default location below.
When making a link, use <a href="&base;/mypage.html">foo</a> and
&base; will be expanded appropriately. Base is also used in the
definition of standard boilerplate entities in this file, so be sure
base is correct!
To translators: When making a link to original documents are needed,
use &enbase; instead of &base;.
-->
<!ENTITY base CDATA ".">
<!ENTITY enbase CDATA ".">
<!ENTITY % includes.release SYSTEM "includes.release.sgml">
%includes.release;
<!ENTITY % includes.header SYSTEM "includes.header.sgml">
%includes.header;
<!ENTITY % includes.misc SYSTEM "includes.misc.sgml">
%includes.misc;
<!--
Local Variables:
mode: sgml
sgml-indent-data: t
sgml-omittag: nil
sgml-always-quote-attributes: t
End:
-->