root/trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl

Revision 127 (checked in by johnsa, 7 years ago)

added/corrected bedework favicon to skins

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
3 <xsl:output
4   method="html"
5   indent="yes"
6   media-type="text/html"
7   doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"
8   doctype-system="http://www.w3.org/TR/html4/loose.dtd"
9   standalone="yes"
10 />
11
12 <!-- =========================================================
13
14               DEMONSTRATION CALENDAR STYLESHEET
15
16      This stylesheet is devoid of school branding.  It is a good
17      starting point for development of a customized calendar.
18
19      For detailed instructions on how to work with the XSLT
20      stylesheets included with this distribution, please see the
21      helper web site found at
22      http://localhost:8080/cal/info/designhelp/
23
24      (you can also get it from the source at ../info/designhelp/)
25
26 ===============================================================  -->
27
28   <!-- ================================= -->
29   <!--  DEMO PUBLIC CALENDAR STYLESHEET  -->
30   <!-- ================================= -->
31
32   <!-- DEFINE INCLUDES -->
33   <xsl:include href="errors.xsl"/>
34
35   <!-- DEFINE GLOBAL CONSTANTS -->
36
37   <!-- URL of the XSL template directory -->
38   <!-- The approot is an appropriate place to put
39        included stylesheets and xml fragments. These are generally
40        referenced relatively (like errors.xsl and messages.xsl above);
41        this variable is here for your convenience if you choose to
42        reference it explicitly.  It is not used in this stylesheet, however,
43        and can be safely removed if you so choose. -->
44   <xsl:variable name="appRoot" select="/bedework/approot"/>
45
46   <!-- URL of html resources (images, css, other html); by default this is
47        set to the application root -->
48   <xsl:variable name="resourcesRoot" select="/bedework/approot"/>
49
50   <!-- Properly encoded prefixes to the application actions; use these to build
51        urls; allows the application to be used without cookies or within a portal. -->
52   <xsl:variable name="setup" select="/bedework/urlPrefixes/setup"/>
53   <xsl:variable name="setSelection" select="/bedework/urlPrefixes/setSelection"/>
54   <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/fetchPublicCalendars"/>
55   <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/setViewPeriod"/>
56   <xsl:variable name="eventView" select="/bedework/urlPrefixes/eventView"/>
57   <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/addEventRef"/>
58   <xsl:variable name="export" select="/bedework/urlPrefixes/export"/>
59   <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mailEvent"/>
60   <xsl:variable name="showPage" select="/bedework/urlPrefixes/showPage"/>
61
62   <!-- Other generally useful global variables -->
63   <xsl:variable name="privateCal">/ucal</xsl:variable>
64   <xsl:variable name="prevdate" select="/bedework/previousdate"/>
65   <xsl:variable name="nextdate" select="/bedework/nextdate"/>
66   <xsl:variable name="curdate" select="/bedework/currentdate/date"/>
67   <xsl:variable name="skin">default</xsl:variable>
68
69   <!--========= BEGIN DEPRECATED VARIABLES =========-->
70   <!-- URL of the web application - includes host, port, and web context.  This
71        value was originally prepended to all URLs generated in this stylesheet
72        but will probably be deprecated in favor of relative references
73   <xsl:variable name="urlPrefix" select="/bedework/urlprefix"/> -->
74   <!--========= END DEPRECATED VARIABLES =========-->
75
76   <!-- MAIN TEMPLATE -->
77   <xsl:template match="/">
78     <html lang="en">
79       <head>
80         <title>Calendar of Events</title>
81         <xsl:choose>
82           <xsl:when test="/bedework/appvar[key='style']/value='red'">
83             <link rel="stylesheet" href="{$resourcesRoot}/default/default/red.css"/>
84           </xsl:when>
85           <xsl:when test="/bedework/appvar[key='style']/value='green'">
86             <link rel="stylesheet" href="{$resourcesRoot}/default/default/green.css"/>
87           </xsl:when>
88           <xsl:otherwise>
89             <link rel="stylesheet" href="{$resourcesRoot}/default/default/blue.css"/>
90           </xsl:otherwise>
91         </xsl:choose>
92         <link rel="stylesheet" type="text/css" media="print" href="{$resourcesRoot}/default/default/print.css" />
93         <link rel="icon" type="image/ico" href="{$resourcesRoot}/images/bedework.ico" />
94       </head>
95       <body>
96         <xsl:call-template name="headBar"/>
97         <xsl:if test="/bedework/error">
98           <div id="errors">
99             <p><xsl:apply-templates select="/bedework/error"/></p>
100           </div>
101         </xsl:if>
102         <!-- <xsl:call-template name="alerts"/> -->
103         <xsl:call-template name="tabs"/>
104         <xsl:choose>
105           <xsl:when test="/bedework/page='event'">
106             <!-- show an event -->
107             <xsl:apply-templates select="/bedework/event"/>
108           </xsl:when>
109           <xsl:when test="/bedework/page='calendars'">
110             <!-- show a list of all calendars -->
111             <xsl:apply-templates select="/bedework/calendars"/>
112           </xsl:when>
113           <xsl:otherwise>
114             <!-- otherwise, show the eventsCalendar -->
115             <xsl:call-template name="navigation"/>
116             <xsl:if test="/bedework/periodname!='Year'">
117               <xsl:call-template name="searchBar"/>
118             </xsl:if>
119             <!-- main eventCalendar content -->
120             <xsl:choose>
121               <xsl:when test="/bedework/periodname='Day'">
122                 <xsl:call-template name="listView"/>
123               </xsl:when>
124               <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''">
125                 <xsl:choose>
126                   <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'">
127                     <xsl:call-template name="listView"/>
128                   </xsl:when>
129                   <xsl:otherwise>
130                     <xsl:call-template name="weekView"/>
131                   </xsl:otherwise>
132                 </xsl:choose>
133               </xsl:when>
134               <xsl:when test="/bedework/periodname='Month'">
135                 <xsl:choose>
136                   <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'">
137                     <xsl:call-template name="listView"/>
138                   </xsl:when>
139                   <xsl:otherwise>
140                     <xsl:call-template name="monthView"/>
141                   </xsl:otherwise>
142                 </xsl:choose>
143               </xsl:when>
144               <xsl:otherwise>
145                 <xsl:call-template name="yearView"/>
146               </xsl:otherwise>
147             </xsl:choose>
148           </xsl:otherwise>
149         </xsl:choose>
150         <!-- footer -->
151         <xsl:call-template name="footer"/>
152       </body>
153     </html>
154   </xsl:template>
155
156   <!--==== HEADER TEMPLATES and NAVIGATION  ====-->
157   <!-- these templates are separated out for convenience and to simplify the default template -->
158
159   <xsl:template name="headBar">
160     <h1 id="titleBar">
161       Bedework: Demonstration Calendar
162     </h1>
163     <table width="100%" border="0" cellpadding="0" cellspacing="0" id="logoTable">
164       <tr>
165         <td colspan="3" id="logoCell"><a href="http://www.bedework.org/"><img src="{$resourcesRoot}/images/bedeworkLogo.gif" width="292" height="75" border="0" alt="Bedework"/></a></td>
166         <td colspan="2" id="schoolLinksCell">
167           <h2>Public Calendar</h2>
168           <a href="{$privateCal}">Personal Calendar</a> |
169           <a href="http://www.yourschoolhere.edu">School Home</a> |
170           <a href="http://www.washington.edu/ucal/">Other Link</a> |
171           <a href="http://helpdesk.rpi.edu/update.do?catcenterkey=51">
172             Example Calendar Help
173           </a>
174         </td>
175       </tr>
176     </table>
177     <table width="100%" border="0" cellpadding="0" cellspacing="0">
178       <tr>
179         <td><img alt="" src="{$resourcesRoot}/images/std-title-left.gif" width="8" height="16" border="0"/></td>
180         <td width="50%"><img alt="" src="{$resourcesRoot}/images/std-title-space.gif" width="100%" height="16" border="0"/></td>
181         <td><img src="{$resourcesRoot}/images/std-title.gif" width="485" height="16" border="0" alt="Calendar of Events"/></td>
182         <td width="50%"><img alt="" src="{$resourcesRoot}/images/std-title-space.gif" width="100%" height="16" border="0"/></td>
183         <td><img alt="" src="{$resourcesRoot}/images/std-title-right.gif" width="9" height="16" border="0"/></td>
184       </tr>
185     </table>
186     <table width="100%" border="0" cellpadding="0" cellspacing="0" id="dateBarTable">
187       <tr>
188         <td width="50" class="imgCell"><img alt="*" src="{$resourcesRoot}/images/spacer.gif" width="50" height="14" border="0"/></td>
189         <td align="center" width="100%">
190           <xsl:value-of select="/bedework/firstday/longdate"/>
191           <xsl:if test="/bedework/periodname!='Day'">
192             -
193             <xsl:value-of select="/bedework/lastday/longdate"/>
194           </xsl:if>
195         </td>
196         <td width="50" class="imgCell">
197           <a href="javascript:window.print()" title="print this view">
198             <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/>
199           </a>
200           <a class="rss" href="{$setSelection}?calId=&amp;setappvar=summaryMode(details)&amp;skinName=rss" title="RSS feed">RSS</a>
201           <xsl:variable name="calcategory">
202             <xsl:choose>
203               <xsl:when test="/bedework/title=''">all</xsl:when>
204               <xsl:otherwise><xsl:value-of select="translate(/bedework/title,' ','')"/></xsl:otherwise>
205             </xsl:choose>
206           </xsl:variable>
207           <!--<xsl:variable name="icalName"
208                         select="concat('ucal',$curdate,/bedework/periodname,$calcategory,'.ics')"/>
209           <a class="rss" href="{$export}?nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$icalName}" title="Download all events currently displayed as iCal - for multiple events, save to disk and import">iCal</a>
210           -->
211         </td>
212       </tr>
213     </table>
214   </xsl:template>
215
216   <xsl:template name="tabs">
217     <xsl:choose>
218       <xsl:when test="/bedework/page='eventscalendar'">
219         <table border="0" cellpadding="0" cellspacing="0" id="tabsTable">
220           <tr>
221             <td>
222               <xsl:choose>
223                 <xsl:when test="/bedework/periodname='Day'">
224                   <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-on.gif" width="91" height="20" border="0" alt="DAY"/></a>
225                 </xsl:when>
226                 <xsl:otherwise>
227                   <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a>
228                 </xsl:otherwise>
229               </xsl:choose>
230             </td>
231             <td>
232               <xsl:choose>
233                 <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''">
234                   <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-on.gif" width="92" height="20" border="0" alt="WEEK"/></a>
235                  </xsl:when>
236                 <xsl:otherwise>
237                   <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a>
238                  </xsl:otherwise>
239               </xsl:choose>
240             </td>
241             <td>
242               <xsl:choose>
243                 <xsl:when test="/bedework/periodname='Month'">
244                   <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-on.gif" width="90" height="20" border="0" alt="MONTH"/></a>
245                 </xsl:when>
246                 <xsl:otherwise>
247                   <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a>
248                 </xsl:otherwise>
249               </xsl:choose>
250             </td>
251             <td>
252               <xsl:choose>
253                 <xsl:when test="/bedework/periodname='Year'">
254                   <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-on.gif" width="92" height="20" border="0" alt="YEAR"/></a>
255                 </xsl:when>
256                 <xsl:otherwise>
257                   <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a>
258                 </xsl:otherwise>
259               </xsl:choose>
260             </td>
261             <td class="centerCell">
262               <xsl:choose>
263                 <xsl:when test="/bedework/periodname='Day'">
264                   <img src="{$resourcesRoot}/images/std-button-listview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
265                 </xsl:when>
266                 <xsl:when test="/bedework/periodname='Year'">
267                   <img src="{$resourcesRoot}/images/std-button-calview-off.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
268                 </xsl:when>
269                 <xsl:when test="/bedework/periodname='Month'">
270                   <xsl:choose>
271                     <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'">
272                       <a href="{$setup}?setappvar=monthViewMode(cal)" title="toggle list/calendar view">
273                         <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
274                       </a>
275                     </xsl:when>
276                     <xsl:otherwise>
277                       <a href="{$setup}?setappvar=monthViewMode(list)" title="toggle list/calendar view">
278                         <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
279                       </a>
280                     </xsl:otherwise>
281                   </xsl:choose>
282                 </xsl:when>
283                 <xsl:otherwise>
284                   <xsl:choose>
285                     <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'">
286                       <a href="{$setup}?setappvar=weekViewMode(cal)" title="toggle list/calendar view">
287                         <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
288                       </a>
289                     </xsl:when>
290                     <xsl:otherwise>
291                       <a href="{$setup}?setappvar=weekViewMode(list)" title="toggle list/calendar view">
292                         <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="20" border="0" alt="toggle list/calendar view"/>
293                       </a>
294                     </xsl:otherwise>
295                   </xsl:choose>
296                 </xsl:otherwise>
297               </xsl:choose>
298               <xsl:choose>
299                 <xsl:when test="/bedework/periodname='Year' or
300                                 (/bedework/periodname='Month' and
301                                 (/bedework/appvar[key='monthViewMode']/value='cal' or
302                                  count(/bedework/appvar[key='monthViewMode'])=0)) or
303                                 (/bedework/periodname='Week' and
304                                 (/bedework/appvar[key='weekViewMode']/value='cal' or
305                                  count(/bedework/appvar[key='weekViewMode'])=0))">
306                   <xsl:choose>
307                     <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'">
308                       <img src="{$resourcesRoot}/images/std-button-summary-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/>
309                     </xsl:when>
310                     <xsl:otherwise>
311                       <img src="{$resourcesRoot}/images/std-button-details-off.gif" width="67" height="20" border="0" alt="only summaries of events supported in this view"/>
312                     </xsl:otherwise>
313                   </xsl:choose>
314                 </xsl:when>
315                 <xsl:otherwise>
316                   <xsl:choose>
317                     <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'">
318                       <a href="{$setup}?setappvar=summaryMode(summary)" title="toggle summary/detailed view">
319                         <img src="{$resourcesRoot}/images/std-button-summary.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/>
320                       </a>
321                     </xsl:when>
322                     <xsl:otherwise>
323                       <a href="{$setup}?setappvar=summaryMode(details)" title="toggle summary/detailed view">
324                         <img src="{$resourcesRoot}/images/std-button-details.gif" width="67" height="20" border="0" alt="toggle summary/detailed view"/>
325                       </a>
326                     </xsl:otherwise>
327                   </xsl:choose>
328                 </xsl:otherwise>
329               </xsl:choose>
330             </td>
331             <td class="rightCell">
332               <a href="setup.do"><img src="{$resourcesRoot}/images/std-button-refresh.gif" width="69" height="20" border="0" alt="refresh view"/></a>
333             </td>
334           </tr>
335         </table>
336       </xsl:when>
337       <xsl:otherwise>
338         <table border="0" cellpadding="0" cellspacing="0" id="tabsTable">
339           <tr>
340             <td>
341               <a href="{$setViewPeriod}?viewType=dayView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-day-off.gif" width="91" height="20" border="0" alt="DAY"/></a>
342             </td>
343             <td>
344               <a href="{$setViewPeriod}?viewType=weekView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-week-off.gif" width="92" height="20" border="0" alt="WEEK"/></a>
345             </td>
346             <td>
347               <a href="{$setViewPeriod}?viewType=monthView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-month-off.gif" width="90" height="20" border="0" alt="MONTH"/></a>
348             </td>
349             <td>
350               <a href="{$setViewPeriod}?viewType=yearView&amp;date={$curdate}"><img src="{$resourcesRoot}/images/std-tab-year-off.gif" width="92" height="20" border="0" alt="YEAR"/></a>
351             </td>
352             <td class="centerCell">
353                 &#160;<!--login-->
354             </td>
355             <td class="rightCell">
356               &#160;
357             </td>
358           </tr>
359         </table>
360       </xsl:otherwise>
361     </xsl:choose>
362   </xsl:template>
363
364   <xsl:template name="alerts">
365     <table id="alertsTable">
366       <tr>
367         <td>
368           I'm an alert
369         </td>
370       </tr>
371     </table>
372   </xsl:template>
373
374   <xsl:template name="navigation">
375     <table border="0" cellpadding="0" cellspacing="0" id="navigationBarTable">
376       <tr>
377         <td class="leftCell">
378           <a href="{$setViewPeriod}?date={$prevdate}"><img src="{$resourcesRoot}/images/std-arrow-left.gif" alt="previous" width="13" height="16" class="prevImg" border="0"/></a>
379           <a href="{$setViewPeriod}?date={$nextdate}"><img src="{$resourcesRoot}/images/std-arrow-right.gif" alt="next" width="13" height="16" class="nextImg" border="0"/></a>
380           <xsl:choose>
381             <xsl:when test="/bedework/periodname='Day'">
382               <xsl:value-of select="substring(/bedework/eventscalendar/year/month/week/day/name,1,3)"/>, <xsl:value-of select="/bedework/eventscalendar/year/month/shortname"/>&#160;<xsl:value-of select="/bedework/eventscalendar/year/month/week/day/value"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/>
383             </xsl:when>
384             <xsl:when test="/bedework/periodname='Week' or /bedework/periodname=''">
385               Week of <xsl:value-of select="/bedework/eventscalendar/year/month/shortname"/>&#160;<xsl:value-of select="/bedework/eventscalendar/year/month/week/day/value"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/>
386             </xsl:when>
387             <xsl:when test="/bedework/periodname='Month'">
388               <xsl:value-of select="/bedework/eventscalendar/year/month/longname"/>, <xsl:value-of select="/bedework/eventscalendar/year/value"/>
389             </xsl:when>
390             <xsl:otherwise>
391               <xsl:value-of select="/bedework/eventscalendar/year/value"/>
392             </xsl:otherwise>
393           </xsl:choose>
394         </td>
395         <td align="right" class="gotoForm">
396           <form name="calForm" method="get" action="{$setViewPeriod}">
397              <table border="0" cellpadding="0" cellspacing="0">
398               <tr>
399                 <xsl:if test="/bedework/periodname!='Year'">
400                   <td>
401                     <select name="viewStartDate.month">
402                       <xsl:for-each select="/bedework/monthvalues/val">
403                         <xsl:variable name="temp" select="."/>
404                         <xsl:variable name="pos" select="position()"/>
405                         <xsl:choose>
406                           <xsl:when test="/bedework/monthvalues[start=$temp]">
407                             <option value="{$temp}" selected="selected">
408                               <xsl:value-of select="/bedework/monthlabels/val[position()=$pos]"/>
409                             </option>
410                           </xsl:when>
411                           <xsl:otherwise>
412                             <option value="{$temp}">
413                               <xsl:value-of select="/bedework/monthlabels/val[position()=$pos]"/>
414                             </option>
415                           </xsl:otherwise>
416                         </xsl:choose>
417                       </xsl:for-each>
418                     </select>
419                   </td>
420                   <xsl:if test="/bedework/periodname!='Month'">
421                     <td>
422                       <select name="viewStartDate.day">
423                         <xsl:for-each select="/bedework/dayvalues/val">
424                           <xsl:variable name="temp" select="."/>
425                           <xsl:variable name="pos" select="position()"/>
426                           <xsl:choose>
427                             <xsl:when test="/bedework/dayvalues[start=$temp]">
428                               <option value="{$temp}" selected="selected">
429                                 <xsl:value-of select="/bedework/daylabels/val[position()=$pos]"/>
430                               </option>
431                             </xsl:when>
432                             <xsl:otherwise>
433                               <option value="{$temp}">
434                                 <xsl:value-of select="/bedework/daylabels/val[position()=$pos]"/>
435                               </option>
436                             </xsl:otherwise>
437                           </xsl:choose>
438                         </xsl:for-each>
439                       </select>
440                     </td>
441                   </xsl:if>
442                 </xsl:if>
443                 <td>
444                   <xsl:variable name="temp" select="/bedework/yearvalues/start"/>
445                   <input type="text" name="viewStartDate.year" maxlength="4" size="4" value="{$temp}"/>
446                 </td>
447                 <td>
448                   <input name="submit" type="submit" value="go"/>
449                 </td>
450               </tr>
451             </table>
452           </form>
453         </td>
454         <td class="todayButton">
455           <a href="{$setViewPeriod}?viewType=todayView&amp;date={$curdate}">
456             <img src="{$resourcesRoot}/images/std-button-today-off.gif" width="54" height="22" border="0" alt="Go to Today" align="left"/>
457           </a>
458         </td>
459         <td class="rightCell">
460         </td>
461       </tr>
462     </table>
463   </xsl:template>
464
465   <xsl:template name="searchBar">
466     <table width="100%" border="0" cellpadding="0" cellspacing="0" id="searchBarTable">
467        <tr>
468          <td class="leftCell">
469            <xsl:choose>
470              <xsl:when test="/bedework/selectionType = 'calendar'">
471                Calendar:
472                <span class="link">[<a href="{$setSelection}">default view</a>]</span>
473              </xsl:when>
474              <xsl:when test="/bedework/selectionType = 'search'">
475                Current search: <xsl:value-of select="/bedework/search"/>
476                <span class="link">[<a href="{$setSelection}">default view</a>]</span>
477              </xsl:when>
478              <xsl:when test="/bedework/selectionType = 'subscription'">
479                Subscription: (not implemented yet)
480                <span class="link">[<a href="{$setSelection}">default view</a>]</span>
481              </xsl:when>
482              <xsl:when test="/bedework/selectionType = 'filter'">
483                Filter: (not implemented yet)
484                <span class="link">[<a href="{$setSelection}">default view</a>]</span>
485              </xsl:when>
486              <xsl:otherwise><!-- view -->
487                View:
488                <form name="selectViewForm" method="get" action="{$setSelection}">
489                 <select name="viewName" onChange="submit()" >
490                   <xsl:for-each select="/bedework/views/view">
491                     <xsl:variable name="name" select="name"/>
492                     <xsl:choose>
493                       <xsl:when test="name=/bedework/selectionState/view/name">
494                         <option value="{$name}" selected="selected"><xsl:value-of select="name"/></option>
495                       </xsl:when>
496                       <xsl:otherwise>
497                         <option value="{$name}"><xsl:value-of select="name"/></option>
498                       </xsl:otherwise>
499                     </xsl:choose>
500                   </xsl:for-each>
501                 </select>
502               </form>
503               <span class="calLinks"><a href="{$setSelection}">default view</a> | <a href="{$fetchPublicCalendars}">calendar list</a></span>
504              </xsl:otherwise>
505            </xsl:choose>
506          </td>
507          <td class="rightCell"><!--<form name="searchForm" method="get" action="{$setSelection}">Search: <input type="text" name="searchString" size="30" value=""/><input type="submit" value="go"/></form>--></td>
508        </tr>
509     </table>
510   </xsl:template>
511
512   <!--==== SINGLE EVENT ====-->
513   <xsl:template match="event">
514     <table id="eventTable" cellpadding="0" cellspacing="0">
515       <tr>
516         <th class="fieldname">Event:</th>
517         <th class="fieldval">
518           <xsl:choose>
519             <xsl:when test="link != ''">
520               <xsl:variable name="link" select="link"/>
521               <a href="{$link}">
522                 <xsl:value-of select="summary"/>
523               </a>
524             </xsl:when>
525             <xsl:otherwise>
526               <xsl:value-of select="summary"/>
527             </xsl:otherwise>
528           </xsl:choose>
529         </th>
530         <th class="icalIcon" rowspan="2">
531           <xsl:variable name="id" select="id"/>
532           <xsl:variable name="subscriptionId" select="subscription/id"/>
533           <xsl:variable name="guid" select="guid"/>
534           <xsl:variable name="recurrenceId" select="recurrenceId"/>
535           <a href="{$privateCal}/addEventRef.do?eventId={$id}" title="Add event to MyCalendar" target="myCalendar">
536             <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/>
537           </a>
538           <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/>
539           <a href="{$export}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">
540             <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/>
541           </a>
542         </th>
543       </tr>
544       <tr>
545         <td class="fieldname">When:</td>
546         <td class="fieldval">
547           <!-- was using abbrev dayname: substring(start/dayname,1,3) -->
548           <xsl:value-of select="start/dayname"/>, <xsl:value-of select="start/longdate"/><xsl:text> </xsl:text>
549           <span class="time"><xsl:value-of select="start/time"/></span>
550           <xsl:if test="end/time != '' or end/longdate != start/longdate"> - </xsl:if>
551           <xsl:if test="end/longdate != start/longdate"><xsl:value-of select="substring(end/dayname,1,3)"/>, <xsl:value-of select="end/longdate"/><xsl:text> </xsl:text></xsl:if>
552           <xsl:if test="end/time != ''"><span class="time"><xsl:value-of select="end/time"/></span></xsl:if>
553         </td>
554       </tr>
555       <tr>
556         <td class="fieldname">Where:</td>
557         <td colspan="2" class="fieldval">
558           <xsl:choose>
559             <xsl:when test="location/link=''">
560               <xsl:value-of select="location/address"/>
561             </xsl:when>
562             <xsl:otherwise>
563               <xsl:variable name="locationLink" select="location/link"/>
564               <a href="{$locationLink}">
565                 <xsl:value-of select="location/address"/>
566               </a>
567             </xsl:otherwise>
568           </xsl:choose>
569           <xsl:if test="location/subaddress!=''">
570             <br/><xsl:value-of select="location/subaddress"/>
571           </xsl:if>
572         </td>
573       </tr>
574       <tr>
575         <td class="fieldname">Description:</td>
576         <td colspan="2" class="fieldval">
577           <xsl:value-of select="description"/>
578         </td>
579       </tr>
580        <xsl:if test="cost!=''">
581         <tr>
582           <td class="fieldname">Cost:</td>
583           <td colspan="2" class="fieldval"><xsl:value-of select="cost"/></td>
584         </tr>
585       </xsl:if>
586       <xsl:if test="link != ''">
587         <tr>
588           <td class="fieldname">See:</td>
589           <td colspan="2" class="fieldval">
590             <xsl:variable name="link" select="link"/>
591             <a href="{$link}"><xsl:value-of select="link"/></a>
592           </td>
593         </tr>
594       </xsl:if>
595       <xsl:if test="sponsor/name!='none'">
596         <tr>
597           <td class="fieldname">Contact:</td>
598           <td colspan="2" class="fieldval">
599             <xsl:choose>
600               <xsl:when test="sponsor/link=''">
601                 <xsl:value-of select="sponsor/name"/>
602               </xsl:when>
603               <xsl:otherwise>
604                 <xsl:variable name="sponsorLink" select="sponsor/link"/>
605                 <a href="{$sponsorLink}">
606                   <xsl:value-of select="sponsor/name"/>
607                 </a>
608               </xsl:otherwise>
609             </xsl:choose>
610             <xsl:if test="sponsor/phone!=''">
611               <br /><xsl:value-of select="sponsor/phone"/>
612             </xsl:if>
613             <!-- If you want to display email addresses, uncomment the
614                  following 8 lines. -->
615             <!-- <xsl:if test="sponsor/email!=''">
616               <br />
617               <xsl:variable name="email" select="sponsor/email"/>
618               <xsl:variable name="subject" select="summary"/>
619               <a href="mailto:{$email}?subject={$subject}">
620                 <xsl:value-of select="sponsor/email"/>
621               </a>
622             </xsl:if> -->
623           </td>
624         </tr>
625       </xsl:if>
626     </table>
627   </xsl:template>
628
629   <!--==== LIST VIEW  (for day, week, and month) ====-->
630   <xsl:template name="listView">
631     <table id="listTable" border="0" cellpadding="0" cellspacing="0">
632       <xsl:choose>
633         <xsl:when test="count(/bedework/eventscalendar/year/month/week/day/event)=0">
634           <tr>
635             <td class="noEventsCell">
636               There are no events posted
637               <xsl:choose>
638                 <xsl:when test="/bedework/periodname='Day'">
639                   today<xsl:if test="/bedework/title!=''"> for <strong><xsl:value-of select="/bedework/title"/></strong></xsl:if><xsl:if test="/bedework/search!=''"> for search term <strong>"<xsl:value-of select="/bedework/search"/>"</strong></xsl:if>.
640                 </xsl:when>
641                 <xsl:when test="/bedework/periodname='Month'">
642                   this month<xsl:if test="/bedework/title!=''"> for <strong><xsl:value-of select="/bedework/title"/></strong></xsl:if><xsl:if test="/bedework/search!=''"> for search term <strong>"<xsl:value-of select="/bedework/search"/>"</strong></xsl:if>.
643                 </xsl:when>
644                 <xsl:otherwise>
645                   this week<xsl:if test="/bedework/title!=''"> for <strong><xsl:value-of select="/bedework/title"/></strong></xsl:if><xsl:if test="/bedework/search!=''"> for search term <strong>"<xsl:value-of select="/bedework/search"/>"</strong></xsl:if>.
646                 </xsl:otherwise>
647               </xsl:choose>
648             </td>
649           </tr>
650         </xsl:when>
651         <xsl:otherwise>
652           <xsl:for-each select="/bedework/eventscalendar/year/month/week/day[count(event)!=0]">
653             <xsl:if test="/bedework/periodname='Week' or /bedework/periodname='Month' or /bedework/periodname=''">
654               <tr>
655                 <td colspan="5" class="dateRow">
656                    <xsl:variable name="date" select="date"/>
657                    <a href="{$setViewPeriod}?viewType=dayView&amp;date={$date}">
658                      <xsl:value-of select="name"/>, <xsl:value-of select="longdate"/>
659                    </a>
660                 </td>
661               </tr>
662             </xsl:if>
663             <xsl:for-each select="event">
664               <xsl:variable name="id" select="id"/>
665               <xsl:variable name="subscriptionId" select="subscription/id"/>
666               <xsl:variable name="guid" select="guid"/>
667               <xsl:variable name="recurrenceId" select="recurrenceId"/>
668               <tr>
669                 <xsl:variable name="dateRangeStyle">
670                   <xsl:choose>
671                     <xsl:when test="start/shortdate = parent::day/shortdate">
672                       <xsl:choose>
673                         <xsl:when test="start/allday = 'true'">dateRangeCrossDay</xsl:when>
674                         <xsl:when test="start/hour24 &lt; 6">dateRangeEarlyMorning</xsl:when>
675                         <xsl:when test="start/hour24 &lt; 12">dateRangeMorning</xsl:when>
676                         <xsl:when test="start/hour24 &lt; 18">dateRangeAfternoon</xsl:when>
677                         <xsl:otherwise>dateRangeEvening</xsl:otherwise>
678                       </xsl:choose>
679                     </xsl:when>
680                     <xsl:otherwise>dateRangeCrossDay</xsl:otherwise>
681                   </xsl:choose>
682                 </xsl:variable>
683                 <xsl:choose>
684                   <xsl:when test="start/allday = 'true' and
685                                   start/shortdate = end/shortdate">
686                     <td class="{$dateRangeStyle} center" colspan="3">
687                       all day
688                     </td>
689                   </xsl:when>
690                   <xsl:otherwise>
691                     <td class="{$dateRangeStyle} right">
692                       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}">
693                       <xsl:choose>
694                         <xsl:when test="start/allday = 'true' and
695                                         parent::day/shortdate = start/shortdate">
696                           today
697                         </xsl:when>
698                         <xsl:when test="parent::day/shortdate != start/shortdate">
699                           <span class="littleArrow">&#171;</span>&#160;
700                           <xsl:value-of select="start/month"/>/<xsl:value-of select="start/day"/>
701                         </xsl:when>
702                         <xsl:otherwise>
703                           <xsl:value-of select="start/time"/>
704                         </xsl:otherwise>
705                       </xsl:choose>
706                       </a>
707                     </td>
708                     <td class="{$dateRangeStyle} center">
709                       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}">-</a>
710                     </td>
711                     <td class="{$dateRangeStyle} left">
712                       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}">
713                       <xsl:choose>
714                         <xsl:when test="end/allday = 'true' and
715                                         parent::day/shortdate = end/shortdate">
716                           today
717                         </xsl:when>
718                         <xsl:when test="parent::day/shortdate != end/shortdate">
719                           <xsl:value-of select="end/month"/>/<xsl:value-of select="end/day"/>
720                           &#160;<span class="littleArrow">&#187;</span>
721                         </xsl:when>
722                         <xsl:otherwise>
723                           <xsl:value-of select="end/time"/>
724                         </xsl:otherwise>
725                       </xsl:choose>
726                       </a>
727                     </td>
728                   </xsl:otherwise>
729                 </xsl:choose>
730                 <xsl:variable name="descriptionClass">
731                   <xsl:choose>
732                     <xsl:when test="priority='cancelled'">description cancelled</xsl:when>
733                     <xsl:otherwise>description</xsl:otherwise>
734                   </xsl:choose>
735                 </xsl:variable>
736                 <td class="{$descriptionClass}">
737                   <xsl:choose>
738                     <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'">
739                       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}">
740                         <strong><xsl:value-of select="summary"/>: </strong>
741                         <xsl:value-of select="description"/>&#160;
742                         <em>
743                           <xsl:value-of select="location/address"/>
744                           <xsl:if test="location/subaddress != ''">
745                             , <xsl:value-of select="location/subaddress"/>
746                           </xsl:if>.&#160;
747                           <xsl:if test="cost!=''">
748                             <xsl:value-of select="cost"/>.&#160;
749                           </xsl:if>
750                           <xsl:if test="sponsor/name!='none'">
751                             Contact: <xsl:value-of select="sponsor/name"/>
752                           </xsl:if>
753                         </em>
754                       </a>
755                       <xsl:if test="link != ''">
756                         <xsl:variable name="link" select="link"/>
757                         <a href="{$link}" class="moreLink"><xsl:value-of select="link"/></a>
758                       </xsl:if>
759                     </xsl:when>
760                     <xsl:otherwise>
761                       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}">
762                         <xsl:value-of select="summary"/>, <xsl:value-of select="location/address"/>
763                       </a>
764                     </xsl:otherwise>
765                   </xsl:choose>
766                 </td>
767                 <td class="icons">
768                   <variable name="confId" select="/bedework/confirmationid"/>
769                   <a href="{$privateCal}/addEventRef.do?eventId={$id}" title="Add event to MyCalendar" target="myCalendar">
770                     <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon-small.gif" width="12" height="16" border="0" alt="Add event to MyCalendar"/>
771                   </a>
772                   <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/>
773                   <a href="{$export}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}&amp;nocache=no&amp;skinName=ical&amp;contentType=text/calendar&amp;contentName={$eventIcalName}" title="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">
774                     <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars"/>
775                   </a>
776                 </td>
777               </tr>
778             </xsl:for-each>
779           </xsl:for-each>
780         </xsl:otherwise>
781       </xsl:choose>
782     </table>
783   </xsl:template>
784
785   <!--==== WEEK CALENDAR VIEW ====-->
786   <xsl:template name="weekView">
787     <table id="monthCalendarTable" border="0" cellpadding="0" cellspacing="0">
788       <tr>
789         <xsl:for-each select="/bedework/daynames/val">
790           <th class="dayHeading"><xsl:value-of select="."/></th>
791         </xsl:for-each>
792       </tr>
793       <tr>
794         <xsl:for-each select="/bedework/eventscalendar/year/month/week/day">
795           <xsl:variable name="dayPos" select="position()"/>
796           <xsl:if test="filler='false'">
797             <td>
798               <xsl:variable name="dayDate" select="date"/>
799               <a href="{$setViewPeriod}?viewType=dayView&amp;date={$dayDate}" class="dayLink">
800                 <xsl:value-of select="value"/>
801               </a>
802               <ul>
803                 <xsl:apply-templates select="event" mode="calendarLayout">
804                   <xsl:with-param name="dayPos" select="$dayPos"/>
805                 </xsl:apply-templates>
806               </ul>
807             </td>
808           </xsl:if>
809         </xsl:for-each>
810       </tr>
811     </table>
812   </xsl:template>
813
814   <!--==== MONTH CALENDAR VIEW ====-->
815   <xsl:template name="monthView">
816     <table id="monthCalendarTable" border="0" cellpadding="0" cellspacing="0">
817       <tr>
818         <xsl:for-each select="/bedework/daynames/val">
819           <th class="dayHeading"><xsl:value-of select="."/></th>
820         </xsl:for-each>
821       </tr>
822       <xsl:for-each select="/bedework/eventscalendar/year/month/week">
823         <tr>
824           <xsl:for-each select="day">
825            <xsl:variable name="dayPos" select="position()"/>
826             <xsl:choose>
827               <xsl:when test="filler='true'">
828                 <td class="filler">&#160;</td>
829               </xsl:when>
830               <xsl:otherwise>
831                 <td>
832                   <xsl:variable name="dayDate" select="date"/>
833                   <a href="{$setViewPeriod}?viewType=dayView&amp;date={$dayDate}" class="dayLink">
834                     <xsl:value-of select="value"/>
835                   </a>
836                   <ul>
837                     <xsl:apply-templates select="event" mode="calendarLayout">
838                       <xsl:with-param name="dayPos" select="$dayPos"/>
839                     </xsl:apply-templates>
840                   </ul>
841                 </td>
842               </xsl:otherwise>
843             </xsl:choose>
844           </xsl:for-each>
845         </tr>
846       </xsl:for-each>
847     </table>
848   </xsl:template>
849
850   <xsl:template match="event" mode="calendarLayout">
851     <xsl:param name="dayPos"/>
852     <xsl:variable name="subscriptionId" select="subscription/id"/>
853     <xsl:variable name="guid" select="guid"/>
854     <xsl:variable name="recurrenceId" select="recurrenceId"/>
855     <xsl:variable name="eventClass">
856       <xsl:choose>
857         <!-- Special styles for the month grid -->
858         <xsl:when test="status='cancelled'">eventCancelled</xsl:when>
859         <xsl:when test="calendar/name='Holidays'">holiday</xsl:when>
860         <!-- Alternating colors for all standard events -->
861         <xsl:when test="position() mod 2 = 1">eventLinkA</xsl:when>
862         <xsl:otherwise>eventLinkB</xsl:otherwise>
863       </xsl:choose>
864     </xsl:variable>
865     <li>
866       <a href="{$eventView}?subid={$subscriptionId}&amp;guid={$guid}&amp;recurrenceId={$recurrenceId}" class="{$eventClass}">
867         <xsl:value-of select="summary"/>
868         <xsl:variable name="eventTipClass">
869           <xsl:choose>
870             <xsl:when test="$dayPos &gt; 5">eventTipReverse</xsl:when>
871             <xsl:otherwise>eventTip</xsl:otherwise>
872           </xsl:choose>
873         </xsl:variable>
874         <span class="{$eventTipClass}">
875           <strong><xsl:value-of select="summary"/></strong><br/>
876           <xsl:if test="start/time != ''">
877             Time: <xsl:value-of select="start/time"/>
878             <xsl:if test="end/time != ''">
879               - <xsl:value-of select="end/time"/>
880             </xsl:if>
881             <br/>
882           </xsl:if>
883           <xsl:if test="location/address">
884             Location: <xsl:value-of select="location/address"/><br/>
885           </xsl:if>
886           Calendar: <xsl:value-of select="calendar/name"/>
887         </span>
888       </a>
889     </li>
890   </xsl:template>
891
892   <!--==== YEAR VIEW ====-->
893   <xsl:template name="yearView">
894     <table id="yearCalendarTable" border="0" cellpadding="0" cellspacing="0">
895       <tr>
896         <xsl:apply-templates select="/bedework/eventscalendar/year/month[position() &lt;= 3]"/>
897       </tr>
898       <tr>
899         <xsl:apply-templates select="/bedework/eventscalendar/year/month[(position() &gt; 3) and (position() &lt;= 6)]"/>
900       </tr>
901       <tr>
902         <xsl:apply-templates select="/bedework/eventscalendar/year/month[(position() &gt; 6) and (position() &lt;= 9)]"/>
903       </tr>
904       <tr>
905         <xsl:apply-templates select="/bedework/eventscalendar/year/month[position() &gt; 9]"/>
906       </tr>
907     </table>
908   </xsl:template>
909
910   <!-- year view month tables -->
911   <xsl:template match="month">
912     <td>
913       <table class="yearViewMonthTable" border="0" cellpadding="0" cellspacing="0">
914         <tr>
915           <td colspan="8" class="monthName">
916             <xsl:variable name="firstDayOfMonth" select="week/day/date"/>
917             <a href="{$setViewPeriod}?viewType=monthView&amp;date={$firstDayOfMonth}">
918               <xsl:value-of select="longname"/>
919             </a>
920           </td>
921         </tr>
922         <tr>
923           <th>&#160;</th>
924           <xsl:for-each select="/bedework/shortdaynames/val">
925             <th><xsl:value-of select="."/></th>
926           </xsl:for-each>
927         </tr>
928         <xsl:for-each select="week">
929           <tr>
930             <td class="weekCell">
931               <xsl:variable name="firstDayOfWeek" select="day/date"/>
932               <a href="{$setViewPeriod}?viewType=weekView&amp;date={$firstDayOfWeek}">
933                 <xsl:value-of select="value"/>
934               </a>
935             </td>
936             <xsl:for-each select="day">
937               <xsl:choose>
938                 <xsl:when test="filler='true'">
939                   <td class="filler">&#160;</td>
940                 </xsl:when>
941                 <xsl:otherwise>
942                   <td>
943                     <xsl:variable name="dayDate" select="date"/>
944                     <a href="{$setViewPeriod}?viewType=dayView&amp;date={$dayDate}">
945                       <xsl:value-of select="value"/>
946                     </a>
947                   </td>
948                 </xsl:otherwise>
949               </xsl:choose>
950             </xsl:for-each>
951           </tr>
952         </xsl:for-each>
953       </table>
954     </td>
955   </xsl:template>
956
957   <!--==== CALENDARS PAGE ====-->
958   <xsl:template match="calendars">
959     <xsl:variable name="topLevelCalCount" select="count(/bedework/calendars/calendar/calendar)"/>
960     <table id="calPageTable" border="0" cellpadding="0" cellspacing="0">
961       <tr>
962         <th colspan="2">
963           All Calendars
964         </th>
965       </tr>
966       <tr>
967         <td colspan="2" class="infoCell">
968           Select a calendar from the list below to see only that calendar's events.
969         </td>
970       </tr>
971       <tr>
972         <td class="leftCell">
973           <ul class="calendarTree">
974             <xsl:apply-templates select="calendar/calendar[position() &lt;= floor($topLevelCalCount div 2)]" mode="calTree"/>
975           </ul>
976         </td>
977         <td>
978           <ul class="calendarTree">
979             <xsl:apply-templates select="calendar/calendar[position() &gt; floor($topLevelCalCount div 2)]" mode="calTree"/>
980           </ul>
981         </td>
982       </tr>
983     </table>
984   </xsl:template>
985
986   <xsl:template match="calendar" mode="calTree">
987     <xsl:variable name="itemClass">
988       <xsl:choose>
989         <xsl:when test="calendarCollection='false'">folder</xsl:when>
990         <xsl:otherwise>calendar</xsl:otherwise>
991       </xsl:choose>
992     </xsl:variable>
993     <xsl:variable name="url" select="url"/>
994     <li class="{$itemClass}">
995       <a href="{$setSelection}?calUrl={$url}"><xsl:value-of select="name"/></a>
996       <xsl:if test="calendar">
997         <ul>
998           <xsl:apply-templates select="calendar" mode="calTree"/>
999         </ul>
1000       </xsl:if>
1001     </li>
1002   </xsl:template>
1003
1004   <!--==== FOOTER ====-->
1005
1006   <xsl:template name="footer">
1007     <div id="footer">
1008       Demonstration calendar; place footer information here.
1009     </div>
1010     <table id="skinSelectorTable" border="0" cellpadding="0" cellspacing="0">
1011       <tr>
1012         <td class="leftCell">
1013           Based on the <a href="http://www.bedework.org/">Bedework Calendar</a>
1014         </td>
1015         <td class="rightCell">
1016           <form name="styleSelectForm" method="get" action="{$setup}">
1017             style selector:
1018             <select name="setappvar" onChange="submit()">
1019               <option>choose a style</option>
1020               <option value="style(green)">green</option>
1021               <option value="style(red)">red</option>
1022               <option value="style(blue)">blue</option>
1023             </select>
1024           </form>
1025           <form name="skinSelectForm" method="get" action="">
1026             skin examples:
1027             <select name="skinNameSticky" onchange="window.location = this.value">
1028               <option>select a calendar</option>
1029               <option value="http://events.rpi.edu">Rensselaer</option>
1030               <option value="http://myuw.washington.edu/cal/">Washington</option>
1031             </select>
1032           </form>
1033         </td>
1034       </tr>
1035     </table>
1036   </xsl:template>
1037 </xsl:stylesheet>
Note: See TracBrowser for help on using the browser.