| 1442 | | <!-- Uncomment this block, and change the links on the download calendar |
|---|
| 1443 | | icon (in the following template) to use a dojo floating |
|---|
| 1444 | | widget instead of a separate page |
|---|
| 1445 | | for downloading whole calendars (this method does not work |
|---|
| 1446 | | portal-agnostically: it is not intended for use in portals). |
|---|
| 1447 | | |
|---|
| 1448 | | <div dojoType="FloatingPane" id="bwCalendarExportWidget" |
|---|
| 1449 | | title="Export Calendar as iCal" toggle="plain" |
|---|
| 1450 | | windowState="minimized" hasShadow="true" |
|---|
| 1451 | | displayMinimizeAction="true" resizable="false"> |
|---|
| 1452 | | <p> |
|---|
| 1453 | | <strong>Calendar to export:</strong> |
|---|
| 1454 | | <span id="bwCalendarExportWidgetCalName"></span> |
|---|
| 1455 | | </p> |
|---|
| 1456 | | <strong>Event date limits:</strong> |
|---|
| 1457 | | <form name="exportCalendarForm" id="exportCalendarForm" action="{$export}" method="post"> |
|---|
| 1458 | | <input type="hidden" name="calPath" value=""/> |
|---|
| 1459 | | <input type="hidden" name="eventStartDate.year" value=""/> |
|---|
| 1460 | | <input type="hidden" name="eventStartDate.month" value=""/> |
|---|
| 1461 | | <input type="hidden" name="eventStartDate.day" value=""/> |
|---|
| 1462 | | <input type="hidden" name="eventEndDate.year" value=""/> |
|---|
| 1463 | | <input type="hidden" name="eventEndDate.month" value=""/> |
|---|
| 1464 | | <input type="hidden" name="eventEndDate.day" value=""/> |
|---|
| 1465 | | <input type="hidden" name="nocache" value="no"/> |
|---|
| 1466 | | <input type="hidden" name="contentName" value="calendar.ics"/> |
|---|
| 1467 | | <input type="radio" name="dateLimits" value="active" checked="checked" onclick="changeClass('exportDateRange','invisible')"/> today forward |
|---|
| 1468 | | <input type="radio" name="dateLimits" value="none" onclick="changeClass('exportDateRange','invisible')"/> all dates |
|---|
| 1469 | | <input type="radio" name="dateLimits" value="limited" onclick="changeClass('exportDateRange','visible')"/> date range |
|---|
| 1470 | | <div id="exportDateRange" class="invisible"> |
|---|
| 1471 | | Start: <div dojoType="dropdowndatepicker" formatLength="medium" saveFormat="yyyyMMdd" id="bwExportCalendarWidgetStartDate"><xsl:text> </xsl:text></div> |
|---|
| 1472 | | End: <div dojoType="dropdowndatepicker" formatLength="medium" saveFormat="yyyyMMdd" id="bwExportCalendarWidgetEndDate"><xsl:text> </xsl:text></div> |
|---|
| 1473 | | </div> |
|---|
| 1474 | | <p><input type="submit" value="export" class="bwWidgetSubmit" onclick="fillExportFields(this.form);hideWidget('bwCalendarExportWidget')"/></p> |
|---|
| 1475 | | </form> |
|---|
| 1476 | | </div>--> |
|---|