Changeset 3044
- Timestamp:
- 11/10/10 14:29:16
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/javascript/bedework/bedeworkAccess.js
r2997 r3044 47 47 48 48 // note that resourcesRoot is passed in from the html head section defined in the xslt 49 var trashIcon = '<img src="' + resourcesRoot + '/resources/trashIcon.gif" width="13" height="13" border="0" alt="remove"/>';50 var userIcon = '<img src="' + resourcesRoot + '/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/>';51 var groupIcon = '<img src="' + resourcesRoot + '/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/>';49 var trashIcon = '<img src="' + imagesRoot + '/trashIcon.gif" width="13" height="13" border="0" alt="remove"/>'; 50 var userIcon = '<img src="' + imagesRoot + '/userIcon.gif" width="13" height="13" border="0" alt="user"/>'; 51 var groupIcon = '<img src="' + imagesRoot + '/groupIcon.gif" width="13" height="13" border="0" alt="group"/>'; 52 52 53 53 // How granted accesses appear trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/calendars.xsl
r3039 r3044 88 88 <!-- this template receives calType 0,1,4,7,8,9 --> 89 89 <xsl:variable name="id" select="id"/> 90 <xsl:variable name="userRootCalendar">/user/<xsl:value-of select="/bedework/userid"/></xsl:variable> 90 91 <li> 91 92 <xsl:attribute name="class"> … … 93 94 <xsl:when test="disabled = 'true'">unknown</xsl:when> 94 95 <xsl:when test="lastRefreshStatus > 300">unknown</xsl:when> 95 <xsl:when test="/bedework/selectionState/selectionType = 'collections' 96 <xsl:when test="not(path = $userRootCalendar) 97 and /bedework/selectionState/selectionType = 'collections' 96 98 and path = /bedework/selectionState/collection/virtualpath">selected</xsl:when> 97 99 <xsl:when test="isSubscription = 'true'"> … … 106 108 </xsl:attribute> 107 109 <xsl:if test="currentAccess/current-user-privilege-set/privilege/write-content"> 108 <xsl:variable name="userRootCalendar">/user/<xsl:value-of select="/bedework/userid"/></xsl:variable>109 110 <form name="bwHideDisplayCal" class="bwHideDisplayCal" method="post"> 110 111 <xsl:attribute name="action"> trunk/deployment/webuser/webapp/resources/demoskins/themes/bedeworkTheme/sideBar.xsl
r3007 r3044 23 23 24 24 <xsl:template name="sideBar"> 25 <!-- We'll leave the following views block here in case we (or someone) wants to make use of views. 26 We are not using them at the moment in the personal client, so we'll hide it. --> 27 <!-- 25 28 <h3> 26 29 <xsl:copy-of select="$bwStr-SdBr-Views"/> … … 47 50 </xsl:choose> 48 51 </ul> 52 --> 49 53 50 54 <h3>
