Posted: 2003-05-18 10:02:06
Hi, you have to change this:
1. Search for:
Change it to:
2. Search for:
Replace by:
3. Search for:
Replace it by:
Thats all
1. Search for:
Code: Select all
<xsl:param name="show_country" select="'true'" />
<xsl:param name="show_director" select="'true'" />
<xsl:param name="show_year" select="'true'" />
Code: Select all
<xsl:param name="show_country" select="'true'" />
<xsl:param name="show_length" select="'true'" />
Code: Select all
<xsl:if test="$show_director = 'true'">
<th><a href="javascript:sortBy('director')" class="tHead">Director</a></th>
</xsl:if>
<xsl:if test="$show_category = 'true'">
<th><a href="javascript:sortBy('category')" class="tHead">Category</a></th>
</xsl:if>
<xsl:if test="$show_country = 'true'">
<th><a href="javascript:sortBy('country')" class="tHead">Country</a></th>
</xsl:if>
<xsl:if test="$show_year = 'true'">
<th><a href="javascript:sortBy('year')" class="tHead">Year</a></th>
</xsl:if>
Code: Select all
<xsl:if test="$show_category = 'true'">
<th><a href="javascript:sortBy('category')" class="tHead">Category</a></th>
</xsl:if>
<xsl:if test="$show_country = 'true'">
<th><a href="javascript:sortBy('country')" class="tHead">Country</a></th>
</xsl:if>
<xsl:if test="$show_length = 'true'">
<th><a href="javascript:sortBy('length')" class="tHead">Length</a></th>
</xsl:if>
Code: Select all
<xsl:if test="$show_director = 'true'">
<td class="movieList" >
<span id="col_director">
<xsl:value-of select="director" />
</span>
</td>
</xsl:if>
<xsl:if test="$show_category = 'true'">
<td class="movieList">
<span id="col_category">
<xsl:value-of select="category" />
</span>
</td>
</xsl:if>
<xsl:if test="$show_country = 'true'">
<td class="movieList">
<span id="col_country">
<xsl:value-of select="country" />
</span>
</td>
</xsl:if>
<xsl:if test="$show_year = 'true'">
<td class="movieList">
<span id="col_year">
<xsl:value-of select="year" />
</span>
</td>
</xsl:if>
Code: Select all
<xsl:if test="$show_category = 'true'">
<td class="movieList">
<span id="col_category">
<xsl:value-of select="category" />
</span>
</td>
</xsl:if>
<xsl:if test="$show_country = 'true'">
<td class="movieList">
<span id="col_country">
<xsl:value-of select="country" />
</span>
</td>
</xsl:if>
<xsl:if test="$show_length = 'true'">
<td class="movieList">
<span id="col_length">
<xsl:value-of select="length" />
</span>
</td>
</xsl:if>