Changeset 28229

Show
Ignore:
Timestamp:
06.09.2013 11:08:20 (6 years ago)
Author:
sjm84
Message:

Adding a new edit mode flag

Files:
1 modified

Legend:

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

    r28051 r28229  
    616616    <!-- put the drag&drop document basket on the page --> 
    617617    <xsl:template name="documentBasket"> 
    618         <xsl:if test="$documentBasketOn and /page/pageRequest/userInformation 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))"> 
     618        <xsl:if test="$documentBasketOn and /page/pageRequest/userInformation and /page/pageRequest/userInformation/@editEnabled = 'true' 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))"> 
    619619            <div id="documentbasket" class="hide"> 
    620620                <span>Document Basket</span>