Changeset 1873
- Timestamp:
- 05/09/08 10:45:33
- Files:
-
- releases/bedework-3.4.1.1/deployment/webadmin/webapp/resources/default/default/default.xsl (modified) (3 diffs)
- releases/bedework-3.4.1.1/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (modified) (1 diff)
- releases/bedework-3.4.1.1/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl (modified) (1 diff)
- releases/bedework-3.4.1.1/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (modified) (3 diffs)
- releases/bedework-3.4.1.1/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
releases/bedework-3.4.1.1/deployment/webadmin/webapp/resources/default/default/default.xsl
r1870 r1873 2088 2088 </td> 2089 2089 </tr> 2090 <!-- Url -->2090 <!-- Image Url --> 2091 2091 <tr> 2092 2092 <td class="optional"> … … 2095 2095 <td> 2096 2096 <input type="text" name="xBwImageHolder" value="" class="edit" size="30"> 2097 <xsl:if test="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']"> 2098 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 2099 </xsl:if> 2097 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 2100 2098 </input> 2101 2099 <xsl:text> </xsl:text> … … 2334 2332 </xsl:if> 2335 2333 </table> 2336 <xsl:call-template name="submitEventButtons"/> 2334 <xsl:if test="not(starts-with(form/calendar/path,$submissionsRootUnencoded))"> 2335 <!-- don't create two instances of the submit buttons on pending events; 2336 the publishing buttons require numerous unique ids --> 2337 <xsl:call-template name="submitEventButtons"/> 2338 </xsl:if> 2337 2339 </form> 2338 2340 </xsl:template> releases/bedework-3.4.1.1/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl
r1870 r1873 1780 1780 <xsl:template name="footer"> 1781 1781 <div id="footer"> 1782 Demonstration calendar; place footer information here.1782 Based on the <a href="http://www.bedework.org/">Bedework Calendar System</a> 1783 1783 </div> 1784 1784 <table id="skinSelectorTable" border="0" cellpadding="0" cellspacing="0"> releases/bedework-3.4.1.1/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl
r1836 r1873 1641 1641 <xsl:template name="footer"> 1642 1642 <div id="footer"> 1643 Demonstration calendar; place footer information here.1643 Footer information here 1644 1644 </div> 1645 1645 <div id="subFoot"> 1646 Based on the <a href="http://www.bedework.org/">Bedework Calendar </a> |1646 Based on the <a href="http://www.bedework.org/">Bedework Calendar System</a> | 1647 1647 <a href="?noxslt=yes">show XML</a> | 1648 1648 <a href="?refreshXslt=yes">refresh XSLT</a> releases/bedework-3.4.1.1/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl
r1870 r1873 870 870 </td> 871 871 </tr> 872 <!-- Link (url associated with event) -->873 <tr>874 <td class="fieldname"><em>Event Link:</em></td>875 <td class="fieldval">876 <xsl:variable name="link" select="form/link/input/@value"/>877 <input type="text" name="event.link" size="81" value="{$link}"/>878 <span class="note"> optional</span>879 </td>880 </tr>881 <!-- Cost -->882 <tr>883 <td class="fieldname"><em>Cost:</em></td>884 <td class="fieldval">885 <input type="text" name="event.cost" size="81" value="">886 <xsl:attribute name="value"><xsl:value-of select="form/cost/input/@value"/></xsl:attribute>887 </input>888 <span class="note"> optional</span>889 </td>890 </tr>891 872 <!-- Status --> 892 873 <tr> … … 907 888 </input> 908 889 cancelled 890 </td> 891 </tr> 892 <!-- Cost --> 893 <tr> 894 <td class="fieldname"><em>Cost:</em></td> 895 <td class="fieldval"> 896 <input type="text" name="event.cost" size="30" value=""> 897 <xsl:attribute name="value"><xsl:value-of select="form/cost/input/@value"/></xsl:attribute> 898 </input> 899 <span class="note"> optional: if any, and place to purchase tickets</span> 900 </td> 901 </tr> 902 <!-- Link (url associated with event) --> 903 <tr> 904 <td class="fieldname"><em>Event URL:</em></td> 905 <td class="fieldval"> 906 <input type="text" name="event.link" size="30" value=""> 907 <xsl:attribute name="value"><xsl:value-of select="form/link/input/@value"/></xsl:attribute> 908 </input> 909 <span class="note"> optional: for more information about the event</span> 910 </td> 911 </tr> 912 <!-- Image Url --> 913 <tr> 914 <td class="fieldname"><em>Image URL:</em></td> 915 <td class="fieldval"> 916 <input type="text" name="xBwImageHolder" size="30" value=""> 917 <xsl:attribute name="value"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-IMAGE']/values/text"/></xsl:attribute> 918 </input> 919 <xsl:text> </xsl:text> 920 <span class="note"> optional: to include an image with the event description</span> 909 921 </td> 910 922 </tr> … … 1511 1523 <xsl:template name="footer"> 1512 1524 <div id="footer"> 1513 Demonstration calendar; place footer information here.1525 Based on the <a href="http://www.bedework.org/">Bedework Calendar System</a> 1514 1526 </div> 1515 1527 <div id="subfoot"> releases/bedework-3.4.1.1/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js
r1851 r1873 44 44 45 45 /* An rdate 46 /* date: String: internal date46 * date: String: internal date 47 47 * time: String 48 48 * tzid timezone id or null … … 274 274 // Set application x-properties here. 275 275 276 // Sumbission comments as x-properties 277 bwXProps.update(bwXPropertyLocation, 276 // Submission comments as x-properties 277 // Only return those comments that contain non-empty values; 278 // throw out the subfields if main field has no value. 279 280 if (formObj["commentLocationAddress"].value != "") { 281 bwXProps.update(bwXPropertyLocation, 278 282 [[bwXParamSubAddress,formObj["commentLocationSubaddress"].value], 279 283 [bwXParamURL,formObj["commentLocationURL"].value]], 280 284 formObj["commentLocationAddress"].value,true); 281 bwXProps.update(bwXPropertyContact, 285 } 286 if (formObj["commentContactName"].value != "") { 287 bwXProps.update(bwXPropertyContact, 282 288 [[bwXParamPhone,formObj["commentContactPhone"].value], 283 289 [bwXParamURL,formObj["commentContactURL"].value], 284 290 [bwXParamEmail,formObj["commentContactEmail"].value]], 285 291 formObj["commentContactName"].value,true); 286 bwXProps.update(bwXPropertyCategories,[],formObj["commentCategories"].value,true); 287 bwXProps.update(bwXPropertySubmitComment,[],formObj["commentNotes"].value,true); 292 } 293 if (formObj["commentCategories"].value) { 294 bwXProps.update(bwXPropertyCategories,[],formObj["commentCategories"].value,true); 295 } 296 if (formObj["commentNotes"].value) { 297 bwXProps.update(bwXPropertySubmitComment,[],formObj["commentNotes"].value,true); 298 } 288 299 289 300 // X-BEDEWORK-IMAGE and its parameters:
