www/105950: [Patch] Event anchors in main index.html are broken

Rudolf Cejka cejkar at fit.vutbr.cz
Tue Nov 28 07:10:37 PST 2006


>Number:         105950
>Category:       www
>Synopsis:       [Patch] Event anchors in main index.html are broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-www
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 28 15:10:21 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rudolf Cejka
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
FIT, Brno University of Technology, Czech Republic
>Environment:

Event anchors generated in main index.html are similar to
#event:meetbsd-2006. However events page uses anchors #event:N now.
Below is a patch, which fixes anchors in main index.html (file
www/share/sgml/libcommon.xsl):

--- libcommon.xsl.orig	Tue Nov 28 15:56:08 2006
+++ libcommon.xsl	Tue Nov 28 15:56:48 2006
@@ -1086,7 +1086,8 @@
 	    <xsl:when test="$events.xml = 'none'">&enbase;/</xsl:when>
 	    <xsl:otherwise>&base;/</xsl:otherwise>
 	  </xsl:choose>
-          <xsl:text>events/#event:</xsl:text><xsl:value-of select='@id' />
+          <xsl:text>events/#</xsl:text>
+          <xsl:call-template name="generate-event-anchor"/>
         </xsl:attribute>
 
         <xsl:value-of select="name"/>

>Description:
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-www mailing list