Changeset 1718
- Timestamp:
- 01/29/08 12:35:04
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.4.1/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r1715 r1718 15 15 16 16 <!-- ********************************************************************** 17 Copyright 200 7Rensselaer Polytechnic Institute. All worldwide rights reserved.17 Copyright 2008 Rensselaer Polytechnic Institute. All worldwide rights reserved. 18 18 19 19 Redistribution and use of this distribution in source and binary forms, … … 1096 1096 currently too confusing since the current user may be able to add events to the 1097 1097 other calendar, making the ownership test a bad test --> 1098 <xsl:variable name="subname" select="subscription/ name"/>1098 <xsl:variable name="subname" select="subscription/encodedName"/> 1099 1099 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}" title="manage/view subscription"> 1100 1100 Subscription … … 1499 1499 other calendar, making the ownership test a bad test --> 1500 1500 | 1501 <xsl:variable name="subname" select="subscription/ name"/>1501 <xsl:variable name="subname" select="subscription/encodedName"/> 1502 1502 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}" title="manage/view subscription"> 1503 1503 <img src="{$resourcesRoot}/resources/std-ical_iconSubsDkGray.gif" width="12" height="16" border="0" alt="manage/view subscription"/> … … 5115 5115 <tr> 5116 5116 <td> 5117 <xsl:variable name="subname" select=" name"/>5117 <xsl:variable name="subname" select="encodedName"/> 5118 5118 <a href="{$subscriptions-fetchForUpdate}&subname={$subname}"> 5119 5119 <xsl:value-of select="name"/> … … 5167 5167 </xsl:choose> 5168 5168 </xsl:attribute> 5169 <xsl:variable name="sub Name" select="name"/>5169 <xsl:variable name="subname" select="encodedName"/> 5170 5170 <xsl:if test="style != '' and style != 'default'"> 5171 5171 <!-- the spacer gif approach allows us to avoid some IE misbehavior --> … … 5180 5180 </xsl:when> 5181 5181 <xsl:otherwise> 5182 <a href="{$setSelection}&subname={$sub Name}">5182 <a href="{$setSelection}&subname={$subname}"> 5183 5183 <xsl:value-of select="name"/> 5184 5184 </a> 5185 5185 </xsl:otherwise> 5186 5186 </xsl:choose> 5187 <xsl:if test="calendars/calendar/calendarCollection='true' and5188 calendars/calendar/currentAccess/current-user-privilege-set/privilege/write-content">5189 <!-- set the start date for adding an event to the first day of the5190 given period, the hour of "now", and give a duration of 60 minutes -->5191 <xsl:variable name="calPath" select="calendars/calendar/encodedPath"/>5192 <xsl:variable name="startDate"><xsl:value-of select="/bedework/firstday/date"/>T<xsl:value-of select="substring(/bedework/now/time,1,2)"/>0000</xsl:variable>5193 <a href="{$initEvent}&startdate={$startDate}&newCalPath={$calPath}&minutes=60" class="calendarAdd" title="add event">5194 <img src="{$resourcesRoot}/resources/addEvent-forCals-icon.gif" width="9" height="12" border="0" alt="add event"/>5195 </a>5196 </xsl:if>5197 5187 </li> 5198 5188 </xsl:template>
