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/forrest-site/xslt/html site2xhtml.xsl
Date Sun, 17 Nov 2002 00:45:41 GMT
jefft       2002/11/16 16:45:41

  Modified:    src/resources/skins/forrest-site/xslt/html site2xhtml.xsl
  Log:
  - Use renderlogo template for host-logo
  - Move credit logos to the bottom left, below the sidebar
  
  Revision  Changes    Path
  1.14      +17 -9     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.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- site2xhtml.xsl	16 Nov 2002 20:58:13 -0000	1.13
  +++ site2xhtml.xsl	17 Nov 2002 00:45:41 -0000	1.14
  @@ -250,14 +250,10 @@
           </td>
         </tr>
         <tr>
  -      <td class="logos" bgcolor="{$background-bars}" align="left">
  -        <xsl:if test="$config/host-logo and not($config/host-logo = '')">
  -            <a href="{$config/host-url}"><img src="{$config/host-logo}" alt="{$config/host-name}
logo" border="0"/></a>
  -        </xsl:if>
  -      </td>
  -      <td class="logos" bgcolor="{$background-bars}" align="right">
  +      <td class="logos" bgcolor="{$background-bars}" align="left" colspan="2">
           <xsl:if test="$filename = 'index.html' and $config/credits">
  -          <div align="right">
  +          <div>
  +            <img src="{$root}skin/images/spacer.gif" width="10" height="1" alt=""/>
             <xsl:for-each select="$config/credits/credit">
               <xsl:variable name="name" select="name"/>
               <xsl:variable name="url" select="url"/>
  @@ -276,8 +272,20 @@
               <img src="{$spacer}" border="0" alt="" width="5" height="1" />
               </a>
             </xsl:for-each>
  -            </div>
  +          </div>
  +        </xsl:if>
  +        <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=""/>
  +            <xsl:call-template name="renderlogo">
  +              <xsl:with-param name="name" select="$config/host-name"/>
  +              <xsl:with-param name="url" select="$config/host-url"/>
  +              <xsl:with-param name="logo" select="$config/host-logo"/>
  +              <xsl:with-param name="root" select="$root"/>
  +            </xsl:call-template>
  +          </div>
           </xsl:if>
  +
           </td>
         </tr>
       </table>
  
  
  

Mime
View raw message