Changeset 14643


Ignore:
Timestamp:
10/10/07 17:50:56 (13 years ago)
Author:
anna
Message:

Remove ct parameters, because now we can get it from paramList.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/classic/transform/pref.xsl

    r14638 r14643  
    7373    <xsl:param name="formstatus"/>
    7474    <xsl:param name="advancedstatus"/>
    75    
    76     <!-- collection type -->       
    77     <xsl:variable name="ct"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='ct']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='ct']/@value"/></xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable>
     75       
    7876    <!-- search type : 0(default, simple); 1(form) -->
    7977    <xsl:variable name="qt"><xsl:choose><xsl:when test="/page/pageRequest/paramList/param[@name='qt']"><xsl:value-of select="/page/pageRequest/paramList/param[@name='qt']/@value"/></xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable>   
     
    8684      <tr><td> </td><td> </td><td align='right'><input type='submit' name="submit" value='set prefs'/></td></tr>
    8785      <!-- search type -->       
    88       <!-- values are updated by either xslt or javascript -->
    89       <input type="hidden" name="ct" value="{$ct}"/>
     86      <!-- values are updated by either xslt or javascript -->     
    9087      <input type="hidden" name="qt" value="{$qt}"/>
    9188     
Note: See TracChangeset for help on using the changeset viewer.