Changeset 154
- Timestamp:
- 02/13/06 13:49:59
- Files:
-
- trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl (modified) (2 diffs)
- trunk/calendar3/skins/webpublic/rensselaer/default/default/default.xsl (modified) (9 diffs)
- trunk/calendar3/skins/webpublic/rensselaer/default/default/errors.xsl (added)
- trunk/calendar3/skins/webpublic/rensselaer/default/default/videocal.css (added)
- trunk/calendar3/skins/webpublic/rensselaer/default/default/videocal.xsl (added)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/calendar3/deployment/webpublic/webapp/resources/demoskins/default/default/default.xsl
r142 r154 829 829 <tr> 830 830 <xsl:for-each select="day"> 831 <xsl:variable name="dayPos" select="position()"/>831 <xsl:variable name="dayPos" select="position()"/> 832 832 <xsl:choose> 833 833 <xsl:when test="filler='true'"> … … 880 880 <span class="{$eventTipClass}"> 881 881 <strong><xsl:value-of select="summary"/></strong><br/> 882 Time: 882 Time: 883 883 <xsl:choose> 884 884 <xsl:when test="start/allday = 'false'"> 885 885 <xsl:value-of select="start/time"/> 886 - <xsl:value-of select="end/time"/> 886 - <xsl:value-of select="end/time"/> 887 887 </xsl:when> 888 888 <xsl:otherwise> trunk/calendar3/skins/webpublic/rensselaer/default/default/default.xsl
r133 r154 214 214 </td> 215 215 <td class="centerCell"> 216  216   217 217 </td> 218 218 <td class="rightCell rssPrint"> 219 <a href="javascript:window.print()" title="print this view">219 <a href="javascript:window.print()" title="print this view"> 220 220 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print 221 221 </a> … … 359 359 <xsl:choose> 360 360 <xsl:when test="/bedework/selectionState/selectionType = 'calendar'"> 361 Calendar: 361 Calendar: <xsl:value-of select="/bedework/selectionState/subscriptions/subscription/calendar/name"/> 362 362 <span class="link">[<a href="{$setSelection}">default view</a>]</span> 363 363 </xsl:when> … … 513 513 <!-- was using abbrev dayname: substring(start/dayname,1,3) --> 514 514 <xsl:value-of select="start/dayname"/>, <xsl:value-of select="start/longdate"/><xsl:text> </xsl:text> 515 <span class="time"><xsl:value-of select="start/time"/></span> 516 <xsl:if test="end/time != '' or end/longdate != start/longdate"> - </xsl:if> 515 <xsl:if test="start/allday = 'false'"> 516 <span class="time"><xsl:value-of select="start/time"/></span> 517 </xsl:if> 518 <xsl:if test="end/allday = 'false' or end/longdate != start/longdate"> - </xsl:if> 517 519 <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> 518 <xsl:if test="end/time != ''"><span class="time"><xsl:value-of select="end/time"/></span></xsl:if> 520 <xsl:if test="end/allday = 'false'"><span class="time"><xsl:value-of select="end/time"/></span></xsl:if> 521 <xsl:if test="start/allday = 'true'"><span class="time"><em>(all day)</em></span></xsl:if> 519 522 </td> 520 523 </tr> … … 840 843 <span class="{$eventTipClass}"> 841 844 <strong><xsl:value-of select="summary"/></strong><br/> 842 <xsl:if test="start/time != ''"> 843 Time: <xsl:value-of select="start/time"/> 844 <xsl:if test="end/time != ''"> 845 - <xsl:value-of select="end/time"/> 846 </xsl:if> 847 <br/> 848 </xsl:if> 845 Time: 846 <xsl:choose> 847 <xsl:when test="start/allday = 'false'"> 848 <xsl:value-of select="start/time"/> 849 - <xsl:value-of select="end/time"/> 850 </xsl:when> 851 <xsl:otherwise> 852 all day 853 </xsl:otherwise> 854 </xsl:choose><br/> 849 855 <xsl:if test="location/address"> 850 856 Location: <xsl:value-of select="location/address"/><br/> … … 923 929 <!--==== CALENDARS PAGE ====--> 924 930 <xsl:template match="calendars"> 925 <xsl:variable name="topLevelCalCount" select="count( /bedework/calendars/calendar/calendar)"/>931 <xsl:variable name="topLevelCalCount" select="count(calendar/calendar)"/> 926 932 <table id="calPageTable" border="0" cellpadding="0" cellspacing="0"> 927 933 <tr> … … 938 944 <td class="leftCell"> 939 945 <ul class="calendarTree"> 940 <xsl:apply-templates select="calendar/calendar[position() <= floor($topLevelCalCount div 2)]" mode="calTree"/>946 <xsl:apply-templates select="calendar/calendar[position() <= ceiling($topLevelCalCount div 2)]" mode="calTree"/> 941 947 </ul> 942 948 </td> 943 949 <td> 944 950 <ul class="calendarTree"> 945 <xsl:apply-templates select="calendar/calendar[position() > floor($topLevelCalCount div 2)]" mode="calTree"/>951 <xsl:apply-templates select="calendar/calendar[position() > ceiling($topLevelCalCount div 2)]" mode="calTree"/> 946 952 </ul> 947 953 </td> … … 968 974 </xsl:template> 969 975 976 <!--==== FOOTER ====--> 977 970 978 <xsl:template name="footer"> 971 979 <div id="footer"> … … 984 992 <tr> 985 993 <td class="leftCell"> 986 Based on the <a href="http://www. washington.edu/ucal/">University of WashingtonCalendar</a>994 Based on the <a href="http://www.bedework.org/">Bedework Calendar</a> 987 995 </td> 988 996 <td class="rightCell"> 989 < form name="skinSelectForm" method="get" action="{$setup}">997 <!--<form name="skinSelectForm" method="get" action="{$setup}"> 990 998 skin selector: 991 999 <select name="skinNameSticky" onChange="submit()"> … … 995 1003 <option value="rensselaer">Rensselaer</option> 996 1004 </select> 997 </form> 1005 </form>--> 998 1006 </td> 999 1007 </tr>
