| 2123 | | <xsl:when test="invert"> |
|---|
| 2124 | | <em>Deny to <xsl:value-of select="$who"/></em> |
|---|
| | 2126 | <xsl:when test="contains($who,/bedeworkadmin/syspars/userPrincipalRoot)"> |
|---|
| | 2127 | <img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/> |
|---|
| | 2128 | <xsl:value-of select="substring-after(substring-after($who,normalize-space(/bedeworkadmin/syspars/userPrincipalRoot)),'/')"/> |
|---|
| | 2129 | </xsl:when> |
|---|
| | 2130 | <xsl:when test="contains($who,/bedeworkadmin/syspars/groupPrincipalRoot)"> |
|---|
| | 2131 | <img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/> |
|---|
| | 2132 | <xsl:value-of select="substring-after(substring-after($who,normalize-space(/bedeworkadmin/syspars/groupPrincipalRoot)),'/')"/> |
|---|
| 2141 | | <xsl:value-of select="inherited/href"/> |
|---|
| | 2149 | <xsl:choose> |
|---|
| | 2150 | <xsl:when test="inherited"> |
|---|
| | 2151 | inherited from: |
|---|
| | 2152 | <a> |
|---|
| | 2153 | <xsl:attribute name="href"><xsl:value-of select="$calendar-fetchForUpdate"/>&calPath=<xsl:value-of select="inherited/href"/></xsl:attribute> |
|---|
| | 2154 | <xsl:value-of select="inherited/href"/> |
|---|
| | 2155 | </a> |
|---|
| | 2156 | </xsl:when> |
|---|
| | 2157 | <xsl:otherwise> |
|---|
| | 2158 | local: |
|---|
| | 2159 | <xsl:variable name="whoType"> |
|---|
| | 2160 | <xsl:choose> |
|---|
| | 2161 | <xsl:when test="contains($who,/bedeworkadmin/syspars/userPrincipalRoot)">user</xsl:when> |
|---|
| | 2162 | <xsl:when test="contains($who,/bedeworkadmin/syspars/groupPrincipalRoot)">group</xsl:when> |
|---|
| | 2163 | <xsl:otherwise></xsl:otherwise> |
|---|
| | 2164 | </xsl:choose> |
|---|
| | 2165 | </xsl:variable> |
|---|
| | 2166 | <xsl:variable name="shortWho"> |
|---|
| | 2167 | <xsl:choose> |
|---|
| | 2168 | <xsl:when test="contains($who,/bedeworkadmin/syspars/userPrincipalRoot)"><xsl:value-of select="substring-after(substring-after($who,normalize-space(/bedeworkadmin/syspars/userPrincipalRoot)),'/')"/></xsl:when> |
|---|
| | 2169 | <xsl:when test="contains($who,/bedeworkadmin/syspars/groupPrincipalRoot)"><xsl:value-of select="substring-after(substring-after($who,normalize-space(/bedeworkadmin/syspars/groupPrincipalRoot)),'/')"/></xsl:when> |
|---|
| | 2170 | <xsl:otherwise><xsl:value-of select="$who"/></xsl:otherwise> |
|---|
| | 2171 | </xsl:choose> |
|---|
| | 2172 | </xsl:variable> |
|---|
| | 2173 | <xsl:choose> |
|---|
| | 2174 | <xsl:when test="invert"> |
|---|
| | 2175 | <a href="{$calendar-setAccess}&calPath={$encodedCalPath}&how=default&who={$shortWho}&whoType={$whoType}&notWho=yes"> |
|---|
| | 2176 | reset to default |
|---|
| | 2177 | </a> |
|---|
| | 2178 | </xsl:when> |
|---|
| | 2179 | <xsl:otherwise> |
|---|
| | 2180 | <a href="{$calendar-setAccess}&calPath={$encodedCalPath}&how=default&who={$shortWho}&whoType={$whoType}"> |
|---|
| | 2181 | reset to default |
|---|
| | 2182 | </a> |
|---|
| | 2183 | </xsl:otherwise> |
|---|
| | 2184 | </xsl:choose> |
|---|
| | 2185 | </xsl:otherwise> |
|---|
| | 2186 | </xsl:choose> |
|---|
| 2177 | | |
|---|
| 2178 | | <!--<li> |
|---|
| 2179 | | <input type="radio" value="A" name="how"/> All |
|---|
| 2180 | | <ul> |
|---|
| 2181 | | <li> |
|---|
| 2182 | | <input type="radio" value="R" name="how" checked="checked"/> Read |
|---|
| 2183 | | <ul> |
|---|
| 2184 | | <li> |
|---|
| 2185 | | <input type="radio" value="r" name="how" disabled="disabled"/> Read acl |
|---|
| 2186 | | </li> |
|---|
| 2187 | | <li> |
|---|
| 2188 | | <input type="radio" value="P" name="how" disabled="disabled"/> Read current user privilege set |
|---|
| 2189 | | </li> |
|---|
| 2190 | | <li> |
|---|
| 2191 | | <input type="radio" value="f" name="how"/> Read free/busy |
|---|
| 2192 | | </li> |
|---|
| 2193 | | </ul> |
|---|
| 2194 | | </li> |
|---|
| 2195 | | <li> |
|---|
| 2196 | | <input type="radio" value="W" name="how"/> Write |
|---|
| 2197 | | <ul> |
|---|
| 2198 | | <li> |
|---|
| 2199 | | <input type="radio" value="a" name="how" disabled="disabled"/> Write acl |
|---|
| 2200 | | </li> |
|---|
| 2201 | | <li> |
|---|
| 2202 | | <input type="radio" value="p" name="how" disabled="disabled"/> Write properties |
|---|
| 2203 | | </li> |
|---|
| 2204 | | <li> |
|---|
| 2205 | | <input type="radio" value="c" name="how"/> Write content |
|---|
| 2206 | | </li> |
|---|
| 2207 | | <li> |
|---|
| 2208 | | <input type="radio" value="b" name="how" disabled="disabled"/> Bind (includes scheduling) |
|---|
| 2209 | | </li> |
|---|
| 2210 | | <li> |
|---|
| 2211 | | <input type="radio" value="u" name="how"/> Unbind (destroy) |
|---|
| 2212 | | </li> |
|---|
| 2213 | | </ul> |
|---|
| 2214 | | </li> |
|---|
| 2215 | | </ul> |
|---|
| 2216 | | </li> |
|---|
| 2217 | | <li> |
|---|
| 2218 | | <input type="radio" value="N" name="how"/> None |
|---|
| 2219 | | </li>--> |
|---|
| 2220 | | |
|---|