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/xsl/util lf.xml modtrans.xsl tab.xml
Date Fri, 18 Apr 2003 02:02:51 GMT
nd          2003/04/17 19:02:51

  Modified:    docs/manual/faq Tag: APACHE_2_0_BRANCH all_in_one.html.en
               docs/manual/style Tag: APACHE_2_0_BRANCH manual.de.xsl
                        manual.en.xsl manual.ja.xsl manual.pt-br.xsl
                        manual.ru.xsl manual.sv.xsl
               docs/manual/style/xsl Tag: APACHE_2_0_BRANCH common.xsl
                        faq.xsl indexpage.xsl manualpage.xsl
                        moduleindex.xsl sitemap.xsl synopsis.xsl
  Added:       docs/manual/style/chm Tag: APACHE_2_0_BRANCH chm.de.xsl
                        chm.en.xsl chm.ja.xsl hhc.de.xsl hhc.en.xsl
                        hhc.ja.xsl hhc.xsl hhp.de.xsl hhp.en.xsl hhp.ja.xsl
                        hhp.xsl
               docs/manual/style/css Tag: APACHE_2_0_BRANCH manual-chm.css
               docs/manual/style/xsl/util Tag: APACHE_2_0_BRANCH lf.xml
                        modtrans.xsl tab.xml
  Log:
  backport all the chm stuff
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.3   +2 -2      httpd-2.0/docs/manual/faq/all_in_one.html.en
  
  Index: all_in_one.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/faq/all_in_one.html.en,v
  retrieving revision 1.2.2.2
  retrieving revision 1.2.2.3
  diff -u -r1.2.2.2 -r1.2.2.3
  --- all_in_one.html.en	17 Apr 2003 11:37:30 -0000	1.2.2.2
  +++ all_in_one.html.en	18 Apr 2003 02:02:50 -0000	1.2.2.3
  @@ -25,8 +25,8 @@
       consult the <a href="http://httpd.apache.org/docs/misc/FAQ.html">Apache 1.3
       FAQ</a> to see if your question is answered there.</p>
   </div>
  -<div id="quickview"><ul id="toc"><li><a href="#topics">Topics</a></li>
  -<li><a href="#support">Support</a></li>
  +<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif"
/> <a href="#topics">Topics</a></li>
  +<li><img alt="" src="../images/down.gif" /> <a href="#support">Support</a></li>
   </ul></div>
   <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
   <div class="section">
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.2.2.2   +3 -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.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- manual.de.xsl	9 Apr 2003 12:55:57 -0000	1.2.2.1
  +++ manual.de.xsl	18 Apr 2003 02:02:50 -0000	1.2.2.2
  @@ -12,7 +12,10 @@
   
   <!-- Read the localized messages from the specified language file -->
   <xsl:variable name="messages" select="document('lang/de.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()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.2.2.2   +3 -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.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- manual.en.xsl	9 Apr 2003 12:55:57 -0000	1.2.2.1
  +++ manual.en.xsl	18 Apr 2003 02:02:50 -0000	1.2.2.2
  @@ -12,7 +12,10 @@
   
   <!-- 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()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.4.2.2   +3 -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.4.2.1
  retrieving revision 1.4.2.2
  diff -u -r1.4.2.1 -r1.4.2.2
  --- manual.ja.xsl	9 Apr 2003 12:55:57 -0000	1.4.2.1
  +++ manual.ja.xsl	18 Apr 2003 02:02:50 -0000	1.4.2.2
  @@ -12,7 +12,10 @@
   
   <!-- Read the localized messages from the specified language file -->
   <xsl:variable name="messages" select="document('lang/ja.xml')/messages"/>
  +
  +<!-- 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()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.2.2.2   +3 -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.2.2.1
  retrieving revision 1.2.2.2
  diff -u -r1.2.2.1 -r1.2.2.2
  --- manual.pt-br.xsl	9 Apr 2003 12:55:57 -0000	1.2.2.1
  +++ manual.pt-br.xsl	18 Apr 2003 02:02:50 -0000	1.2.2.2
  @@ -12,7 +12,10 @@
   
   <!-- Read the localized messages from the specified language file -->
   <xsl:variable name="messages" select="document('lang/pt-br.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()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.1.2.2   +3 -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.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- manual.ru.xsl	9 Apr 2003 12:55:57 -0000	1.1.2.1
  +++ manual.ru.xsl	18 Apr 2003 02:02:50 -0000	1.1.2.2
  @@ -12,7 +12,10 @@
   
   <!-- Read the localized messages from the specified language file -->
   <xsl:variable name="messages" select="document('lang/ru.xml')/messages"/>
  +
  +<!-- 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()" />
   
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
  
  
  
  1.1.2.1   +5 -1      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.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  --- manual.sv.xsl	5 Sep 2002 23:06:16 -0000	1.1
  +++ manual.sv.xsl	18 Apr 2003 02:02:50 -0000	1.1.2.1
  @@ -13,7 +13,11 @@
   <!-- Read the localized messages from the specified language file -->
   <xsl:variable name="messages" select="document('lang/sv.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()" />
  +
   <!-- Now get the real guts of the stylesheet -->
   <xsl:include href="xsl/common.xsl"/>
   
  -</xsl:stylesheet>
  \ No newline at end of file
  +</xsl:stylesheet>
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -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.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -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.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -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.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhc.de.xsl
  
  Index: hhc.de.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhc.de.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhc.en.xsl
  
  Index: hhc.en.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhc.en.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhc.ja.xsl
  
  Index: hhc.ja.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhc.ja.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.2.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhc.xsl
  
  Index: hhc.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhc.xsl,v
  retrieving revision 1.2
  retrieving revision 1.2.2.1
  diff -u -r1.2 -r1.2.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhp.de.xsl
  
  Index: hhp.de.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhp.de.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhp.en.xsl
  
  Index: hhp.en.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhp.en.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhp.ja.xsl
  
  Index: hhp.ja.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhp.ja.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/chm/hhp.xsl
  
  Index: hhp.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/chm/hhp.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/css/manual-chm.css
  
  Index: manual-chm.css
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/css/manual-chm.css,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.20.2.9  +106 -36   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.20.2.8
  retrieving revision 1.20.2.9
  diff -u -r1.20.2.8 -r1.20.2.9
  --- common.xsl	16 Apr 2003 23:44:29 -0000	1.20.2.8
  +++ common.xsl	18 Apr 2003 02:02:51 -0000	1.20.2.9
  @@ -36,6 +36,8 @@
     <xsl:include href="quickreference.xsl"/>
     <xsl:include href="faq.xsl"/>
   
  +  <xsl:include href="util/modtrans.xsl"/>
  +
     <!-- make sure, we set relative anchors
          only, if we're actually transforming
          a modulefile (see <directive>) -->
  @@ -45,6 +47,43 @@
       <xsl:otherwise>1</xsl:otherwise></xsl:choose>
     </xsl:variable>
   
  +  <xsl:variable name="index-file">
  +    <xsl:if test="$is-chm">index.html</xsl:if>
  +  </xsl:variable>
  +  <xsl:variable name="ext-target">
  +    <xsl:if test="$is-chm">1</xsl:if>
  +  </xsl:variable>
  +
  +  <xsl:template name="helper.uri.fix">
  +  <xsl:param name="uri"/>
  +    <xsl:choose>
  +      <!-- lame is_absolute_uri test -->
  +      <xsl:when test="    contains($uri, ':')
  +                      and string-length(substring-before($uri, ':')) &lt; 7">
  +        <xsl:if test="$ext-target = '1'">
  +          <xsl:attribute name="target">_blank</xsl:attribute>
  +        </xsl:if>
  +      </xsl:when>
  +
  +      <xsl:otherwise>
  +        <xsl:variable name="fragment">
  +          <xsl:if test="contains($uri, '#')"><xsl:value-of select="concat('#',
substring-after($uri, '#'))"/></xsl:if>
  +        </xsl:variable>
  +        <xsl:variable name="absuri">
  +          <xsl:if test="contains($uri, '#')"><xsl:value-of select="concat('#',
substring-before($uri, '#'))"/></xsl:if>
  +          <xsl:if test="not(contains($uri, '#'))"><xsl:value-of select="$uri"/></xsl:if>
  +        </xsl:variable>
  +        
  +        <xsl:if test="substring($absuri, string-length($uri), 1) = '/'">
  +          <xsl:attribute name="href">
  +            <xsl:value-of select="concat($absuri, $index-file, $fragment)"/>
  +          </xsl:attribute>
  +        </xsl:if>
  +      </xsl:otherwise>
  +    </xsl:choose>
  +  </xsl:template>
  +
  +
     <!--                                                            -->
     <!--    Utility templates for constructing pages                -->
     <!--                                                            -->
  @@ -55,6 +94,11 @@
     <!--                                                            -->
     <xsl:template name="head">
       <head>
  +      <xsl:if test="$is-chm">
  +        <meta http-equiv="Content-Type"
  +                 content="text/html; charset={$output-encoding}" />
  +      </xsl:if>
  +
         <xsl:comment>
           XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                 This file is generated from xml source: DO NOT EDIT
  @@ -82,15 +126,23 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -      <link title="Main stylesheet"  type="text/css" media="all" rel="stylesheet"
  -             href="{$path}/style/css/manual.css" />
  +      <xsl:if test="$is-chm">
  +        <link type="text/css" rel="stylesheet" media="all"
  +              href="{$path}/style/css/manual-chm.css" />
  +      </xsl:if>
  +      
  +      <xsl:if test="not($is-chm)">
  +        <link title="Main stylesheet"  type="text/css" media="all"
  +                rel="stylesheet"
  +               href="{$path}/style/css/manual.css" />
   
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -      <link title="No Sidebar - Default font size" type="text/css" media="all"
  -             rel="alternate stylesheet"
  -             href="{$path}/style/css/manual-loose-100pc.css"/>
  +        <link title="No Sidebar - Default font size" type="text/css" media="all"
  +               rel="alternate stylesheet"
  +               href="{$path}/style/css/manual-loose-100pc.css"/>
  +      </xsl:if> <!-- /!is-chm -->
   
   <xsl:text>
   </xsl:text> <!-- insert line break -->
  @@ -99,15 +151,17 @@
                rel="stylesheet"
                href="{$path}/style/css/manual-print.css"/>
   
  +      <xsl:if test="not($is-chm)">
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -      <link rel="shortcut icon" href="{$path}/images/favicon.ico" />
  +        <link rel="shortcut icon" href="{$path}/images/favicon.ico" />
  +      </xsl:if>
  +
       </head>
     </xsl:template>
     <!-- /head -->
   
  -
     <!--                                                            -->
     <!-- page top                                                   -->
     <!--                                                            -->
  @@ -136,9 +190,12 @@
   </xsl:text> <!-- insert line break -->
   
       <div class="up">
  -      <a href="./">
  +      <a href="./{$index-file}">
           <xsl:if test="parentdocument">
             <xsl:attribute name="href"><xsl:value-of select="parentdocument/@href"/></xsl:attribute>
  +          <xsl:call-template name="helper.uri.fix">
  +            <xsl:with-param name="uri" select="parentdocument/@href"/>
  +          </xsl:call-template>
           </xsl:if>
           <img src="{$path}/images/left.gif" alt="&lt;-" title="&lt;-" />
         </a>
  @@ -153,31 +210,37 @@
   </xsl:text> <!-- insert line break -->
   
         <a href="http://www.apache.org/">
  +        <xsl:if test="$ext-target = '1'"><xsl:attribute name="target">_blank</xsl:attribute></xsl:if>
           <xsl:value-of select="$messages/message[@name='apache']"/>
         </a>
         <xsl:text> &gt; </xsl:text>
         <a href="http://httpd.apache.org/">
  +        <xsl:if test="$ext-target = '1'"><xsl:attribute name="target">_blank</xsl:attribute></xsl:if>
           <xsl:value-of select="$messages/message[@name='http-server']"/>
         </a>
         <xsl:text> &gt; </xsl:text>
         <a href="http://httpd.apache.org/docs-project/">
  +        <xsl:if test="$ext-target = '1'"><xsl:attribute name="target">_blank</xsl:attribute></xsl:if>
           <xsl:value-of select="$messages/message[@name='documentation']"/>
         </a>
         <xsl:if test="not(../indexpage)">
           <xsl:text> &gt; </xsl:text>
  -        <a href="{$path}/">
  +        <a href="{$path}/{$index-file}">
             <xsl:value-of select="$messages/message[@name='version']"/>
           </a>
         </xsl:if>
         <xsl:if test="../modulesynopsis or ../directiveindex or ../quickreference">
           <xsl:text> &gt; </xsl:text>
  -        <a href="./">
  +        <a href="./{$index-file}">
             <xsl:value-of select="$messages/message[@name='modules']"/>
           </a>
         </xsl:if>
         <xsl:if test="parentdocument/text()">
           <xsl:text> &gt; </xsl:text>
           <a href="{parentdocument/@href}">
  +          <xsl:call-template name="helper.uri.fix">
  +            <xsl:with-param name="uri" select="parentdocument/@href"/>
  +          </xsl:call-template>
             <xsl:value-of select="parentdocument"/>
           </a>
         </xsl:if>
  @@ -198,8 +261,10 @@
         <p class="apache">
           <xsl:value-of select="$messages/message[@name='maintainedby']"/>
           <xsl:text> </xsl:text>
  -        <a href="http://httpd.apache.org/docs-project/"
  -          >Apache HTTP Server Documentation Project</a>
  +        <a href="http://httpd.apache.org/docs-project/">
  +          <xsl:if test="$ext-target = '1'"><xsl:attribute name="target">_blank</xsl:attribute></xsl:if>
  +          <xsl:text>Apache HTTP Server Documentation Project</xsl:text>
  +        </a>
         </p>
   
   <xsl:text>
  @@ -376,7 +441,7 @@
     <!--                                                            -->
     <xsl:template name="super-menu">
       <p class="menu">
  -      <a href="{$path}/mod/">
  +      <a href="{$path}/mod/{$index-file}">
           <xsl:value-of select="$messages/message[@name='modules']"/>
         </a>
         <xsl:text> | </xsl:text>
  @@ -384,7 +449,7 @@
           <xsl:value-of select="$messages/message[@name='directives']"/>
         </a>
         <xsl:text> | </xsl:text>
  -      <a href="{$path}/faq/">
  +      <a href="{$path}/faq/{$index-file}">
           <xsl:value-of select="$messages/message[@name='faq']"/>
         </a>
         <xsl:text> | </xsl:text>
  @@ -425,7 +490,7 @@
              </xsl:variable>
   
              <!-- apply bare text only, if it's not only \s or empty -->
  -           <xsl:if test="normalize-space($content) != ''">
  +           <xsl:if test="not(normalize-space($content) = '')">
                <p><code>
                  <xsl:copy-of select="$content"/>
                </code></p>
  @@ -731,6 +796,31 @@
   
   
     <!--                                                    -->
  +  <!-- <a>                                                -->
  +  <!-- Passes through content                             -->
  +  <!--                                                    -->
  +  <xsl:template match="a">
  +    <xsl:if test="not(@href)">
  +      <xsl:copy>
  +        <xsl:apply-templates select="@*|*|text()"/>
  +      </xsl:copy>
  +    </xsl:if>
  +    
  +    <xsl:if test="@href">
  +      <a href="@href">
  +        <xsl:apply-templates select="@*"/>
  +        <xsl:call-template name="helper.uri.fix">
  +          <xsl:with-param name="uri" select="@href"/>
  +        </xsl:call-template>
  +
  +        <xsl:apply-templates select="*|text()"/>
  +      </a>
  +    </xsl:if>
  +  </xsl:template> 
  +  <!-- /a -->
  +
  +
  +  <!--                                                    -->
     <!-- toplink                                            -->
     <!--                                                    -->
     <xsl:template name="toplink">
  @@ -845,7 +935,7 @@
   
       <xsl:variable name="current" select="substring($letters,1,1)"/>
   
  -    <xsl:if test="$lastletter != $current">
  +    <xsl:if test="not($lastletter = $current)">
         <xsl:value-of select="$current"/>
       </xsl:if>
   
  @@ -856,25 +946,5 @@
         </xsl:call-template>
       </xsl:if>
     </xsl:template>
  -
  -
  -  <xsl:template name="module-translatename">
  -  <xsl:param name="name"/>
  -
  -    <xsl:variable name="sname" select="translate($name,$lowercase,$uppercase)"/>
  -
  -    <xsl:choose>
  -      <xsl:when test="starts-with($sname,'MOD_') or starts-with($sname,'MPM_')">
  -        <xsl:value-of select="substring($name, 5)"/>
  -      </xsl:when>
  -      <xsl:when test="starts-with($sname,'MPMT_')">
  -        <xsl:value-of select="substring($name, 6)"/>
  -      </xsl:when>
  -      <xsl:otherwise>
  -        <xsl:value-of select="$name"/>
  -      </xsl:otherwise>
  -    </xsl:choose>
  -  </xsl:template>
  -  <!-- /module-translatename -->
   
   </xsl:stylesheet>
  
  
  
  1.1.2.2   +7 -1      httpd-2.0/docs/manual/style/xsl/faq.xsl
  
  Index: faq.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/faq.xsl,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- faq.xsl	16 Apr 2003 23:44:29 -0000	1.1.2.1
  +++ faq.xsl	18 Apr 2003 02:02:51 -0000	1.1.2.2
  @@ -37,8 +37,9 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -          <xsl:if test="count(section) > 1 or (/faq/@all-in-one = 'yes') or seealso">
  +          <xsl:if test="(not($is-chm) and (count(section) > 1 or (/faq/@all-in-one
= 'yes'))) or seealso">
               <div id="quickview">
  +              <xsl:if test="not($is-chm)">
                 <xsl:if test="count(section) > 1">
                   <ul id="toc">
                     <xsl:apply-templates select="section" mode="index"/>
  @@ -48,6 +49,8 @@
                 <xsl:if test="/faq/@all-in-one = 'yes'">
                   <ul id="toc">
                     <li>
  +                    <img src="{$path}/images/down.gif" alt="" />
  +                    <xsl:text> </xsl:text>
                       <a href="#topics">
                         <xsl:value-of select="$messages/message[@name='topics']"/>
                       </a>
  @@ -59,6 +62,7 @@
                     <xsl:apply-templates select="categories/categoryfile" mode="toc"/>
                   </ul>
                 </xsl:if>
  +              </xsl:if> <!-- chm -->
   
                 <xsl:if test="seealso">
                   <h3>
  @@ -162,6 +166,8 @@
       <xsl:variable name="current" select="document(.)/faq" />
   
       <li>
  +      <img src="{$path}/images/down.gif" alt="" />
  +      <xsl:text> </xsl:text>
         <a href="#{$current/section/@id}">
           <xsl:value-of select="$current/section/title" />
         </a>
  
  
  
  1.1.2.4   +10 -1     httpd-2.0/docs/manual/style/xsl/indexpage.xsl
  
  Index: indexpage.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/indexpage.xsl,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- indexpage.xsl	14 Apr 2003 18:40:03 -0000	1.1.2.3
  +++ indexpage.xsl	18 Apr 2003 02:02:51 -0000	1.1.2.4
  @@ -53,7 +53,12 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -          <form action="http://www.google.com/search" method="get"><p>
  +          <form action="http://www.google.com/search" method="get">
  +          <xsl:if test="$ext-target = '1'">
  +            <xsl:attribute name="target">_blank</xsl:attribute>
  +          </xsl:if>
  +          
  +          <p>
             <!-- search google: -->
             <!-- with all of the words -->
             <input type="text" value="" name="as_q" />
  @@ -147,6 +152,10 @@
   
         <xsl:if test="@href">
           <a href="{@href}">
  +          <xsl:call-template name="helper.uri.fix">
  +            <xsl:with-param name="uri" select="@href"/>
  +          </xsl:call-template>
  +
             <xsl:value-of select="."/>
           </a>
         </xsl:if>
  
  
  
  1.1.2.4   +2 -2      httpd-2.0/docs/manual/style/xsl/manualpage.xsl
  
  Index: manualpage.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/manualpage.xsl,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- manualpage.xsl	14 Apr 2003 18:40:03 -0000	1.1.2.3
  +++ manualpage.xsl	18 Apr 2003 02:02:51 -0000	1.1.2.4
  @@ -37,9 +37,9 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -          <xsl:if test="count(section) > 1 or seealso">
  +          <xsl:if test="(not($is-chm) and count(section) > 1) or seealso">
               <div id="quickview">
  -              <xsl:if test="count(section) > 1">
  +              <xsl:if test="not($is-chm) and count(section) > 1">
                   <ul id="toc">
                     <xsl:apply-templates select="section" mode="index"/>
                   </ul>
  
  
  
  1.3.2.8   +4 -0      httpd-2.0/docs/manual/style/xsl/moduleindex.xsl
  
  Index: moduleindex.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/moduleindex.xsl,v
  retrieving revision 1.3.2.7
  retrieving revision 1.3.2.8
  diff -u -r1.3.2.7 -r1.3.2.8
  --- moduleindex.xsl	14 Apr 2003 18:40:03 -0000	1.3.2.7
  +++ moduleindex.xsl	18 Apr 2003 02:02:51 -0000	1.3.2.8
  @@ -35,7 +35,9 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  +        <xsl:if test="not($is-chm) or seealso">
           <div id="quickview">
  +          <xsl:if test="not($is-chm)">
             <ul id="toc">
   
   <xsl:text>
  @@ -57,6 +59,7 @@
                 </a>
               </li>
             </ul>
  +          </xsl:if> <!-- chm -->
   
             <xsl:if test="seealso">
               <h3>
  @@ -83,6 +86,7 @@
               </ul>
             </xsl:if>
           </div> <!-- /quickview -->
  +        </xsl:if> <!-- chm foo -->
   
   <xsl:text>
   </xsl:text> <!-- insert line break -->
  
  
  
  1.4.2.6   +5 -2      httpd-2.0/docs/manual/style/xsl/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/sitemap.xsl,v
  retrieving revision 1.4.2.5
  retrieving revision 1.4.2.6
  diff -u -r1.4.2.5 -r1.4.2.6
  --- sitemap.xsl	14 Apr 2003 18:40:03 -0000	1.4.2.5
  +++ sitemap.xsl	18 Apr 2003 02:02:51 -0000	1.4.2.6
  @@ -46,9 +46,9 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  -          <xsl:if test="count(category) > 1 or seealso">
  +          <xsl:if test="(not($is-chm) and count(category) > 1) or seealso">
               <div id="quickview">
  -              <xsl:if test="count(category) > 1">
  +              <xsl:if test="not($is-chm) and count(category) > 1">
   
                   <!-- category index -->
                   <ul id="toc">
  @@ -152,6 +152,9 @@
   
         <xsl:if test="@href">
           <a href="{@href}">
  +          <xsl:call-template name="helper.uri.fix">
  +            <xsl:with-param name="uri" select="@href"/>
  +          </xsl:call-template>
             <xsl:value-of select="."/>
           </a>
         </xsl:if>
  
  
  
  1.5.2.8   +5 -1      httpd-2.0/docs/manual/style/xsl/synopsis.xsl
  
  Index: synopsis.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/synopsis.xsl,v
  retrieving revision 1.5.2.7
  retrieving revision 1.5.2.8
  diff -u -r1.5.2.7 -r1.5.2.8
  --- synopsis.xsl	14 Apr 2003 18:40:03 -0000	1.5.2.7
  +++ synopsis.xsl	18 Apr 2003 02:02:51 -0000	1.5.2.8
  @@ -179,8 +179,10 @@
   <xsl:text>
   </xsl:text> <!-- insert line break -->
   
  +          <xsl:if test="not($is-chm) or seealso">
             <div id="quickview">
   
  +            <xsl:if test="not($is-chm)">
               <!-- Index of directives, automatically generated from
                    directivesynopsis/name -->
               <h3 class="directives">
  @@ -267,9 +269,10 @@
                   <xsl:apply-templates select="section" mode="index"/>
                 </ul>
               </xsl:if>
  +            </xsl:if> <!-- /!is-chm -->
   
               <xsl:if test="seealso">
  -	      <h3>
  +	          <h3>
                     <xsl:value-of select="$messages/message[@name='seealso']"/>
                 </h3>
   
  @@ -294,6 +297,7 @@
               </xsl:if>
   
             </div> <!-- /quickview -->
  +          </xsl:if> <!-- !is-chm -->
   
   <xsl:text>
   </xsl:text> <!-- insert line break -->
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/xsl/util/lf.xml
  
  Index: lf.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/util/lf.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/xsl/util/modtrans.xsl
  
  Index: modtrans.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/util/modtrans.xsl,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  
  1.1.2.1   +0 -0      httpd-2.0/docs/manual/style/xsl/util/tab.xml
  
  Index: tab.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/xsl/util/tab.xml,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  

Mime
View raw message