Changeset 33594


Ignore:
Timestamp:
2019-10-22T14:00:34+13:00 (4 years ago)
Author:
kjdon
Message:

call gslib:displayBasket instead of replicating the code here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/classifier.xsl

    r33386 r33594  
    2929    <script type="text/javascript" src="interfaces/{$interface_name}/js/classifier_scripts.js"><xsl:text> </xsl:text></script>
    3030    <script type="text/javascript">$(window).load(openStoredClassifiers);</script>
    31     <!-- this right sidebar -->
    32     <xsl:if test="$berryBasketOn or $favouriteBasketOn or ($documentBasketOn and (util:contains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:contains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor)))">
    33       <div id="rightSidebar">
    34     <xsl:if test="$berryBasketOn">
    35       <!-- show the berry basket if it's turned on -->
    36       <gslib:berryBasket/>
    37       <xsl:text> </xsl:text>
    38     </xsl:if>
    39 
    40     <xsl:if test="$favouriteBasketOn">
    41       <!-- show the favourites 'basket' if it's turned on -->
    42       <gslib:gotoFavourites/>
    43       <xsl:text> </xsl:text>
    44     </xsl:if>
    45 
    46     <xsl:if test="$documentBasketOn">
    47       <gslib:documentBasket/>
    48       <xsl:text> </xsl:text>
    49     </xsl:if>
    50       </div>
    51     </xsl:if>
    52    
     31    <gslib:displayBaskets/>
     32 
    5333    <!--
    5434    show the clasifier results -
Note: See TracChangeset for help on using the changeset viewer.