Changeset 2350
- Timestamp:
- 08/17/09 10:12:24
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/default.xsl
r2195 r2350 75 75 <xsl:include href="../../../bedework-common/default/default/messages.xsl"/> 76 76 <xsl:include href="../../../bedework-common/default/default/util.xsl"/> 77 <xsl:include href="./strings.xsl"/> 78 77 79 78 80 <!-- DEFINE GLOBAL CONSTANTS --> … … 128 130 <html lang="en"> 129 131 <head> 130 <title> Bedework Events Calendar</title>132 <title><xsl:copy-of select="$bwStr-Root-PageTitle"/></title> 131 133 <meta content="text/html;charset=utf-8" http-equiv="Content-Type" /> 132 134 <!-- load css --> … … 250 252 <td colspan="3" id="logoCell"><a href="/bedework/"><img src="{$resourcesRoot}/images/bedeworkLogoGreen.gif" width="292" height="75" border="0" alt="Bedework"/></a></td> 251 253 <td colspan="2" id="schoolLinksCell"> 252 <h2> School of Engineering</h2>253 <a href="http://www.yourdepartmenthere.edu"> School of Engineering Home</a> |254 <a href="http://www.youruniversityhere.edu"> University Home</a> |255 <a href="http://www.bedework.org/"> Other Link</a>254 <h2><xsl:copy-of select="$bwStr-HdBr-SchoolOfEngineering"/></h2> 255 <a href="http://www.yourdepartmenthere.edu"><xsl:copy-of select="$bwStr-HdBr-SchoolOfEngineeringHome"/></a> | 256 <a href="http://www.youruniversityhere.edu"><xsl:copy-of select="$bwStr-HdBr-UniversityHome"/></a> | 257 <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-HdBr-OtherLink"/></a> 256 258 </td> 257 259 </tr> … … 280 282 <xsl:choose> 281 283 <xsl:when test="/bedework/page='event'"> 282 Event Information284 <xsl:copy-of select="$bwStr-HdBr-EventInformation"/> 283 285 </xsl:when> 284 286 <xsl:when test="/bedework/page='showSysStats' or … … 296 298 </td> 297 299 <td class="rssPrint"> 298 <a href="javascript:window.print()" title=" print this view">299 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/> print300 <a href="javascript:window.print()" title="{$bwStr-HdBr-PrintThisView}"> 301 <img alt="print this view" src="{$resourcesRoot}/images/std-print-icon.gif" width="20" height="14" border="0"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-HdBr-Print"/> 300 302 </a> 301 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title=" RSS feed">RSS</a>303 <a class="rss" href="{$listEvents}&setappvar=summaryMode(details)&skinName=rss-list&days=3" title="{$bwStr-HdBr-RSSFeed}"><xsl:copy-of select="$bwStr-HdBr-RSS"/></a> 302 304 </td> 303 305 </tr> … … 312 314 <xsl:attribute name="class">selected</xsl:attribute> 313 315 </xsl:if> 314 <a href="{$setViewPeriod}&viewType=dayView&date={$curdate}"> DAY</a>316 <a href="{$setViewPeriod}&viewType=dayView&date={$curdate}"><xsl:copy-of select="$bwStr-Tabs-Day"/></a> 315 317 </li> 316 318 <li> … … 318 320 <xsl:attribute name="class">selected</xsl:attribute> 319 321 </xsl:if> 320 <a href="{$setViewPeriod}&viewType=weekView&date={$curdate}"> WEEK</a>322 <a href="{$setViewPeriod}&viewType=weekView&date={$curdate}"><xsl:copy-of select="$bwStr-Tabs-Week"/></a> 321 323 </li> 322 324 <li> 323 325 <xsl:if test="/bedework/page='eventscalendar' and /bedework/periodname='Month'"> 324 326 <xsl:attribute name="class">selected</xsl:attribute> 325 </xsl:if><a href="{$setViewPeriod}&viewType=monthView&date={$curdate}"> MONTH</a>327 </xsl:if><a href="{$setViewPeriod}&viewType=monthView&date={$curdate}"><xsl:copy-of select="$bwStr-Tabs-Month"/></a> 326 328 </li> 327 329 <li> 328 330 <xsl:if test="/bedework/page='eventscalendar' and /bedework/periodname='Year'"> 329 331 <xsl:attribute name="class">selected</xsl:attribute> 330 </xsl:if><a href="{$setViewPeriod}&viewType=yearView&date={$curdate}"> YEAR</a>332 </xsl:if><a href="{$setViewPeriod}&viewType=yearView&date={$curdate}"><xsl:copy-of select="$bwStr-Tabs-Year"/></a> 331 333 </li> 332 334 <li> 333 335 <xsl:if test="/bedework/page='eventList'"> 334 336 <xsl:attribute name="class">selected</xsl:attribute> 335 </xsl:if><a href="{$listEvents}"> LIST</a>337 </xsl:if><a href="{$listEvents}"><xsl:copy-of select="$bwStr-Tabs-List"/></a> 336 338 </li> 337 339 </ul> … … 353 355 </xsl:when> 354 356 <xsl:when test="/bedework/periodname='Week'"> 355 Week of<xsl:value-of select="substring-after(/bedework/firstday/longdate,', ')"/>357 <xsl:copy-of select="$bwStr-Navi-WeekOf"/><xsl:text> </xsl:text><xsl:value-of select="substring-after(/bedework/firstday/longdate,', ')"/> 356 358 </xsl:when> 357 359 <xsl:otherwise> … … 418 420 </td> 419 421 <td> 420 <input name="submit" type="submit" value=" go"/>422 <input name="submit" type="submit" value="{$bwStr-Navi-Go}"/> 421 423 </td> 422 424 </tr> … … 436 438 <xsl:choose> 437 439 <xsl:when test="/bedework/selectionState/selectionType = 'collections'"> 438 Calendar:440 <xsl:copy-of select="$bwStr-SrcB-Calendar"/> 439 441 <strong> 440 442 <xsl:call-template name="substring-afterLastInstanceOf"> … … 445 447 </xsl:when> 446 448 <xsl:when test="/bedework/selectionState/selectionType = 'search'"> 447 Current search:<xsl:value-of select="/bedework/search"/>449 <xsl:copy-of select="$bwStr-SrcB-CurrentSearch"/><xsl:text> </xsl:text><xsl:value-of select="/bedework/search"/> 448 450 </xsl:when> 449 451 <xsl:otherwise><!-- view --> 450 View:452 <xsl:copy-of select="$bwStr-SrcB-View"/> 451 453 <form name="selectViewForm" method="post" action="{$setSelection}"> 452 454 <select name="viewName" onchange="submit()" > … … 466 468 </xsl:otherwise> 467 469 </xsl:choose> 468 <span class="link"><a href="{$setSelection}"> default view</a> | <a href="{$fetchPublicCalendars}">all topical areas</a></span>470 <span class="link"><a href="{$setSelection}"><xsl:copy-of select="$bwStr-SrcB-DefaultView"/></a> | <a href="{$fetchPublicCalendars}"><xsl:copy-of select="$bwStr-SrcB-AllTopicalAreas"/></a></span> 469 471 </td> 470 472 <td class="rightCell"> 471 473 <xsl:if test="/bedework/page!='searchResult'"> 472 474 <form name="searchForm" id="searchForm" method="post" action="{$search}"> 473 Search:475 <xsl:copy-of select="$bwStr-SrcB-Search"/> 474 476 <input type="text" name="query" size="15"> 475 477 <xsl:attribute name="value"><xsl:value-of select="/bedework/searchResults/query"/></xsl:attribute> 476 478 </input> 477 <input type="submit" name="submit" value=" go"/>479 <input type="submit" name="submit" value="{$bwStr-SrcB-Go}"/> 478 480 </form> 479 481 <xsl:text> </xsl:text> … … 481 483 <xsl:choose> 482 484 <xsl:when test="/bedework/periodname='Day' or /bedework/page='eventList'"> 483 <img src="{$resourcesRoot}/images/std-button-listview-off.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>485 <img src="{$resourcesRoot}/images/std-button-listview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 484 486 </xsl:when> 485 487 <xsl:when test="/bedework/periodname='Year'"> 486 <img src="{$resourcesRoot}/images/std-button-calview-off.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>488 <img src="{$resourcesRoot}/images/std-button-calview-off.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 487 489 </xsl:when> 488 490 <xsl:when test="/bedework/periodname='Month'"> 489 491 <xsl:choose> 490 492 <xsl:when test="/bedework/appvar[key='monthViewMode']/value='list'"> 491 <a href="{$setup}&setappvar=monthViewMode(cal)" title=" toggle list/calendar view">492 <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>493 <a href="{$setup}&setappvar=monthViewMode(cal)" title="{$bwStr-SrcB-ToggleListCalView}"> 494 <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 493 495 </a> 494 496 </xsl:when> 495 497 <xsl:otherwise> 496 <a href="{$setup}&setappvar=monthViewMode(list)" title=" toggle list/calendar view">497 <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>498 <a href="{$setup}&setappvar=monthViewMode(list)" title="{$bwStr-SrcB-ToggleListCalView}"> 499 <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 498 500 </a> 499 501 </xsl:otherwise> … … 503 505 <xsl:choose> 504 506 <xsl:when test="/bedework/appvar[key='weekViewMode']/value='list'"> 505 <a href="{$setup}&setappvar=weekViewMode(cal)" title=" toggle list/calendar view">506 <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>507 <a href="{$setup}&setappvar=weekViewMode(cal)" title="{$bwStr-SrcB-ToggleListCalView}"> 508 <img src="{$resourcesRoot}/images/std-button-calview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 507 509 </a> 508 510 </xsl:when> 509 511 <xsl:otherwise> 510 <a href="{$setup}&setappvar=weekViewMode(list)" title=" toggle list/calendar view">511 <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt=" toggle list/calendar view"/>512 <a href="{$setup}&setappvar=weekViewMode(list)" title="{$bwStr-SrcB-ToggleListCalView}"> 513 <img src="{$resourcesRoot}/images/std-button-listview.gif" width="46" height="21" border="0" alt="{$bwStr-SrcB-ToggleListCalView}"/> 512 514 </a> 513 515 </xsl:otherwise> … … 519 521 <xsl:choose> 520 522 <xsl:when test="/bedework/appvar[key='listEventsSummaryMode']/value='details'"> 521 <a href="{$listEvents}&setappvar=listEventsSummaryMode(summary)" title=" toggle summary/detailed view">522 <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt=" toggle summary/detailed view"/>523 <a href="{$listEvents}&setappvar=listEventsSummaryMode(summary)" title="{$bwStr-SrcB-ToggleSummDetView}"> 524 <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 523 525 </a> 524 526 </xsl:when> 525 527 <xsl:otherwise> 526 <a href="{$listEvents}&setappvar=listEventsSummaryMode(details)" title=" toggle summary/detailed view">527 <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt=" toggle summary/detailed view"/>528 <a href="{$listEvents}&setappvar=listEventsSummaryMode(details)" title="{$bwStr-SrcB-ToggleSummDetView}"> 529 <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 528 530 </a> 529 531 </xsl:otherwise> … … 549 551 <xsl:choose> 550 552 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> 551 <a href="{$setup}&setappvar=summaryMode(summary)" title=" toggle summary/detailed view">552 <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt=" toggle summary/detailed view"/>553 <a href="{$setup}&setappvar=summaryMode(summary)" title="{$bwStr-SrcB-ToggleSummDetView}"> 554 <img src="{$resourcesRoot}/images/std-button-summary.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 553 555 </a> 554 556 </xsl:when> 555 557 <xsl:otherwise> 556 <a href="{$setup}&setappvar=summaryMode(details)" title=" toggle summary/detailed view">557 <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt=" toggle summary/detailed view"/>558 <a href="{$setup}&setappvar=summaryMode(details)" title="{$bwStr-SrcB-ToggleSummDetView}"> 559 <img src="{$resourcesRoot}/images/std-button-details.gif" width="62" height="21" border="0" alt="{$bwStr-SrcB-ToggleSummDetView}"/> 558 560 </a> 559 561 </xsl:otherwise> … … 585 587 </xsl:variable> 586 588 <h2 class="{$statusClass}"> 587 <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}')" title=" generate link to this event">588 link to this event589 <a id="linkToEvent" href="javascript:showLink('{$urlPrefix}/event/eventView.do?calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}')" title="{$bwStr-SgEv-GenerateLinkToThisEvent}"> 590 <xsl:copy-of select="$bwStr-SgEv-LinkToThisEvent"/> 589 591 </a> 590 <xsl:if test="status='CANCELLED'"> CANCELED:</xsl:if>592 <xsl:if test="status='CANCELLED'"><xsl:copy-of select="$bwStr-SgEv-Canceled"/><xsl:text> </xsl:text></xsl:if> 591 593 <xsl:choose> 592 594 <xsl:when test="link != ''"> … … 603 605 <table id="eventTable" cellpadding="0" cellspacing="0"> 604 606 <tr> 605 <td class="fieldname"> When:</td>607 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-When"/></td> 606 608 <td class="fieldval"> 607 609 <!-- always display local time --> … … 617 619 <xsl:choose> 618 620 <xsl:when test="start/allday = 'true'"> 619 <span class="time"><em> (all day)</em></span>621 <span class="time"><em><xsl:copy-of select="$bwStr-SgEv-AllDay"/></em></span> 620 622 </xsl:when> 621 623 <xsl:when test="end/longdate != start/longdate"> … … 633 635 <xsl:choose> 634 636 <xsl:when test="start/floating = 'true'"> 635 Floating time637 <xsl:copy-of select="$bwStr-SgEv-FloatingTime"/> 636 638 </xsl:when> 637 639 <xsl:otherwise> 638 Local time640 <xsl:copy-of select="$bwStr-SgEv-LocalTime"/> 639 641 </xsl:otherwise> 640 642 </xsl:choose> … … 650 652 <tr> 651 653 <td> 652 <strong> Start:</strong>654 <strong><xsl:copy-of select="$bwStr-SgEv-Start"/></strong> 653 655 </td> 654 656 <td> … … 675 677 <tr> 676 678 <td> 677 <strong> End:</strong>679 <strong><xsl:copy-of select="$bwStr-SgEv-End"/></strong> 678 680 </td> 679 681 <td> … … 713 715 <xsl:choose> 714 716 <xsl:when test="start/allday = 'true'"> 715 <span class="time"><em> (all day)</em></span>717 <span class="time"><em><xsl:copy-of select="$bwStr-SgEv-AllDay"/></em></span> 716 718 </xsl:when> 717 719 <xsl:when test="end/timezone/longdate != start/timezone/longdate"> … … 731 733 <th class="icalIcon" rowspan="2"> 732 734 <div id="eventIcons"> 733 <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title=" Add event to MyCalendar" target="myCalendar">735 <a href="{$privateCal}/event/addEventRef.do?calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" title="{$bwStr-SgEv-AddEventToMyCalendar}" target="myCalendar"> 734 736 <img class="addref" src="{$resourcesRoot}/images/add2mycal-icon.gif" width="20" height="26" border="0" alt="Add event to MyCalendar"/> 735 add to my calendar737 <xsl:copy-of select="$bwStr-SgEv-AddToMyCalendar"/> 736 738 </a> 737 739 <xsl:variable name="eventIcalName" select="concat($guid,'.ics')"/> 738 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title=" Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">740 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="{$bwStr-SgEv-DownloadEvent}"> 739 741 <img src="{$resourcesRoot}/images/std-ical_icon.gif" width="20" height="26" border="0" alt="Download this event"/> 740 download</a>742 <xsl:copy-of select="$bwStr-SgEv-Download"/></a> 741 743 </div> 742 744 </th> 743 745 </tr> 744 746 <tr> 745 <td class="fieldname"> Where:</td>747 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Where"/></td> 746 748 <td class="fieldval"> 747 749 <xsl:choose> … … 762 764 </tr> 763 765 <tr> 764 <td class="fieldname"> Description:</td>766 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Description"/></td> 765 767 <td colspan="2" class="fieldval description"> 766 768 <xsl:if test="xproperties/node()[name()='X-BEDEWORK-IMAGE']"> … … 777 779 <xsl:if test="status !='' and status != 'CONFIRMED'"> 778 780 <tr> 779 <td class="fieldname"> Status:</td>781 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-STATUS"/></td> 780 782 <td class="fieldval"> 781 783 <xsl:value-of select="status"/> … … 785 787 <xsl:if test="cost!=''"> 786 788 <tr> 787 <td class="fieldname"> Cost:</td>789 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Cost"/></td> 788 790 <td colspan="2" class="fieldval"><xsl:value-of select="cost"/></td> 789 791 </tr> … … 791 793 <xsl:if test="link != ''"> 792 794 <tr> 793 <td class="fieldname"> See:</td>795 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-See"/></td> 794 796 <td colspan="2" class="fieldval"> 795 797 <xsl:variable name="link" select="link"/> … … 800 802 <xsl:if test="contact/name!='none'"> 801 803 <tr> 802 <td class="fieldname"> Contact:</td>804 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Contact"/></td> 803 805 <td colspan="2" class="fieldval"> 804 806 <xsl:choose> … … 831 833 <xsl:if test="comments/comment"> 832 834 <tr> 833 <td class="fieldname"> Comments:</td>835 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Comments"/></td> 834 836 <td class="fieldval comments"> 835 837 <xsl:for-each select="comments/comment"> … … 841 843 <xsl:if test="xproperties/X-BEDEWORK-ALIAS"> 842 844 <tr> 843 <td class="fieldname"> Topical Area:</td>845 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-TopicalArea"/></td> 844 846 <td class="fieldval"> 845 847 <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> … … 857 859 <xsl:if test="categories/category"> 858 860 <tr> 859 <td class="fieldname"> Categories:</td>861 <td class="fieldname"><xsl:copy-of select="$bwStr-SgEv-Categories"/></td> 860 862 <td class="fieldval"> 861 863 <xsl:for-each select="categories/category"> … … 886 888 <tr> 887 889 <td class="noEventsCell"> 888 No events to display.890 <xsl:copy-of select="$bwStr-LsVw-NoEventsToDisplay"/> 889 891 </td> 890 892 </tr> … … 926 928 start/shortdate = end/shortdate"> 927 929 <td class="{$dateRangeStyle} center" colspan="3"> 928 all day930 <xsl:copy-of select="$bwStr-LsVw-AllDay"/> 929 931 </td> 930 932 </xsl:when> … … 943 945 <xsl:when test="start/allday = 'true' and 944 946 parent::day/shortdate = start/shortdate"> 945 today947 <xsl:copy-of select="$bwStr-LsVw-Today"/> 946 948 </xsl:when> 947 949 <xsl:when test="parent::day/shortdate != start/shortdate"> … … 963 965 <xsl:when test="end/allday = 'true' and 964 966 parent::day/shortdate = end/shortdate"> 965 today967 <xsl:copy-of select="$bwStr-LsVw-Today"/> 966 968 </xsl:when> 967 969 <xsl:when test="parent::day/shortdate != end/shortdate"> … … 981 983 <xsl:when test="status='CANCELLED'">description bwStatusCancelled</xsl:when> 982 984 <xsl:when test="status='TENTATIVE'">description bwStatusTentative</xsl:when> 983 <xsl:otherwise> description</xsl:otherwise>985 <xsl:otherwise><xsl:copy-of select="$bwStr-LsVw-Description"/></xsl:otherwise> 984 986 </xsl:choose> 985 987 </xsl:variable> … … 994 996 </xsl:variable> 995 997 <td class="{$descriptionClass} {$subscriptionClass}"> 996 <xsl:if test="status='CANCELLED'"><strong> CANCELED:</strong></xsl:if>998 <xsl:if test="status='CANCELLED'"><strong><xsl:copy-of select="$bwStr-LsVw-Canceled"/><xsl:text> </xsl:text></strong></xsl:if> 997 999 <xsl:choose> 998 1000 <xsl:when test="/bedework/appvar[key='summaryMode']/value='details'"> … … 1011 1013 </xsl:if> 1012 1014 <xsl:if test="contact/name!='none'"> 1013 Contact:<xsl:value-of select="contact/name"/>1015 <xsl:copy-of select="$bwStr-LsVw-Contact"/><xsl:text> </xsl:text><xsl:value-of select="contact/name"/> 1014 1016 </xsl:if> 1015 1017 </em> … … 1057 1059 </a> 1058 1060 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 1059 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title=" Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">1060 <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"/>1061 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="{$bwStr-LsVw-DownloadEvent}"> 1062 <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsVw-DownloadEvent}"/> 1061 1063 </a> 1062 1064 </td> … … 1072 1074 <xsl:template match="events" mode="eventList"> 1073 1075 <h2 class="bwStatusConfirmed"> 1074 Next 7 Days1076 <xsl:copy-of select="$bwStr-LsEv-Next7Days"/> 1075 1077 <!-- xsl:choose> 1076 1078 <xsl:when test="/bedework/now/longdate = /bedework/events/event[position()=last()]/start/longdate"><xsl:value-of select="/bedework/now/longdate"/></xsl:when> … … 1083 1085 <xsl:choose> 1084 1086 <xsl:when test="not(event)"> 1085 <li> No events to display.</li>1087 <li><xsl:copy-of select="$bwStr-LsEv-NoEventsToDisplay"/></li> 1086 1088 </xsl:when> 1087 1089 <xsl:otherwise> … … 1099 1101 </xsl:attribute> 1100 1102 1101 <xsl:if test="status='CANCELLED'"><strong> CANCELED:</strong></xsl:if>1102 <xsl:if test="status='TENTATIVE'"><em> TENTATIVE:</em></xsl:if>1103 <xsl:if test="status='CANCELLED'"><strong><xsl:copy-of select="$bwStr-LsEv-Canceled"/><xsl:text> </xsl:text></strong></xsl:if> 1104 <xsl:if test="status='TENTATIVE'"><em><xsl:copy-of select="$bwStr-LsEv-Tentative"/><xsl:text> </xsl:text></em></xsl:if> 1103 1105 1104 1106 <a class="title" href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> … … 1117 1119 <xsl:text> </xsl:text> 1118 1120 <xsl:variable name="eventIcalName" select="concat($id,'.ics')"/> 1119 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title=" Download event as ical - for Outlook, PDAs, iCal, and other desktop calendars">1120 <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"/>1121 <a href="{$export}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}&nocache=no&contentName={$eventIcalName}" title="{$bwStr-LsEv-DownloadEvent}"> 1122 <img src="{$resourcesRoot}/images/std-ical_icon_small.gif" width="12" height="16" border="0" alt="{$bwStr-LsEv-DownloadEvent}"/> 1121 1123 </a> 1122 1124 … … 1157 1159 <xsl:if test="categories/category"> 1158 1160 <br/> 1159 Categories:1161 <xsl:copy-of select="$bwStr-LsEv-Categories"/> 1160 1162 <xsl:for-each select="categories/category"> 1161 1163 <xsl:value-of select="word"/><xsl:if test="position() != last()">, </xsl:if> … … 1168 1170 </xsl:if> 1169 1171 <xsl:if test="contact/name!='none'"> 1170 Contact:<xsl:value-of select="contact/name"/>1172 <xsl:copy-of select="$bwStr-LsEv-Contact"/><xsl:text> </xsl:text><xsl:value-of select="contact/name"/> 1171 1173 </xsl:if> 1172 1174 </em> … … 1283 1285 <li> 1284 1286 <a href="{$eventView}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}" class="{$eventClass} {$subscriptionClass}"> 1285 <xsl:if test="status='CANCELLED'"> CANCELED:</xsl:if>1287 <xsl:if test="status='CANCELLED'"><xsl:copy-of select="$bwStr-EvCG-CanceledColon"/><xsl:text> </xsl:text></xsl:if> 1286 1288 <xsl:choose> 1287 1289 <xsl:when test="start/shortdate != ../shortdate"> 1288 (cont)1290 <xsl:copy-of select="$bwStr-EvCG-Cont"/> 1289 1291 </xsl:when> 1290 1292 <xsl:when test="start/allday = 'false'"> … … 1292 1294 </xsl:when> 1293 1295 <xsl:otherwise> 1294 all day:1296 <xsl:copy-of select="$bwStr-EvCG-AllDayColon"/> 1295 1297 </xsl:otherwise> 1296 1298 </xsl:choose> … … 1303 1305 </xsl:variable> 1304 1306 <span class="{$eventTipClass}"> 1305 <xsl:if test="status='CANCELLED'"><span class="eventTipStatusCancelled"> CANCELED</span></xsl:if>1306 <xsl:if test="status='TENTATIVE'"><span class="eventTipStatusTentative"> TENTATIVE</span></xsl:if>1307 <xsl:if test="status='CANCELLED'"><span class="eventTipStatusCancelled"><xsl:copy-of select="$bwStr-EvCG-Canceled"/></span></xsl:if> 1308 <xsl:if test="status='TENTATIVE'"><span class="eventTipStatusTentative"><xsl:copy-of select="$bwStr-EvCG-Tentative"/></span></xsl:if> 1307 1309 <strong><xsl:value-of select="summary"/></strong><br/> 1308 Time:1310 <xsl:copy-of select="$bwStr-EvCG-Time"/> 1309 1311 <xsl:choose> 1310 1312 <xsl:when test="start/allday = 'true'"> 1311 all day1313 <xsl:copy-of select="$bwStr-EvCG-AllDay"/> 1312 1314 </xsl:when> 1313 1315 <xsl:otherwise> … … 1328 1330 </xsl:choose><br/> 1329 1331 <xsl:if test="location/address"> 1330 Location:<xsl:value-of select="location/address"/><br/>1332 <xsl:copy-of select="$bwStr-EvCG-Location"/><xsl:text> </xsl:text><xsl:value-of select="location/address"/><br/> 1331 1333 </xsl:if> 1332 1334 <xsl:if test="xproperties/X-BEDEWORK-ALIAS"> 1333 Topical Area:1335 <xsl:copy-of select="$bwStr-EvCG-TopicalArea"/> 1334 1336 <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS"> 1335 1337 <xsl:call-template name="substring-afterLastInstanceOf"> … … 1422 1424 <tr> 1423 1425 <th colspan="2"> 1424 All Topical Areas1426 <xsl:copy-of select="$bwStr-Cals-AllTopicalAreas"/> 1425 1427 </th> 1426 1428 </tr> … … 1428 1430 <td colspan="2" class="infoCell"> 1429 1431 <p class="info"> 1430 Select a topical area from the list below to see only its events.1432 <xsl:copy-of select="$bwStr-Cals-SelectTopicalArea"/> 1431 1433 </p> 1432 1434 </td> … … 1451 1453 <xsl:variable name="itemClass"> 1452 1454 <xsl:choose> 1453 <xsl:when test="calType = '0'"> folder</xsl:when>1454 <xsl:otherwise> calendar</xsl:otherwise>1455 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Calr-Folder"/></xsl:when> 1456 <xsl:otherwise><xsl:copy-of select="$bwStr-Calr-Calendar"/></xsl:otherwise> 1455 1457 </xsl:choose> 1456 1458 </xsl:variable> … … 1475 1477 <!-- calendar export page --> 1476 1478 <xsl:template match="currentCalendar" mode="export"> 1477 <h2 class="bwStatusConfirmed"> Export Calendar</h2>1479 <h2 class="bwStatusConfirmed"><xsl:copy-of select="$bwStr-Cals-ExportCalendar"/></h2> 1478 1480 <div id="export"> 1479 1481 <p> 1480 <strong> Calendar to export:</strong>1482 <strong><xsl:copy-of select="$bwStr-Cals-ExportCals"/></strong> 1481 1483 </p> 1482 1484 <div class="indent"> 1483 Name:<strong><em><xsl:value-of select="name"/></em></strong><br/>1484 Path: <xsl:value-of select="path"/>1485 <xsl:copy-of select="$bwStr-Cals-Name"/><xsl:text> </xsl:text><strong><em><xsl:value-of select="name"/></em></strong><br/> 1486 Path:<xsl:text> </xsl:text><xsl:value-of select="path"/> 1485 1487 </div> 1486 1488 <p> 1487 <strong> Event date limits:</strong>1489 <strong><xsl:copy-of select="$bwStr-Cals-EventDateLimits"/></strong> 1488 1490 </p> 1489 1491 <form name="exportCalendarForm" id="exportCalendarForm" action="{$export}" method="post"> … … 1504 1506 </input> 1505 1507 <!-- visible fields --> 1506 <input type="radio" name="dateLimits" value="active" checked="checked" onclick="changeClass('exportDateRange','invisible')"/> today forward1507 <input type="radio" name="dateLimits" value="none" onclick="changeClass('exportDateRange','invisible')"/> all dates1508 <input type="radio" name="dateLimits" value="limited" onclick="changeClass('exportDateRange','visible')"/> date range1508 <input type="radio" name="dateLimits" value="active" checked="checked" onclick="changeClass('exportDateRange','invisible')"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Cals-TodayForward"/> 1509 <input type="radio" name="dateLimits" value="none" onclick="changeClass('exportDateRange','invisible')"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Cals-AllDates"/> 1510 <input type="radio" name="dateLimits" value="limited" onclick="changeClass('exportDateRange','visible')"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Cals-DateRange"/> 1509 1511 <div id="exportDateRange" class="invisible"> 1510 Start:<input type="text" name="bwExportCalendarWidgetStartDate" id="bwExportCalendarWidgetStartDate" size="10"/>1511 <span id="bwExportEndField"> End:<input type="text" name="bwExportCalendarWidgetEndDate" id="bwExportCalendarWidgetEndDate" size="10"/></span>1512 <xsl:copy-of select="$bwStr-Cals-Start"/><xsl:text> </xsl:text><input type="text" name="bwExportCalendarWidgetStartDate" id="bwExportCalendarWidgetStartDate" size="10"/> 1513 <span id="bwExportEndField"><xsl:copy-of select="$bwStr-Cals-End"/><xsl:text> </xsl:text><input type="text" name="bwExportCalendarWidgetEndDate" id="bwExportCalendarWidgetEndDate" size="10"/></span> 1512 1514 </div> 1513 <p><input type="submit" value=" export" class="bwWidgetSubmit" onclick="fillExportFields(this.form)"/></p>1515 <p><input type="submit" value="{$bwStr-Cals-Export}" class="bwWidgetSubmit" onclick="fillExportFields(this.form)"/></p> 1514 1516 </form> 1515 1517 </div> … … 1521 1523 <div id="searchFilter"> 1522 1524 <form name="searchForm" method="post" action="{$search}"> 1523 Search:1525 <xsl:copy-of select="$bwStr-Srch-Search"/> 1524 1526 <input type="text" name="query" size="15"> 1525 1527 <xsl:attribute name="value"><xsl:value-of select="/bedework/searchResults/query"/></xsl:attribute> 1526 1528 </input> 1527 <input type="submit" name="submit" value=" go"/>1528 Limit:1529 <input type="submit" name="submit" value="{$bwStr-Srch-Go}"/> 1530 <xsl:copy-of select="$bwStr-Srch-Limit"/> 1529 1531 <xsl:choose> 1530 1532 <xsl:when test="/bedework/searchResults/searchLimits = 'beforeToday'"> 1531 <input type="radio" name="searchLimits" value="fromToday"/> today forward1532 <input type="radio" name="searchLimits" value="beforeToday" checked="checked"/> past dates1533 <input type="radio" name="searchLimits" value="none"/> all dates1533 <input type="radio" name="searchLimits" value="fromToday"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 1534 <input type="radio" name="searchLimits" value="beforeToday" checked="checked"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 1535 <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 1534 1536 </xsl:when> 1535 1537 <xsl:when test="/bedework/searchResults/searchLimits = 'none'"> 1536 <input type="radio" name="searchLimits" value="fromToday"/> today forward1537 <input type="radio" name="searchLimits" value="beforeToday"/> past dates1538 <input type="radio" name="searchLimits" value="none" checked="checked"/> all dates1538 <input type="radio" name="searchLimits" value="fromToday"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 1539 <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 1540 <input type="radio" name="searchLimits" value="none" checked="checked"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 1539 1541 </xsl:when> 1540 1542 <xsl:otherwise> 1541 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/> today forward1542 <input type="radio" name="searchLimits" value="beforeToday"/> past dates1543 <input type="radio" name="searchLimits" value="none"/> all dates1543 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 1544 <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 1545 <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 1544 1546 </xsl:otherwise> 1545 1547 </xsl:choose> 1546 1548 </form> 1547 1549 </div> 1548 Search Result1550 <xsl:copy-of select="$bwStr-Srch-SearchResult"/> 1549 1551 </h2> 1550 1552 <table id="searchTable" cellpadding="0" cellspacing="0"> … … 1554 1556 <xsl:variable name="curPage" select="/bedework/searchResults/curPage"/> 1555 1557 <div id="searchPageForm"> 1556 page:1558 <xsl:copy-of select="$bwStr-Srch-Page"/> 1557 1559 <xsl:if test="/bedework/searchResults/curPage != 1"> 1558 1560 <xsl:variable name="prevPage" select="number($curPage) - 1"/> 1559 <<a href="{$search-next}&pageNum={$prevPage}"> prev</a>1561 <<a href="{$search-next}&pageNum={$prevPage}"><xsl:copy-of select="$bwStr-Srch-Prev"/></a> 1560 1562 </xsl:if> 1561 1563 <xsl:text> </xsl:text> … … 1574 1576 <xsl:when test="$curPage != /bedework/searchResults/numPages"> 1575 1577 <xsl:variable name="nextPage" select="number($curPage) + 1"/> 1576 <a href="{$search-next}&pageNum={$nextPage}"> next</a>>1578 <a href="{$search-next}&pageNum={$nextPage}"><xsl:copy-of select="$bwStr-Srch-Next"/></a>> 1577 1579 </xsl:when> 1578 1580 <xsl:otherwise> 1579 <span class="hidden"> next></span><!-- occupy the space to keep the navigation from moving around -->1581 <span class="hidden"><xsl:copy-of select="$bwStr-Srch-Next"/>></span><!-- occupy the space to keep the navigation from moving around --> 1580 1582 </xsl:otherwise> 1581 1583 </xsl:choose> … … 1583 1585 </xsl:if> 1584 1586 <xsl:value-of select="/bedework/searchResults/resultSize"/> 1585 result<xsl:if test="/bedework/searchResults/resultSize != 1">s</xsl:if> returned 1586 for <em><xsl:value-of select="/bedework/searchResults/query"/></em> 1587 <xsl:copy-of select="$bwStr-Srch-ResultReturnedFor"/><xsl:text> </xsl:text><em><xsl:value-of select="/bedework/searchResults/query"/></em> 1587 1588 </th> 1588 1589 </tr> … … 1590 1591 <tr class="fieldNames"> 1591 1592 <td> 1592 relevance1593 <xsl:copy-of select="$bwStr-Srch-Relevance"/> 1593 1594 </td> 1594 1595 <td> 1595 summary1596 <xsl:copy-of select="$bwStr-Srch-Summary"/> 1596 1597 </td> 1597 1598 <td> 1598 date & time1599 <xsl:copy-of select="$bwStr-Srch-DateAndTime"/> 1599 1600 </td> 1600 1601 <td> 1601 calendar1602 <xsl:copy-of select="$bwStr-Srch-Calendar"/> 1602 1603 </td> 1603 1604 <td> 1604 location1605 <xsl:copy-of select="$bwStr-Srch-Location"/> 1605 1606 </td> 1606 1607 </tr> … … 1682 1683 <xsl:template name="stats"> 1683 1684 <div id="stats"> 1684 <h2> System Statistics</h2>1685 <h2><xsl:copy-of select="$bwStr-Stat-SysStats"/></h2> 1685 1686 1686 1687 <p> 1687 Stats collection:1688 <xsl:copy-of select="$bwStr-Stat-StatsCollection"/> 1688 1689 </p> 1689 1690 <ul> 1690 1691 <li> 1691 <a href="{$stats}&enable=yes"> enable</a> |1692 <a href="{$stats}&disable=yes"> disable</a>1692 <a href="{$stats}&enable=yes"><xsl:copy-of select="$bwStr-Stat-Enable"/></a> | 1693 <a href="{$stats}&disable=yes"><xsl:copy-of select="$bwStr-Stat-Disable"/></a> 1693 1694 </li> 1694 <li><a href="{$stats}&fetch=yes"> fetch statistics</a></li>1695 <li><a href="{$stats}&dump=yes"> dump stats to log</a></li>1695 <li><a href="{$stats}&fetch=yes"><xsl:copy-of select="$bwStr-Stat-FetchStats"/></a></li> 1696 <li><a href="{$stats}&dump=yes"><xsl:copy-of select="$bwStr-Stat-DumpStats"/></a></li> 1696 1697 </ul> 1697 1698 <table id="statsTable" cellpadding="0"> … … 1725 1726 <xsl:template name="footer"> 1726 1727 <div id="footer"> 1727 Based on the <a href="http://www.bedework.org/">Bedework Calendar System</a>1728 <xsl:copy-of select="$bwStr-Foot-BasedOnThe"/><xsl:text> </xsl:text><a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkCalendarSystem"/></a> 1728 1729 </div> 1729 1730 <table id="skinSelectorTable" border="0" cellpadding="0" cellspacing="0"> 1730 1731 <tr> 1731 1732 <td class="leftCell"> 1732 <a href="http://www.bedework.org/"> Bedework website</a> |1733 <a href="http://www.bedework.org/bedework/update.do?artcenterkey=35"> production examples</a> |1734 <a href="?noxslt=yes"> show XML</a> |1735 <a href="?refreshXslt=yes"> refresh XSLT</a>1733 <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 1734 <a href="http://www.bedework.org/bedework/update.do?artcenterkey=35"><xsl:copy-of select="$bwStr-Foot-ProductionExamples"/></a> | 1735 <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 1736 <a href="?refreshXslt=yes"><xsl:copy-of select="$bwStr-Foot-RefreshXSLT"/></a> 1736 1737 </td> 1737 1738 <td class="rightCell">
