httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n.@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style/zip zip.en.xsl
Date Wed, 04 Jun 2003 09:57:19 GMT
nd          2003/06/04 02:57:18

  Modified:    docs/manual/style manual.de.xsl manual.en.xsl manual.ja.xsl
                        manual.ko.xsl manual.pt-br.xsl manual.ru.xsl
                        manual.sv.xsl
               docs/manual/style/chm chm.de.xsl chm.en.xsl chm.ja.xsl
                        chm.ko.xsl
               docs/manual/style/xsl common.xsl
  Added:       docs/manual/style/css manual-zip-100pc.css manual-zip.css
               docs/manual/style/zip zip.en.xsl
  Log:
  add support for localized docs download packages. (currently en only)
  
  Revision  Changes    Path
  1.5       +1 -0      httpd-2.0/docs/manual/style/manual.de.xsl
  
  Index: manual.de.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.de.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- manual.de.xsl	17 Apr 2003 16:28:03 -0000	1.4
  +++ manual.de.xsl	4 Jun 2003 09:57:17 -0000	1.5
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'ISO-8859-1'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.5       +1 -0      httpd-2.0/docs/manual/style/manual.en.xsl
  
  Index: manual.en.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.en.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- manual.en.xsl	17 Apr 2003 16:28:03 -0000	1.4
  +++ manual.en.xsl	4 Jun 2003 09:57:18 -0000	1.5
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'ISO-8859-1'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.7       +1 -0      httpd-2.0/docs/manual/style/manual.ja.xsl
  
  Index: manual.ja.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.ja.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- manual.ja.xsl	17 Apr 2003 16:28:03 -0000	1.6
  +++ manual.ja.xsl	4 Jun 2003 09:57:18 -0000	1.7
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'iso-2022-jp'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.2       +1 -0      httpd-2.0/docs/manual/style/manual.ko.xsl
  
  Index: manual.ko.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.ko.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- manual.ko.xsl	5 May 2003 14:46:38 -0000	1.1
  +++ manual.ko.xsl	4 Jun 2003 09:57:18 -0000	1.2
  @@ -17,6 +17,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'EUC-KR'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.5       +1 -0      httpd-2.0/docs/manual/style/manual.pt-br.xsl
  
  Index: manual.pt-br.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.pt-br.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- manual.pt-br.xsl	17 Apr 2003 16:28:04 -0000	1.4
  +++ manual.pt-br.xsl	4 Jun 2003 09:57:18 -0000	1.5
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'ISO-8859-1'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.4       +1 -0      httpd-2.0/docs/manual/style/manual.ru.xsl
  
  Index: manual.ru.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.ru.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- manual.ru.xsl	17 Apr 2003 16:28:04 -0000	1.3
  +++ manual.ru.xsl	4 Jun 2003 09:57:18 -0000	1.4
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'KOI8-R'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.3       +1 -0      httpd-2.0/docs/manual/style/manual.sv.xsl
  
  Index: manual.sv.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.sv.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- manual.sv.xsl	17 Apr 2003 16:28:04 -0000	1.2
  +++ manual.sv.xsl	4 Jun 2003 09:57:18 -0000	1.3
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'ISO-8859-1'" />
   <xsl:variable name="is-chm" select="false()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.3       +1 -0      httpd-2.0/docs/manual/style/chm/chm.de.xsl
  
  Index: chm.de.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/chm.de.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- chm.de.xsl	20 Apr 2003 14:52:58 -0000	1.2
  +++ chm.de.xsl	4 Jun 2003 09:57:18 -0000	1.3
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'windows-1252'" />
   <xsl:variable name="is-chm" select="true()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="../xsl/common.xsl"/>
  
  
  
  1.3       +1 -0      httpd-2.0/docs/manual/style/chm/chm.en.xsl
  
  Index: chm.en.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/chm.en.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- chm.en.xsl	20 Apr 2003 14:52:58 -0000	1.2
  +++ chm.en.xsl	4 Jun 2003 09:57:18 -0000	1.3
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'windows-1252'" />
   <xsl:variable name="is-chm" select="true()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="../xsl/common.xsl"/>
  
  
  
  1.2       +1 -0      httpd-2.0/docs/manual/style/chm/chm.ja.xsl
  
  Index: chm.ja.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/chm.ja.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- chm.ja.xsl	17 Apr 2003 16:42:15 -0000	1.1
  +++ chm.ja.xsl	4 Jun 2003 09:57:18 -0000	1.2
  @@ -16,6 +16,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'SHIFT_JIS'" />
   <xsl:variable name="is-chm" select="true()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="../xsl/common.xsl"/>
  
  
  
  1.2       +1 -0      httpd-2.0/docs/manual/style/chm/chm.ko.xsl
  
  Index: chm.ko.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/chm.ko.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- chm.ko.xsl	5 May 2003 14:46:38 -0000	1.1
  +++ chm.ko.xsl	4 Jun 2003 09:57:18 -0000	1.2
  @@ -17,6 +17,7 @@
   <!-- some meta information have to be passed to the transformation -->
   <xsl:variable name="output-encoding" select="'EUC-KR'" />
   <xsl:variable name="is-chm" select="true()" />
  +<xsl:variable name="is-zip" select="false()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="../xsl/common.xsl"/>
  
  
  
  1.1                  httpd-2.0/docs/manual/style/css/manual-zip-100pc.css
  
  Index: manual-zip-100pc.css
  ===================================================================
  @import url(manual-loose-100pc.css);
  
  h1 {
      margin: 0 0 0.5em 0;
  }
  
  /* the end */
  
  
  1.1                  httpd-2.0/docs/manual/style/css/manual-zip.css
  
  Index: manual-zip.css
  ===================================================================
  @import url(manual.css);
  
  h1 {
      margin: 0 0 0.5em 0;
  }
  
  /* the end */
  
  
  1.36      +14 -4     httpd-2.0/docs/manual/style/xsl/common.xsl
  
  Index: common.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/common.xsl,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -u -r1.35 -r1.36
  --- common.xsl	29 May 2003 15:49:49 -0000	1.35
  +++ common.xsl	4 Jun 2003 09:57:18 -0000	1.36
  @@ -67,6 +67,7 @@
   
   <!-- Injected variables:                                                  -->
   <!--   $is-chm          - (boolean) target is for CHM generation or not   -->
  +<!--   $is-zip          - (boolean) target is for ZIP generation or not   -->
   <!--   $messages        - (node-set) localized common text snippets       -->
   <!--   $output-encoding - (string) MIME charset name of the output        -->
   <!--                      encoding                                        -->
  @@ -104,7 +105,7 @@
   <!-- when referencing to a directory, we may need to complete the path -->
   <!-- with the index file (for offline applications like *.chm files)   -->
   <xsl:variable name="index-file">
  -    <xsl:if test="$is-chm">index.html</xsl:if>
  +    <xsl:if test="$is-chm or $is-zip">index.html</xsl:if>
   </xsl:variable>
   
   <!-- it may be desired to open external targets in a new window -->
  @@ -121,7 +122,7 @@
   <head>
       <!-- the meta element is necessary for offline handling like CHM -->
       <xsl:choose>
  -    <xsl:when test="$is-chm">
  +    <xsl:when test="$is-chm or $is-zip">
           <meta http-equiv="Content-Type"
                    content="text/html; charset={$output-encoding}" />
       </xsl:when>
  @@ -163,6 +164,15 @@
           <link type="text/css" rel="stylesheet" media="all"
                 href="{$path}/style/css/manual-chm.css" />
       </xsl:when>
  +    <!-- zip packages do also -->
  +    <xsl:when test="$is-zip">
  +        <link title="Main stylesheet"  type="text/css" media="all"
  +                rel="stylesheet"
  +               href="{$path}/style/css/manual-zip.css" />&lf;
  +        <link title="No Sidebar - Default font size" type="text/css" media="all"
  +               rel="alternate stylesheet"
  +               href="{$path}/style/css/manual-zip-100pc.css"/>
  +    </xsl:when>
       <xsl:otherwise>
           <link title="Main stylesheet"  type="text/css" media="all"
                   rel="stylesheet"
  @@ -178,7 +188,7 @@
              href="{$path}/style/css/manual-print.css"/>
   
       <!-- chm files do not need a favicon -->
  -    <xsl:if test="not($is-chm)">&lf;
  +    <xsl:if test="not($is-chm or $is-zip)">&lf;
           <link rel="shortcut icon" href="{$path}/images/favicon.ico" />
       </xsl:if>
   </head>
  @@ -307,7 +317,7 @@
   <xsl:param name="position" select="'top'" />
   <xsl:variable name="metafile" select="document(/*/@metafile)/metafile" />
   
  -<xsl:if test="not($is-chm)">
  +<xsl:if test="not($is-chm or $is-zip)">
   <div class="{$position}lang">&lf;
       <p>
           <span>
  
  
  
  1.1                  httpd-2.0/docs/manual/style/zip/zip.en.xsl
  
  Index: zip.en.xsl
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  
  <xsl:output 
    method="xml"
    encoding="iso-8859-1"
    indent="no"
    doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
    omit-xml-declaration="yes"
  />
  
  <!-- Read the localized messages from the specified language file -->
  <xsl:variable name="messages" select="document('../lang/en.xml')/messages"/>
  
  <!-- some meta information have to be passed to the transformation -->
  <xsl:variable name="output-encoding" select="'iso-8859-1'" />
  <xsl:variable name="is-chm" select="false()" />
  <xsl:variable name="is-zip" select="true()" />
  
  <!-- Now get the real guts of the stylesheet -->
  <xsl:include href="../xsl/common.xsl"/>
  
  </xsl:stylesheet>
  
  
  

Mime
View raw message