Changeset 2096

Show
Ignore:
Timestamp:
03/05/09 17:29:02
Author:
johnsa
Message:

public client: point calendar download page to the alias branch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl

    r2095 r2096  
    14281428  <!-- list of available calendars --> 
    14291429  <xsl:template match="calendars"> 
    1430     <xsl:variable name="topLevelCalCount" select="count(calendar/calendar)"/> 
     1430    <xsl:variable name="topLevelCalCount" select="count(calendar/calendar[name='aliases']/calendar)"/> 
    14311431    <table id="calPageTable" border="0" cellpadding="0" cellspacing="0"> 
    14321432      <tr> 
     
    14401440            Select a calendar from the list below to see only that calendar's events. 
    14411441          </p> 
    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>--> 
    14771442        </td> 
    14781443      </tr> 
     
    14801445        <td class="leftCell"> 
    14811446          <ul class="calendarTree"> 
    1482             <xsl:apply-templates select="calendar/calendar[position() &lt;= ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
     1447            <xsl:apply-templates select="calendar/calendar[name='aliases']/calendar[position() &lt;= ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
    14831448          </ul> 
    14841449        </td> 
    14851450        <td> 
    14861451          <ul class="calendarTree"> 
    1487             <xsl:apply-templates select="calendar/calendar[position() &gt; ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
     1452            <xsl:apply-templates select="calendar/calendar[name='aliases']/calendar[position() &gt; ceiling($topLevelCalCount div 2)]" mode="calTree"/> 
    14881453          </ul> 
    14891454        </td>