www/62282: Forgotten base/enbase for <category> in navigation.xml

Rudolf Cejka cejkar at fit.vutbr.cz
Mon Feb 2 11:50:16 PST 2004


>Number:         62282
>Category:       www
>Synopsis:       Forgotten base/enbase for <category> in navigation.xml
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 02 11:50:11 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rudolf Cejka
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:
>Description:
 
 Hello,
   I'm trying to localize last web changes, but it is impossible to add
 base/enbase for <category ...> items in navigation.xml. The problem is
 in last change in www/share/sgml/includes.misc.xsl 1.6, which has been
 partially fixed in includes.misc.xsl 1.7, but just for <link ...>, not
 for <category ...>. Follows patch in the style of revision 1.7.
 
 --- includes.misc.xsl	Mon Feb  2 19:47:09 2004
 +++ includes.misc.xsl.new	Mon Feb  2 20:33:11 2004
 @@ -222,6 +222,10 @@
  	<xsl:if test="@src != ''">
  	<a>
  	    <xsl:attribute name="href">
 +	      <xsl:choose>
 +	        <xsl:when test="@path = 'base'"><xsl:value-of select="$base"/>/</xsl:when>
 +	        <xsl:when test="@path = 'enbase'"><xsl:value-of select="$enbase"/>/</xsl:when>
 +	      </xsl:choose>
  	      <xsl:value-of select="@src"/>
  	    </xsl:attribute>
  	    <font size="+1" color="#990000"><b><xsl:value-of select="@name"/></b></font>
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-www mailing list