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 common.xsl
Date Fri, 20 Sep 2002 03:01:22 GMT
nd          2002/09/19 20:01:22

  Modified:    docs/manual/mod quickreference.html.en
               docs/manual/style/xsl common.xsl
  Log:
  Fix broken link to rewritemap in rewritelock description
  of the quickreference.
  Relative anchors to directives may only be set, if we're
  actually transforming the particular <modulesynopsis> document.
  
  Revision  Changes    Path
  1.6       +1 -1      httpd-2.0/docs/manual/mod/quickreference.html.en
  
  Index: quickreference.html.en
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/mod/quickreference.html.en,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- quickreference.html.en	19 Sep 2002 18:24:36 -0000	1.5
  +++ quickreference.html.en	20 Sep 2002 03:01:22 -0000	1.6
  @@ -909,7 +909,7 @@
                  Enables or disables runtime rewriting engine</td></tr>
   <tr class="even"><td><a href="mod_rewrite.html#rewritelock" style="text-decoration:
none">RewriteLock <em>file-path</em></a></td><td /><td>E</td><td>s</td></tr><tr
class="even"><td colspan="4">
                    
  -               Sets the name of the lock file used for <code class="directive"><a
href="#rewritemap">RewriteMap</a></code>
  +               Sets the name of the lock file used for <code class="directive"><a
href="../mod/mod_rewrite.html#rewritemap">RewriteMap</a></code>
   synchronization</td></tr>
   <tr class="odd"><td><a href="mod_rewrite.html#rewritelog" style="text-decoration:
none">RewriteLog <em>file-path</em></a></td><td /><td>E</td><td>sv</td></tr><tr
class="odd"><td colspan="4">
                    
  
  
  
  1.9       +8 -1      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.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- common.xsl	18 Sep 2002 22:31:22 -0000	1.8
  +++ common.xsl	20 Sep 2002 03:01:22 -0000	1.9
  @@ -40,6 +40,13 @@
     <xsl:include href="synopsis.xsl"/>
     <xsl:include href="sitemap.xsl"/>
     <xsl:include href="quickreference.xsl"/>
  +  
  +  <!-- make sure, we set relative anchors
  +       only, if we're actually transforming
  +       a modulefile (see <directive>) -->
  +  <xsl:variable name="in-modulesynopsis">
  +    <xsl:if test="/modulesynopsis">1</xsl:if>
  +  </xsl:variable>
   
     <!--                                                            -->
     <!--    Utility templates for constructing pages                -->
  @@ -441,7 +448,7 @@
           <xsl:variable name="lowerdirective" select="translate(., $uppercase, $lowercase)"/>
   
           <xsl:choose>
  -          <xsl:when test="@module = /modulesynopsis/name">
  +          <xsl:when test="$in-modulesynopsis = '1' and @module = /modulesynopsis/name">
               <a href="#{$lowerdirective}">
                 <xsl:if test="@type='section'">&lt;</xsl:if>
                 <xsl:value-of select="."/>
  
  
  

Mime
View raw message