You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by je...@apache.org on 2003/02/02 05:26:06 UTC

cvs commit: xml-forrest/src/resources/skins/common/xslt/html renderlogo.xsl

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>