Changeset 2133
- Timestamp:
- 04/14/09 17:32:27
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2132 r2133 981 981 <td class="calcat"> 982 982 <xsl:for-each select="categories/category"> 983 <xsl:sort select="word"/> 983 984 <xsl:value-of select="word"/><br/> 984 985 </xsl:for-each> … … 2271 2272 </tr> 2272 2273 2274 <!-- Topical area --> 2275 <!-- These are the subscriptions (aliases) where the events should show up. 2276 By selecting one or more of these, appropriate categories will be set on the event --> 2277 <tr> 2278 <td class="fieldName"> 2279 Topical area: 2280 </td> 2281 <td> 2282 <ul class="aliasTree"> 2283 <xsl:apply-templates select="form/subscriptions/calsuite/calendars/calendar" mode="showEventFormAliases"> 2284 <xsl:with-param name="root">true</xsl:with-param> 2285 </xsl:apply-templates> 2286 </ul> 2287 </td> 2288 </tr> 2289 2273 2290 <!-- Category --> 2274 2291 <!-- … … 2391 2408 </tr> --> 2392 2409 2393 <!-- Topical area -->2394 <!-- These are the subscriptions (aliases) where the events should show up.2395 By selecting one or more of these, appropriate categories will be set on the event -->2396 <tr>2397 <td class="fieldName">2398 Topical area:2399 </td>2400 <td>2401 <ul class="aliasTree">2402 <xsl:apply-templates select="form/subscriptions/calsuite/calendars/calendar" mode="showEventFormAliases">2403 <xsl:with-param name="root">true</xsl:with-param>2404 </xsl:apply-templates>2405 </ul>2406 </td>2407 </tr>2408 2409 2410 <xsl:if test="form/contact/name"> 2410 2411 <tr> … … 2485 2486 <xsl:if test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"><xsl:attribute name="checked"><xsl:value-of select="checked"/></xsl:attribute></xsl:if> 2486 2487 </input> 2487 <xsl:value-of select="name"/> 2488 <xsl:choose> 2489 <xsl:when test="path = /bedework/formElements/form/xproperties//X-BEDEWORK-ALIAS/values/text"> 2490 <strong><xsl:value-of select="name"/></strong> 2491 </xsl:when> 2492 <xsl:otherwise> 2493 <xsl:value-of select="name"/> 2494 </xsl:otherwise> 2495 </xsl:choose> 2488 2496 </xsl:otherwise> 2489 2497 </xsl:choose> … … 5543 5551 <tr> 5544 5552 <th> 5545 Allow users toselect categories in event form:5553 Allow event administrators to<br/>select categories in event form: 5546 5554 </th> 5547 5555 <td> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/default/default.xsl
r2123 r2133 461 461 </xsl:otherwise> 462 462 </xsl:choose> 463 <span class="link"><a href="{$setSelection}">default view</a> | <a href="{$fetchPublicCalendars}">a vailable calendars</a></span>463 <span class="link"><a href="{$setSelection}">default view</a> | <a href="{$fetchPublicCalendars}">all topical areas</a></span> 464 464 </td> 465 465 <td class="rightCell"> … … 843 843 <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 844 844 <xsl:variable name="calUrl" select="values/text"/> 845 <a href="{$setSelection}&calUrl={$calUrl} ">845 <a href="{$setSelection}&calUrl={$calUrl}&setappvar=curCollection({$calUrl})"> 846 846 <xsl:call-template name="substring-afterLastInstanceOf"> 847 847 <xsl:with-param name="string" select="values/text"/> … … 1424 1424 <!-- list of available calendars --> 1425 1425 <xsl:template match="calendars"> 1426 <xsl:variable name="topLevelCalCount" select="count(calendar/calendar[calType != 5 and calType != 6 and calType != 2 and calType != 3])"/>1426 <xsl:variable name="topLevelCalCount" select="count(calendar/calendar[calType != 5 and calType != 6 and name != 'calendar'])"/> 1427 1427 <table id="calPageTable" border="0" cellpadding="0" cellspacing="0"> 1428 1428 <tr> 1429 1429 <th colspan="2"> 1430 All Calendars1430 All Topical Areas 1431 1431 </th> 1432 1432 </tr> … … 1434 1434 <td colspan="2" class="infoCell"> 1435 1435 <p class="info"> 1436 Select a calendar from the list below to see only that calendar's events.1436 Select a topical area from the list below to see only its events. 1437 1437 </p> 1438 1438 </td> … … 1440 1440 <tr> 1441 1441 <td class="leftCell"> 1442 <!-- adjust the following calculations to get a balanced layout between the cells --> 1442 1443 <ul class="calendarTree"> 1443 <xsl:apply-templates select="calendar/calendar[(calType = 0 or calType = 7 or calType = 8) and position() <= ceiling($topLevelCalCount div2)]" mode="calTree"/>1444 <xsl:apply-templates select="calendar/calendar[(calType != 5 and calType != 6 and name != 'calendar') and (position() <= ceiling($topLevelCalCount div 2)+2)]" mode="calTree"/> 1444 1445 </ul> 1445 1446 </td> 1446 1447 <td> 1447 1448 <ul class="calendarTree"> 1448 <xsl:apply-templates select="calendar/calendar[(calType = 0 or calType = 7 or calType = 8) and position() > ceiling($topLevelCalCount div2)]" mode="calTree"/>1449 <xsl:apply-templates select="calendar/calendar[(calType != 5 and calType != 6 and name != 'calendar') and (position() > ceiling($topLevelCalCount div 2)+2)]" mode="calTree"/> 1449 1450 </ul> 1450 1451 </td> … … 1464 1465 <xsl:variable name="calPath" select="path"/> 1465 1466 <a href="{$setSelection}&calUrl={$url}&setappvar=curCollection({$calPath})" title="view calendar"><xsl:value-of select="name"/></a> 1466 <xsl:if test="calType != '0'"> 1467 <xsl:variable name="calPath" select="path"/> 1468 <span class="exportCalLink"> 1469 <a href="{$calendar-fetchForExport}&calPath={$calPath}" title="export calendar as iCal"> 1470 <img src="{$resourcesRoot}/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 1471 </a> 1472 </span> 1473 </xsl:if> 1467 <xsl:variable name="calPath" select="path"/> 1468 <span class="exportCalLink"> 1469 <a href="{$calendar-fetchForExport}&calPath={$calPath}" title="export calendar as iCal"> 1470 <img src="{$resourcesRoot}/images/calIconExport-sm.gif" width="13" height="13" alt="export calendar" border="0"/> 1471 </a> 1472 </span> 1474 1473 <xsl:if test="calendar"> 1475 1474 <ul>
