Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64
Your IP : 3.144.237.52
<?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="level_name" />
<xsl:param name="level_name_id" />
<xsl:param name="lang" />
<xsl:param name="selection" />
<xsl:param name="level_type" />
<xsl:template match="/">
<xsl:variable name="tempid" select="substring-after($level_name_id, ',')" />
<xsl:variable name="id1" select="substring-before($level_name_id, ',')" />
<xsl:variable name="id2" select="substring-before($tempid, ',')" />
<xsl:variable name="tempid2" select="substring-after($tempid, ',')" />
<xsl:variable name="id3" select="substring-before($tempid2, ',')" />
<xsl:variable name="tempid3" select="substring-after($tempid2, ',')" />
<xsl:variable name="id4" select="substring-before($tempid3, ',')" />
<xsl:variable name="id5" select="substring-after($tempid3, ',')" />
<xsl:variable name="show_selector06">
<xsl:choose>
<xsl:when test="$level_name_id != ''">
<xsl:text>true</xsl:text>
</xsl:when>
<xsl:otherwise>
<xsl:text>false</xsl:text>
</xsl:otherwise>
</xsl:choose>
</xsl:variable>
<div class="float_left">
<xsl:if test="$show_selector06 = 'true'">
<span class="asterix">*</span>
<!--<select id="sixth_tool_select" class="small_select" onChange="javascript:get_type_level_and_id(this.value, 'seventh_tool_selectors.xsl', 'seventh_level_tool', null, this.selectedIndex, this, '{$level_name_id}'); get_section_letter(document.getElementById('section04'), this.value);">-->
<!--><select class="small_select" onChange="javascript:get_type_level_and_id(this.value, 'seventh_tool_selectors.xsl', 'seventh_level_tool'); get_section_letter(document.getElementById('section04'), this.value);">-->
<select id="seventh_tool_select" class="small_select form-control" onChange="javascript:is_main_selector_selection(true); get_section_letter(document.getElementById('section04'), this.value); get_drop_spec(drop_seventh_level, this)">
<xsl:choose>
<xsl:when test="$level_name = 'ligue5'">
<xsl:for-each select="document(concat('../xml/ligue_levels', $level_type, '/ligue_tool_selectors_items6.xml'))//ligue/items6[@reftable=$level_name_id]/item">
<xsl:if test="$lang = 'fr'">
<xsl:choose>
<xsl:when test="$selection = @label">
<option value="{./@value}|ligue6|{./@reftable}|{@animtype}|{parent::*/@reftable}|ligue5" title="{@label}" selected="selected">
<xsl:value-of select="@label" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|ligue6|{./@reftable}|{@animtype}|{parent::*/@reftable}|ligue5" title="{@label}">
<xsl:value-of select="@label" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="$lang = 'en'">
<xsl:choose>
<xsl:when test="$selection = @label_en">
<option value="{./@value}|ligue6|{./@reftable}|{@animtype}|{parent::*/@reftable}|ligue5" title="{@label_en}" selected="selected">
<xsl:value-of select="@label_en" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|ligue6|{./@reftable}|{@animtype}|{parent::*/@reftable}|ligue5" title="{@label_en}">
<xsl:value-of select="@label_en" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:when test="$level_name = 'equipe5'">
<xsl:for-each select="document(concat('../xml/equipe_levels', $level_type, '/equipe_tool_selectors_items6.xml'))//equipe/items6[@reftable=$level_name_id]/item">
<xsl:if test="$lang = 'fr'">
<xsl:choose>
<xsl:when test="$selection = @label">
<option value="{./@value}|equipe6|{./@reftable}|{@animtype}|{parent::*/@reftable}|equipe5" title="{@label}" selected="selected">
<xsl:value-of select="@label" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|equipe6|{./@reftable}|{@animtype}|{parent::*/@reftable}|equipe5" title="{@label}">
<xsl:value-of select="@label" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="$lang = 'en'">
<xsl:choose>
<xsl:when test="$selection = @label_en">
<option value="{./@value}|equipe6|{./@reftable}|{@animtype}|{parent::*/@reftable}|equipe5" title="{@label_en}" selected="selected">
<xsl:value-of select="@label_en" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|equipe6|{./@reftable}|{@animtype}|{parent::*/@reftable}|equipe5" title="{@label_en}">
<xsl:value-of select="@label_en" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:when test="$level_name = 'franchise5'">
<xsl:for-each select="document(concat('../xml/franchise_levels', $level_type, '/franchise_tool_selectors_items6.xml'))//franchise/items6[@reftable=$level_name_id]/item">
<xsl:if test="$lang = 'fr'">
<xsl:choose>
<xsl:when test="$selection = @label">
<option value="{./@value}|franchise6|{./@reftable}|{@animtype}|{parent::*/@reftable}|franchise5" title="{@label}" selected="selected">
<xsl:value-of select="@label" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|franchise6|{./@reftable}|{@animtype}|{parent::*/@reftable}|franchise5" title="{@label}">
<xsl:value-of select="@label" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
<xsl:if test="$lang = 'en'">
<xsl:choose>
<xsl:when test="$selection = @label_en">
<option value="{./@value}|franchise6|{./@reftable}|{@animtype}|{parent::*/@reftable}|franchise5" title="{@label_en}" selected="selected">
<xsl:value-of select="@label_en" />
</option>
</xsl:when>
<xsl:otherwise>
<option value="{./@value}|franchise6|{./@reftable}|{@animtype}|{parent::*/@reftable}|franchise5" title="{@label_en}">
<xsl:value-of select="@label_en" />
</option>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</xsl:when>
</xsl:choose>
</select>
</xsl:if>
</div>
<div id="height_tool_selectors.xsl"></div>
</xsl:template>
</xsl:stylesheet>
|