Ignore:
Timestamp:
2011-08-31T13:39:11+12:00 (13 years ago)
Author:
sjm84
Message:

The expanding classifers will now remain open if you press back to revisit the page, also adding xsltParams to the gs variable, also changed Document Maker to Document Basket in the pref.xsl file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/oran/transform/classifiertools.xsl

    r24359 r24520  
    8181      <xsl:choose>
    8282    <xsl:when test="name()='documentNode'">
    83       <td><table><tr>
     83      <td><table id="div{@nodeID}"><tr>
    8484        <xsl:call-template name="documentNodeWrapper">
    8585          <xsl:with-param name='collName' select='$collName'/>
     
    9090    </xsl:when>
    9191    <xsl:otherwise>
    92       <td><table><tr>
     92      <td><table id="title{@nodeID}"><tr>
     93        <td class="headerTD">
     94            <img id="toggle{@nodeID}" onclick="toggleSection('{@nodeID}');" class="icon">           
     95                <xsl:attribute name="src">
     96                    <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'expand_image')"/>
     97                </xsl:attribute>
     98            </img>
     99        </td>
    93100        <xsl:apply-templates select='.'>
    94101          <xsl:with-param name='collName' select='$collName'/>
     
    99106      <xsl:if test="child::classifierNode or child::documentNode">
    100107        <!--recurse into the children-->
    101         <tr><td><table class="childrenlist">
     108        <tr><td><table class="childrenlist" id="div{@nodeID}">
    102109        <xsl:apply-templates select='.' mode='process-all-children'>
    103110          <xsl:with-param name='collName' select='$collName'/>
Note: See TracChangeset for help on using the changeset viewer.