- Timestamp:
- 2018-12-04T13:32:50+13:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/default/transform/layouts/header.xsl
r32599 r32651 33 33 <!-- is a user logged in, and do they have editing rights for this collection? --> 34 34 <xsl:variable name="userHasEditPermission"> 35 <xsl:if test="/page/pageRequest/userInformation and (util:c ontains(/page/pageRequest/userInformation/@groups, 'administrator') or util:contains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:groupsContains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">1</xsl:if>35 <xsl:if test="/page/pageRequest/userInformation and (util:csvContains(/page/pageRequest/userInformation/@groups, 'administrator') or util:csvContains(/page/pageRequest/userInformation/@groups, 'all-collections-editor') or util:csvContains(/page/pageRequest/userInformation/@groups, $thisCollectionEditor))">1</xsl:if> 36 36 </xsl:variable> 37 37 <xsl:variable name="siteAdmin">
Note:
See TracChangeset
for help on using the changeset viewer.