This commit is contained in:
ceb 2002-10-04 22:40:34 +00:00
parent 0ae563ca08
commit 1399030749

View File

@ -18,8 +18,16 @@
<table cellpadding="0" cellspacing="0" width="{$inner_width}" class="portal"> <table cellpadding="0" cellspacing="0" width="{$inner_width}" class="portal">
<tr> <tr>
<td> <td>
<xsl:apply-templates select="listbox"/> <xsl:choose>
<xsl:apply-templates select="extrabox"/> <xsl:when test="listbox">
<ul>
<xsl:apply-templates select="listbox"/>
</ul>
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="extrabox"/>
</xsl:otherwise>
</xsl:choose>
</td> </td>
</tr> </tr>
</table> </table>
@ -38,23 +46,12 @@
</a> </a>
</xsl:template> </xsl:template>
<!-- <xsl:template name="portal_row">
<tr>
<td>
<xsl:apply-templates select="listbox"/>
<xsl:apply-templates select="extrabox"/>
</td>
</tr>
</xsl:template> -->
<xsl:template match="listbox"> <xsl:template match="listbox">
<xsl:variable name="link"><xsl:value-of select="link"/></xsl:variable> <xsl:variable name="link"><xsl:value-of select="link"/></xsl:variable>
<xsl:variable name="lang_link_statustext"><xsl:value-of select="lang_link_statustext"/></xsl:variable> <xsl:variable name="lang_link_statustext"><xsl:value-of select="lang_link_statustext"/></xsl:variable>
<ul> <li>
<li> <a href="{$link}" onMouseover="window.status='{$lang_link_statustext}';return true;" onMouseout="window.status='';return true;">
<a href="{$link}" onMouseover="window.status='{$lang_link_statustext}';return true;" onMouseout="window.status='';return true;"> <xsl:value-of select="text"/>
<xsl:value-of select="text"/> </a>
</a> </li>
</li>
</ul>
</xsl:template> </xsl:template>