httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject cvs commit: httpd-2.0/docs/manual/style en.xml manual.xsl
Date Wed, 06 Mar 2002 15:57:52 GMT
slive       02/03/06 07:57:52

  Modified:    docs/manual/style en.xml manual.xsl
  Log:
  A few changes of my own:
  
  Get rid of the 100% table widths, since they don't render well in MSIE.
  Add the   back in "Module Identifier".
  Fix the remaining extra-space problems.
  
  Revision  Changes    Path
  1.3       +2 -2      httpd-2.0/docs/manual/style/en.xml
  
  Index: en.xml
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/en.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -d -b -u -r1.2 -r1.3
  --- en.xml	6 Mar 2002 15:48:14 -0000	1.2
  +++ en.xml	6 Mar 2002 15:57:52 -0000	1.3
  @@ -1,12 +1,12 @@
   <?xml version="1.0" encoding="ISO-8859-1"?>
  -
  +<!DOCTYPE xsl:stylesheet [ <!ENTITY nbsp "&#160;"> ]>
   <!-- English -->
   <messages>
    <message name="seealso">See also </message>
    <message name="description">Description</message>
    <message name="apachemodule">Apache Module</message>
    <message name="status">Status</message>
  - <message name="moduleidentifier">Module Identifier</message>
  + <message name="moduleidentifier">Module&nbsp;Identifier</message>
    <message name="compatibility">Compatibility</message>
    <message name="syntax">Syntax</message>
    <message name="default">Default</message>
  
  
  
  1.12      +11 -13    httpd-2.0/docs/manual/style/manual.xsl
  
  Index: manual.xsl
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/docs/manual/style/manual.xsl,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -d -b -u -r1.11 -r1.12
  --- manual.xsl	6 Mar 2002 15:48:14 -0000	1.11
  +++ manual.xsl	6 Mar 2002 15:57:52 -0000	1.12
  @@ -28,10 +28,10 @@
       <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 
       <h3>Apache HTTP Server Version 2.0</h3>
      </div>
  -   <h1 align="center"><xsl:value-of select="$messages/message[@name='apachemodule']"/>&nbsp;
<xsl:value-of select="name"/></h1>
  +   <h1 align="center"><xsl:value-of select="$messages/message[@name='apachemodule']"/><xsl:text>
</xsl:text> <xsl:value-of select="name"/></h1>
      <!-- Description and module-headers -->
  -   <table width="100%" bgcolor="#cccccc" cellpadding="0" cellspacing="1"><tr><td>
  -    <table  width="100%" bgcolor="#ffffff">
  +   <table bgcolor="#cccccc" cellpadding="0" cellspacing="1"><tr><td>
  +    <table bgcolor="#ffffff">
        <tr><td valign="top"><span class="help"><xsl:value-of select="$messages/message[@name='description']"/>:</span>
</td>
            <td><xsl:apply-templates select="description"/></td></tr>
        <tr><td><a class="help" href="module-dict.html#Status"><xsl:value-of
select="$messages/message[@name='status']"/>:</a> </td>
  @@ -176,12 +176,12 @@
         name="{$lowername}">Directive</a></h2>
   
   <!-- Directive header -->
  -<table  width="100%" bgcolor="#cccccc" border="0" cellspacing="0" cellpadding="1">
  +<table bgcolor="#cccccc" border="0" cellspacing="0" cellpadding="1">
   <tr><td>
  -<table bgcolor="#ffffff" width="100%">
  +<table bgcolor="#ffffff">
     <tr><td><strong><xsl:value-of select="$messages/message[@name='description']"/>:
</strong></td>
       <td><xsl:value-of select="description"/></td></tr>
  -  <tr><td><a class="help" href="directive-dict.html#Syntax"><xsl:value-of
select="$messages/message[@name='description']"/>:</a> </td>
  +  <tr><td><a class="help" href="directive-dict.html#Syntax"><xsl:value-of
select="$messages/message[@name='syntax']"/>:</a> </td>
       <td><xsl:apply-templates select="syntax"/></td></tr>
     <xsl:if test="default">
       <tr><td><a class="help" href="directive-dict.html#Default"
  @@ -242,7 +242,7 @@
   
     <xsl:template match="example">
     <blockquote>
  -  <table  width="100%" cellpadding="10"><tr><td bgcolor="#eeeeee">
  +  <table cellpadding="10"><tr><td bgcolor="#eeeeee">
        <xsl:apply-templates select="title" mode="print"/>
        <code><xsl:apply-templates/></code>
     </td></tr></table>
  @@ -256,7 +256,7 @@
   
     <xsl:template match="note">
     <blockquote>
  -  <table  width="100%"><tr><td>
  +  <table><tr><td>
      <xsl:choose>
       <xsl:when test="@type='warning'">
        <xsl:attribute name="bgcolor">#ffe5f5</xsl:attribute>
  @@ -274,7 +274,6 @@
     </xsl:template>
   
     <xsl:template match="directive">
  -    <code class="directive">
       <xsl:if test="@module">
         <xsl:variable name="module">
           <xsl:value-of select="./@module"/>
  @@ -284,16 +283,15 @@
         </xsl:variable>
         <xsl:variable name="lowerdirective" select="translate($directive, $uppercase,
$lowercase)" />
         <xsl:if test="@module=/modulesynopsis/name">
  -        <a class="directive" href="#{$lowerdirective}"><xsl:if test="./@type='section'">&lt;</xsl:if><xsl:value-of
select="."/><xsl:if test="./@type='section'">&gt;</xsl:if></a>
  +        <code class="directive"><a class="directive" href="#{$lowerdirective}"><xsl:if
test="./@type='section'">&lt;</xsl:if><xsl:value-of select="."/><xsl:if
test="./@type='section'">&gt;</xsl:if></a></code>
         </xsl:if>
         <xsl:if test="@module!=/modulesynopsis/name">
  -        <a class="directive" href="{$module}.html#{$lowerdirective}"><xsl:if test="./@type='section'">&lt;</xsl:if><xsl:value-of
select="."/><xsl:if test="./@type='section'">&gt;</xsl:if></a>
  +        <code class="directive"><a class="directive" href="{$module}.html#{$lowerdirective}"><xsl:if
test="./@type='section'">&lt;</xsl:if><xsl:value-of select="."/><xsl:if
test="./@type='section'">&gt;</xsl:if></a></code>
         </xsl:if>
       </xsl:if>
       <xsl:if test="not(@module)">
  -       <xsl:if test="./@type='section'">&lt;</xsl:if><xsl:value-of select="."/><xsl:if
test="./@type='section'">&gt;</xsl:if>
  +       <code class="directive"><xsl:if test="./@type='section'">&lt;</xsl:if><xsl:value-of
select="."/><xsl:if test="./@type='section'">&gt;</xsl:if></code>
       </xsl:if>
  -    </code>
     </xsl:template>
   
     <xsl:template match="module">
  
  
  

Mime
View raw message