Changeset 2161
- Timestamp:
- 05/08/09 14:56:48
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2160 r2161 217 217 218 218 <!-- Other generally useful global variables --> 219 <xsl:variable name="publicCal"> /cal</xsl:variable>219 <xsl:variable name="publicCal">http://localhost:8080/cal</xsl:variable> 220 220 221 221 <!-- the following variable can be set to "true" or "false"; … … 1064 1064 <xsl:variable name="guid" select="guid"/> 1065 1065 <xsl:variable name="recurrenceId" select="recurrenceId"/> 1066 <xsl:variable name="eventTitle" select="form/title/input/@value"/> 1066 1067 1067 1068 <h2>Event Information</h2> … … 1086 1087 Submitted by 1087 1088 <xsl:variable name="submitterEmail" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMITTER-EMAIL']/values/text"/> 1088 <xsl:variable name="eventTitle" select="form/title/input/@value"/>1089 1089 <a href="mailto:{$submitterEmail}?subject=[Event%20Submission] {$eventTitle}" title="Email {$submitterEmail}"> 1090 1090 <xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-SUBMITTEDBY']/values/text"/> … … 1139 1139 <xsl:otherwise><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-SUBMIT-STATUS']/values/text"/></xsl:otherwise> 1140 1140 </xsl:choose> 1141 </xsl:attribute> 1142 </input> 1143 1144 <!-- Setup email notification fields --> 1145 <input type="hidden" id="submitNotification" name="submitNotification" value="false"/> 1146 <input type="hidden" name="snsubject" value="Event Approved: {$eventTitle}"/> 1147 <input type="hidden" name="sntext"> 1148 <xsl:attribute name="value"> 1149 Your event has been approved. 1150 1151 EVENT DETAILS 1152 ------------- 1153 Title: <xsl:value-of select="$eventTitle"/> 1154 Dates: 1155 URL: <xsl:value-of select="$publicCal"/>/event/eventView.do?subid=<xsl:value-of select="$subscriptionId"/>&calPath=<xsl:value-of select="$calPathEncoded"/>&guid=<xsl:value-of select="$guid"/>&recurrenceId=<xsl:value-of select="$recurrenceId"/> 1141 1156 </xsl:attribute> 1142 1157 </input> trunk/deployment/webadmin/webapp/resources/resources/bedeworkEventForm.js
r2158 r2161 699 699 newCalPath = document.getElementById("newCalPath"); 700 700 newCalPath.value = publishingCal; 701 } 702 703 701 702 // If email notification is enabled, set field to true 703 // (set to 'true' for now to get the feature working) 704 submitNotification = document.getElementById("submitNotification"); 705 submitNotification.value = true; 706 } 707 708
