forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From je...@apache.org
Subject cvs commit: xml-forrest/src/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
Date Thu, 22 May 2003 02:33:33 GMT
jefft       2003/05/21 19:33:33

  Modified:    src/resources/skins/common/xslt/html document2html.xsl
                        site2xhtml.xsl
               src/resources/skins/forrest-site/css page.css
               src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
               src/resources/skins/krysalis-site/css page.css
               src/resources/skins/krysalis-site/xslt/html site2xhtml.xsl
  Log:
  Add a margin to images, and add a class='spacer' to skin images so they don't get it. Also
don't display empty menus in forrest-site skin
  
  Revision  Changes    Path
  1.17      +5 -5      xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl
  
  Index: document2html.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/document2html.xsl,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- document2html.xsl	18 Mar 2003 08:50:38 -0000	1.16
  +++ document2html.xsl	22 May 2003 02:33:32 -0000	1.17
  @@ -112,7 +112,7 @@
   if (VERSION > 3) {
       document.write('<td align="center" width="40" nowrap="nowrap">');     
       document.write('  <a href="javascript:printit()" class="dida">');        
  -    document.write('    <img border="0" src="{$skin-img-dir}/printer.gif" alt="Print
this Page"/><br/>');   
  +    document.write('    <img class="skin" src="{$skin-img-dir}/printer.gif" alt="Print
this Page"/><br/>');   
       document.write('  print</a>');   
       document.write('</td>');           
   }
  @@ -125,7 +125,7 @@
     <xsl:template name="pdflink">
       <xsl:if test="$disable-pdf-link = 'false'"> 
         <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.pdf"
class="dida">
  -          <img border="0" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/>
  +          <img class="skin" src="{$skin-img-dir}/pdfdoc.gif" alt="PDF"/><br/>
             PDF</a>
         </td>
       </xsl:if>
  @@ -136,7 +136,7 @@
     <xsl:template name="xmllink">
       <xsl:if test="$disable-xml-link = 'false'">
         <td align="center" width="40" nowrap="nowrap"><a href="{$filename-noext}.xml"
class="dida">
  -          <img border="0" src="{$skin-img-dir}/xmldoc.gif" alt="xml"/><br/>
  +          <img class="skin" src="{$skin-img-dir}/xmldoc.gif" alt="xml"/><br/>
             xml</a>
         </td>
       </xsl:if>
  @@ -281,7 +281,7 @@
   
     <xsl:template match="icon">
       <xsl:apply-templates select="@id"/>
  -    <img src="{@src}" alt="{@alt}">
  +    <img src="{@src}" alt="{@alt}" class="icon">
         <xsl:if test="@height">
           <xsl:attribute name="height"><xsl:value-of select="@height"/></xsl:attribute>
         </xsl:if>
  
  
  
  1.7       +4 -4      xml-forrest/src/resources/skins/common/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- site2xhtml.xsl	9 Feb 2003 16:18:50 -0000	1.6
  +++ site2xhtml.xsl	22 May 2003 02:33:32 -0000	1.7
  @@ -105,7 +105,7 @@
               </xsl:call-template>
             </xsl:for-each>
           </xsl:if>
  -        <a href="http://validator.w3.org/check/referer"><img border="0"
  +        <a href="http://validator.w3.org/check/referer"><img class="skin" border="0"
               src="http://www.w3.org/Icons/valid-html401"
               alt="Valid HTML 4.01!" height="31" width="88"/></a>
         </body>
  @@ -115,11 +115,11 @@
     <!-- Add links to any standards-compliance logos -->
     <xsl:template name="compliancy-logos">
       <xsl:if test="$config/disable-compliance-links = 'false'">
  -      <a href="http://validator.w3.org/check/referer"><img border="0" class="logoImage"

  +      <a href="http://validator.w3.org/check/referer"><img class="logoImage" 
             src="{$skin-img-dir}/valid-html401.png"
             alt="Valid HTML 4.01!" height="31" width="88"/></a>
             
  -      <a href="http://jigsaw.w3.org/css-validator/"><img border="0" class="logoImage"

  +      <a href="http://jigsaw.w3.org/css-validator/"><img class="logoImage" 
             src="{$skin-img-dir}/vcss.png" 
             alt="Valid CSS!" height="31" width="88"/></a>
       </xsl:if>
  
  
  
  1.13      +1 -1      xml-forrest/src/resources/skins/forrest-site/css/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/css/page.css,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- page.css	22 May 2003 00:33:56 -0000	1.12
  +++ page.css	22 May 2003 02:33:33 -0000	1.13
  @@ -5,7 +5,7 @@
   a:active { color: #000066; }
   a:hover { color: #000066; }
   
  -img { vertical-align: top }
  +img { border: 0; vertical-align: top }
   
   .menu { background-color: #4C6C8F; margin: 0px; padding: 3px 8px 5px 3px;  font-size :
90%;  }
   .menu a:link { color: #FFFFFF;  text-decoration : none;  }
  
  
  
  1.21      +67 -61    xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/forrest-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- site2xhtml.xsl	10 Feb 2003 06:46:03 -0000	1.20
  +++ site2xhtml.xsl	22 May 2003 02:33:33 -0000	1.21
  @@ -38,7 +38,7 @@
       <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="navigation
path">
         <tr>
           <td height="20" bgcolor="{$background-bars}" valign="middle" nowrap="nowrap">
  -          <img src="{$spacer}" border="0" alt="" width="5" height="1" />
  +          <img class="spacer" src="{$spacer}" alt="" width="5" height="1" />
             <xsl:comment>===== breadcrumb trail (javascript-generated) ====</xsl:comment>
             <font face="Arial, Helvetica, Sans-serif" size="2">
                 <script type="text/javascript" language="JavaScript" src="{$root}skin/breadcrumbs.js"/>
  @@ -46,7 +46,7 @@
           </td>
         </tr>
         <tr>
  -        <td height="2" bgcolor="{$menu-border}"><img src="{$spacer}" border="0"
alt="" width="2" height="2" /></td>
  +        <td height="2" bgcolor="{$menu-border}"><img class="spacer" src="{$spacer}"
alt="" width="2" height="2" /></td>
         </tr>
       </table>
       <xsl:comment>================= end Navigation Path ==================</xsl:comment>
  @@ -88,14 +88,14 @@
               <form method="get" action="http://www.google.com/search" target="_blank">
                 <table bgcolor="{$menu-border}" cellpadding="0" cellspacing="0" border="0"
summary="search">
                   <tr>
  -                  <td colspan="3"><img src="{$spacer}" alt="" width="1" height="10"
/></td>
  +                  <td colspan="3"><img class="spacer" src="{$spacer}" alt="" width="1"
height="10" /></td>
                   </tr>
                   <tr>
  -                  <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
  +                  <td><img class="spacer" src="{$spacer}" alt="" width="1" height="1"
/></td>
                     <td nowrap="nowrap">
                       <input type="hidden" name="sitesearch" value="{$config/searchsite-domain}"/>
                       <input type="text" id="query" name="q" size="15"/>
  -                    <img src="{$spacer}" alt="" width="5" height="1" />
  +                    <img class="spacer" src="{$spacer}" alt="" width="5" height="1"
/>
                       <input type="submit" value="Search" name="Search"/>
                       <br />
                       <font color="white" size="2" face="Arial, Helvetica, Sans-serif">
  @@ -106,11 +106,11 @@
                         -->
                       </font>
                     </td>
  -                  <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
  +                  <td><img class="spacer" src="{$spacer}" alt="" width="1" height="1"
/></td>
                   </tr>
                   <tr>
                     <td><img src="{$skin-img-dir}/search-left.gif" width="9" height="10"
border="0" alt="" /></td>
  -                  <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
  +                  <td><img class="spacer" src="{$spacer}" alt="" width="1" height="1"
/></td>
                     <td><img src="{$skin-img-dir}/search-right.gif" width="9" height="10"
border="0" alt="" /></td>
                   </tr>
                 </table>
  @@ -119,7 +119,7 @@
           </td>
           <xsl:comment>================= start Search ==================</xsl:comment>
   
  -        <td bgcolor="{$header-color}"><img src="{$spacer}" alt="" width="10" height="10"
/></td>
  +        <td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}" alt=""
width="10" height="10" /></td>
         </tr>
         <tr>
           <td colspan="2" bgcolor="{$header-color}" valign="bottom">
  @@ -127,10 +127,10 @@
             <xsl:apply-templates select="div[@class='tab']"/>
             <xsl:comment>================= end Tabs ==================</xsl:comment>
           </td>
  -        <td bgcolor="{$header-color}"><img src="{$spacer}" height="1" width="1"
alt="" /></td>
  +        <td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}" height="1"
width="1" alt="" /></td>
         </tr>
         <tr>
  -        <td colspan="4" bgcolor="{$menu-border}"><img src="{$spacer}" alt="" height="10"
width="1" /></td>
  +        <td colspan="4" bgcolor="{$menu-border}"><img class="spacer" src="{$spacer}"
alt="" height="10" width="1" /></td>
         </tr>
       </table>
       <xsl:comment>================= end Banner ==================</xsl:comment>
  @@ -139,61 +139,24 @@
       <table cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="#ffffff"
summary="page content">
         <tr>
           <td valign="top">
  -          <table cellpadding="0" cellspacing="0" border="0" summary="menu">
  -            <tr>
  -              <xsl:comment>================= start left top NavBar ==================</xsl:comment>
  -              <td valign="top" rowspan="3">
  -                <table cellspacing="0" cellpadding="0" border="0" summary="blue line">
  -                  <tr><td bgcolor="{$header-color}"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  -                  <tr><td bgcolor="{$background-bars}"><font face="Arial,
Helvetica, Sans-serif" size="4" color="{$menu-border}">&#160;</font></td></tr>
  -                  <tr><td bgcolor="{$header-color}"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  -                </table>
  -              </td>
  -              <xsl:comment>================= end left top NavBar ==================</xsl:comment>
  -
  -              <td bgcolor="{$header-color}"><img src="{$spacer}" alt="" height="1"
width="1" /></td>
  -              <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}"
alt="" height="10" width="10" /></td>
  -              <td bgcolor="{$menu-border}" valign="top" nowrap="nowrap">
  -                <xsl:comment>================= start Menu items ==================</xsl:comment>
  -                <xsl:apply-templates select="div[@class='menu']"/>
  -                <xsl:comment>================= end Menu items ==================</xsl:comment>
  -              </td>
  -              <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}"
alt="" height="10" width="10" /></td>
  -              <td bgcolor="{$header-color}"><img src="{$spacer}" alt="" height="1"
width="1" /></td>
  -            </tr>
  -            <tr>
  -              <!-- Menu: bottom left -->
  -              <td bgcolor="{$menu-border}" rowspan="2" colspan="2" align="left" valign="bottom">
  -                <img src="{$skin-img-dir}/menu-left.gif" alt="" border="0" width="10"
height="10" />
  -              </td>
  -              <!-- Menu: bottom -->
  -              <td bgcolor="{$menu-border}">
  -                <img src="{$spacer}" alt="" border="0" width="10" height="10" />
  -              </td>
  -              <!-- Menu: bottom right -->
  -              <td bgcolor="{$menu-border}" rowspan="2" colspan="2" align="right" valign="bottom">
  -                <img src="{$skin-img-dir}/menu-right.gif" alt="" border="0" width="10"
height="10" />
  -              </td>
  -            </tr>
  -            <tr>
  -              <td bgcolor="{$header-color}" height="1"><img src="{$spacer}" alt=""
height="1" width="1" /></td>
  -            </tr>
  -          </table>
  +          <xsl:if test="div[@class='menu']/ul/li">
  +            <xsl:call-template name="menu"/>
  +        </xsl:if>
           </td>
           <td width="100%" valign="top">
             <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="content">
   
               <xsl:comment>================= start middle NavBar ==================</xsl:comment>
  -            <tr><td bgcolor="{$header-color}" colspan="4"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +            <tr><td bgcolor="{$header-color}" colspan="4"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td></tr>
               <tr>
  -              <td bgcolor="{$background-bars}" width="10" align="left"><img src="{$spacer}"
alt="" height="1" width="10" /></td>
  +              <td bgcolor="{$background-bars}" width="10" align="left"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td>
                 <td bgcolor="{$background-bars}" width="50%" align="left">
                   <!-- ============ Page number =========== -->
                   <font face="Arial, Helvetica, Sans-serif" size="3" color="{$menu-border}">
                   &#160;
                   <!-- <b>Page 1 of 5</b> -->
                   </font>
  -                  <img src="{$spacer}" alt="" height="8" width="10" />
  +                <img class="spacer" src="{$spacer}" alt="" height="8" width="10" />
                 </td>
                 <td bgcolor="{$background-bars}" width="50%" align="right">
                   <!-- ============ Page navigation =========== -->
  @@ -201,21 +164,21 @@
                   &#160;
                   <!-- <b>&#171; prev&#160;&#160;<font size="4">[3]</font>&#160;&#160;next
&#187;</b> -->
                   </font>
  -                  <img src="{$spacer}" alt="" height="8" width="10" />
  +                <img class="spacer" src="{$spacer}" alt="" height="8" width="10" />
                 </td>
  -              <td bgcolor="{$background-bars}" width="10"><img src="{$spacer}"
alt="" height="1" width="10" /></td>
  +              <td bgcolor="{$background-bars}" width="10"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td>
               </tr>
  -            <tr><td bgcolor="{$header-color}" colspan="4"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +            <tr><td bgcolor="{$header-color}" colspan="4"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td></tr>
               <xsl:comment>================= end middle NavBar ==================</xsl:comment>
   
   
               <xsl:comment>================= start Content==================</xsl:comment>
               <tr>
  -              <td width="10" align="left"><img src="{$spacer}" alt="" height="1"
width="10" /></td>
  +              <td width="10" align="left"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td>
                 <td width="100%" align="left">
                   <xsl:apply-templates select="div[@class='content']"/>
                 </td>
  -              <td width="10"><img src="{$spacer}" alt="" height="1" width="10"
/></td>
  +              <td width="10"><img class="spacer" src="{$spacer}" alt="" height="1"
width="10" /></td>
               </tr>
               <xsl:comment>================= end Content==================</xsl:comment>
   
  @@ -230,7 +193,7 @@
       <table border="0" width="100%" cellpadding="0" cellspacing="0" summary="footer">
         <tr>
           <td bgcolor="{$menu-border}" height="1" colspan="2">
  -          <img src="{$spacer}" alt="" width="1" height="1" />
  +          <img class="spacer" src="{$spacer}" alt="" width="1" height="1" />
             <a href="{$skin-img-dir}/label.gif"/>
             <a href="{$skin-img-dir}/page.gif"/>
             <a href="{$skin-img-dir}/chapter.gif"/>
  @@ -272,7 +235,7 @@
                         <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of
select="$width"/></xsl:attribute></xsl:if>
                         <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of
select="$height"/></xsl:attribute></xsl:if>
                       </img>
  -                    <img src="{$spacer}" border="0" alt="" width="5" height="1" />
  +                    <img class="spacer" src="{$spacer}" alt="" width="5" height="1"
/>
                     </a>
                   </xsl:for-each>
                 </xsl:if>
  @@ -296,6 +259,49 @@
       <xsl:comment>================= end Footer ==================</xsl:comment>
         </body>
       </html>
  +  </xsl:template>
  +
  +  <xsl:template name="menu">
  +    <table cellpadding="0" cellspacing="0" border="0" summary="menu">
  +      <tr>
  +        <xsl:comment>================= start left top NavBar ==================</xsl:comment>
  +        <td valign="top" rowspan="3">
  +          <table cellspacing="0" cellpadding="0" border="0" summary="blue line">
  +            <tr><td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +            <tr><td bgcolor="{$background-bars}"><font face="Arial, Helvetica,
Sans-serif" size="4" color="{$menu-border}">&#160;</font></td></tr>
  +            <tr><td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +          </table>
  +        </td>
  +        <xsl:comment>================= end left top NavBar ==================</xsl:comment>
  +
  +        <td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}" alt=""
height="1" width="1" /></td>
  +        <td bgcolor="{$menu-border}" valign="bottom"><img class="spacer" src="{$spacer}"
alt="" height="10" width="10" /></td>
  +        <td bgcolor="{$menu-border}" valign="top" nowrap="nowrap">
  +          <xsl:comment>================= start Menu items ==================</xsl:comment>
  +          <xsl:apply-templates select="div[@class='menu']"/>
  +          <xsl:comment>================= end Menu items ==================</xsl:comment>
  +        </td>
  +        <td bgcolor="{$menu-border}" valign="bottom"><img class="spacer" src="{$spacer}"
alt="" height="10" width="10" /></td>
  +        <td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}" alt=""
height="1" width="1" /></td>
  +      </tr>
  +      <tr>
  +        <!-- Menu: bottom left -->
  +        <td bgcolor="{$menu-border}" rowspan="2" colspan="2" align="left" valign="bottom">
  +          <img src="{$skin-img-dir}/menu-left.gif" alt="" border="0" width="10" height="10"
/>
  +        </td>
  +        <!-- Menu: bottom -->
  +        <td bgcolor="{$menu-border}">
  +          <img class="spacer" src="{$spacer}" alt="" width="10" height="10" />
  +        </td>
  +        <!-- Menu: bottom right -->
  +        <td bgcolor="{$menu-border}" rowspan="2" colspan="2" align="right" valign="bottom">
  +          <img src="{$skin-img-dir}/menu-right.gif" alt="" border="0" width="10" height="10"
/>
  +        </td>
  +      </tr>
  +      <tr>
  +        <td bgcolor="{$header-color}" height="1"><img class="spacer" src="{$spacer}"
alt="" height="1" width="1" /></td>
  +      </tr>
  +    </table>
     </xsl:template>
   
     <xsl:template match="node()|@*" priority="-1">
  
  
  
  1.12      +6 -2      xml-forrest/src/resources/skins/krysalis-site/css/page.css
  
  Index: page.css
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/css/page.css,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- page.css	22 May 2003 00:33:56 -0000	1.11
  +++ page.css	22 May 2003 02:33:33 -0000	1.12
  @@ -6,12 +6,16 @@
   .textheader { display: none;  }
   .headerlogo { padding: 0px 2px 2px 0px;  }
   
  +.spacer { border: 0; margin: 0px; }
  +.skin { border: 0;  margin: 0px;}
  +.figure { border: 0; vertical-align: top ; margin-top: 10px; margin-bottom: 10px; }
  +img { border: 0; vertical-align: top ; margin-top: 5px; margin-bottom: 5px; }
  +
  +
   a:link { color: #0F3660; }
   a:visited { color: #000044; }
   a:active { color: #800000; }
   a:hover { border: 0px solid #a5b6c6; background: #CFDCED; }
  -
  -img { border: 0; vertical-align: top }
   
   .menu a:link { color: #000000;  font-weight: normal;}
   .menu a:visited { color: #000000; font-weight: normal; }
  
  
  
  1.15      +33 -33    xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl
  
  Index: site2xhtml.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/krysalis-site/xslt/html/site2xhtml.xsl,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- site2xhtml.xsl	21 May 2003 22:58:33 -0000	1.14
  +++ site2xhtml.xsl	22 May 2003 02:33:33 -0000	1.15
  @@ -81,17 +81,17 @@
                   <form method="get" action="http://www.google.com/search" target="_blank">
                     <table bgcolor="{$menu-border}" cellpadding="0" cellspacing="0" border="0"
summary="search">
                       <tr>
  -                      <td colspan="3" bgcolor="#a5b6c6"><img src="{$spacer}" alt=""
width="1" height="10" /></td>
  +                      <td colspan="3" bgcolor="#a5b6c6"><img class="spacer" src="{$spacer}"
alt="" width="1" height="10" /></td>
                       </tr>
                       <tr>
  -                      <td colspan="3"><img src="{$spacer}" alt="" width="1" height="8"
/></td>
  +                      <td colspan="3"><img class="spacer" src="{$spacer}" alt=""
width="1" height="8" /></td>
                       </tr>
                       <tr>
  -                      <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
  +                      <td><img class="spacer" src="{$spacer}" alt="" width="1"
height="1" /></td>
                         <td nowrap="nowrap">
                           <input type="hidden" name="sitesearch" value="{$config/searchsite-domain}"/>
                           <input type="text" id="query" name="q" size="15"/>
  -                        <img src="{$spacer}" alt="" width="5" height="1" />
  +                        <img class="spacer" src="{$spacer}" alt="" width="5" height="1"
/>
                           <input type="submit" value="Search" name="Search"/>
                           <br />
                             the <xsl:value-of select="$config/searchsite-name"/> site
  @@ -100,16 +100,16 @@
                             <input type="radio" name="web" value="web"/>web site&#160;&#160;<input
type="radio" name="mail" value="mail"/>mail lists
                             -->
                         </td>
  -                      <td><img src="{$spacer}" alt="" width="1" height="1" /></td>
  +                      <td><img class="spacer" src="{$spacer}" alt="" width="1"
height="1" /></td>
                       </tr>
   
                       <tr>
  -                      <td colspan="3"><img src="{$spacer}" alt="" width="1" height="7"
/></td>
  +                      <td colspan="3"><img class="spacer" src="{$spacer}" alt=""
width="1" height="7" /></td>
                       </tr>
   
                       <tr>
                         <td class="bottom-left-thick"></td>
  -                      <td bgcolor="#a5b6c6"><img src="{$spacer}" alt="" width="1"
height="1" /></td>
  +                      <td bgcolor="#a5b6c6"><img class="spacer" src="{$spacer}"
alt="" width="1" height="1" /></td>
                         <td class="bottom-right-thick"></td>
                       </tr>
                     </table>
  @@ -118,7 +118,7 @@
               </td>
               <xsl:comment>================= end Search ==================</xsl:comment>
   
  -            <td align="right" bgcolor="{$header-color}"><img src="{$spacer}" alt=""
width="10" height="10" />
  +            <td align="right" bgcolor="{$header-color}"><img class="spacer" src="{$spacer}"
alt="" width="10" height="10" />
                 <span class="textheader"><xsl:value-of select="$config/project-name"/></span>
               </td>
             </tr>
  @@ -128,7 +128,7 @@
                 <xsl:apply-templates select="div[@class='tab']"/>
                 <xsl:comment>================= end Tabs ==================</xsl:comment>
               </td>
  -            <td bgcolor="{$header-color}"><img src="{$spacer}" height="1" width="1"
alt="" /></td>
  +            <td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}"
height="1" width="1" alt="" /></td>
             </tr>
             <tr>
               <td colspan="4" bgcolor="{$header-color2}" align="right">
  @@ -156,9 +156,9 @@
                 <table cellspacing="0" cellpadding="0" border="0" width="100%" summary="content">
   
                   <xsl:comment>================= start middle NavBar ==================</xsl:comment>
  -                <tr><td bgcolor="{$header-color2}" colspan="3"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +                <tr><td bgcolor="{$header-color2}" colspan="3"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td></tr>
                   <tr>
  -                  <td bgcolor="{$background-bars}" width="10" align="left"><img
src="{$spacer}" alt="" height="1" width="10" /></td>
  +                  <td bgcolor="{$background-bars}" width="10" align="left"><img
class="spacer" src="{$spacer}" alt="" height="1" width="10" /></td>
                     <td width="100%" bgcolor="{$background-bars}">
                     <table cellspacing="0" cellpadding="0" border="0" width="100%" >
                     <tr>
  @@ -169,7 +169,7 @@
                         <script type="text/javascript" language="JavaScript" src="{$root}skin/breadcrumbs.js"></script>
                         <!-- <b>Page 1 of 5</b> -->
                       </span>
  -                    <img src="{$spacer}" alt="" height="8" width="10" />
  +                    <img class="spacer" src="{$spacer}" alt="" height="8" width="10"
/>
                     </td>
                     <td bgcolor="{$background-bars}" width="50%" align="right">
                       <!-- ============ Page navigation =========== -->
  @@ -178,25 +178,25 @@
                           &#160;<input type="button" onclick="ndeSetTextSize('incr');
return false;" title="Enlarge text" class="biggerfont" value="+a"/>
                           &#160;<input type="button" onclick="ndeSetTextSize('reset');
return false;" title="Reset text" class="resetfont" value="Reset"/>           
                       </span>
  -                    <img src="{$spacer}" alt="" height="8" width="10" />
  +                    <img class="spacer" src="{$spacer}" alt="" height="8" width="10"
/>
                     </td>
                     </tr>
                     </table>
                     </td>
                     <td bgcolor="#CFDCED" width="10">
                       <font face="Arial, Helvetica, Sans-serif" size="4" color="{$menu-border}">&#160;</font>
  -                    <img src="{$spacer}" alt="" height="1" width="10" /></td>
  +                    <img class="spacer" src="{$spacer}" alt="" height="1" width="10"
/></td>
                   </tr>
  -                <tr><td bgcolor="{$header-color2}" colspan="4"><img src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
  +                <tr><td bgcolor="{$header-color2}" colspan="4"><img class="spacer"
src="{$spacer}" alt="" height="1" width="10" /></td></tr>
                   <xsl:comment>================= end middle NavBar ==================</xsl:comment>
   
                   <xsl:comment>================= start Content==================</xsl:comment>
                   <tr>
  -                  <td width="10" align="left"><img src="{$spacer}" alt="" height="1"
width="10" /></td>
  +                  <td width="10" align="left"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td>
                     <td width="100%" align="left">
                       <xsl:apply-templates select="div[@class='content']"/>
                     </td>
  -                  <td width="10"><img src="{$spacer}" alt="" height="1" width="10"
/></td>
  +                  <td width="10"><img class="spacer" src="{$spacer}" alt="" height="1"
width="10" /></td>
                   </tr>
                   <xsl:comment>================= end Content==================</xsl:comment>
   
  @@ -215,7 +215,7 @@
           <table border="0" width="100%" cellpadding="0" cellspacing="0" summary="footer">
             <tr>
               <td bgcolor="{$menu-border}" height="1" colspan="2">
  -              <img src="{$spacer}" alt="" width="1" height="1" />
  +              <img class="spacer" src="{$spacer}" alt="" width="1" height="1" />
                 <a href="{$skin-img-dir}/label.gif"/>
                 <a href="{$skin-img-dir}/page.gif"/>
                 <a href="{$skin-img-dir}/chapter.gif"/>
  @@ -227,7 +227,7 @@
             <tr>
               <xsl:if test="$config/host-logo and not($config/host-logo = '')">
                 <div class="host">
  -                <img src="{$root}skin/images/spacer.gif" width="10" height="1" alt=""/>
  +                <img class="spacer" src="{$spacer}" width="10" height="1" alt=""/>
                   <xsl:call-template name="renderlogo">
                     <xsl:with-param name="name" select="$config/host-name"/>
                     <xsl:with-param name="url" select="$config/host-url"/>
  @@ -265,7 +265,7 @@
                         <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of
select="$width"/></xsl:attribute></xsl:if>
                         <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of
select="$height"/></xsl:attribute></xsl:if>
                       </img>
  -                    <img src="{$spacer}" border="0" alt="" width="5" height="1" />
  +                    <img class="spacer" src="{$spacer}" border="0" alt="" width="5"
height="1" />
                     </a>
                   </xsl:for-each>
                 </xsl:if>
  @@ -285,15 +285,15 @@
           <xsl:comment>================= start left top NavBar ==================</xsl:comment>
           <td valign="top" rowspan="3">
             <table cellspacing="0" cellpadding="0" border="0" summary="blue line">
  -            <tr><td bgcolor="{$header-color2}"><img src="{$spacer}" alt=""
height="1" width="10" /></td></tr>
  +            <tr><td bgcolor="{$header-color2}"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
               <tr><td bgcolor="{$background-bars}"><font face="Arial, Helvetica,
Sans-serif" size="4" color="{$menu-border}">&#160;</font></td></tr>
  -            <tr><td bgcolor="{$header-color}"><img src="{$spacer}" alt=""
height="1" width="10" /></td></tr>
  +            <tr><td bgcolor="{$header-color}"><img class="spacer" src="{$spacer}"
alt="" height="1" width="10" /></td></tr>
             </table>
           </td>
           <xsl:comment>================= end left top NavBar ==================</xsl:comment>
   
  -        <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="1"
width="1" /></td>
  -        <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}" alt=""
height="10" width="10" /></td>
  +        <td bgcolor="{$header-color2}"><img class="spacer" src="{$spacer}" alt=""
height="1" width="1" /></td>
  +        <td bgcolor="{$menu-border}" valign="bottom"><img class="spacer" src="{$spacer}"
alt="" height="10" width="10" /></td>
           <td bgcolor="{$menu-border}" valign="top" nowrap="nowrap">
   
             <xsl:comment>================= start Menu items ==================</xsl:comment>
  @@ -306,20 +306,20 @@
   
             <xsl:comment>================= end Menu items ==================</xsl:comment>
           </td>
  -        <td bgcolor="{$menu-border}" valign="bottom"><img src="{$spacer}" alt=""
height="10" width="10" /></td>
  -        <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" height="1"
width="1" /></td>
  +        <td bgcolor="{$menu-border}" valign="bottom"><img class="spacer" src="{$spacer}"
alt="" height="10" width="10" /></td>
  +        <td bgcolor="{$header-color2}"><img class="spacer" src="{$spacer}" alt=""
height="1" width="1" /></td>
         </tr>
   
         <tr>
           <td class="bottom-left-thick" rowspan="2" colspan="2"></td>
  -        <td bgcolor="{$header-color2}"><img src="{$spacer}" alt="" border="0"
width="10" height="10" /></td>
  +        <td bgcolor="{$header-color2}"><img class="spacer" src="{$spacer}" alt=""
border="0" width="10" height="10" /></td>
           <td class="bottom-right-thick" rowspan="2" colspan="2"></td>
         </tr>
         <tr>
  -        <td bgcolor="{$header-color2}" height="1"><img src="{$spacer}" alt=""
height="1" width="1" /></td>
  +        <td bgcolor="{$header-color2}" height="1"><img class="spacer" src="{$spacer}"
alt="" height="1" width="1" /></td>
         </tr>
         <tr>
  -        <td height="5"><img src="{$spacer}" alt="" height="5" width="1" /></td>
  +        <td height="5"><img class="spacer" src="{$spacer}" alt="" height="5" width="1"
/></td>
         </tr>                
   
   
  @@ -331,10 +331,10 @@
             <xsl:variable name="width" select="width"/>
             <xsl:variable name="height" select="height"/>
             <tr>
  -            <td height="5"><img src="{$spacer}" alt="" height="5" width="1" /></td>
  +            <td height="5"><img class="spacer" src="{$spacer}" alt="" height="5"
width="1" /></td>
             </tr> 
             <tr> 
  -            <td><img src="{$spacer}" alt="" height="1" width="1" /></td>
  +            <td><img class="spacer" src="{$spacer}" alt="" height="1" width="1"
/></td>
               <td colspan="4" height="5" class="logos">
                 <a href="{$url}">
                   <img alt="{$name} logo" border="0">
  @@ -345,7 +345,7 @@
                     <xsl:if test="$width"><xsl:attribute name="width"><xsl:value-of
select="$width"/></xsl:attribute></xsl:if>
                     <xsl:if test="$height"><xsl:attribute name="height"><xsl:value-of
select="$height"/></xsl:attribute></xsl:if>
                   </img>
  -                <img src="{$spacer}" border="0" alt="" width="5" height="1" />
  +                <img class="spacer" src="{$spacer}" border="0" alt="" width="5" height="1"
/>
                 </a>
               </td>
             </tr> 
  
  
  

Mime
View raw message