Changeset 2173
- Timestamp:
- 05/14/09 17:25:59
- Files:
-
- trunk/deployment/resources/javascript/bedework/bedeworkXProperties.js (modified) (1 diff)
- trunk/deployment/webadmin/portlet/resources/default/default/default.xsl (modified) (8 diffs)
- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (2 diffs)
- trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/default.xsl (modified) (5 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/js-list.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/jsToday.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/json-list-src.xsl (modified) (4 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss-list.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss-list.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss.xsl (modified) (1 diff)
- trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (modified) (1 diff)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl (modified) (47 diffs)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/rss-list.xsl (modified) (1 diff)
- trunk/deployment/webuser/webapp/resources/demoskins/default/default/rss.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/resources/javascript/bedework/bedeworkXProperties.js
r2172 r2173 40 40 var bwXPropertySubmitComment = "X-BEDEWORK-SUBMIT-COMMENT"; 41 41 var bwXPropertySubmitStatus = "X-BEDEWORK-SUBMIT-STATUS"; 42 var bwXPropertySubmitterEmail = "X-BEDEWORK-SUBMITTER-EMAIL";43 42 var bwXPropertySubmitterEmail = "X-BEDEWORK-SUBMITTER-EMAIL"; 44 43 var bwXPropertySubmissionClaimant = "X-BEDEWORK-SUBMISSION-CLAIMANT"; trunk/deployment/webadmin/portlet/resources/default/default/default.xsl
r1979 r2173 976 976 977 977 <xsl:for-each select="/bedework/events/event"> 978 <xsl:variable name="subscriptionId" select="subscription/id"/>979 978 <xsl:variable name="calPath" select="calendar/encodedPath"/> 980 979 <xsl:variable name="guid" select="guid"/> … … 984 983 <xsl:choose> 985 984 <xsl:when test="$pending = 'true'"> 986 <a href="{$event-fetchForUpdatePending}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">985 <a href="{$event-fetchForUpdatePending}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 987 986 <xsl:choose> 988 987 <xsl:when test="summary != ''"> … … 996 995 </xsl:when> 997 996 <xsl:otherwise> 998 <a href="{$event-fetchForUpdate}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">997 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 999 998 <xsl:choose> 1000 999 <xsl:when test="summary != ''"> … … 1037 1036 Recurring event. 1038 1037 Edit: 1039 <a href="{$event-fetchForUpdate}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}">1038 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}"> 1040 1039 master 1041 1040 </a> | 1042 <a href="{$event-fetchForUpdate}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1041 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1043 1042 instance 1044 1043 </a> … … 1052 1051 1053 1052 <xsl:template match="formElements" mode="modEvent"> 1054 <xsl:variable name="subscriptionId" select="subscriptionId"/>1055 1053 <xsl:variable name="calPathEncoded" select="form/calendar/encodedPath"/> 1056 1054 <xsl:variable name="calPath" select="form/calendar/path"/> … … 1495 1493 so provide access to master event --> 1496 1494 <em>This event is a recurrence instance.</em><br/> 1497 <a href="{$event-fetchForUpdate}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">edit master event</a>1495 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">edit master event</a> 1498 1496 </xsl:when> 1499 1497 <xsl:otherwise> … … 6422 6420 </xsl:if> 6423 6421 <xsl:for-each select="/bedework/searchResults/searchResult"> 6424 <xsl:variable name="subscriptionId" select="event/subscription/id"/>6425 6422 <xsl:variable name="calPath" select="event/calendar/encodedPath"/> 6426 6423 <xsl:variable name="guid" select="event/guid"/> … … 6434 6431 </td> 6435 6432 <td> 6436 <a href="{$event-fetchForDisplay}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">6433 <a href="{$event-fetchForDisplay}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 6437 6434 <xsl:value-of select="event/summary"/> 6438 6435 </a> trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2172 r2173 988 988 <xsl:variable name="recurrenceId" select="recurrenceId"/> 989 989 <tr> 990 <xsl:if test=" not(xproperties/X-BEDEWORK-SUBMISSION-CLAIMANT)">990 <xsl:if test="$pending = 'true' and not(xproperties/X-BEDEWORK-SUBMISSION-CLAIMANT)"> 991 991 <xsl:attribute name="class">highlight</xsl:attribute> 992 992 </xsl:if> … … 2680 2680 <input type="submit" name="updateSubmitEvent" value="Update Event"/> 2681 2681 <input type="submit" name="publishEvent" value="Publish Event"> 2682 <xsl:attribute name="onclick">doPublishEvent('<xsl:value-of select="form/calendar/all/select/option/@value"/>','<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>' );</xsl:attribute>2682 <xsl:attribute name="onclick">doPublishEvent('<xsl:value-of select="form/calendar/all/select/option/@value"/>','<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>',this.form);</xsl:attribute> 2683 2683 </input> 2684 2684 <input type="submit" name="cancelled" value="Cancel"/> trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
r2172 r2173 717 717 } 718 718 719 function doPublishEvent(publishingCal,eventTitle,eventUrlPrefix ) {719 function doPublishEvent(publishingCal,eventTitle,eventUrlPrefix,formObj) { 720 720 // User has submitted the event when there is only a single publishing calendar. 721 721 // Update the newCalPath to reflect the publishing calendar: … … 733 733 sntext = document.getElementById("sntext"); 734 734 sntext.value = "Your event has been approved and is now published.\n\nEVENT DETAILS\n-------------\n\nTitle: " + eventTitle + "\nURL: " + eventUrlPrefix + "&" + publishingCal; 735 736 // Send the names of xproperties we wish to retain after we publish. 737 // Those not listed will be thrown away 738 // but must first be passed to the backend for use 739 // (e.g. the email address of the submitter). 740 var xpropPreserve = [bwXPropertyAlias, bwXPropertyImage, bwXPropertySubmittedBy]; 741 742 for (var i = 0; i < xpropPreserve.length; i++) { 743 var xpropPreserveField = document.createElement("input"); 744 xpropPreserveField.type = "hidden"; // change type prior to appending to DOM 745 formObj.appendChild(xpropPreserveField); 746 xpropPreserveField.name = "xprop-preserve"; 747 xpropPreserveField.value = xpropPreserve[i]; 748 } 735 749 } 736 750 trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/PDA/default.xsl
r2057 r2173 202 202 <!--==== SINGLE EVENT ====--> 203 203 <xsl:template match="event"> 204 <xsl:variable name="subscriptionId" select="subscription/id"/>205 204 <xsl:variable name="calPath" select="calendar/encodedPath"/> 206 205 <xsl:variable name="guid" select="guid"/> … … 357 356 <th class="icalIcon" rowspan="2"> 358 357 <div id="eventIcons"> 359 <!--<a href="{$privateCal}/event/addEventRef.do? subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar">358 <!--<a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="Add event to MyCalendar" target="myCalendar"> 360 359 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 361 360 add to my calendar</a>--> 362 361 <!--<xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 363 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">362 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&skinName=ical&contentType=text/calendar&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 364 363 <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 365 364 download</a>--> … … 493 492 <xsl:for-each select="event"> 494 493 <xsl:variable name="id" select="id"/> 495 <xsl:variable name="subscriptionId" select="subscription/id"/>496 494 <xsl:variable name="calPath" select="calendar/encodedPath"/> 497 495 <xsl:variable name="guid" select="guid"/> … … 551 549 <xsl:choose> 552 550 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 553 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">551 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 554 552 <strong> 555 553 <xsl:value-of select="summary"/>: … … 576 574 </xsl:when> 577 575 <xsl:otherwise> 578 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">576 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 579 577 <xsl:value-of select="summary"/> 580 578 </a> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/js-list.xsl
r1741 r2173 74 74 <!-- finally, produce the javascript --> 75 75 <xsl:text disable-output-escaping="yes">document.writeln('<li>');</xsl:text> 76 <xsl:text disable-output-escaping="yes">document.writeln(' <a href="</xsl:text><xsl:value-of select="$urlprefix"/><xsl:text disable-output-escaping="yes">/event/eventView.do? subid=</xsl:text><xsl:value-of select="subscription/id"/><xsl:text disable-output-escaping="yes">&guid=</xsl:text><xsl:value-of select="guid"/><xsl:text disable-output-escaping="yes">&recurrenceId=</xsl:text><xsl:value-of select="recurrenceId"/><xsl:text disable-output-escaping="yes">&calPath=</xsl:text><xsl:value-of select="calendar/encodedPath"/><xsl:text disable-output-escaping="yes">&skinName=default" target="_top"</xsl:text><xsl:if test="status = 'CANCELLED'"> class="cancelled" </xsl:if><xsl:text disable-output-escaping="yes">></xsl:text><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="$strippedSummary" disable-output-escaping="yes"/><xsl:text disable-output-escaping="yes"></a>');</xsl:text>76 <xsl:text disable-output-escaping="yes">document.writeln(' <a href="</xsl:text><xsl:value-of select="$urlprefix"/><xsl:text disable-output-escaping="yes">/event/eventView.do?guid=</xsl:text><xsl:value-of select="guid"/><xsl:text disable-output-escaping="yes">&recurrenceId=</xsl:text><xsl:value-of select="recurrenceId"/><xsl:text disable-output-escaping="yes">&calPath=</xsl:text><xsl:value-of select="calendar/encodedPath"/><xsl:text disable-output-escaping="yes">&skinName=default" target="_top"</xsl:text><xsl:if test="status = 'CANCELLED'"> class="cancelled" </xsl:if><xsl:text disable-output-escaping="yes">></xsl:text><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="$strippedSummary" disable-output-escaping="yes"/><xsl:text disable-output-escaping="yes"></a>');</xsl:text> 77 77 <xsl:text disable-output-escaping="yes">document.writeln('</li>');</xsl:text> 78 78 </xsl:template> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/jsToday.xsl
r1741 r2173 74 74 <!-- finally, produce the javascript --> 75 75 <xsl:text disable-output-escaping="yes">document.writeln('<li>');</xsl:text> 76 <xsl:text disable-output-escaping="yes">document.writeln(' <a href="</xsl:text><xsl:value-of select="$urlprefix"/><xsl:text disable-output-escaping="yes">/event/eventView.do? subid=</xsl:text><xsl:value-of select="subscription/id"/><xsl:text disable-output-escaping="yes">&guid=</xsl:text><xsl:value-of select="guid"/><xsl:text disable-output-escaping="yes">&recurrenceId=</xsl:text><xsl:value-of select="recurrenceId"/><xsl:text disable-output-escaping="yes">&calPath=</xsl:text><xsl:value-of select="calendar/encodedPath"/><xsl:text disable-output-escaping="yes">&skinName=default" target="_top"</xsl:text><xsl:if test="status = 'CANCELLED'"> class="cancelled" </xsl:if><xsl:text disable-output-escaping="yes">></xsl:text><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="$strippedSummary" disable-output-escaping="yes"/><xsl:text disable-output-escaping="yes"></a>');</xsl:text>76 <xsl:text disable-output-escaping="yes">document.writeln(' <a href="</xsl:text><xsl:value-of select="$urlprefix"/><xsl:text disable-output-escaping="yes">/event/eventView.do?guid=</xsl:text><xsl:value-of select="guid"/><xsl:text disable-output-escaping="yes">&recurrenceId=</xsl:text><xsl:value-of select="recurrenceId"/><xsl:text disable-output-escaping="yes">&calPath=</xsl:text><xsl:value-of select="calendar/encodedPath"/><xsl:text disable-output-escaping="yes">&skinName=default" target="_top"</xsl:text><xsl:if test="status = 'CANCELLED'"> class="cancelled" </xsl:if><xsl:text disable-output-escaping="yes">></xsl:text><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="$strippedSummary" disable-output-escaping="yes"/><xsl:text disable-output-escaping="yes"></a>');</xsl:text> 77 77 <xsl:text disable-output-escaping="yes">document.writeln('</li>');</xsl:text> 78 78 </xsl:template> 79 79 80 80 <xsl:template name="replace"> 81 81 <xsl:param name="string" select="''"/> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/json-list-src.xsl
r2136 r2173 5 5 Bedework v3.4.x, Arlen Johnson 6 6 7 Purpose: produces an array of javascript objects representing events. 7 Purpose: produces an array of javascript objects representing events. 8 8 9 9 Usage: call the JSON feed from an html file by embedding a script tag. 10 10 Examples: 11 11 12 12 The next four days (max days = 31): 13 13 <script src="http://localhost:8080/cal/main/listEvents.do?days=4&skinName=json-list-src" type="text/javascript"></script> 14 14 15 15 A range of dates: 16 16 <script src="http://localhost:8080/cal/main/listEvents.do?start=2008-10-03&end=2008-11-02&skinName=json-list-src" type="text/javascript"></script> … … 18 18 The next ten days limited by category (you can append as many categories as you like): 19 19 <script src="http://localhost:8080/cal/main/listEvents.do?days=10&cat=Concerts&skinName=json-list-src" type="text/javascript"></script> 20 21 Filters: Arbitrary filters can be sent to this stylesheet using the query 22 parameter "setappvar=filter(somekey:somevalue)". Group (creator) and 23 location filters are included here, but you can add more under line 82. 24 20 21 Filters: Arbitrary filters can be sent to this stylesheet using the query 22 parameter "setappvar=filter(somekey:somevalue)". Group (creator) and 23 location filters are included here, but you can add more under line 82. 24 25 25 The next ten days filtered by a group (creator): 26 26 <script src="http://localhost:8080/cal/main/listEvents.do?days=10&setappvar=filter(creator:agrp_Library)&skinName=json-list-src" type="text/javascript"></script> 27 28 Object name: The json object name can be passed by adding 29 "setappvar=objName(myobjname)" to the query string, allowing multiple 30 json object calls on the same html page. If objName is not supplied, 27 28 Object name: The json object name can be passed by adding 29 "setappvar=objName(myobjname)" to the query string, allowing multiple 30 json object calls on the same html page. If objName is not supplied, 31 31 the default name is "bwObject". e.g.: 32 32 <script src="http://localhost:8080/cal/main/listEvents.do?days=4&setappvar(objName=myobj)&skinName=json-list-src" type="text/javascript"></script> … … 62 62 by all stylesheets: --> 63 63 <xsl:include href="../../../bedework-common/default/default/util.xsl"/> 64 64 65 65 <xsl:variable name="urlprefix" select="/bedework/urlprefix"/> 66 66 <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView"/> … … 136 136 'recurrenceId' : '<xsl:value-of select="recurrenceId"/>', 137 137 'link' : '<xsl:value-of select='link'/>', 138 'eventlink' : '<xsl:value-of select="$urlprefix"/><xsl:value-of select="$eventView"/>& subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>&recurrenceId=<xsl:value-of select="recurrenceId"/>', // link of this event138 'eventlink' : '<xsl:value-of select="$urlprefix"/><xsl:value-of select="$eventView"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template>&recurrenceId=<xsl:value-of select="recurrenceId"/>', // link of this event 139 139 'status' : '<xsl:value-of select='status'/>', 140 140 'start' : { trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss-list.xsl
r1737 r2173 90 90 <item> 91 91 <title><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/dayname,1,3)"/>, <xsl:value-of select="start/longdate"/></title> 92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 93 93 <pubDate><!-- takes the form: 11 Jan 2008 17:00:00 UT (note - do not output dayname - we only provide dayname in local time). 94 94 --><xsl:value-of select="substring(start/utcdate,7,2)"/><xsl:text> </xsl:text><!-- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/rss.xsl
r1716 r2173 79 79 <item> 80 80 <title><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/dayname,1,3)"/>, <xsl:value-of select="start/longdate"/></title> 81 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>81 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 82 82 <pubDate><xsl:value-of select="substring(start/dayname,1,3)"/>,<xsl:text> </xsl:text><!-- 83 83 --><xsl:value-of select="start/twodigitday"/><xsl:text> </xsl:text><!-- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss-list.xsl
r1737 r2173 90 90 <item> 91 91 <title><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/dayname,1,3)"/>, <xsl:value-of select="start/longdate"/></title> 92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 93 93 <pubDate><!-- takes the form: 11 Jan 2008 17:00:00 UT (note - do not output dayname - we only provide dayname in local time). 94 94 --><xsl:value-of select="substring(start/utcdate,7,2)"/><xsl:text> </xsl:text><!-- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/rss.xsl
r1716 r2173 65 65 <item> 66 66 <title><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/monthname,1,3)"/><xsl:text> </xsl:text><xsl:value-of select="start/day"/></title> 67 <link><xsl:value-of select="/bedework/urlprefix"/>/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>67 <link><xsl:value-of select="/bedework/urlprefix"/>/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 68 68 <pubDate><xsl:value-of select="substring(start/dayname,1,3)"/>, 69 69 <xsl:value-of select="start/twodigitday"/><xsl:text> </xsl:text> trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl
r2172 r2173 1152 1152 <!-- note: don't remove the #160 from the textarea or browsers will see it as a closed tag when empty --> 1153 1153 <textarea name="commentNotes" cols="60" rows="4"><!-- 1154 --><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text"/> <!-- 1154 --><xsl:value-of select="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text)"/><!-- 1155 --><xsl:if test="normalize-space(form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-COMMENT']/values/text) = ''"> </xsl:if><!-- 1155 1156 --></textarea> 1156 1157 </p> trunk/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
r2160 r2173 1093 1093 <xsl:for-each select="event[not(entityType=2)]"> 1094 1094 <xsl:variable name="id" select="id"/> 1095 <xsl:variable name="subscriptionId" select="subscription/id"/>1096 1095 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1097 1096 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 1122 1121 start/time = end/time"> 1123 1122 <td class="{$dateRangeStyle} center" colspan="3"> 1124 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1123 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1125 1124 <xsl:value-of select="start/time"/> 1126 1125 </a> … … 1129 1128 <xsl:otherwise> 1130 1129 <td class="{$dateRangeStyle} right"> 1131 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1130 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1132 1131 <xsl:choose> 1133 1132 <xsl:when test="start/allday = 'true' and … … 1146 1145 </td> 1147 1146 <td class="{$dateRangeStyle} center"> 1148 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">-</a>1147 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">-</a> 1149 1148 </td> 1150 1149 <td class="{$dateRangeStyle} left"> 1151 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1150 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1152 1151 <xsl:choose> 1153 1152 <xsl:when test="end/allday = 'true' and … … 1179 1178 <xsl:choose> 1180 1179 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 1181 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1180 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1182 1181 <xsl:choose> 1183 1182 <xsl:when test="summary = ''"> … … 1210 1209 </xsl:when> 1211 1210 <xsl:otherwise> 1212 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1211 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1213 1212 <xsl:choose> 1214 1213 <xsl:when test="summary = ''"> … … 1229 1228 <td class="smallIcon"> 1230 1229 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 1231 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">1230 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1232 1231 <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 1233 1232 </a> … … 1243 1242 1244 1243 <xsl:template name="eventLinks"> 1245 <xsl:variable name="subscriptionId" select="subscription/id"/>1246 1244 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1247 1245 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 1251 1249 <xsl:when test="recurring='true' or recurrenceId != ''"> 1252 1250 Edit: 1253 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">master</a>,1254 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="edit instance (recurring event)">instance</a>1251 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">master</a>, 1252 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="edit instance (recurring event)">instance</a> 1255 1253 <br/> 1256 1254 </xsl:when> 1257 1255 <xsl:otherwise> 1258 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit event">1256 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}" title="edit event"> 1259 1257 Edit 1260 1258 </a> … … 1268 1266 <xsl:when test="recurring='true' or recurrenceId != ''"> 1269 1267 Link: 1270 <a href="{$addEventRef}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar">master</a>,1271 <a href="{$addEventRef}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add event reference to a calendar">instance</a>1268 <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar">master</a>, 1269 <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add event reference to a calendar">instance</a> 1272 1270 <br/> 1273 1271 </xsl:when> 1274 1272 <xsl:otherwise> 1275 <a href="{$addEventRef}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="add event reference to a calendar">1273 <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add event reference to a calendar"> 1276 1274 Link 1277 1275 </a> … … 1294 1292 <xsl:when test="recurring='true' or recurrenceId != ''"> 1295 1293 Delete: 1296 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>,1297 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a>1294 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>, 1295 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a> 1298 1296 </xsl:when> 1299 1297 <xsl:otherwise> 1300 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event">1298 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event"> 1301 1299 Delete 1302 1300 </a> … … 1325 1323 <xsl:for-each select="event"> 1326 1324 <xsl:variable name="id" select="id"/> 1327 <xsl:variable name="subscriptionId" select="subscription/id"/>1328 1325 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1329 1326 <xsl:variable name="guid" select="guid"/> … … 1340 1337 <xsl:if test="status='TENTATIVE'"><em>TENTATIVE: </em></xsl:if> 1341 1338 1342 <a class="title" href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1339 <a class="title" href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1343 1340 <xsl:value-of select="summary"/> 1344 1341 </a><xsl:if test="location/address != ''">, <xsl:value-of select="location/address"/></xsl:if> … … 1351 1348 <xsl:text> </xsl:text> 1352 1349 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 1353 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">1350 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1354 1351 <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 1355 1352 </a> … … 1516 1513 <xsl:template match="event" mode="calendarLayout"> 1517 1514 <xsl:param name="dayPos"/> 1518 <xsl:variable name="subscriptionId" select="subscription/id"/>1519 1515 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1520 1516 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 1547 1543 not be used for cancelled events (tentative is ok). --> 1548 1544 <li> 1549 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"1545 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" 1550 1546 class="{$eventRootClass} {$eventClass}"> 1551 1547 <xsl:if test="status != 'CANCELLED' and $calendarColor != ''"> … … 1724 1720 1725 1721 <xsl:template match="event" mode="tasks"> 1726 <xsl:variable name="subscriptionId" select="subscription/id"/>1727 1722 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1728 1723 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 1730 1725 1731 1726 <li> 1732 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">1727 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1733 1728 <xsl:choose> 1734 1729 <xsl:when test="summary = ''"> … … 1751 1746 <!--==== SINGLE EVENT ====--> 1752 1747 <xsl:template match="event"> 1753 <xsl:variable name="subscriptionId" select="subscription/id"/>1754 1748 <xsl:variable name="calPath" select="calendar/encodedPath"/> 1755 1749 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 1785 1779 <!-- download --> 1786 1780 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 1787 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">1781 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 1788 1782 <img src="{$resourcesRoot}/resources/std-icalDownload-icon-small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/> 1789 1783 Download … … 1795 1789 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 1796 1790 Edit: 1797 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">master</a>,<a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="edit instance (recurring event)">instance</a>1791 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">master</a>,<a href="{$editEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="edit instance (recurring event)">instance</a> 1798 1792 </xsl:when> 1799 1793 <xsl:otherwise> 1800 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit event">1794 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}" title="edit event"> 1801 1795 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1802 1796 Edit … … 1810 1804 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit master"/> 1811 1805 Copy: 1812 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&copy=true" title="copy master (recurring event)">master</a>,<a href="{$editEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&copy=true" title="copy instance (recurring event)">instance</a>1806 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy master (recurring event)">master</a>,<a href="{$editEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&copy=true" title="copy instance (recurring event)">instance</a> 1813 1807 </xsl:when> 1814 1808 <xsl:otherwise> 1815 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&copy=true" title="copy event">1809 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}&copy=true" title="copy event"> 1816 1810 <img src="{$resourcesRoot}/resources/std-ical_iconEditDkGray.gif" width="12" height="16" border="0" alt="edit"/> 1817 1811 Copy … … 1826 1820 <img src="{$resourcesRoot}/resources/std-ical_iconLinkDkGray.gif" width="12" height="16" border="0" alt="add event reference"/> 1827 1821 Link: 1828 <a href="{$addEventRef}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar">master</a>,<a href="{$addEventRef}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add event reference to a calendar">instance</a>1822 <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add master event reference to a calendar">master</a>,<a href="{$addEventRef}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="add event reference to a calendar">instance</a> 1829 1823 </xsl:when> 1830 1824 <xsl:otherwise> 1831 <a href="{$addEventRef}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="add event reference to a calendar">1825 <a href="{$addEventRef}&calPath={$calPath}&guid={$guid}" title="add event reference to a calendar"> 1832 1826 <img src="{$resourcesRoot}/resources/std-ical_iconLinkDkGray.gif" width="12" height="16" border="0" alt="add event reference"/> 1833 1827 Link … … 1853 1847 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1854 1848 Delete: 1855 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>,<a href="{$delEvent}&subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a>1849 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>,<a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a> 1856 1850 </xsl:when> 1857 1851 <xsl:otherwise> 1858 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event">1852 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event"> 1859 1853 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 1860 1854 Delete … … 2034 2028 <!--<th class="icon" rowspan="2"> 2035 2029 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 2036 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">2030 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 2037 2031 <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 2038 2032 </a> … … 2340 2334 <!--==== ADD and EDIT EVENT FORM ====--> 2341 2335 <xsl:template match="formElements" mode="eventForm"> 2342 <xsl:variable name="subscriptionId" select="subscriptionId"/>2343 2336 <xsl:variable name="calPathEncoded" select="form/calendar/encodedPath"/> 2344 2337 <xsl:variable name="calPath" select="form/calendar/path"/> … … 2355 2348 <xsl:if test="not(form/recurringEntity = 'true' and recurrenceId = '')"> 2356 2349 <!-- don't display if a master recurring event (because the master can't be viewed) --> 2357 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">2350 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 2358 2351 <img src="{$resourcesRoot}/resources/glassFill-icon-viewGray.gif" width="13" height="13" border="0" alt="view"/> 2359 2352 View … … 2365 2358 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 2366 2359 Delete: 2367 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>,2368 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a>2360 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}" title="delete master (recurring event)">all</a>, 2361 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete instance (recurring event)">instance</a> 2369 2362 </xsl:when> 2370 2363 <xsl:otherwise> 2371 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event">2364 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete event"> 2372 2365 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 2373 2366 Delete … … 3089 3082 so provide access to master event --> 3090 3083 <em>This event is a recurrence instance.</em><br/> 3091 <a href="{$editEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">edit master event</a>3084 <a href="{$editEvent}&calPath={$calPath}&guid={$guid}" title="edit master (recurring event)">edit master event</a> 3092 3085 </xsl:when> 3093 3086 <xsl:otherwise> … … 4184 4177 change it without modifying bedework.js --> 4185 4178 <form name="eventForm" method="post" action="{$event-addEventRefComplete}" id="standardForm" enctype="multipart/form-data"> 4186 <xsl:variable name="subscriptionId" select="subscription/id"/>4187 4179 <xsl:variable name="calPath" select="calendar/path"/> 4188 4180 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> 4189 4181 <xsl:variable name="recurrenceId" select="recurrenceId"/> 4190 <input type="hidden" name="subid" value="{$subscriptionId}"/>4191 4182 <input type="hidden" name="calPath" value="{$calPath}"/> 4192 4183 <input type="hidden" name="guid" value="{$guid}"/> … … 6375 6366 <xsl:sort select="lastmod" order="descending"/> 6376 6367 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> 6377 <xsl:variable name="subscriptionId" select="subscription/id"/>6378 6368 <xsl:variable name="calPath" select="calendar/encodedPath"/> 6379 6369 <xsl:variable name="eventName" select="name"/> … … 6399 6389 </xsl:attribute> 6400 6390 <td> 6401 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6391 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6402 6392 <img src="{$resourcesRoot}/resources/calIconSchedule-sm.gif" width="13" height="13" border="0" alt="check message"/> 6403 6393 </a> 6404 6394 </td> 6405 6395 <td> 6406 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6396 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6407 6397 <!--<xsl:value-of select="dtstamp/shortdate"/><xsl:text> </xsl:text><xsl:value-of select="dtstamp/time"/>--> 6408 6398 <!--<xsl:value-of select="lastmod"/>--> … … 6460 6450 </td> 6461 6451 <td> 6462 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6452 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6463 6453 <xsl:value-of select="title"/> 6464 6454 </a> … … 6468 6458 <td><xsl:apply-templates select="scheduleMethod"/></td> 6469 6459 <!--<td> 6470 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6460 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6471 6461 <xsl:choose> 6472 6462 <xsl:when test="scheduleState=0"><em>unprocessed</em></xsl:when> … … 6477 6467 <td> 6478 6468 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 6479 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&&eventName={$eventName}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="download">6469 <a href="{$export}&calPath={$calPath}&&eventName={$eventName}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="download"> 6480 6470 <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="download"/> 6481 6471 </a> 6482 6472 </td> 6483 6473 <td> 6484 <a href="{$delInboxEvent}& subid={$subscriptionId}&calPath={$calPath}&&eventName={$eventName}&recurrenceId={$recurrenceId}" title="delete">6474 <a href="{$delInboxEvent}&calPath={$calPath}&&eventName={$eventName}&recurrenceId={$recurrenceId}" title="delete"> 6485 6475 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 6486 6476 </a> … … 6509 6499 <xsl:sort select="lastmod" order="descending"/> 6510 6500 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> 6511 <xsl:variable name="subscriptionId" select="subscription/id"/>6512 6501 <xsl:variable name="calPath" select="calendar/encodedPath"/> 6513 6502 <xsl:variable name="eventName" select="name"/> … … 6530 6519 </xsl:attribute> 6531 6520 <td> 6532 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6521 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6533 6522 <img src="{$resourcesRoot}/resources/calIconSchedule-sm.gif" width="13" height="13" border="0" alt="check message"/> 6534 6523 </a> 6535 6524 </td> 6536 6525 <td> 6537 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message">6526 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}" title="check message"> 6538 6527 <!-- <xsl:value-of select="dtstamp/shortdate"/><xsl:text> </xsl:text><xsl:value-of select="dtstamp/time"/>--> 6539 6528 <!--<xsl:value-of select="lastmod"/>--> … … 6564 6553 </td> 6565 6554 <td> 6566 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}">6555 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}"> 6567 6556 <xsl:value-of select="title"/> 6568 6557 </a> … … 6572 6561 <td><xsl:apply-templates select="scheduleMethod"/></td> 6573 6562 <td> 6574 <a href="{$inboxItemAction}& subid={$subscriptionId}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}">6563 <a href="{$inboxItemAction}&calPath={$calPath}&eventName={$eventName}&recurrenceId={$recurrenceId}"> 6575 6564 <xsl:choose> 6576 6565 <xsl:when test="scheduleState=0"><em>unprocessed</em></xsl:when> … … 6581 6570 <td> 6582 6571 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 6583 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="download">6572 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="download"> 6584 6573 <img src="{$resourcesRoot}/resources/std-ical_icon_small.gif" width="12" height="16" border="0" alt="download"/> 6585 6574 </a> 6586 6575 </td> 6587 6576 <td> 6588 <a href="{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete">6577 <a href="{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="delete"> 6589 6578 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="delete"/> 6590 6579 </a> … … 6610 6599 6611 6600 <xsl:template match="formElements" mode="attendeeRespond"> 6612 <xsl:variable name="subscriptionId" select="subscriptionId"/>6613 6601 <xsl:variable name="calPathEncoded" select="form/calendar/encodedPath"/> 6614 6602 <xsl:variable name="calPath" select="form/calendar/path"/> … … 7007 6995 <xsl:choose> 7008 6996 <xsl:when test="scheduleMethod='8'"> 7009 <input name="delete" type="button" value="Delete" onclick="document.location.replace('{$delEvent}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}')"/>6997 <input name="delete" type="button" value="Delete" onclick="document.location.replace('{$delEvent}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}')"/> 7010 6998 </xsl:when> 7011 6999 <xsl:otherwise> … … 7147 7135 7148 7136 <xsl:template match="event" mode="attendeeReply"> 7149 <xsl:variable name="subscriptionId" select="subscription/id"/>7150 7137 <xsl:variable name="calPath" select="calendar/encodedPath"/> 7151 7138 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> … … 7339 7326 <!--<th class="icon" rowspan="2"> 7340 7327 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 7341 <a href="{$export}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">7328 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"> 7342 7329 <img src="{$resourcesRoot}/resources/std-ical-icon.gif" width="20" height="26" border="0" align="left" alt="Download this event"/> 7343 7330 </a> … … 7393 7380 change it without modifying bedework.js --> 7394 7381 <form name="eventForm" method="post" action="{$event-addEventRefComplete}" id="standardForm" enctype="multipart/form-data"> 7395 <xsl:variable name="subscriptionId" select="subscription/id"/>7396 7382 <xsl:variable name="calPath" select="calendar/path"/> 7397 7383 <xsl:variable name="guid"><xsl:call-template name="url-encode"><xsl:with-param name="str" select="guid"/></xsl:call-template></xsl:variable> 7398 7384 <xsl:variable name="recurrenceId" select="recurrenceId"/> 7399 <input type="hidden" name="subid" value="{$subscriptionId}"/>7400 7385 <input type="hidden" name="calPath" value="{$calPath}"/> 7401 7386 <input type="hidden" name="guid" value="{$guid}"/> … … 8079 8064 </xsl:if> 8080 8065 <xsl:for-each select="/bedework/searchResults/searchResult"> 8081 <xsl:variable name="subscriptionId" select="event/subscription/id"/>8082 8066 <xsl:variable name="calPath" select="event/calendar/encodedPath"/> 8083 8067 <xsl:variable name="guid" select="event/guid"/> … … 8091 8075 </td> 8092 8076 <td> 8093 <a href="{$eventView}& subid={$subscriptionId}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}">8077 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 8094 8078 <xsl:choose> 8095 8079 <xsl:when test="event/summary = ''"> trunk/deployment/webuser/webapp/resources/demoskins/default/default/rss-list.xsl
r1737 r2173 90 90 <item> 91 91 <title><xsl:if test="status = 'CANCELLED'">CANCELLED: </xsl:if><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/dayname,1,3)"/>, <xsl:value-of select="start/longdate"/></title> 92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>92 <link><xsl:value-of select="/bedework/urlprefix"/>/event/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 93 93 <pubDate><!-- takes the form: 11 Jan 2008 17:00:00 UT (note - do not output dayname - we only provide dayname in local time). 94 94 --><xsl:value-of select="substring(start/utcdate,7,2)"/><xsl:text> </xsl:text><!-- trunk/deployment/webuser/webapp/resources/demoskins/default/default/rss.xsl
r1766 r2173 65 65 <item> 66 66 <title><xsl:value-of select="summary"/> - <xsl:value-of select="substring(start/monthname,1,3)"/><xsl:text> </xsl:text><xsl:value-of select="start/day"/></title> 67 <link><xsl:value-of select="/bedework/urlprefix"/>/eventView.do? subid=<xsl:value-of select="subscription/id"/>&calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link>67 <link><xsl:value-of select="/bedework/urlprefix"/>/eventView.do?calPath=<xsl:value-of select="calendar/encodedPath"/>&guid=<xsl:value-of select="guid"/>&recurrenceId=<xsl:value-of select="recurrenceId"/></link> 68 68 <pubDate><xsl:value-of select="substring(start/dayname,1,3)"/>, 69 69 <xsl:value-of select="start/twodigitday"/><xsl:text> </xsl:text>
