Changeset 33595 for main/trunk
- Timestamp:
- 2019-10-22T14:05:46+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/gslib.xsl
r33493 r33595 730 730 These get used on many different pages to add the 731 731 berry basket function to the site 732 --> 732 --> 733 734 <xsl:template name="displayBaskets"> 735 <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)))"> 736 <!-- <div id="float-anchor" style="position: absolute; width: 29%; min-width:180px; /*top: 105px;*/ right:20px; margin: 0 0 10px 20px;"> 737 <xsl:comment>Filler needed for div</xsl:comment>--> 738 <div id="rightSidebar"> 739 <xsl:if test="$berryBasketOn"> 740 <!-- show the berry basket if it's turned on --> 741 <gslib:berryBasket/> 742 <xsl:text> </xsl:text> 743 </xsl:if> 744 745 <xsl:if test="$favouriteBasketOn"> 746 <!-- show the favourites 'basket' if it's turned on --> 747 <gslib:gotoFavourites/> 748 <xsl:text> </xsl:text> 749 </xsl:if> 750 751 <xsl:if test="$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))"> 752 <!-- show the document basket if its turned on and the user has permission--> 753 <gslib:documentBasket/> 754 <xsl:text> </xsl:text> 755 </xsl:if> 756 </div> 757 <!-- </div>--> 758 </xsl:if> 759 </xsl:template> 760 733 761 <!-- put the drag&drop berry basket on the page --> 734 762 <xsl:template name="berryBasket">
Note:
See TracChangeset
for help on using the changeset viewer.