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/common/xslt/html renderlogo.xsl
Date Sun, 02 Feb 2003 04:26:06 GMT
jefft       2003/02/01 20:26:06

  Modified:    src/resources/skins/common/xslt/html renderlogo.xsl
  Log:
  Don't display logo if URL is blank
  
  Revision  Changes    Path
  1.2       +1 -1      xml-forrest/src/resources/skins/common/xslt/html/renderlogo.xsl
  
  Index: renderlogo.xsl
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/resources/skins/common/xslt/html/renderlogo.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- renderlogo.xsl	16 Nov 2002 20:58:12 -0000	1.1
  +++ renderlogo.xsl	2 Feb 2003 04:26:06 -0000	1.2
  @@ -21,7 +21,7 @@
       <xsl:param name="root"/>
       <a href="{$url}">
         <xsl:choose>
  -        <xsl:when test="$logo">
  +        <xsl:when test="$logo and not($logo = '')">
             <img alt="{$name}" class="logoImage" border="0">
               <xsl:attribute name="src">
   	      <xsl:if test="not(starts-with($logo, 'http://'))"><xsl:value-of select="$root"/></xsl:if>
  
  
  

Mime
View raw message