Add tags of support protocol to the mirror site list.

This commit is contained in:
Hiroki Sato 2003-11-28 22:03:09 +00:00
parent 3b7c2b4327
commit 6f94dc2925
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=19011

View file

@ -145,6 +145,29 @@
<xsl:value-of select="." />
</xsl:otherwise>
</xsl:choose>
<xsl:if test="$proto = 'ftp' and @proto">
<xsl:value-of select="' (ftp'" />
<xsl:choose>
<xsl:when test="contains(@proto, 'http') and contains(@proto, 'rsync')">
<xsl:value-of select="'/http/rsync'" />
</xsl:when>
<xsl:when test="contains(@proto, 'http') and not(contains(@proto, 'rsync'))">
<xsl:value-of select="'/http'" />
</xsl:when>
<xsl:when test="not(contains(@proto, 'http')) and contains(@proto, 'rsync')">
<xsl:value-of select="'/rsync'" />
</xsl:when>
</xsl:choose>
<xsl:value-of select="')'" />
<xsl:if test="contains(@proto, 'ftpv6')
or contains(@proto, 'httpv6')
or contains(@proto, 'rsyncv6')">
<xsl:text> (IPv6)</xsl:text>
</xsl:if>
</xsl:if>
</para>
</listitem>
</xsl:for-each>