Index: trunk/deployment/webadmin/webapp/resources/default/default/default.xsl =================================================================== --- trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (revision 1871) +++ trunk/deployment/webadmin/webapp/resources/default/default/default.xsl (revision 1874) @@ -2088,5 +2088,5 @@ - + @@ -2095,7 +2095,5 @@ - - - + @@ -2334,5 +2332,9 @@ - + + + + Index: trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl =================================================================== --- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (revision 1871) +++ trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl (revision 1874) @@ -1780,5 +1780,5 @@ Index: trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl =================================================================== --- trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl (revision 1837) +++ trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl (revision 1874) @@ -1641,8 +1641,8 @@
- Based on the Bedework Calendar | + Based on the Bedework Calendar System | show XML | refresh XSLT Index: trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl =================================================================== --- trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (revision 1871) +++ trunk/deployment/websubmit/webapp/resources/demoskins/default/default/default.xsl (revision 1874) @@ -870,23 +870,4 @@ - -
- - - - - - - - @@ -907,4 +888,35 @@ cancelled + + + + + + + + + + + + + + + + Index: trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js =================================================================== --- trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js (revision 1852) +++ trunk/deployment/websubmit/webapp/resources/demoskins/resources/bedeworkEventForm.js (revision 1874) @@ -44,5 +44,5 @@ /* An rdate -/* date: String: internal date + * date: String: internal date * time: String * tzid timezone id or null @@ -274,16 +274,27 @@ // Set application x-properties here. - // Sumbission comments as x-properties - bwXProps.update(bwXPropertyLocation, + // Submission comments as x-properties + // Only return those comments that contain non-empty values; + // throw out the subfields if main field has no value. + + if (formObj["commentLocationAddress"].value != "") { + bwXProps.update(bwXPropertyLocation, [[bwXParamSubAddress,formObj["commentLocationSubaddress"].value], [bwXParamURL,formObj["commentLocationURL"].value]], formObj["commentLocationAddress"].value,true); - bwXProps.update(bwXPropertyContact, + } + if (formObj["commentContactName"].value != "") { + bwXProps.update(bwXPropertyContact, [[bwXParamPhone,formObj["commentContactPhone"].value], [bwXParamURL,formObj["commentContactURL"].value], [bwXParamEmail,formObj["commentContactEmail"].value]], formObj["commentContactName"].value,true); - bwXProps.update(bwXPropertyCategories,[],formObj["commentCategories"].value,true); - bwXProps.update(bwXPropertySubmitComment,[],formObj["commentNotes"].value,true); + } + if (formObj["commentCategories"].value) { + bwXProps.update(bwXPropertyCategories,[],formObj["commentCategories"].value,true); + } + if (formObj["commentNotes"].value) { + bwXProps.update(bwXPropertySubmitComment,[],formObj["commentNotes"].value,true); + } // X-BEDEWORK-IMAGE and its parameters:
Event Link: - - - optional -
Cost: - - - - optional -
Cost: + + + + optional: if any, and place to purchase tickets +
Event URL: + + + + optional: for more information about the event +
Image URL: + + + + + optional: to include an image with the event description