Bug 62282

Summary: Forgotten base/enbase for <category> in navigation.xml
Product: Documentation Reporter: Rudolf Čejka <cejkar>
Component: Books & ArticlesAssignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me CC: ale
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Rudolf Čejka 2004-02-02 19:50:11 UTC
 
 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>
Comment 1 Alex Dupre freebsd_committer freebsd_triage 2004-02-02 21:59:23 UTC
Responsible Changed
From-To: freebsd-www->ale

I already have a patch for it.
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2004-02-03 22:27:20 UTC
State Changed
From-To: open->closed

Fixed, thanks!