Changeset 2359
- Timestamp:
- 08/18/09 17:36:01
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r2309 r2359 50 50 <xsl:include href="../../../bedework-common/default/default/util.xsl"/> 51 51 <xsl:include href="../../../bedework-common/default/default/bedeworkAccess.xsl"/> 52 <xsl:include href="./strings.xsl"/> 52 53 53 54 <!-- DEFINE GLOBAL CONSTANTS --> … … 228 229 <html lang="en"> 229 230 <head> 230 <title> Calendar Admin: Public Events Administration</title>231 <title><xsl:copy-of select="$bwStr-Root-PageTitle"/></title> 231 232 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> 232 233 <link rel="stylesheet" href="{$resourcesRoot}/default/default/default.css"/> … … 530 531 </xsl:when> 531 532 <xsl:when test="/bedework/page='noGroup'"> 532 <h2>No administrative group</h2> 533 <p>Your userid has not been assigned to an administrative group. 534 Please inform your administrator.</p> 533 <h2><xsl:copy-of select="$bwStr-Root-NoAdminGroup"/></h2> 534 <p><xsl:copy-of select="$bwStr-Root-YourUseridNotAssigned"/></p> 535 535 </xsl:when> 536 536 <xsl:when test="/bedework/page='upload'"> … … 544 544 </xsl:when> 545 545 <xsl:when test="/bedework/page='noAccess'"> 546 <h2> No Access</h2>546 <h2><xsl:copy-of select="$bwStr-Root-NoAccess"/></h2> 547 547 <p> 548 You have no access to the action you just attempted. If you believe 549 you should have access and the problem persists, contact your 550 administrator. 548 <xsl:copy-of select="$bwStr-Root-YouHaveNoAccess"/> 551 549 </p> 552 550 <p> 553 <a href="{$setup}"> continue</a>551 <a href="{$setup}"><xsl:copy-of select="$bwStr-Root-Continue"/></a> 554 552 </p> 555 553 </xsl:when> 556 554 <xsl:when test="/bedework/page='error'"> 557 <h2> Application error</h2>558 <p> An application error occurred.</p>555 <h2><xsl:copy-of select="$bwStr-Root-AppError"/></h2> 556 <p><xsl:copy-of select="$bwStr-Root-AppErrorOccurred"/></p> 559 557 <p> 560 <a href="{$setup}"> continue</a>558 <a href="{$setup}"><xsl:copy-of select="$bwStr-Root-Continue"/></a> 561 559 </p> 562 560 </xsl:when> … … 589 587 </a> 590 588 <h1> 591 Bedework Public Events Administration589 <xsl:copy-of select="$bwStr-Head-BedeworkPubEventsAdmin"/> 592 590 </h1> 593 591 </div> … … 596 594 <tr> 597 595 <td class="leftCell"> 598 Calendar Suite:596 <xsl:copy-of select="$bwStr-Head-CalendarSuite"/><xsl:text> </xsl:text> 599 597 <span class="status"> 600 598 <xsl:choose> … … 603 601 </xsl:when> 604 602 <xsl:otherwise> 605 none603 <xsl:copy-of select="$bwStr-Head-None"/> 606 604 </xsl:otherwise> 607 605 </xsl:choose> … … 612 610 <td class="rightCell"> 613 611 <span id="groupDisplay"> 614 Group:612 <xsl:copy-of select="$bwStr-Head-Group"/><xsl:text> </xsl:text> 615 613 <span class="status"> 616 614 <xsl:choose> … … 619 617 </xsl:when> 620 618 <xsl:otherwise> 621 none619 <xsl:copy-of select="$bwStr-Head-None"/> 622 620 </xsl:otherwise> 623 621 </xsl:choose> … … 625 623 <xsl:text> </xsl:text> 626 624 <xsl:if test="(/bedework/userInfo/group and /bedework/userInfo/oneGroup = 'false') or /bedework/userInfo/superUser = 'true'"> 627 <a href="{$admingroup-switch}" class="fieldInfo"> change</a>625 <a href="{$admingroup-switch}" class="fieldInfo"><xsl:copy-of select="$bwStr-Head-Change"/></a> 628 626 </xsl:if> 629 627 <xsl:text> </xsl:text> 630 628 </span> 631 Logged in as:629 <xsl:copy-of select="$bwStr-Head-LoggedInAs"/><xsl:text> </xsl:text> 632 630 <span class="status"> 633 631 <xsl:value-of select="/bedework/userInfo/currentUser"/> 634 632 </span> 635 633 <xsl:text> </xsl:text> 636 <a href="{$logout}" id="bwLogoutButton" class="fieldInfo"> log out</a>634 <a href="{$logout}" id="bwLogoutButton" class="fieldInfo"><xsl:copy-of select="$bwStr-Head-LogOut"/></a> 637 635 </td> 638 636 </xsl:if> … … 645 643 <xsl:attribute name="class">selected</xsl:attribute> 646 644 </xsl:if> 647 <a href="{$setup}&listAllEvents=false"> Main Menu</a>645 <a href="{$setup}&listAllEvents=false"><xsl:copy-of select="$bwStr-Head-MainMenu"/></a> 648 646 </li> 649 647 <li> … … 651 649 <xsl:attribute name="class">selected</xsl:attribute> 652 650 </xsl:if> 653 <a href="{$initPendingTab}&calPath={$submissionsRootEncoded}&listAllEvents=true"> Pending Events</a>651 <a href="{$initPendingTab}&calPath={$submissionsRootEncoded}&listAllEvents=true"><xsl:copy-of select="$bwStr-Head-PendingEvents"/></a> 654 652 </li> 655 653 <xsl:if test="/bedework/currentCalSuite/group = /bedework/userInfo/group"> … … 659 657 <xsl:attribute name="class">selected</xsl:attribute> 660 658 </xsl:if> 661 <a href="{$showCalsuiteTab}"> Calendar Suite</a>659 <a href="{$showCalsuiteTab}"><xsl:copy-of select="$bwStr-Head-CalendarSuite"/></a> 662 660 </li> 663 661 </xsl:if> … … 668 666 <xsl:attribute name="class">selected</xsl:attribute> 669 667 </xsl:if> 670 <a href="{$showUsersTab}"> Users</a>668 <a href="{$showUsersTab}"><xsl:copy-of select="$bwStr-Head-Users"/></a> 671 669 </li> 672 670 <li> … … 674 672 <xsl:attribute name="class">selected</xsl:attribute> 675 673 </xsl:if> 676 <a href="{$showSystemTab}"> System</a>674 <a href="{$showSystemTab}"><xsl:copy-of select="$bwStr-Head-System"/></a> 677 675 </li> 678 676 </xsl:if> … … 709 707 <xsl:if test="/bedework/userInfo/superUser = 'true'"> 710 708 <p class="note"> 711 <strong>You are logged in as superuser.</strong><br/> 712 Common event administration is best performed as a typical event administrator. 709 <xsl:copy-of select="$bwStr-MMnu-LoggedInAs"/> 713 710 </p> 714 711 </xsl:if> … … 720 717 <a id="addEventLink" href="{$event-initAddEvent}"> 721 718 <xsl:if test="not(/bedework/currentCalSuite/name)"> 722 <xsl:attribute name="onclick">alert( 'You must be operating in the context of a calendar suite\nto add or manage events.\n\nYour current group is neither associated with a calendar suite\nnor a child of a group associated with a calendar suite.');return false;</xsl:attribute>719 <xsl:attribute name="onclick">alert("{$bwStr-MMnu-YouMustBeOperating}");return false;</xsl:attribute> 723 720 </xsl:if> 724 721 <img src="{$resourcesRoot}/resources/bwAdminAddEventIcon.jpg" width="140" height="140" alt="Add Event" border="0"/> 725 <br/> Add Event722 <br/><xsl:copy-of select="$bwStr-MMnu-AddEvent"/> 726 723 </a> 727 724 </td> … … 729 726 <a id="addContactLink" href="{$contact-initAdd}"> 730 727 <img src="{$resourcesRoot}/resources/bwAdminAddContactIcon.jpg" width="100" height="100" alt="Add Event" border="0"/> 731 <br/> Add Contact728 <br/><xsl:copy-of select="$bwStr-MMnu-AddContact"/> 732 729 </a> 733 730 </td> … … 735 732 <a id="addLocationLink" href="{$location-initAdd}"> 736 733 <img src="{$resourcesRoot}/resources/bwAdminAddLocationIcon.jpg" width="100" height="100" alt="Add Event" border="0"/> 737 <br/> Add Location734 <br/><xsl:copy-of select="$bwStr-MMnu-AddLocation"/> 738 735 </a> 739 736 </td> … … 746 743 <a id="addCategoryLink" href="{$category-initAdd}"> 747 744 <img src="{$resourcesRoot}/resources/bwAdminAddCategoryIcon.jpg" width="100" height="100" alt="Add Event" border="0"/> 748 <br/> Add Category745 <br/><xsl:copy-of select="$bwStr-MMnu-AddCategory"/> 749 746 </a> 750 747 </td> … … 756 753 <a href="{$event-initUpdateEvent}"> 757 754 <xsl:if test="not(/bedework/currentCalSuite/name)"> 758 <xsl:attribute name="onclick">alert( 'You must be operating in the context of a calendar suite\nto add or manage events.\n\nYour current group is neither associated with a calendar suite\nnor a child of a group associated with a calendar suite.');return false;</xsl:attribute>755 <xsl:attribute name="onclick">alert("{$bwStr-MMnu-YouMustBeOperating}");return false;</xsl:attribute> 759 756 </xsl:if> 760 757 <img src="{$resourcesRoot}/resources/bwAdminManageEventsIcon.jpg" width="100" height="73" alt="Manage Events" border="0"/> 761 <br/> Manage Events758 <br/><xsl:copy-of select="$bwStr-MMnu-ManageEvents"/> 762 759 </a> 763 760 </td> … … 765 762 <a href="{$contact-initUpdate}"> 766 763 <img src="{$resourcesRoot}/resources/bwAdminManageContactsIcon.jpg" width="100" height="73" alt="Manage Contacts" border="0"/> 767 <br/> Manage Contacts764 <br/><xsl:copy-of select="$bwStr-MMnu-ManageContacts"/> 768 765 </a> 769 766 </td> … … 771 768 <a href="{$location-initUpdate}"> 772 769 <img src="{$resourcesRoot}/resources/bwAdminManageLocsIcon.jpg" width="100" height="73" alt="Manage Locations" border="0"/> 773 <br/> Manage Locations770 <br/><xsl:copy-of select="$bwStr-MMnu-ManageLocations"/> 774 771 </a> 775 772 </td> … … 782 779 <a href="{$category-initUpdate}"> 783 780 <img src="{$resourcesRoot}/resources/bwAdminManageCatsIcon.jpg" width="100" height="73" alt="Manage Categories" border="0"/> 784 <br/> Manage Categories781 <br/><xsl:copy-of select="$bwStr-MMnu-ManageCategories"/> 785 782 </a> 786 783 </td> … … 791 788 792 789 <div id="mainMenuEventSearch"> 793 <h4 class="menuTitle"> Event search:</h4>790 <h4 class="menuTitle"><xsl:copy-of select="$bwStr-MMnu-EventSearch"/></h4> 794 791 <form name="searchForm" method="post" action="{$search}" id="searchForm"> 795 792 <input type="text" name="query" size="30"> 796 793 <xsl:attribute name="value"><xsl:value-of select="/bedework/searchResults/query"/></xsl:attribute> 797 794 </input> 798 <input type="submit" name="submit" value=" go"/>795 <input type="submit" name="submit" value="{$bwStr-MMnu-Go}"/> 799 796 <div id="searchFields"> 800 Limit:801 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/> today forward802 <input type="radio" name="searchLimits" value="beforeToday"/> past dates803 <input type="radio" name="searchLimits" value="none"/> all dates797 <xsl:copy-of select="$bwStr-MMnu-Limit"/> 798 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/><xsl:copy-of select="$bwStr-MMnu-TodayForward"/> 799 <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-MMnu-PastDates"/> 800 <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-MMnu-AddDates"/> 804 801 </div> 805 802 </form> … … 809 806 <!--+++++++++++++++ Pending Events Tab ++++++++++++++++++++--> 810 807 <xsl:template name="tabPendingEvents"> 811 <h2> Pending Events</h2>812 <p> The following events are awaiting moderation:</p>808 <h2><xsl:copy-of select="$bwStr-TaPE-PendingEvents"/></h2> 809 <p><xsl:copy-of select="$bwStr-TaPE-EventsAwaitingModeration"/></p> 813 810 <xsl:call-template name="eventListCommon"> 814 811 <xsl:with-param name="pending">true</xsl:with-param> … … 820 817 <xsl:if test="/bedework/currentCalSuite/currentAccess/current-user-privilege-set/privilege/write or /bedework/userInfo/superUser='true'"> 821 818 <h2> 822 Manage Calendar Suite819 <xsl:copy-of select="$bwStr-TaCS-ManageCalendarSuite"/> 823 820 </h2> 824 821 825 822 <div id="calSuiteTitle"> 826 Calendar Suite:823 <xsl:copy-of select="$bwStr-TaCS-CalendarSuite"/><xsl:text> </xsl:text> 827 824 <strong><xsl:value-of select="/bedework/currentCalSuite/name"/></strong> 828 825 <xsl:text> </xsl:text> 829 Group:826 <xsl:copy-of select="$bwStr-TaCS-Group"/><xsl:text> </xsl:text> 830 827 <strong><xsl:value-of select="/bedework/currentCalSuite/group"/></strong> 831 828 <xsl:text> </xsl:text> 832 <a href="{$admingroup-switch}" class="fieldInfo"> change</a>829 <a href="{$admingroup-switch}" class="fieldInfo"><xsl:copy-of select="$bwStr-TaCS-Change"/></a> 833 830 </div> 834 831 <ul class="adminMenu"> 835 832 <li> 836 833 <a href="{$subscriptions-fetch}" title="subscriptions to calendars"> 837 Manage subscriptions834 <xsl:copy-of select="$bwStr-TaCS-ManageSubscriptions"/> 838 835 </a> 839 836 </li> 840 837 <li> 841 838 <a href="{$view-fetch}" title="collections of subscriptions"> 842 Manage views839 <xsl:copy-of select="$bwStr-TaCS-ManageViews"/> 843 840 </a> 844 841 </li> 845 842 <li> 846 843 <a href="{$calsuite-fetchPrefsForUpdate}" title="calendar suite defaults such as viewperiod and view"> 847 Manage preferences844 <xsl:copy-of select="$bwStr-TaCS-ManagePreferences"/> 848 845 </a> 849 846 </li> … … 855 852 <xsl:template name="tabUsers"> 856 853 <xsl:if test="/bedework/userInfo/superUser='true'"> 857 <h2> Manage Users & Groups</h2>854 <h2><xsl:copy-of select="$bwStr-TaUs-ManageUsersAndGroups"/></h2> 858 855 <ul class="adminMenu"> 859 856 <!-- deprecated (for now, likely permanent) --> … … 868 865 <li class="groups"> 869 866 <a href="{$admingroup-initUpdate}"> 870 Manage admin groups867 <xsl:copy-of select="$bwStr-TaUs-ManageAdminGroups"/> 871 868 </a> 872 869 </li> … … 874 871 <li class="changeGroup"> 875 872 <a href="{$admingroup-switch}"> 876 Change group...873 <xsl:copy-of select="$bwStr-TaUs-ChangeGroup"/> 877 874 </a> 878 875 </li> … … 880 877 <li class="user"> 881 878 <form action="{$prefs-fetchForUpdate}" method="post"> 882 Edit user preferences (enter userid):<br/>879 <xsl:copy-of select="$bwStr-TaUs-EditUsersPrefs"/><br/> 883 880 <input type="text" name="user" size="15"/> 884 <input type="submit" name="getPrefs" value=" go"/>881 <input type="submit" name="getPrefs" value="{$bwStr-TaUs-Go}"/> 885 882 </form> 886 883 </li> … … 893 890 <xsl:template name="tabSystem"> 894 891 <xsl:if test="/bedework/userInfo/superUser='true'"> 895 <h2> Manage System</h2>892 <h2><xsl:copy-of select="$bwStr-TaSy-ManageSys"/></h2> 896 893 <ul class="adminMenu strong"> 897 894 <li class="calendar"> 898 895 <a href="{$calendar-fetch}"> 899 Manage calendars & folders896 <xsl:copy-of select="$bwStr-TaSy-ManageCalsAndFolders"/> 900 897 </a> 901 898 </li> 902 899 <li class="categories"> 903 900 <a href="{$category-initUpdate}"> 904 Manage categories901 <xsl:copy-of select="$bwStr-TaSy-ManageCategories"/> 905 902 </a> 906 903 </li> 907 904 <li class="calsuites"> 908 905 <a href="{$calsuite-fetch}"> 909 Manage calendar suites906 <xsl:copy-of select="$bwStr-TaSy-ManageCalSuites"/> 910 907 </a> 911 908 </li> 912 909 <li class="upload"> 913 910 <a href="{$event-initUpload}"> 914 Upload ical file911 <xsl:copy-of select="$bwStr-TaSy-UploadICalFile"/> 915 912 </a> 916 913 </li> … … 919 916 <li class="prefs"> 920 917 <a href="{$system-fetch}"> 921 Manage system preferences918 <xsl:copy-of select="$bwStr-TaSy-ManageSysPrefs"/> 922 919 </a> 923 920 </li> 924 921 <li class="timezones"> 925 922 <a href="{$timezones-initUpload}"> 926 Manage system timezones923 <xsl:copy-of select="$bwStr-TaSy-ManageSysTZs"/> 927 924 </a> 928 925 </li> … … 930 927 <ul class="adminMenu"> 931 928 <li> 932 Statistics:929 <xsl:copy-of select="$bwStr-TaSy-Stats"/> 933 930 <ul> 934 931 <li> 935 932 <a href="{$stats-update}&fetch=yes" target="adminStats"> 936 admin web client933 <xsl:copy-of select="$bwStr-TaSy-AdminWebClient"/> 937 934 </a> 938 935 </li> 939 936 <li> 940 937 <a href="{$publicCal}/stats/stats.do?fetch=yes" target="pubStats"> 941 public web client938 <xsl:copy-of select="$bwStr-TaSy-PublicWebClient"/> 942 939 </a> 943 940 </li> … … 948 945 <li> 949 946 <a href="{$filter-showAddForm}"> 950 Manage CalDAV filters947 <xsl:copy-of select="$bwStr-TaSy-ManageCalDAVFilters"/> 951 948 </a> 952 949 </li> … … 957 954 <!--++++++++++++++++++ Events ++++++++++++++++++++--> 958 955 <xsl:template name="eventList"> 959 <h2> Manage Events</h2>956 <h2><xsl:copy-of select="$bwStr-EvLs-ManageEvents"/></h2> 960 957 <p> 961 Select the event that you would like to update:962 <input type="button" name="return" value=" Add new event" onclick="javascript:location.replace('{$event-initAddEvent}')"/>958 <xsl:copy-of select="$bwStr-EvLs-SelectEvent"/> 959 <input type="button" name="return" value="{$bwStr-EvLs-PageTitle}" onclick="javascript:location.replace('{$event-initAddEvent}')"/> 963 960 </p> 964 961 965 962 <div id="bwEventListControls"> 966 963 <form name="calForm" id="bwManageEventListControls" method="post" action="{$event-initUpdateEvent}"> 967 Show:964 <xsl:copy-of select="$bwStr-EvLs-Show"/> 968 965 <xsl:copy-of select="/bedework/formElements/form/listAllSwitchFalse/*"/> 969 Active966 <xsl:copy-of select="$bwStr-EvLs-Active"/> 970 967 <xsl:copy-of select="/bedework/formElements/form/listAllSwitchTrue/*"/> 971 All968 <xsl:copy-of select="$bwStr-EvLs-All"/> 972 969 </form> 973 970 … … 975 972 id="bwFilterEventsForm" 976 973 action="{$event-initUpdateEvent}"> 977 Filter by:974 <xsl:copy-of select="$bwStr-EvLs-FilterBy"/> 978 975 <select name="setappvar" onchange="this.form.submit();"> 979 <option value="catFilter(none)"> select a category</option>976 <option value="catFilter(none)"><xsl:copy-of select="$bwStr-EvLs-SelectCategory"/></option> 980 977 <xsl:for-each select="/bedework/events//event/categories//category[generate-id() = generate-id(key('catUid',uid)[1])]"> 981 978 <xsl:variable name="uid" select="uid"/> … … 989 986 </select> 990 987 <xsl:if test="/bedework/appvar[key='catFilter'] and /bedework/appvar[key='catFilter']/value != 'none'"> 991 <input type="submit" value=" clear filter" onclick="this.form.setappvar.selectedIndex = 0"/>988 <input type="submit" value="{$bwStr-EvLs-ClearFilter}" onclick="this.form.setappvar.selectedIndex = 0"/> 992 989 </xsl:if> 993 990 </form> … … 1000 997 <table id="commonListTable"> 1001 998 <tr> 1002 <th> Title</th>999 <th><xsl:copy-of select="$bwStr-EvLC-Title"/></th> 1003 1000 <xsl:if test="$pending = 'true'"> 1004 <th> Claimed By</th>1001 <th><xsl:copy-of select="$bwStr-EvLC-ClaimedBy"/></th> 1005 1002 </xsl:if> 1006 <th> Start</th>1007 <th> End</th>1003 <th><xsl:copy-of select="$bwStr-EvLC-Start"/></th> 1004 <th><xsl:copy-of select="$bwStr-EvLC-End"/></th> 1008 1005 <th> 1009 <xsl:if test="$pending = 'true'"> Suggested</xsl:if>1010 Topical Areas1006 <xsl:if test="$pending = 'true'"><xsl:copy-of select="$bwStr-EvLC-Suggested"/><xsl:text> </xsl:text></xsl:if> 1007 <xsl:copy-of select="$bwStr-EvLC-TopicalAreas"/> 1011 1008 </th> 1012 1009 <xsl:if test="$pending = 'false'"> 1013 <th> Categories</th>1010 <th><xsl:copy-of select="$bwStr-EvLC-Categories"/></th> 1014 1011 </xsl:if> 1015 <th> Description</th>1012 <th><xsl:copy-of select="$bwStr-EvLC-Description"/></th> 1016 1013 </tr> 1017 1014 … … 1052 1049 </xsl:when> 1053 1050 <xsl:otherwise> 1054 <em> no title</em>1051 <em><xsl:copy-of select="$bwStr-EvLC-NoTitle"/></em> 1055 1052 </xsl:otherwise> 1056 1053 </xsl:choose> … … 1063 1060 </xsl:when> 1064 1061 <xsl:otherwise> 1065 <em> no title</em>1062 <em><xsl:copy-of select="$bwStr-EvLC-NoTitle"/></em> 1066 1063 </xsl:otherwise> 1067 1064 </xsl:choose> … … 1077 1074 </xsl:when> 1078 1075 <xsl:otherwise> 1079 <em> no title</em>1076 <em><xsl:copy-of select="$bwStr-EvLC-NoTitle"/></em> 1080 1077 </xsl:otherwise> 1081 1078 </xsl:choose> … … 1094 1091 </xsl:when> 1095 1092 <xsl:otherwise> 1096 <td class="unclaimed"> unclaimed</td>1093 <td class="unclaimed"><xsl:copy-of select="$bwStr-EvLC-Unclaimed"/></td> 1097 1094 </xsl:otherwise> 1098 1095 </xsl:choose> … … 1125 1122 <xsl:variable name="tagsId">bwTags-<xsl:value-of select="guid"/></xsl:variable> 1126 1123 <div class="bwEventListOtherGroupTags"> 1127 <strong> This event is cross-tagged.</strong><br/>1124 <strong><xsl:copy-of select="$bwStr-EvLC-ThisEventCrossTagged"/></strong><br/> 1128 1125 <input type="checkbox" name="tagsToggle" value="" onclick="toggleVisibility('{$tagsId}','bwOtherTags')"/> 1129 Show tags by other groups1126 <xsl:copy-of select="$bwStr-EvLC-ShowTagsByOtherGroups"/> 1130 1127 <div id="{$tagsId}" class="invisible"> 1131 1128 <xsl:for-each select="xproperties/X-BEDEWORK-ALIAS[not(contains(values/text,/bedework/currentCalSuite/resourcesHome))]"> … … 1149 1146 <xsl:if test="recurring = 'true' or recurrenceId != ''"> 1150 1147 <div class="recurrenceEditLinks"> 1151 Recurring event. 1152 Edit: 1148 <xsl:copy-of select="$bwStr-EvLC-RecurringEventEdit"/> 1153 1149 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}"> 1154 master1150 <xsl:copy-of select="$bwStr-EvLC-Master"/> 1155 1151 </a> | 1156 1152 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 1157 instance1153 <xsl:copy-of select="$bwStr-EvLC-Instance"/> 1158 1154 </a> 1159 1155 </div> … … 1182 1178 </xsl:variable> 1183 1179 1184 <h2> Event Information</h2>1180 <h2><xsl:copy-of select="$bwStr-AEEF-EventInfo"/></h2> 1185 1181 1186 1182 <xsl:if test="$canEdit = 'false'"> 1187 <p> You may tag this event by selecting topical areas below.</p>1183 <p><xsl:copy-of select="$bwStr-AEEF-YouMayTag"/></p> 1188 1184 </xsl:if> 1189 1185 … … 1207 1203 <div id="bwSubmittedEventCommentBlock"> 1208 1204 <div id="bwSubmittedBy"> 1209 Submitted by1205 <xsl:copy-of select="$bwStr-AEEF-SubmittedBy"/> 1210 1206 <xsl:variable name="submitterEmail" select="form/xproperties/node()[name()='X-BEDEWORK-SUBMITTER-EMAIL']/values/text"/> 1211 1207 <a href="mailto:{$submitterEmail}?subject=[Event%20Submission] {$eventTitle}" title="Email {$submitterEmail}" class="submitter"> … … 1214 1210 (<a href="mailto:{$submitterEmail}?subject=[Event%20Submission] {$eventTitle}" title="Email {$submitterEmail}"> 1215 1211 <img src="{$resourcesRoot}/resources/email.gif" border="0"/> 1216 send message1212 <xsl:copy-of select="$bwStr-AEEF-SendMsg"/> 1217 1213 </a>) 1218 1214 </div> 1219 <h4> Comments from Submitter</h4>1220 <a href="javascript:toggleVisibility('bwSubmittedEventComment','visible');" class="toggle"> show/hide</a>1221 <a href="javascript:bwSubmitComment.launch();" class="toggle"> pop-up</a>1215 <h4><xsl:copy-of select="$bwStr-AEEF-CommentsFromSubmitter"/></h4> 1216 <a href="javascript:toggleVisibility('bwSubmittedEventComment','visible');" class="toggle"><xsl:copy-of select="$bwStr-AEEF-ShowHide"/></a> 1217 <a href="javascript:bwSubmitComment.launch();" class="toggle"><xsl:copy-of select="$bwStr-AEEF-PopUp"/></a> 1222 1218 <div id="bwSubmittedEventComment"> 1223 1219 <xsl:if test="/bedework/page = 'modEvent'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> … … 1234 1230 <xsl:choose> 1235 1231 <xsl:when test="form/xproperties/node()[name()='X-BEDEWORK-SUBMITTEDBY']"><xsl:value-of select="form/xproperties/node()[name()='X-BEDEWORK-SUBMITTEDBY']/values/text"/></xsl:when> 1236 <xsl:otherwise><xsl:value-of select="/bedework/userInfo/currentUser"/> for<xsl:value-of select="/bedework/userInfo/group"/> (<xsl:value-of select="/bedework/userInfo/user"/>)</xsl:otherwise>1232 <xsl:otherwise><xsl:value-of select="/bedework/userInfo/currentUser"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-For"/><xsl:text> </xsl:text><xsl:value-of select="/bedework/userInfo/group"/> (<xsl:value-of select="/bedework/userInfo/user"/>)</xsl:otherwise> 1237 1233 </xsl:choose> 1238 1234 </xsl:variable> … … 1276 1272 <tr> 1277 1273 <td class="fieldName"> 1278 Title:1274 <xsl:copy-of select="$bwStr-AEEF-Title"/> 1279 1275 </td> 1280 1276 <td> … … 1298 1294 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 1299 1295 <td class="fieldName"> 1300 Calendar:1296 <xsl:copy-of select="$bwStr-AEEF-Calendar"/> 1301 1297 </td> 1302 1298 <td> … … 1306 1302 1307 1303 <option value=""> 1308 Select:1304 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 1309 1305 </option> 1310 1306 <xsl:for-each select="form/calendar/preferred/select/option"> … … 1315 1311 <xsl:choose> 1316 1312 <xsl:when test="starts-with(node(),/bedework/submissionsRoot/unencoded)"> 1317 submitted events1313 <xsl:copy-of select="$bwStr-AEEF-SubmittedEvents"/> 1318 1314 </xsl:when> 1319 1315 <xsl:otherwise> … … 1332 1328 </xsl:if> 1333 1329 <option value=""> 1334 Select:1330 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 1335 1331 </option> 1336 1332 <xsl:for-each select="form/calendar/all/select/option"> … … 1341 1337 <xsl:choose> 1342 1338 <xsl:when test="starts-with(node(),/bedework/submissionsRoot/unencoded)"> 1343 submitted events1339 <xsl:copy-of select="$bwStr-AEEF-SubmittedEvents"/> 1344 1340 </xsl:when> 1345 1341 <xsl:otherwise> … … 1355 1351 <xsl:if test="form/calendar/preferred/select/option"> 1356 1352 <input type="radio" name="toggleCalendarLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredCalendars','shown');changeClass('bwAllCalendars','invisible');this.form.newCalPath.value = this.form.bwPreferredCalendars.value;"/> 1357 preferred1353 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 1358 1354 <input type="radio" name="toggleCalendarLists" value="all" onclick="changeClass('bwPreferredCalendars','invisible');changeClass('bwAllCalendars','shown');this.form.newCalPath.value = this.form.bwAllCalendars.value;"/> 1359 all1355 <xsl:copy-of select="$bwStr-AEEF-All"/> 1360 1356 </xsl:if> 1361 1357 </td> … … 1366 1362 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 1367 1363 <td class="fieldName"> 1368 Date & Time:1364 <xsl:copy-of select="$bwStr-AEEF-DateAndTime"/> 1369 1365 </td> 1370 1366 <td> … … 1390 1386 </xsl:otherwise> 1391 1387 </xsl:choose> 1392 all day1388 <xsl:copy-of select="$bwStr-AEEF-AllDay"/> 1393 1389 1394 1390 <!-- floating event: no timezone (and not UTC) --> … … 1405 1401 </xsl:otherwise> 1406 1402 </xsl:choose> 1407 floating1403 <xsl:copy-of select="$bwStr-AEEF-Floating"/> 1408 1404 1409 1405 <!-- store time as coordinated universal time (UTC) --> … … 1420 1416 </xsl:otherwise> 1421 1417 </xsl:choose> 1422 store as UTC1418 <xsl:copy-of select="$bwStr-AEEF-StoreAsUTC"/> 1423 1419 1424 1420 <br/> 1425 1421 <div class="dateStartEndBox"> 1426 <strong> Start:</strong>1422 <strong><xsl:copy-of select="$bwStr-AEEF-Start"/></strong> 1427 1423 <div class="dateFields"> 1428 <span class="startDateLabel"> Date</span>1424 <span class="startDateLabel"><xsl:copy-of select="$bwStr-AEEF-Date"/><xsl:text> </xsl:text></span> 1429 1425 <xsl:choose> 1430 1426 <xsl:when test="$portalFriendly = 'true'"> … … 1485 1481 <select name="eventStartDate.tzid" id="startTzid" class="timezones"> 1486 1482 <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 1487 <option value="-1"> select timezone...</option>1483 <option value="-1"><xsl:copy-of select="$bwStr-AEEF-SelectTimezone"/></option> 1488 1484 <xsl:variable name="startTzId" select="form/start/tzid"/> 1489 1485 <xsl:for-each select="/bedework/timezones/timezone"> … … 1499 1495 </div> 1500 1496 <div class="dateStartEndBox"> 1501 <strong> End:</strong>1497 <strong><xsl:copy-of select="$bwStr-AEEF-End"/></strong> 1502 1498 <xsl:choose> 1503 1499 <xsl:when test="form/end/type='E'"> … … 1508 1504 </xsl:otherwise> 1509 1505 </xsl:choose> 1510 Date1506 <xsl:copy-of select="$bwStr-AEEF-Date"/> 1511 1507 <xsl:variable name="endDateTimeClass"> 1512 1508 <xsl:choose> … … 1575 1571 <select name="eventEndDate.tzid" id="endTzid" class="timezones"> 1576 1572 <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 1577 <option value="-1"> select timezone...</option>1573 <option value="-1"><xsl:copy-of select="$bwStr-AEEF-SelectTimezone"/></option> 1578 1574 <xsl:variable name="endTzId" select="form/end/dateTime/tzid"/> 1579 1575 <xsl:for-each select="/bedework/timezones/timezone"> … … 1601 1597 </xsl:otherwise> 1602 1598 </xsl:choose> 1603 Duration1599 <xsl:copy-of select="$bwStr-AEEF-Duration"/> 1604 1600 <xsl:variable name="endDurationClass"> 1605 1601 <xsl:choose> … … 1623 1619 <input type="text" name="eventDuration.daysStr" size="2" id="durationDays"> 1624 1620 <xsl:attribute name="value"><xsl:value-of select="form/end/duration/days/input/@value"/></xsl:attribute> 1625 </input> days1621 </input><xsl:copy-of select="$bwStr-AEEF-Days"/> 1626 1622 <span id="durationHrMin" class="{$durationHrMinClass}"> 1627 1623 <input type="text" name="eventDuration.hoursStr" size="2" id="durationHours"> 1628 1624 <xsl:attribute name="value"><xsl:value-of select="form/end/duration/hours/input/@value"/></xsl:attribute> 1629 </input> hours1625 </input><xsl:copy-of select="$bwStr-AEEF-Hours"/> 1630 1626 <input type="text" name="eventDuration.minutesStr" size="2" id="durationMinutes"> 1631 1627 <xsl:attribute name="value"><xsl:value-of select="form/end/duration/minutes/input/@value"/></xsl:attribute> 1632 </input> minutes1628 </input><xsl:copy-of select="$bwStr-AEEF-Minutes"/> 1633 1629 </span> 1634 1630 </div> 1635 <span class="durationSpacerText"> or</span>1631 <span class="durationSpacerText"><xsl:copy-of select="$bwStr-AEEF-Or"/></span> 1636 1632 <div class="durationBox"> 1637 1633 <input type="radio" name="eventDuration.type" value="weeks" onclick="swapDurationType('week')"/> 1638 1634 <input type="text" name="eventDuration.weeksStr" size="2" id="durationWeeks" disabled="disabled"> 1639 1635 <xsl:attribute name="value"><xsl:value-of select="form/end/duration/weeks/input/@value"/></xsl:attribute> 1640 </input> weeks1636 </input><xsl:copy-of select="$bwStr-AEEF-Weeks"/> 1641 1637 </div> 1642 1638 </xsl:when> … … 1646 1642 <input type="radio" name="eventDuration.type" value="daytime" onclick="swapDurationType('daytime')"/> 1647 1643 <xsl:variable name="daysStr" select="form/end/duration/days/input/@value"/> 1648 <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays" disabled="disabled"/> days1644 <input type="text" name="eventDuration.daysStr" size="2" value="{$daysStr}" id="durationDays" disabled="disabled"/><xsl:copy-of select="$bwStr-AEEF-Days"/> 1649 1645 <span id="durationHrMin" class="{$durationHrMinClass}"> 1650 1646 <xsl:variable name="hoursStr" select="form/end/duration/hours/input/@value"/> 1651 <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours" disabled="disabled"/> hours1647 <input type="text" name="eventDuration.hoursStr" size="2" value="{$hoursStr}" id="durationHours" disabled="disabled"/><xsl:copy-of select="$bwStr-AEEF-Hours"/> 1652 1648 <xsl:variable name="minutesStr" select="form/end/duration/minutes/input/@value"/> 1653 <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes" disabled="disabled"/> minutes1649 <input type="text" name="eventDuration.minutesStr" size="2" value="{$minutesStr}" id="durationMinutes" disabled="disabled"/><xsl:copy-of select="$bwStr-AEEF-Minutes"/> 1654 1650 </span> 1655 1651 </div> … … 1659 1655 <input type="text" name="eventDuration.weeksStr" size="2" id="durationWeeks"> 1660 1656 <xsl:attribute name="value"><xsl:value-of select="form/end/duration/weeks/input/@value"/></xsl:attribute> 1661 </input> weeks1657 </input><xsl:copy-of select="$bwStr-AEEF-Weeks"/> 1662 1658 </div> 1663 1659 </xsl:otherwise> … … 1675 1671 </xsl:otherwise> 1676 1672 </xsl:choose> 1677 This event has no duration / end date1673 <xsl:copy-of select="$bwStr-AEEF-ThisEventHasNoDurationEndDate"/> 1678 1674 </div> 1679 1675 </div> … … 1684 1680 <tr> 1685 1681 <td class="fieldName"> 1686 Date & Time1682 <xsl:copy-of select="$bwStr-AEEF-DateAndTime"/> 1687 1683 </td> 1688 1684 <td> … … 1717 1713 <xsl:if test="($canEdit = 'false') and (form/recurringEntity = 'false') and (recurrenceId = '')"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 1718 1714 <td class="fieldName"> 1719 Recurrence:1715 <xsl:copy-of select="$bwStr-AEEF-RECURRANCE"/> 1720 1716 </td> 1721 1717 <td> … … 1724 1720 <!-- recurrence instances can not themselves recur, 1725 1721 so provide access to master event --> 1726 <em> This event is a recurrence instance.</em><br/>1727 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}" title=" edit master (recurring event)">edit master event</a>1722 <em><xsl:copy-of select="$bwStr-AEEF-ThisEventRecurrenceInstance"/></em><br/> 1723 <a href="{$event-fetchForUpdate}&calPath={$calPath}&guid={$guid}" title="{$bwStr-AEEF-EditMaster}"><xsl:copy-of select="$bwStr-AEEF-EditMasterEvent"/></a> 1728 1724 </xsl:when> 1729 1725 <xsl:otherwise> … … 1735 1731 <input type="radio" name="recurring" value="true" onclick="swapRecurrence(this)"> 1736 1732 <xsl:if test="form/recurringEntity = 'true'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 1737 </input> event recurs1733 </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-EventRecurs"/> 1738 1734 <input type="radio" name="recurring" value="false" onclick="swapRecurrence(this)"> 1739 1735 <xsl:if test="form/recurringEntity = 'false'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 1740 </input> event does not recur1736 </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-EventDoesNotRecur"/> 1741 1737 </div> 1742 1738 … … 1747 1743 <h4> 1748 1744 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 1749 Recurrence Rules1745 <xsl:copy-of select="$bwStr-AEEF-RecurrenceRules"/> 1750 1746 </h4> 1751 1747 <!-- show or hide rrules fields when editing: --> … … 1756 1752 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 1757 1753 </input> 1758 change recurrence rules1754 <xsl:copy-of select="$bwStr-AEEF-ChangeRecurrenceRules"/> 1759 1755 </span> 1760 1756 </xsl:if> … … 1764 1760 </xsl:if> 1765 1761 <input type="checkbox" name="rrulesUiSwitch" value="advanced" onchange="swapVisible(this,'advancedRrules')"/> 1766 show advanced recurrence rules1762 <xsl:copy-of select="$bwStr-AEEF-ShowAdvancedRecurrenceRules"/> 1767 1763 </span> 1768 1764 … … 1772 1768 more easily internationalized. --> 1773 1769 <div id="recurrenceInfo"> 1774 Every1770 <xsl:copy-of select="$bwStr-AEEF-Every"/> 1775 1771 <xsl:choose> 1776 1772 <xsl:when test="form/recurrence/interval > 1"> … … 1780 1776 <xsl:text> </xsl:text> 1781 1777 <xsl:choose> 1782 <xsl:when test="form/recurrence/freq = 'HOURLY'"> hour</xsl:when>1783 <xsl:when test="form/recurrence/freq = 'DAILY'"> day</xsl:when>1784 <xsl:when test="form/recurrence/freq = 'WEEKLY'"> week</xsl:when>1785 <xsl:when test="form/recurrence/freq = 'MONTHLY'"> month</xsl:when>1786 <xsl:when test="form/recurrence/freq = 'YEARLY'"> year</xsl:when>1787 </xsl:choose> <xsl:if test="form/recurrence/interval > 1">s</xsl:if>1778 <xsl:when test="form/recurrence/freq = 'HOURLY'"><xsl:copy-of select="$bwStr-AEEF-Hour"/></xsl:when> 1779 <xsl:when test="form/recurrence/freq = 'DAILY'"><xsl:copy-of select="$bwStr-AEEF-Day"/></xsl:when> 1780 <xsl:when test="form/recurrence/freq = 'WEEKLY'"><xsl:copy-of select="$bwStr-AEEF-Week"/></xsl:when> 1781 <xsl:when test="form/recurrence/freq = 'MONTHLY'"><xsl:copy-of select="$bwStr-AEEF-Month"/></xsl:when> 1782 <xsl:when test="form/recurrence/freq = 'YEARLY'"><xsl:copy-of select="$bwStr-AEEF-Year"/></xsl:when> 1783 </xsl:choose> 1788 1784 <xsl:text> </xsl:text> 1789 1785 1790 1786 <xsl:if test="form/recurrence/byday"> 1791 1787 <xsl:for-each select="form/recurrence/byday/pos"> 1792 <xsl:if test="position() != 1"> and</xsl:if>1793 on1788 <xsl:if test="position() != 1"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-And"/><xsl:text> </xsl:text></xsl:if> 1789 <xsl:copy-of select="$bwStr-AEEF-On"/> 1794 1790 <xsl:choose> 1795 1791 <xsl:when test="@val='1'"> 1796 the first1792 <xsl:copy-of select="$bwStr-AEEF-TheFirst"/> 1797 1793 </xsl:when> 1798 1794 <xsl:when test="@val='2'"> 1799 the second1795 <xsl:copy-of select="$bwStr-AEEF-TheSecond"/> 1800 1796 </xsl:when> 1801 1797 <xsl:when test="@val='3'"> 1802 the third1798 <xsl:copy-of select="$bwStr-AEEF-TheThird"/> 1803 1799 </xsl:when> 1804 1800 <xsl:when test="@val='4'"> 1805 the fourth1801 <xsl:copy-of select="$bwStr-AEEF-TheFourth"/> 1806 1802 </xsl:when> 1807 1803 <xsl:when test="@val='5'"> 1808 the fifth1804 <xsl:copy-of select="$bwStr-AEEF-TheFifth"/> 1809 1805 </xsl:when> 1810 1806 <xsl:when test="@val='-1'"> 1811 the last1807 <xsl:copy-of select="$bwStr-AEEF-TheLast"/> 1812 1808 </xsl:when> 1813 1809 <!-- don't output "every" --> … … 1817 1813 </xsl:choose> 1818 1814 <xsl:for-each select="day"> 1819 <xsl:if test="position() != 1 and position() = last()"> and</xsl:if>1815 <xsl:if test="position() != 1 and position() = last()"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-And"/><xsl:text> </xsl:text></xsl:if> 1820 1816 <xsl:variable name="dayVal" select="."/> 1821 1817 <xsl:variable name="dayPos"> … … 1831 1827 1832 1828 <xsl:if test="form/recurrence/bymonth"> 1833 in1829 <xsl:copy-of select="$bwStr-AEEF-In"/> 1834 1830 <xsl:for-each select="form/recurrence/bymonth/val"> 1835 <xsl:if test="position() != 1 and position() = last()"> and</xsl:if>1831 <xsl:if test="position() != 1 and position() = last()"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-And"/><xsl:text> </xsl:text></xsl:if> 1836 1832 <xsl:variable name="monthNum" select="number(.)"/> 1837 1833 <xsl:value-of select="/bedework/monthlabels/val[position() = $monthNum]"/> … … 1841 1837 1842 1838 <xsl:if test="form/recurrence/bymonthday"> 1843 on the1839 <xsl:copy-of select="$bwStr-AEEF-OnThe"/> 1844 1840 <xsl:apply-templates select="form/recurrence/bymonthday/val" mode="weekMonthYearNumbers"/> 1845 day<xsl:if test="form/recurrence/bymonthday/val[position()=2]">s</xsl:if> of the month1841 <xsl:copy-of select="$bwStr-AEEF-DayOfTheMonth"/> 1846 1842 </xsl:if> 1847 1843 1848 1844 <xsl:if test="form/recurrence/byyearday"> 1849 on the1845 <xsl:copy-of select="$bwStr-AEEF-OnThe"/> 1850 1846 <xsl:apply-templates select="form/recurrence/byyearday/val" mode="weekMonthYearNumbers"/> 1851 day<xsl:if test="form/recurrence/byyearday/val[position()=2]">s</xsl:if> of the year1847 <xsl:copy-of select="$bwStr-AEEF-DayOfTheYear"/> 1852 1848 </xsl:if> 1853 1849 1854 1850 <xsl:if test="form/recurrence/byweekno"> 1855 in the1851 <xsl:copy-of select="$bwStr-AEEF-InThe"/> 1856 1852 <xsl:apply-templates select="form/recurrence/byweekno/val" mode="weekMonthYearNumbers"/> 1857 week<xsl:if test="form/recurrence/byweekno/val[position()=2]">s</xsl:if> of the year1853 <xsl:copy-of select="$bwStr-AEEF-WeekOfTheYear"/> 1858 1854 </xsl:if> 1859 1855 1860 repeating1856 <xsl:copy-of select="$bwStr-AEEF-Repeating"/> 1861 1857 <xsl:choose> 1862 <xsl:when test="form/recurrence/count = '-1'"> forever</xsl:when>1858 <xsl:when test="form/recurrence/count = '-1'"><xsl:copy-of select="$bwStr-AEEF-Forever"/></xsl:when> 1863 1859 <xsl:when test="form/recurrence/until"> 1864 until<xsl:value-of select="substring(form/recurrence/until,1,4)"/>-<xsl:value-of select="substring(form/recurrence/until,5,2)"/>-<xsl:value-of select="substring(form/recurrence/until,7,2)"/>1860 <xsl:copy-of select="$bwStr-AEEF-Until"/><xsl:text> </xsl:text><xsl:value-of select="substring(form/recurrence/until,1,4)"/>-<xsl:value-of select="substring(form/recurrence/until,5,2)"/>-<xsl:value-of select="substring(form/recurrence/until,7,2)"/> 1865 1861 </xsl:when> 1866 1862 <xsl:otherwise> 1867 1863 <xsl:value-of select="form/recurrence/count"/> 1868 time<xsl:if test="form/recurrence/count > 1">s</xsl:if>1864 <xsl:copy-of select="$bwStr-AEEF-Time"/> 1869 1865 </xsl:otherwise> 1870 1866 </xsl:choose> … … 1891 1887 <tr> 1892 1888 <td id="recurrenceFrequency" rowspan="2"> 1893 <em> Frequency:</em><br/>1894 <input type="radio" name="freq" value="NONE" onclick="showRrules(this.value)" checked="checked"/> none<br/>1889 <em><xsl:copy-of select="$bwStr-AEEF-Frequency"/></em><br/> 1890 <input type="radio" name="freq" value="NONE" onclick="showRrules(this.value)" checked="checked"/><xsl:copy-of select="$bwStr-AEEF-None"/><br/> 1895 1891 <!--<input type="radio" name="freq" value="HOURLY" onclick="showRrules(this.value)"/>hourly<br/>--> 1896 <input type="radio" name="freq" value="DAILY" onclick="showRrules(this.value)"/> daily<br/>1897 <input type="radio" name="freq" value="WEEKLY" onclick="showRrules(this.value)"/> weekly<br/>1898 <input type="radio" name="freq" value="MONTHLY" onclick="showRrules(this.value)"/> monthly<br/>1899 <input type="radio" name="freq" value="YEARLY" onclick="showRrules(this.value)"/> yearly1892 <input type="radio" name="freq" value="DAILY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Daily"/><br/> 1893 <input type="radio" name="freq" value="WEEKLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Weekly"/><br/> 1894 <input type="radio" name="freq" value="MONTHLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Monthly"/><br/> 1895 <input type="radio" name="freq" value="YEARLY" onclick="showRrules(this.value)"/><xsl:copy-of select="$bwStr-AEEF-Yearly"/> 1900 1896 </td> 1901 1897 <!-- recurrence count, until, forever --> 1902 1898 <td id="recurrenceUntil"> 1903 1899 <div id="noneRecurrenceRules"> 1904 no recurrence rules1900 <xsl:copy-of select="$bwStr-AEEF-NoRecurrenceRules"/> 1905 1901 </div> 1906 1902 <div id="recurrenceUntilRules" class="invisible"> 1907 <em> Repeat:</em>1903 <em><xsl:copy-of select="$bwStr-AEEF-Repeat"/></em> 1908 1904 <p> 1909 1905 <input type="radio" name="recurCountUntil" value="forever"> … … 1912 1908 </xsl:if> 1913 1909 </input> 1914 forever1910 <xsl:copy-of select="$bwStr-AEEF-Forever"/> 1915 1911 <input type="radio" name="recurCountUntil" value="count" id="recurCount"> 1916 1912 <xsl:if test="form/recurring/count != '-1'"> … … 1923 1919 </xsl:if> 1924 1920 </input> 1925 time(s)1921 <xsl:copy-of select="$bwStr-AEEF-Time"/> 1926 1922 <input type="radio" name="recurCountUntil" value="until" id="recurUntil"> 1927 1923 <xsl:if test="form/recurring/until"> … … 1929 1925 </xsl:if> 1930 1926 </input> 1931 until1927 <xsl:copy-of select="$bwStr-AEEF-Until"/> 1932 1928 <span id="untilHolder"> 1933 1929 <input type="hidden" name="bwEventUntilDate" id="bwEventUntilDate" size="10"/> … … 1960 1956 <div id="hourlyRecurrenceRules" class="invisible"> 1961 1957 <p> 1962 <em> Interval:</em>1963 every1958 <em><xsl:copy-of select="$bwStr-AEEF-Interval"/><xsl:text> </xsl:text></em> 1959 <xsl:copy-of select="$bwStr-AEEF-Every"/> 1964 1960 <input type="text" name="hourlyInterval" size="2" value="1"> 1965 1961 <xsl:if test="form/recurrence/interval"> … … 1967 1963 </xsl:if> 1968 1964 </input> 1969 hour(s)1965 <xsl:copy-of select="$bwStr-AEEF-Hour"/> 1970 1966 </p> 1971 1967 </div> … … 1973 1969 <div id="dailyRecurrenceRules" class="invisible"> 1974 1970 <p> 1975 <em> Interval:</em>1976 every1971 <em><xsl:copy-of select="$bwStr-AEEF-Interval"/><xsl:text> </xsl:text></em> 1972 <xsl:copy-of select="$bwStr-AEEF-Every"/> 1977 1973 <input type="text" name="dailyInterval" size="2" value="1"> 1978 1974 <xsl:if test="form/recurrence/interval"> … … 1980 1976 </xsl:if> 1981 1977 </input> 1982 day(s)1978 <xsl:copy-of select="$bwStr-AEEF-Day"/> 1983 1979 </p> 1984 1980 <p> 1985 1981 <input type="checkbox" name="swapDayMonthCheckBoxList" value="" onclick="swapVisible(this,'dayMonthCheckBoxList')"/> 1986 in these months:1982 <xsl:copy-of select="$bwStr-AEEF-InTheseMonths"/> 1987 1983 <div id="dayMonthCheckBoxList" class="invisible"> 1988 1984 <xsl:for-each select="/bedework/monthlabels/val"> … … 2008 2004 <div id="weeklyRecurrenceRules" class="invisible"> 2009 2005 <p> 2010 <em> Interval:</em>2011 every2006 <em><xsl:copy-of select="$bwStr-AEEF-Interval"/></em> 2007 <xsl:copy-of select="$bwStr-AEEF-Every"/> 2012 2008 <input type="text" name="weeklyInterval" size="2" value="1"> 2013 2009 <xsl:if test="form/recurrence/interval"> … … 2015 2011 </xsl:if> 2016 2012 </input> 2017 week(s) on:2013 <xsl:copy-of select="$bwStr-AEEF-WeekOn"/> 2018 2014 </p> 2019 2015 <p> … … 2025 2021 </p> 2026 2022 <p class="weekRecurLinks"> 2027 <a href="javascript:recurSelectWeekdays('weekRecurFields')"> select weekdays</a> |2028 <a href="javascript:recurSelectWeekends('weekRecurFields')"> select weekends</a>2023 <a href="javascript:recurSelectWeekdays('weekRecurFields')"><xsl:copy-of select="$bwStr-AEEF-SelectWeekdays"/></a> | 2024 <a href="javascript:recurSelectWeekends('weekRecurFields')"><xsl:copy-of select="$bwStr-AEEF-SelectWeekends"/></a> 2029 2025 </p> 2030 2026 <p> 2031 Week start:2027 <xsl:copy-of select="$bwStr-AEEF-WeekStart"/> 2032 2028 <select name="weekWkst"> 2033 2029 <xsl:for-each select="/bedework/shortdaynames/val"> … … 2044 2040 <div id="monthlyRecurrenceRules" class="invisible"> 2045 2041 <p> 2046 <em> Interval:</em>2047 every2042 <em><xsl:copy-of select="$bwStr-AEEF-Interval"/></em> 2043 <xsl:copy-of select="$bwStr-AEEF-Every"/> 2048 2044 <input type="text" name="monthlyInterval" size="2" value="1"> 2049 2045 <xsl:if test="form/recurrence/interval"> … … 2051 2047 </xsl:if> 2052 2048 </input> 2053 month(s)2049 <xsl:copy-of select="$bwStr-AEEF-Month"/> 2054 2050 </p> 2055 2051 <div id="monthRecurFields"> 2056 2052 <div id="monthRecurFields1"> 2057 on2053 <xsl:copy-of select="$bwStr-AEEF-On"/> 2058 2054 <select name="bymonthposPos1" width="7em" onchange="changeClass('monthRecurFields2','shown')"> 2059 2055 <xsl:call-template name="recurrenceDayPosOptions"/> … … 2069 2065 <p> 2070 2066 <input type="checkbox" name="swapMonthDaysCheckBoxList" value="" onclick="swapVisible(this,'monthDaysCheckBoxList')"/> 2071 on these days:<br/>2067 <xsl:copy-of select="$bwStr-AEEF-OnTheseDays"/><br/> 2072 2068 <div id="monthDaysCheckBoxList" class="invisible"> 2073 2069 <xsl:call-template name="buildCheckboxList"> … … 2082 2078 <div id="yearlyRecurrenceRules" class="invisible"> 2083 2079 <p> 2084 <em> Interval:</em>2085 every2080 <em><xsl:copy-of select="$bwStr-AEEF-Interval"/></em> 2081 <xsl:copy-of select="$bwStr-AEEF-Every"/> 2086 2082 <input type="text" name="yearlyInterval" size="2" value="1"> 2087 2083 <xsl:if test="form/recurrence/interval"> … … 2089 2085 </xsl:if> 2090 2086 </input> 2091 years(s)2087 <xsl:copy-of select="$bwStr-AEEF-Year"/> 2092 2088 </p> 2093 2089 <div id="yearRecurFields"> 2094 2090 <div id="yearRecurFields1"> 2095 on2091 <xsl:copy-of select="$bwStr-AEEF-On"/> 2096 2092 <select name="byyearposPos1" width="7em" onchange="changeClass('yearRecurFields2','shown')"> 2097 2093 <xsl:call-template name="recurrenceDayPosOptions"/> … … 2107 2103 <p> 2108 2104 <input type="checkbox" name="swapYearMonthCheckBoxList" value="" onclick="swapVisible(this,'yearMonthCheckBoxList')"/> 2109 in these months:2105 <xsl:copy-of select="$bwStr-AEEF-InTheseMonths"/> 2110 2106 <div id="yearMonthCheckBoxList" class="invisible"> 2111 2107 <xsl:for-each select="/bedework/monthlabels/val"> … … 2123 2119 <p> 2124 2120 <input type="checkbox" name="swapYearMonthDaysCheckBoxList" value="" onclick="swapVisible(this,'yearMonthDaysCheckBoxList')"/> 2125 on these days of the month:<br/>2121 <xsl:copy-of select="$bwStr-AEEF-OnTheseDaysOfTheMonth"/><br/> 2126 2122 <div id="yearMonthDaysCheckBoxList" class="invisible"> 2127 2123 <xsl:call-template name="buildCheckboxList"> … … 2134 2130 <p> 2135 2131 <input type="checkbox" name="swapYearWeeksCheckBoxList" value="" onclick="swapVisible(this,'yearWeeksCheckBoxList')"/> 2136 in these weeks of the year:<br/>2132 <xsl:copy-of select="$bwStr-AEEF-InTheseWeeksOfTheYear"/><br/> 2137 2133 <div id="yearWeeksCheckBoxList" class="invisible"> 2138 2134 <xsl:call-template name="buildCheckboxList"> … … 2145 2141 <p> 2146 2142 <input type="checkbox" name="swapYearDaysCheckBoxList" value="" onclick="swapVisible(this,'yearDaysCheckBoxList')"/> 2147 on these days of the year:<br/>2143 <xsl:copy-of select="$bwStr-AEEF-OnTheseDaysOfTheYear"/><br/> 2148 2144 <div id="yearDaysCheckBoxList" class="invisible"> 2149 2145 <xsl:call-template name="buildCheckboxList"> … … 2155 2151 </p> 2156 2152 <p> 2157 Week start:2153 <xsl:copy-of select="$bwStr-AEEF-WeekStart"/> 2158 2154 <select name="yearWkst"> 2159 2155 <xsl:for-each select="/bedework/shortdaynames/val"> … … 2172 2168 <h4> 2173 2169 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2174 Recurrence and Exception Dates2170 <xsl:copy-of select="$bwStr-AEEF-RecurrenceAndExceptionDates"/> 2175 2171 </h4> 2176 2172 <div id="raContent"> … … 2249 2245 <select name="tzid" id="rdateTzid" class="timezones"> 2250 2246 <xsl:if test="form/floating/input/@checked='checked'"><xsl:attribute name="disabled">disabled</xsl:attribute></xsl:if> 2251 <option value=""> select timezone...</option>2247 <option value=""><xsl:copy-of select="$bwStr-AEEF-SelectTimezone"/></option> 2252 2248 <xsl:variable name="rdateTzId" select="/bedework/now/defaultTzid"/> 2253 2249 <xsl:for-each select="/bedework/timezones/timezone"> … … 2272 2268 <!-- if there are no recurrence dates, the following table will show --> 2273 2269 <table cellspacing="0" class="invisible" id="bwCurrentRdatesNone"> 2274 <tr><th> Recurrence Dates</th></tr>2275 <tr><td> No recurrence dates</td></tr>2270 <tr><th><xsl:copy-of select="$bwStr-AEEF-RecurrenceDates"/></th></tr> 2271 <tr><td><xsl:copy-of select="$bwStr-AEEF-NoRecurrenceDates"/></td></tr> 2276 2272 </table> 2277 2273 … … 2279 2275 <table cellspacing="0" class="invisible" id="bwCurrentRdates"> 2280 2276 <tr> 2281 <th colspan="4"> Recurrence Dates</th>2277 <th colspan="4"><xsl:copy-of select="$bwStr-AEEF-RecurrenceDates"/></th> 2282 2278 </tr> 2283 2279 <tr class="colNames"> 2284 <td> Date</td>2285 <td> Time</td>2286 <td> TZid</td>2280 <td><xsl:copy-of select="$bwStr-AEEF-Date"/></td> 2281 <td><xsl:copy-of select="$bwStr-AEEF-TIME"/></td> 2282 <td><xsl:copy-of select="$bwStr-AEEF-TZid"/></td> 2287 2283 <td></td> 2288 2284 </tr> … … 2292 2288 <!-- if there are no exception dates, the following table will show --> 2293 2289 <table cellspacing="0" class="invisible" id="bwCurrentExdatesNone"> 2294 <tr><th> Exception Dates</th></tr>2295 <tr><td> No exception dates</td></tr>2290 <tr><th><xsl:copy-of select="$bwStr-AEEF-ExceptionDates"/></th></tr> 2291 <tr><td><xsl:copy-of select="$bwStr-AEEF-NoExceptionDates"/></td></tr> 2296 2292 </table> 2297 2293 … … 2299 2295 <table cellspacing="0" class="invisible" id="bwCurrentExdates"> 2300 2296 <tr> 2301 <th colspan="4"> Exception Dates</th>2297 <th colspan="4"><xsl:copy-of select="$bwStr-AEEF-NoExceptionDates"/></th> 2302 2298 </tr> 2303 2299 <tr class="colNames"> 2304 <td> Date</td>2305 <td>Time</td>2306 <td>TZid</td>2300 <td><xsl:copy-of select="$bwStr-AEEF-Date"/></td> 2301 <td><xsl:copy-of select="$bwStr-AEEF-TIME"/></td> 2302 <td><xsl:copy-of select="$bwStr-AEEF-TZid"/></td> 2307 2303 <td></td> 2308 2304 </tr> 2309 2305 </table> 2310 2306 <p> 2311 Exception dates may also be created by deleting an instance 2312 of a recurring event. 2307 <xsl:copy-of select="$bwStr-AEEF-ExceptionDatesMayBeCreated"/> 2313 2308 </p> 2314 2309 </div> … … 2322 2317 <tr> 2323 2318 <td class="fieldName"> 2324 Status:2319 <xsl:copy-of select="$bwStr-AEEF-Status"/> 2325 2320 </td> 2326 2321 <td> … … 2329 2324 <input type="radio" name="eventStatus" value="CONFIRMED" checked="checked"> 2330 2325 <xsl:if test="form/status = 'CONFIRMED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 2331 </input> confirmed2326 </input><xsl:copy-of select="$bwStr-AEEF-Confirmed"/> 2332 2327 <input type="radio" name="eventStatus" value="TENTATIVE"> 2333 2328 <xsl:if test="form/status = 'TENTATIVE'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 2334 </input> tentative2329 </input><xsl:copy-of select="$bwStr-AEEF-Tentative"/> 2335 2330 <input type="radio" name="eventStatus" value="CANCELLED"> 2336 2331 <xsl:if test="form/status = 'CANCELLED'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 2337 </input> canceled2332 </input><xsl:copy-of select="$bwStr-AEEF-Canceled"/> 2338 2333 </span> 2339 2334 <xsl:if test="$canEdit = 'false'"> … … 2346 2341 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2347 2342 <td class="fieldName"> 2348 Affects free/busy:2343 <xsl:copy-of select="$bwStr-AEEF-AffectsFreeBusy"/> 2349 2344 </td> 2350 2345 <td align="left" class="padMeTop"> … … 2352 2347 <xsl:if test="form/transparency = 'OPAQUE' or not(form/transparency)"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 2353 2348 </input> 2354 yes (opaque)2349 <xsl:copy-of select="$bwStr-AEEF-YesOpaque"/> 2355 2350 2356 2351 <input type="radio" value="TRANSPARENT" name="transparency"> 2357 2352 <xsl:if test="form/transparency = 'TRANSPARENT'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 2358 2353 </input> 2359 no (transparent)2354 <xsl:copy-of select="$bwStr-AEEF-NoTransparent"/> 2360 2355 </td> 2361 2356 </tr> … … 2363 2358 <tr> 2364 2359 <td class="fieldName"> 2365 Description:2360 <xsl:copy-of select="$bwStr-AEEF-Description"/> 2366 2361 </td> 2367 2362 <td> … … 2373 2368 <div class="fieldInfo"> 2374 2369 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2375 Enter all pertinent information, including the academic titles of 2376 all speakers and/or participants. 2377 <span class="maxCharNotice">(<xsl:value-of select="form/descLength"/> characters max.)</span> 2370 <xsl:copy-of select="$bwStr-AEEF-EnterPertientInfo"/> 2371 <span class="maxCharNotice">(<xsl:value-of select="form/descLength"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-CharsMax"/></span> 2378 2372 </div> 2379 2373 <xsl:if test="$canEdit = 'false'"> … … 2388 2382 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2389 2383 <td class="fieldName"> 2390 Cost:2384 <xsl:copy-of select="$bwStr-AEEF-Cost"/> 2391 2385 </td> 2392 2386 <td> … … 2395 2389 </input> 2396 2390 <xsl:text> </xsl:text> 2397 <span class="fieldInfo"> (optional: if any, and place to purchase tickets)</span>2391 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalPlaceToPurchaseTicks"/></span> 2398 2392 </td> 2399 2393 </tr> … … 2402 2396 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2403 2397 <td class="fieldName"> 2404 Event URL:2398 <xsl:copy-of select="$bwStr-AEEF-EventURL"/> 2405 2399 </td> 2406 2400 <td> … … 2410 2404 </input> 2411 2405 <xsl:text> </xsl:text> 2412 <span class="fieldInfo"> (optional: for more information about the event)</span>2406 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalMoreEventInfo"/></span> 2413 2407 </td> 2414 2408 </tr> … … 2417 2411 <xsl:if test="$canEdit = 'false'"><xsl:attribute name="class">invisible</xsl:attribute></xsl:if> 2418 2412 <td class="fieldName"> 2419 Image URL:2413 <xsl:copy-of select="$bwStr-AEEF-ImageURL"/> 2420 2414 </td> 2421 2415 <td> … … 2424 2418 </input> 2425 2419 <xsl:text> </xsl:text> 2426 <span class="fieldInfo"> (optional: to include an image with the event description)</span>2420 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalEventImage"/></span> 2427 2421 </td> 2428 2422 </tr> … … 2430 2424 <tr> 2431 2425 <td class="fieldName"> 2432 Location:2426 <xsl:copy-of select="$bwStr-AEEF-Location"/> 2433 2427 </td> 2434 2428 <td> … … 2438 2432 <select name="prefLocationId" id="bwPreferredLocationList"> 2439 2433 <option value=""> 2440 Select:2434 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 2441 2435 </option> 2442 2436 <xsl:copy-of select="form/location/preferred/select/*"/> … … 2448 2442 </xsl:if> 2449 2443 <option value=""> 2450 Select:2444 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 2451 2445 </option> 2452 2446 <xsl:copy-of select="form/location/all/select/*"/> … … 2457 2451 <xsl:if test="form/location/preferred/select/option"> 2458 2452 <input type="radio" name="toggleLocationLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredLocationList','shown');changeClass('bwAllLocationList','invisible');"/> 2459 preferred2453 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2460 2454 <input type="radio" name="toggleLocationLists" value="all" onclick="changeClass('bwPreferredLocationList','invisible');changeClass('bwAllLocationList','shown');"/> 2461 all2455 <xsl:copy-of select="$bwStr-AEEF-All"/> 2462 2456 </xsl:if> 2463 2457 </span> … … 2472 2466 <td class="fieldName" colspan="2"> 2473 2467 <span class="std-text"> 2474 <span class="bold"> or</span> add</span>2468 <span class="bold"><xsl:copy-of select="$bwStr-AEEF-Or"/></span><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-AEEF-Add"/></span> 2475 2469 </td> 2476 2470 </tr> 2477 2471 <tr> 2478 2472 <td class="fieldName"> 2479 Address:2473 <xsl:copy-of select="$bwStr-AEEF-Address"/> 2480 2474 </td> 2481 2475 <td> … … 2487 2481 <input type="text" size="30" name="{$addressFieldName}" autocomplete="off" onfocus="autoComplete(this,event,new Array({$calLocations}));"/> 2488 2482 <div class="fieldInfo"> 2489 Please include room, building, and campus.2483 <xsl:copy-of select="$bwStr-AEEF-IncludeRoom"/> 2490 2484 </div> 2491 2485 </td> … … 2493 2487 <tr class="optional"> 2494 2488 <td> 2495 <span class="std-text"> Location URL:</span>2489 <span class="std-text"><xsl:copy-of select="$bwStr-AEEF-LocationURL"/></span> 2496 2490 </td> 2497 2491 <td> 2498 2492 <xsl:copy-of select="form/location/link/*"/> 2499 2493 <xsl:text> </xsl:text> 2500 <span class="fieldInfo"> (optional: for information about the location)</span>2494 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-OptionalLocaleInfo"/></span> 2501 2495 </td> 2502 2496 </tr> … … 2506 2500 <tr> 2507 2501 <td class="fieldName"> 2508 Contact:2502 <xsl:copy-of select="$bwStr-AEEF-Contact"/> 2509 2503 </td> 2510 2504 <td> … … 2514 2508 <select name="prefContactId" id="bwPreferredContactList"> 2515 2509 <option value=""> 2516 Select:2510 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 2517 2511 </option>option> 2518 2512 <xsl:copy-of select="form/contact/preferred/select/*"/> … … 2524 2518 </xsl:if> 2525 2519 <option value=""> 2526 Select:2520 <xsl:copy-of select="$bwStr-AEEF-SelectColon"/> 2527 2521 </option> 2528 2522 <xsl:copy-of select="form/contact/all/select/*"/> … … 2533 2527 <xsl:if test="form/contact/preferred/select/option"> 2534 2528 <input type="radio" name="toggleContactLists" value="preferred" checked="checked" onclick="changeClass('bwPreferredContactList','shown');changeClass('bwAllContactList','invisible');"/> 2535 preferred2529 <xsl:copy-of select="$bwStr-AEEF-Preferred"/> 2536 2530 <input type="radio" name="toggleContactLists" value="all" onclick="changeClass('bwPreferredContactList','invisible');changeClass('bwAllContactList','shown');"/> 2537 all2531 <xsl:copy-of select="$bwStr-AEEF-All"/> 2538 2532 </xsl:if> 2539 2533 </span> … … 2547 2541 <tr> 2548 2542 <td class="fieldName"> 2549 Creator2543 <xsl:copy-of select="$bwStr-AEEF-Creator"/> 2550 2544 </td> 2551 2545 <td> … … 2562 2556 <tr> 2563 2557 <td class="fieldName"> 2564 Topical area:2558 <xsl:copy-of select="$bwStr-AEEF-TopicalArea"/> 2565 2559 </td> 2566 2560 <td> … … 2705 2699 <tr> 2706 2700 <td class="fieldName"> 2707 Contact (name):2701 <xsl:copy-of select="$bwStr-AEEF-ContactName"/> 2708 2702 </td> 2709 2703 <td> … … 2713 2707 <tr class="optional"> 2714 2708 <td class="fieldName"> 2715 Contact Phone Number:2709 <xsl:copy-of select="$bwStr-AEEF-ContactPhone"/> 2716 2710 </td> 2717 2711 <td> 2718 2712 <xsl:copy-of select="form/contact/phone/*"/> 2719 2713 <xsl:text> </xsl:text> 2720 <span class="fieldInfo"> (optional)</span>2714 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-Optional"/></span> 2721 2715 </td> 2722 2716 </tr> 2723 2717 <tr class="optional"> 2724 2718 <td class="fieldName"> 2725 Contact's URL:2719 <xsl:copy-of select="$bwStr-AEEF-ContactURL"/> 2726 2720 </td> 2727 2721 <td> 2728 2722 <xsl:copy-of select="form/contact/link/*"/> 2729 2723 <xsl:text> </xsl:text> 2730 <span class="fieldInfo"> (optional)</span>2724 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-Optional"/></span> 2731 2725 </td> 2732 2726 </tr> 2733 2727 <tr class="optional"> 2734 2728 <td class="fieldName"> 2735 Contact Email Address:2729 <xsl:copy-of select="$bwStr-AEEF-ContactEmail"/> 2736 2730 </td> 2737 2731 <td> 2738 2732 <xsl:copy-of select="form/contact/email/*"/> 2739 2733 <xsl:text> </xsl:text> 2740 <span class="fieldInfo"> (optional)</span> test2734 <span class="fieldInfo"><xsl:copy-of select="$bwStr-AEEF-Optional"/></span> test 2741 2735 <div id="contactEmailAlert"> </div> <!-- space for email warning --> 2742 2736 </td> … … 2812 2806 <xsl:when test="/bedework/page = 'modEventPending'"> 2813 2807 <div class="right"> 2814 <input type="submit" name="delete" value=" Delete Event"/>2808 <input type="submit" name="delete" value="{$bwStr-SEBu-DeleteEvent}"/> 2815 2809 </div> 2816 2810 <!-- no need for a publish box in the single calendar model unless we have more than one calendar; --> … … 2823 2817 </a> 2824 2818 </div> 2825 <strong> Select a calendar in which to publish this event:</strong><br/>2819 <strong><xsl:copy-of select="$bwStr-SEBu-SelectPublishCalendar"/></strong><br/> 2826 2820 <select name="calendarId" id="calendarId" onchange="this.form.newCalPath.value = this.value;"> 2827 2821 <option> 2828 2822 <xsl:attribute name="value"><xsl:value-of select="form/calendar/path"/></xsl:attribute> 2829 Select:2823 <xsl:copy-of select="$bwStr-SEBu-Select"/> 2830 2824 </option> 2831 2825 <xsl:for-each select="form/calendar/all/select/option"> … … 2836 2830 <xsl:choose> 2837 2831 <xsl:when test="starts-with(node(),/bedework/submissionsRoot/unencoded)"> 2838 submitted events2832 <xsl:copy-of select="$bwStr-SEBu-SubmittedEvents"/> 2839 2833 </xsl:when> 2840 2834 <xsl:otherwise> … … 2845 2839 </xsl:for-each> 2846 2840 </select> 2847 <input type="submit" name="publishEvent" value=" Publish Event">2841 <input type="submit" name="publishEvent" value="{$bwStr-SEBu-PublishEvent}"> 2848 2842 <xsl:attribute name="onclick">doPublishEvent(this.form.newCalPath.value,'<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>',this.form);changeClass('publishBox','invisible');</xsl:attribute> 2849 2843 </input> … … 2851 2845 <br/> 2852 2846 <span id="calDescriptionsLink"> 2853 <a href="javascript:launchSimpleWindow('{$calendar-fetchDescriptions}')"> calendar descriptions</a>2847 <a href="javascript:launchSimpleWindow('{$calendar-fetchDescriptions}')"><xsl:copy-of select="$bwStr-SEBu-CalendarDescriptions"/></a> 2854 2848 </span> 2855 2849 </xsl:if> 2856 2850 </div> 2857 <input type="submit" name="updateSubmitEvent" value=" Update Event"/>2858 <input type="button" name="publishEvent" value=" Publish Event" onclick="changeClass('publishBox','visible')"/>2859 <input type="submit" name="cancelled" value=" Cancel"/>2851 <input type="submit" name="updateSubmitEvent" value="{$bwStr-SEBu-UpdateEvent}"/> 2852 <input type="button" name="publishEvent" value="{$bwStr-SEBu-PublishEvent}" onclick="changeClass('publishBox','visible')"/> 2853 <input type="submit" name="cancelled" value="{$bwStr-SEBu-Cancel}"/> 2860 2854 </xsl:when> 2861 2855 <xsl:otherwise> 2862 2856 <!-- we are using the single calendar model for public events --> 2863 <input type="submit" name="updateSubmitEvent" value=" Update Event"/>2864 <input type="submit" name="publishEvent" value=" Publish Event">2857 <input type="submit" name="updateSubmitEvent" value="{$bwStr-SEBu-UpdateEvent}"/> 2858 <input type="submit" name="publishEvent" value="{$bwStr-SEBu-PublishEvent}"> 2865 2859 <xsl:attribute name="onclick">doPublishEvent('<xsl:value-of select="form/calendar/all/select/option/@value"/>','<xsl:value-of select="$eventTitle"/>','<xsl:value-of select="$eventUrlPrefix"/>',this.form);</xsl:attribute> 2866 2860 </input> 2867 <input type="submit" name="cancelled" value=" Cancel"/>2861 <input type="submit" name="cancelled" value="{$bwStr-SEBu-Cancel}"/> 2868 2862 </xsl:otherwise> 2869 2863 </xsl:choose> … … 2871 2865 <xsl:choose> 2872 2866 <xsl:when test="form/xproperties/X-BEDEWORK-SUBMISSION-CLAIMANT/values/text = /bedework/userInfo/group"> 2873 <input type="submit" name="updateSubmitEvent" value=" Release Event" onclick="releasePendingEvent();"/>2867 <input type="submit" name="updateSubmitEvent" value="{$bwStr-SEBu-ReleaseEvent}" onclick="releasePendingEvent();"/> 2874 2868 </xsl:when> 2875 2869 <xsl:otherwise> 2876 <input type="submit" name="updateSubmitEvent" value=" Claim Event">2870 <input type="submit" name="updateSubmitEvent" value="{$bwStr-SEBu-ClaimEvent}"> 2877 2871 <xsl:attribute name="onclick">claimPendingEvent('<xsl:value-of select="/bedework/userInfo/group"/>','<xsl:value-of select="/bedework/userInfo/currentUser"/>');</xsl:attribute> 2878 2872 </input> … … 2884 2878 <xsl:choose> 2885 2879 <xsl:when test="/bedework/creating='true'"> 2886 <input type="submit" name="addEvent" value=" Add Event"/>2887 <input type="submit" name="cancelled" value=" Cancel"/>2880 <input type="submit" name="addEvent" value="{$bwStr-SEBu-AddEvent}"/> 2881 <input type="submit" name="cancelled" value="{$bwStr-SEBu-Cancel}"/> 2888 2882 </xsl:when> 2889 2883 <xsl:otherwise> 2890 2884 <xsl:if test="$canEdit = 'true'"> 2891 2885 <div class="right"> 2892 <input type="submit" name="delete" value=" Delete Event"/>2886 <input type="submit" name="delete" value="{$bwStr-SEBu-DeleteEvent}"/> 2893 2887 </div> 2894 2888 </xsl:if> 2895 <input type="submit" name="updateEvent" value=" Update Event"/>2896 <input type="submit" name="cancelled" value=" Cancel"/>2889 <input type="submit" name="updateEvent" value="{$bwStr-SEBu-UpdateEvent}"/> 2890 <input type="submit" name="cancelled" value="{$bwStr-SEBu-Cancel}"/> 2897 2891 <xsl:if test="form/recurringEntity != 'true' and recurrenceId = '' and $canEdit = 'true'"> 2898 2892 <!-- cannot duplicate recurring events for now --> 2899 <input type="submit" name="copy" value=" Copy Event"/>2893 <input type="submit" name="copy" value="{$bwStr-SEBu-CopyEvent}"/> 2900 2894 </xsl:if> 2901 2895 </xsl:otherwise> … … 2956 2950 2957 2951 <xsl:template name="recurrenceDayPosOptions"> 2958 <option value="0"> none</option>2959 <option value="1"> the first</option>2960 <option value="2"> the second</option>2961 <option value="3"> the third</option>2962 <option value="4"> the fourth</option>2963 <option value="5"> the fifth</option>2964 <option value="-1"> the last</option>2965 <option value=""> every</option>2952 <option value="0"><xsl:copy-of select="$bwStr-RCPO-None"/></option> 2953 <option value="1"><xsl:copy-of select="$bwStr-RCPO-TheFirst"/></option> 2954 <option value="2"><xsl:copy-of select="$bwStr-RCPO-TheSecond"/></option> 2955 <option value="3"><xsl:copy-of select="$bwStr-RCPO-TheThird"/></option> 2956 <option value="4"><xsl:copy-of select="$bwStr-RCPO-TheFourth"/></option> 2957 <option value="5"><xsl:copy-of select="$bwStr-RCPO-TheFifth"/></option> 2958 <option value="-1"><xsl:copy-of select="$bwStr-RCPO-TheLast"/></option> 2959 <option value=""><xsl:copy-of select="$bwStr-RCPO-Every"/></option> 2966 2960 </xsl:template> 2967 2961 … … 2972 2966 <div class="invisible"> 2973 2967 <xsl:attribute name="id"><xsl:value-of select="$name"/>RecurFields<xsl:value-of select="$current"/></xsl:attribute> 2974 and2968 <xsl:copy-of select="$bwStr-BuRF-And"/> 2975 2969 <select width="12em"> 2976 2970 <xsl:attribute name="name">by<xsl:value-of select="$name"/>posPos<xsl:value-of select="$current"/></xsl:attribute> … … 3018 3012 <div id="bwClockBox"> 3019 3013 <h2> 3020 Bedework 24-Hour Clock3014 <xsl:copy-of select="$bwStr-Cloc-Bedework24HourClock"/> 3021 3015 </h2> 3022 3016 <div id="bwClockDateTypeIndicator"> 3023 type3017 <xsl:copy-of select="$bwStr-Cloc-Type"/> 3024 3018 </div> 3025 3019 <div id="bwClockTime"> 3026 select time3020 <xsl:copy-of select="$bwStr-Cloc-SelectTime"/> 3027 3021 </div> 3028 3022 <div id="bwClockSwitch"> 3029 switch3023 <xsl:copy-of select="$bwStr-Cloc-Switch"/> 3030 3024 </div> 3031 3025 <div id="bwClockCloseText"> 3032 close3026 <xsl:copy-of select="$bwStr-Cloc-Close"/> 3033 3027 </div> 3034 3028 <div id="bwClockCloseButton"> … … 3085 3079 <xsl:choose> 3086 3080 <xsl:when test="/bedework/page='deleteEventConfirm' or /bedework/page='deleteEventConfirmPending'"> 3087 <h2> Ok to delete this event?</h2>3081 <h2><xsl:copy-of select="$bwStr-DsEv-OkayToDelete"/></h2> 3088 3082 3089 3083 <xsl:if test="/bedework/page='deleteEventConfirm'"> 3090 <p style="width: 400px;">Note: we do not encourage deletion of old but correct events; we prefer to keep 3091 old events for historical reasons. Please remove only those events 3092 that are truly erroneous.</p> 3084 <p style="width: 400px;"><xsl:copy-of select="$bwStr-DsEv-NoteDontEncourageDeletes"/></p> 3093 3085 </xsl:if> 3094 3086 … … 3100 3092 --><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><!-- 3101 3093 --><xsl:choose> 3102 <xsl:when test="start/allday = 'true'"> (all day)</xsl:when>3094 <xsl:when test="start/allday = 'true'"><xsl:copy-of select="$bwStr-DsEv-AllDay"/></xsl:when> 3103 3095 <xsl:when test="end/longdate != start/longdate"><xsl:value-of select="end/time"/></xsl:when> 3104 3096 <xsl:when test="end/time != start/time"><xsl:value-of select="end/time"/></xsl:when> … … 3120 3112 <div id="bwEmailBox"> 3121 3113 <p> 3122 <strong> You are deleting a pending event.</strong><br/>3114 <strong><xsl:copy-of select="$bwStr-DsEv-YouDeletingPending"/></strong><br/> 3123 3115 <input type="checkbox" name="notifyFlag" checked="checked" onclick="toggleVisibility('bwRejectEventReasonBox','visible');"/> 3124 Send notification to submitter3116 <xsl:copy-of select="$bwStr-DsEv-SendNotification"/> 3125 3117 </p> 3126 3118 <div id="bwRejectEventReasonBox"> 3127 <p> Reason (leave blank to exclude):<br/>3119 <p><xsl:copy-of select="$bwStr-DsEv-Reason"/><br/> 3128 3120 <textarea name="reason" rows="4" cols="60"> 3129 3121 <xsl:text> </xsl:text> … … 3137 3129 </xsl:otherwise> 3138 3130 </xsl:choose> 3139 <input type="submit" name="delete" value=" Yes: Delete Event"/>3140 <input type="submit" name="cancelled" value=" Cancel"/>3131 <input type="submit" name="delete" value="{$bwStr-DsEv-YesDeleteEvent}"/> 3132 <input type="submit" name="cancelled" value="{$bwStr-DsEv-Cancel}"/> 3141 3133 <input type="hidden" name="calPath" value="{$calPath}"/> 3142 3134 <input type="hidden" name="guid" value="{$guid}"/> … … 3146 3138 </xsl:when> 3147 3139 <xsl:otherwise> 3148 <h2> Event Information</h2>3140 <h2><xsl:copy-of select="$bwStr-DsEv-EventInfo"/></h2> 3149 3141 </xsl:otherwise> 3150 3142 </xsl:choose> … … 3153 3145 <tr> 3154 3146 <th> 3155 Title:3147 <xsl:copy-of select="$bwStr-DsEv-Title"/> 3156 3148 </th> 3157 3149 <td> … … 3162 3154 <tr> 3163 3155 <th> 3164 When:3156 <xsl:copy-of select="$bwStr-DsEv-When"/> 3165 3157 </th> 3166 3158 <td> … … 3176 3168 <xsl:choose> 3177 3169 <xsl:when test="start/allday = 'true'"> 3178 <span class="time"><em> (all day)</em></span>3170 <span class="time"><em><xsl:copy-of select="$bwStr-DsEv-AllDay"/></em></span> 3179 3171 </xsl:when> 3180 3172 <xsl:when test="end/longdate != start/longdate"> … … 3190 3182 <tr> 3191 3183 <th> 3192 Topical Areas:3184 <xsl:copy-of select="$bwStr-DsEv-TopicalAreas"/> 3193 3185 </th> 3194 3186 <td> … … 3205 3197 <tr> 3206 3198 <th> 3207 Description:3199 <xsl:copy-of select="$bwStr-DsEv-Description"/> 3208 3200 </th> 3209 3201 <td> … … 3214 3206 <tr class="optional"> 3215 3207 <th> 3216 Price:3208 <xsl:copy-of select="$bwStr-DsEv-Price"/> 3217 3209 </th> 3218 3210 <td> … … 3223 3215 <tr class="optional"> 3224 3216 <th> 3225 URL:3217 <xsl:copy-of select="$bwStr-DsEv-URL"/> 3226 3218 </th> 3227 3219 <td> … … 3236 3228 <tr> 3237 3229 <th> 3238 Location:3230 <xsl:copy-of select="$bwStr-DsEv-Location"/> 3239 3231 </th> 3240 3232 <td> … … 3247 3239 <tr> 3248 3240 <th> 3249 Contact:3241 <xsl:copy-of select="$bwStr-DsEv-Contact"/> 3250 3242 </th> 3251 3243 <td> … … 3262 3254 <tr> 3263 3255 <th> 3264 Owner:3256 <xsl:copy-of select="$bwStr-DsEv-Owner"/> 3265 3257 </th> 3266 3258 <td> … … 3273 3265 <tr> 3274 3266 <th> 3275 Submitter:3267 <xsl:copy-of select="$bwStr-DsEv-Submitter"/> 3276 3268 </th> 3277 3269 <td> … … 3283 3275 <tr> 3284 3276 <th> 3285 Calendar:3277 <xsl:copy-of select="$bwStr-DsEv-Calendar"/> 3286 3278 </th> 3287 3279 <td> … … 3293 3285 <tr> 3294 3286 <th> 3295 Categories:3287 <xsl:copy-of select="$bwStr-DsEv-Categories"/> 3296 3288 </th> 3297 3289 <td> … … 3313 3305 </xsl:when> 3314 3306 <xsl:otherwise> 3315 <xsl:attribute name="value"> Tag event with topical areas</xsl:attribute>3307 <xsl:attribute name="value"><xsl:copy-of select="$bwStr-DsEv-TagEvent"/></xsl:attribute> 3316 3308 </xsl:otherwise> 3317 3309 </xsl:choose> … … 3324 3316 <!--+++++++++++++++ Contacts ++++++++++++++++++++--> 3325 3317 <xsl:template name="contactList"> 3326 <h2> Manage Contacts</h2>3318 <h2><xsl:copy-of select="$bwStr-Cont-ManageContacts"/></h2> 3327 3319 <p> 3328 Select the contact you would like to update:3329 <input type="button" name="return" value=" Add new contact" onclick="javascript:location.replace('{$contact-initAdd}')"/>3320 <xsl:copy-of select="$bwStr-Cont-SelectContact"/> 3321 <input type="button" name="return" value="{$bwStr-Cont-AddNewContact}" onclick="javascript:location.replace('{$contact-initAdd}')"/> 3330 3322 </p> 3331 3323 3332 3324 <table id="commonListTable"> 3333 3325 <tr> 3334 <th> Name</th>3335 <th> Phone</th>3336 <th> Email</th>3337 <th> URL</th>3326 <th><xsl:copy-of select="$bwStr-Cont-Name"/></th> 3327 <th><xsl:copy-of select="$bwStr-Cont-Phone"/></th> 3328 <th><xsl:copy-of select="$bwStr-Cont-Email"/></th> 3329 <th><xsl:copy-of select="$bwStr-Cont-URL"/></th> 3338 3330 </tr> 3339 3331 … … 3366 3358 <xsl:template name="modContact"> 3367 3359 <form action="{$contact-update}" method="post"> 3368 <h2> Contact Information</h2>3360 <h2><xsl:copy-of select="$bwStr-MdCo-ContactInfo"/></h2> 3369 3361 3370 3362 <table id="eventFormTable"> 3371 3363 <tr> 3372 3364 <td class="fieldName"> 3373 Contact:3365 <xsl:copy-of select="$bwStr-MdCo-ContactName"/> 3374 3366 </td> 3375 3367 <td> … … 3379 3371 <tr> 3380 3372 <td class="fieldName"> 3381 Contact Phone Number:3373 <xsl:copy-of select="$bwStr-MdCo-ContactPhone"/> 3382 3374 </td> 3383 3375 <td> 3384 3376 <xsl:copy-of select="/bedework/formElements/form/phone/*"/> 3385 <span class="fieldInfo"> (optional)</span>3377 <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 3386 3378 </td> 3387 3379 </tr> 3388 3380 <tr class="optional"> 3389 3381 <td> 3390 Contact's URL:3382 <xsl:copy-of select="$bwStr-MdCo-ContactURL"/> 3391 3383 </td> 3392 3384 <td> 3393 3385 <xsl:copy-of select="/bedework/formElements/form/link/*"/> 3394 <span class="fieldInfo"> (optional)</span>3386 <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 3395 3387 </td> 3396 3388 </tr> 3397 3389 <tr class="optional"> 3398 3390 <td> 3399 Contact Email Address:3391 <xsl:copy-of select="$bwStr-MdCo-ContactEmail"/> 3400 3392 </td> 3401 3393 <td> 3402 3394 <xsl:copy-of select="/bedework/formElements/form/email/*"/> 3403 <span class="fieldInfo"> (optional)</span>3395 <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MdCo-Optional"/></span> 3404 3396 </td> 3405 3397 </tr> … … 3409 3401 <xsl:choose> 3410 3402 <xsl:when test="/bedework/creating='true'"> 3411 <input type="submit" name="addContact" value=" Add Contact"/>3412 <input type="submit" name="cancelled" value=" Cancel"/>3403 <input type="submit" name="addContact" value="{$bwStr-DCoC-AddContact}"/> 3404 <input type="submit" name="cancelled" value="{$bwStr-DCoC-Cancel}"/> 3413 3405 </xsl:when> 3414 3406 <xsl:otherwise> 3415 <input type="submit" name="updateContact" value=" Update Contact"/>3416 <input type="submit" name="cancelled" value=" Cancel"/>3407 <input type="submit" name="updateContact" value="{$bwStr-DCoC-UpdateContact}"/> 3408 <input type="submit" name="cancelled" value="{$bwStr-DCoC-Cancel}"/> 3417 3409 <div class="right"> 3418 <input type="submit" name="delete" value=" Delete Contact"/>3410 <input type="submit" name="delete" value="{$bwStr-DCoC-DeleteContact}"/> 3419 3411 </div> 3420 3412 </xsl:otherwise> … … 3425 3417 3426 3418 <xsl:template name="deleteContactConfirm"> 3427 <h2> Ok to delete this contact?</h2>3419 <h2><xsl:copy-of select="$bwStr-DCoC-OKToDelete"/></h2> 3428 3420 <p id="confirmButtons"> 3429 3421 <xsl:copy-of select="/bedework/formElements/*"/> … … 3432 3424 <table class="eventFormTable"> 3433 3425 <tr> 3434 <th> Name</th>3426 <th><xsl:copy-of select="$bwStr-DCoC-Name"/></th> 3435 3427 <td> 3436 3428 <xsl:value-of select="/bedework/contact/name" /> … … 3438 3430 </tr> 3439 3431 <tr> 3440 <th> Phone</th>3432 <th><xsl:copy-of select="$bwStr-DCoC-Phone"/></th> 3441 3433 <td> 3442 3434 <xsl:value-of select="/bedework/contact/phone" /> … … 3444 3436 </tr> 3445 3437 <tr> 3446 <th> Email</th>3438 <th><xsl:copy-of select="$bwStr-DCoC-Email"/></th> 3447 3439 <td> 3448 3440 <xsl:value-of select="/bedework/contact/email" /> … … 3450 3442 </tr> 3451 3443 <tr> 3452 <th> URL</th>3444 <th><xsl:copy-of select="$bwStr-DCoC-URL"/></th> 3453 3445 <td> 3454 3446 <xsl:value-of select="/bedework/contact/link" /> … … 3460 3452 <!--+++++++++++++++ Locations ++++++++++++++++++++--> 3461 3453 <xsl:template name="locationList"> 3462 <h2> Manage Locations</h2>3454 <h2><xsl:copy-of select="$bwStr-LoLi-ManageLocations"/></h2> 3463 3455 <p> 3464 Select the location that you would like to update:3465 <input type="button" name="return" value=" Add new location" onclick="javascript:location.replace('{$location-initAdd}')"/>3456 <xsl:copy-of select="$bwStr-LoLi-SelectLocationToUpdate"/> 3457 <input type="button" name="return" value="{$bwStr-LoLi-AddNewLocation}" onclick="javascript:location.replace('{$location-initAdd}')"/> 3466 3458 </p> 3467 3459 3468 3460 <table id="commonListTable"> 3469 3461 <tr> 3470 <th> Address</th>3471 <th> Subaddress</th>3472 <th> URL</th>3462 <th><xsl:copy-of select="$bwStr-LoLi-Address"/></th> 3463 <th><xsl:copy-of select="$bwStr-LoLi-SubAddress"/></th> 3464 <th><xsl:copy-of select="$bwStr-LoLi-URL"/></th> 3473 3465 </tr> 3474 3466 … … 3496 3488 <xsl:choose> 3497 3489 <xsl:when test="/bedework/creating='true'"> 3498 <h2> Add Location</h2>3490 <h2><xsl:copy-of select="$bwStr-MoLo-AddLocation"/></h2> 3499 3491 </xsl:when> 3500 3492 <xsl:otherwise> 3501 <h2> Update Location</h2>3493 <h2><xsl:copy-of select="$bwStr-MoLo-UpdateLocation"/></h2> 3502 3494 </xsl:otherwise> 3503 3495 </xsl:choose> … … 3507 3499 <tr> 3508 3500 <td class="fieldName"> 3509 Address:3501 <xsl:copy-of select="$bwStr-MoLo-Address"/> 3510 3502 </td> 3511 3503 <td> … … 3515 3507 <tr class="optional"> 3516 3508 <td> 3517 Subaddress:3509 <xsl:copy-of select="$bwStr-MoLo-SubAddress"/> 3518 3510 </td> 3519 3511 <td> 3520 3512 <xsl:copy-of select="/bedework/formElements/form/subaddress/*"/> 3521 <span class="fieldInfo"> (optional)</span>3513 <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 3522 3514 </td> 3523 3515 </tr> 3524 3516 <tr class="optional"> 3525 3517 <td> 3526 Location's URL:3518 <xsl:copy-of select="$bwStr-MoLo-LocationURL"/> 3527 3519 </td> 3528 3520 <td> 3529 3521 <xsl:copy-of select="/bedework/formElements/form/link/*"/> 3530 <span class="fieldInfo"> (optional)</span>3522 <span class="fieldInfo"><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MoLo-Optional"/></span> 3531 3523 </td> 3532 3524 </tr> … … 3536 3528 <xsl:choose> 3537 3529 <xsl:when test="/bedework/creating='true'"> 3538 <input type="submit" name="addLocation" value=" Add Location"/>3539 <input type="submit" name="cancelled" value=" Cancel"/>3530 <input type="submit" name="addLocation" value="{$bwStr-MoLo-AddLocation}"/> 3531 <input type="submit" name="cancelled" value="{$bwStr-MoLo-Cancel}"/> 3540 3532 </xsl:when> 3541 3533 <xsl:otherwise> 3542 <input type="submit" name="updateLocation" value=" Update Location"/>3543 <input type="submit" name="cancelled" value=" Cancel"/>3534 <input type="submit" name="updateLocation" value="{$bwStr-MoLo-UpdateLocation}"/> 3535 <input type="submit" name="cancelled" value="{$bwStr-MoLo-Cancel}"/> 3544 3536 <div class="right"> 3545 <input type="submit" name="delete" value=" Delete Location"/>3537 <input type="submit" name="delete" value="{$bwStr-MoLo-DeleteLocation}"/> 3546 3538 </div> 3547 3539 </xsl:otherwise> … … 3552 3544 3553 3545 <xsl:template name="deleteLocationConfirm"> 3554 <h2> Ok to delete this location?</h2>3546 <h2><xsl:copy-of select="$bwStr-DeLC-OkDeleteLocation"/></h2> 3555 3547 <p id="confirmButtons"> 3556 3548 <xsl:copy-of select="/bedework/formElements/*"/> … … 3560 3552 <tr> 3561 3553 <td class="fieldName"> 3562 Address:3554 <xsl:copy-of select="$bwStr-DeLC-Address"/> 3563 3555 </td> 3564 3556 <td> … … 3568 3560 <tr class="optional"> 3569 3561 <td> 3570 Subaddress:3562 <xsl:copy-of select="$bwStr-DeLC-SubAddress"/> 3571 3563 </td> 3572 3564 <td> … … 3576 3568 <tr class="optional"> 3577 3569 <td> 3578 Location's URL:3570 <xsl:copy-of select="$bwStr-DeLC-LocationURL"/> 3579 3571 </td> 3580 3572 <td> … … 3590 3582 <!--+++++++++++++++ Categories ++++++++++++++++++++--> 3591 3583 <xsl:template name="categoryList"> 3592 <h2> Manage Categories</h2>3584 <h2><xsl:copy-of select="$bwStr-CtgL-ManageCategories"/></h2> 3593 3585 <p> 3594 Select the category you would like to update:3595 <input type="button" name="return" value=" Add new category" onclick="javascript:location.replace('{$category-initAdd}')"/>3586 <xsl:copy-of select="$bwStr-CtgL-SelectCategory"/> 3587 <input type="button" name="return" value="{$bwStr-CtgL-AddNewCategory}" onclick="javascript:location.replace('{$category-initAdd}')"/> 3596 3588 </p> 3597 3589 3598 3590 <table id="commonListTable"> 3599 3591 <tr> 3600 <th> Keyword</th>3601 <th> Description</th>3592 <th><xsl:copy-of select="$bwStr-CtgL-Keyword"/></th> 3593 <th><xsl:copy-of select="$bwStr-CtgL-Description"/></th> 3602 3594 </tr> 3603 3595 … … 3622 3614 <xsl:choose> 3623 3615 <xsl:when test="/bedework/creating='true'"> 3624 <h2> Add Category</h2>3616 <h2><xsl:copy-of select="$bwStr-MoCa-AddCategory"/></h2> 3625 3617 <form action="{$category-update}" method="post"> 3626 3618 <table id="eventFormTable"> 3627 3619 <tr> 3628 3620 <td class="fieldName"> 3629 Keyword:3621 <xsl:copy-of select="$bwStr-MoCa-Keyword"/> 3630 3622 </td> 3631 3623 <td> … … 3635 3627 <tr class="optional"> 3636 3628 <td> 3637 Description:3629 <xsl:copy-of select="$bwStr-MoCa-Description"/> 3638 3630 </td> 3639 3631 <td> … … 3645 3637 </table> 3646 3638 <div class="submitBox"> 3647 <input type="submit" name="addCategory" value=" Add Category"/>3648 <input type="submit" name="cancelled" value=" Cancel"/>3639 <input type="submit" name="addCategory" value="{$bwStr-MoCa-AddCategory}"/> 3640 <input type="submit" name="cancelled" value="{$bwStr-MoCa-Cancel}"/> 3649 3641 </div> 3650 3642 </form> 3651 3643 </xsl:when> 3652 3644 <xsl:otherwise> 3653 <h2> Update Category</h2>3645 <h2><xsl:copy-of select="$bwStr-MoCa-UpdateCategory"/></h2> 3654 3646 <form action="{$category-update}" method="post"> 3655 3647 <table id="eventFormTable"> 3656 3648 <tr> 3657 3649 <td class="fieldName"> 3658 Keyword:3659 </td>3650 <xsl:copy-of select="$bwStr-MoCa-Keyword"/> 3651 </td> 3660 3652 <td> 3661 3653 <xsl:variable name="keyword" select="normalize-space(/bedework/currentCategory/category/keyword)"/> … … 3665 3657 <tr class="optional"> 3666 3658 <td> 3667 Description:3668 </td>3659 <xsl:copy-of select="$bwStr-MoCa-Description"/> 3660 </td> 3669 3661 <td> 3670 3662 <textarea name="categoryDesc.value" rows="3" cols="60"> … … 3678 3670 <div class="submitBox"> 3679 3671 <div class="right"> 3680 <input type="submit" name="delete" value=" Delete Category"/>3672 <input type="submit" name="delete" value="{$bwStr-MoCa-DeleteCategory}"/> 3681 3673 </div> 3682 <input type="submit" name="updateCategory" value=" Update Category"/>3683 <input type="submit" name="cancelled" value=" Cancel"/>3674 <input type="submit" name="updateCategory" value="{$bwStr-MoCa-UpdateCategory}"/> 3675 <input type="submit" name="cancelled" value="{$bwStr-MoCa-Cancel}"/> 3684 3676 </div> 3685 3677 </form> … … 3691 3683 3692 3684 <xsl:template name="deleteCategoryConfirm"> 3693 <h2> Ok to delete this category?</h2>3685 <h2><xsl:copy-of select="$bwStr-DeCC-CategoryDeleteOK"/></h2> 3694 3686 3695 3687 … … 3697 3689 <tr> 3698 3690 <td class="fieldName"> 3699 Keyword:3691 <xsl:copy-of select="$bwStr-DeCC-Keyword"/> 3700 3692 </td> 3701 3693 <td> … … 3705 3697 <tr class="optional"> 3706 3698 <td> 3707 Description:3699 <xsl:copy-of select="$bwStr-DeCC-Description"/> 3708 3700 </td> 3709 3701 <td> … … 3714 3706 3715 3707 <form action="{$category-delete}" method="post"> 3716 <input type="submit" name="updateCategory" value=" Yes: Delete Category"/>3717 <input type="submit" name="cancelled" value=" No: Cancel"/>3708 <input type="submit" name="updateCategory" value="{$bwStr-DeCC-YesDelete}"/> 3709 <input type="submit" name="cancelled" value="{$bwStr-DeCC-NoCancel}"/> 3718 3710 </form> 3719 3711 </xsl:template> … … 3734 3726 </ul> 3735 3727 <a href="javascript:toggleVisibility('calCategories','visible')"> 3736 show/hide unused categories3728 <xsl:copy-of select="$bwStr-CaSW-ShowHideUnusedCategories"/> 3737 3729 </a> 3738 3730 <div id="calCategories" class="invisible"> … … 3759 3751 <tr> 3760 3752 <td class="cals"> 3761 <h2> Collections</h2>3753 <h2><xsl:copy-of select="$bwStr-Cals-Collections"/></h2> 3762 3754 <form name="getCollection" id="bwGetCollectionForm" action="{$calendar-fetchForUpdate}"> 3763 Select by path:<br/>3755 <xsl:copy-of select="$bwStr-Cals-SelectByPath"/><br/> 3764 3756 <input type="text" size="15" name="calPath"/> 3765 <input type="submit" value=" go"/>3757 <input type="submit" value="{$bwStr-Cals-Go}"/> 3766 3758 </form> 3767 <h4 class="calendarTreeTitle"> Public Tree</h4>3759 <h4 class="calendarTreeTitle"><xsl:copy-of select="$bwStr-Cals-PublicTree"/></h4> 3768 3760 <ul class="calendarTree"> 3769 3761 <xsl:choose> … … 3811 3803 <xsl:choose> 3812 3804 <xsl:when test="calType = '0'">aliasFolder</xsl:when> 3813 <xsl:otherwise> alias</xsl:otherwise>3805 <xsl:otherwise><xsl:copy-of select="$bwStr-Cals-Alias"/></xsl:otherwise> 3814 3806 </xsl:choose> 3815 3807 </xsl:when> 3816 <xsl:when test="calType = '0'"> folder</xsl:when>3817 <xsl:otherwise> calendar</xsl:otherwise>3808 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Cals-Folder"/></xsl:when> 3809 <xsl:otherwise><xsl:copy-of select="$bwStr-Cals-Calendar"/></xsl:otherwise> 3818 3810 </xsl:choose> 3819 3811 </xsl:attribute> … … 3858 3850 <xsl:attribute name="class"> 3859 3851 <xsl:choose> 3860 <xsl:when test="isSubscription = 'true'"> alias</xsl:when>3861 <xsl:when test="calType = '0'"> folder</xsl:when>3862 <xsl:otherwise> calendar</xsl:otherwise>3852 <xsl:when test="isSubscription = 'true'"><xsl:copy-of select="$bwStr-Cals-Alias"/></xsl:when> 3853 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Cals-Folder"/></xsl:when> 3854 <xsl:otherwise><xsl:copy-of select="$bwStr-Cals-Calendar"/></xsl:otherwise> 3863 3855 </xsl:choose> 3864 3856 </xsl:attribute> … … 3922 3914 3923 3915 <xsl:template match="currentCalendar" mode="addCalendar"> 3924 <h3> Add Calendar, Folder, or Subscription</h3>3925 <p class="note"> Note: Access may be set on a calendar after it is created.</p>3916 <h3><xsl:copy-of select="$bwStr-CuCa-AddCalFileOrSub"/></h3> 3917 <p class="note"><xsl:copy-of select="$bwStr-CuCa-NoteAccessSet"/></p> 3926 3918 <form name="addCalForm" method="post" action="{$calendar-update}" onsubmit="setCatFilters(this);return setCalendarAlias(this);"> 3927 3919 <table class="common"> 3928 3920 <tr> 3929 <th> Name:</th>3921 <th><xsl:copy-of select="$bwStr-CuCa-Name"/></th> 3930 3922 <td> 3931 3923 <xsl:variable name="curCalName" select="name"/> … … 3934 3926 </tr> 3935 3927 <tr> 3936 <th> Summary:</th>3928 <th><xsl:copy-of select="$bwStr-CuCa-Summary"/></th> 3937 3929 <td> 3938 3930 <xsl:variable name="curCalSummary" select="summary"/> … … 3941 3933 </tr> 3942 3934 <tr> 3943 <th> Description:</th>3935 <th><xsl:copy-of select="$bwStr-CuCa-Description"/></th> 3944 3936 <td> 3945 3937 <textarea name="calendar.description" cols="30" rows="4"> … … 3970 3962 </tr--> 3971 3963 <tr> 3972 <th> Filter:</th>3964 <th><xsl:copy-of select="$bwStr-CuCa-Filter"/></th> 3973 3965 <td> 3974 3966 <input type="hidden" name="fexpr" value=""/> 3975 3967 <button type="button" onclick="toggleVisibility('filterCategories','visible')"> 3976 show/hide categories for filtering on output3968 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesFiltering"/> 3977 3969 </button> 3978 3970 <div id="filterCategories" class="invisible"> … … 3992 3984 </tr> 3993 3985 <tr> 3994 <th> Categories:</th>3986 <th><xsl:copy-of select="$bwStr-CuCa-Categories"/></th> 3995 3987 <td> 3996 3988 <button type="button" onclick="toggleVisibility('calCategories','visible')"> 3997 show/hide categories for auto-tagging on input3989 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesAutoTagging"/> 3998 3990 </button> 3999 3991 <div id="calCategories" class="invisible"> … … 4017 4009 </tr> 4018 4010 <tr> 4019 <th> Type:</th>4011 <th><xsl:copy-of select="$bwStr-CuCa-Type"/></th> 4020 4012 <td> 4021 4013 <!-- we will set the value of "calendarCollection on submit. … … 4024 4016 <!-- type is defaulted to calendar. It is changed when a typeSwitch is clicked. --> 4025 4017 <input type="hidden" value="calendar" name="type" id="bwCalType"/> 4026 <input type="radio" value=" calendar" name="typeSwitch" checked="checked" onclick="changeClass('subscriptionTypes','invisible');setField('bwCalType',this.value);"/> Calendar4027 <input type="radio" value=" folder" name="typeSwitch" onclick="changeClass('subscriptionTypes','invisible');setField('bwCalType',this.value);"/> Folder4028 <input type="radio" value=" subscription" name="typeSwitch" onclick="changeClass('subscriptionTypes','visible');setField('bwCalType',this.value);"/> Subscription4018 <input type="radio" value="{$bwStr-CuCa-Calendar}" name="typeSwitch" checked="checked" onclick="changeClass('subscriptionTypes','invisible');setField('bwCalType',this.value);"/> Calendar 4019 <input type="radio" value="{$bwStr-CuCa-Folder}" name="typeSwitch" onclick="changeClass('subscriptionTypes','invisible');setField('bwCalType',this.value);"/> Folder 4020 <input type="radio" value="{$bwStr-CuCa-Subscription}" name="typeSwitch" onclick="changeClass('subscriptionTypes','visible');setField('bwCalType',this.value);"/> Subscription 4029 4021 </td> 4030 4022 </tr> … … 4032 4024 4033 4025 <div id="subscriptionTypes" class="invisible"> 4034 <h4> Subscription URL</h4>4026 <h4><xsl:copy-of select="$bwStr-CuCa-SubscriptionURL"/></h4> 4035 4027 <input type="hidden" value="publicTree" name="subType" id="bwSubType"/> 4036 4028 <div id="subscriptionTypeExternal"> 4037 4029 <table class="common" id="subscriptionTypes"> 4038 4030 <tr> 4039 <th> URL to calendar:</th>4031 <th><xsl:copy-of select="$bwStr-CuCa-URLToCalendar"/></th> 4040 4032 <td> 4041 4033 <input type="text" name="aliasUri" value="" size="40"/> … … 4043 4035 </tr> 4044 4036 <tr> 4045 <th> ID (if required):</th>4037 <th><xsl:copy-of select="$bwStr-CuCa-ID"/></th> 4046 4038 <td> 4047 4039 <input type="text" name="remoteId" value="" size="40"/> … … 4049 4041 </tr> 4050 4042 <tr> 4051 <th> Password (if required):</th>4043 <th><xsl:copy-of select="$bwStr-CuCa-Password"/></th> 4052 4044 <td> 4053 4045 <input type="password" name="remotePw" value="" size="40"/> … … 4056 4048 </table> 4057 4049 <p class="note"> 4058 Note: An alias can be added to a Bedework calendar using a URL of the form:<br/>4050 <xsl:copy-of select="$bwStr-CuCa-NoteAliasCanBeAdded"/><br/> 4059 4051 bwcal://[path], e.g. bwcal:///public/cals/MainCal 4060 4052 </p> … … 4074 4066 4075 4067 <div class="submitButtons"> 4076 <input type="submit" name="addCalendar" value=" Add"/>4077 <input type="submit" name="cancelled" value=" cancel"/>4068 <input type="submit" name="addCalendar" value="{$bwStr-CuCa-Add}"/> 4069 <input type="submit" name="cancelled" value="{$bwStr-CuCa-Cancel}"/> 4078 4070 </div> 4079 4071 </form> … … 4097 4089 <xsl:choose> 4098 4090 <xsl:when test="isSubscription='true'"> 4099 <h3> Modify Subscription</h3>4091 <h3><xsl:copy-of select="$bwStr-CuCa-ModifySubscription"/></h3> 4100 4092 <input type="hidden" value="true" name="calendarCollection"/> 4101 4093 </xsl:when> 4102 4094 <xsl:when test="calType = '0'"> 4103 <h3> Modify Folder</h3>4095 <h3><xsl:copy-of select="$bwStr-CuCa-ModifyFolder"/></h3> 4104 4096 <input type="hidden" value="false" name="calendarCollection"/> 4105 4097 </xsl:when> 4106 4098 <xsl:otherwise> 4107 <h3> Modify Calendar</h3>4099 <h3><xsl:copy-of select="$bwStr-CuCa-ModifyCalendar"/></h3> 4108 4100 <input type="hidden" value="true" name="calendarCollection"/> 4109 4101 </xsl:otherwise> … … 4116 4108 </tr> 4117 4109 <tr> 4118 <th> Name:</th>4110 <th><xsl:copy-of select="$bwStr-CuCa-Name"/></th> 4119 4111 <td> 4120 4112 <xsl:value-of select="name"/> … … 4128 4120 </tr --> 4129 4121 <tr> 4130 <th> Summary:</th>4122 <th><xsl:copy-of select="$bwStr-CuCa-Summary"/></th> 4131 4123 <td> 4132 4124 <xsl:variable name="curCalSummary" select="summary"/> … … 4136 4128 <xsl:if test="/bedework/page = 'modSubscription'"> 4137 4129 <tr> 4138 <th> Topical Area:</th>4130 <th><xsl:copy-of select="$bwStr-CuCa-TopicalArea"/></th> 4139 4131 <td> 4140 4132 <input type="radio" name="calendar.isTopicalArea" value="true"> 4141 4133 <xsl:if test="isTopicalArea = 'true'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 4142 </input> true4134 </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-True"/> 4143 4135 <input type="radio" name="calendar.isTopicalArea" value="false"> 4144 4136 <xsl:if test="isTopicalArea = 'false'"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 4145 </input> false4137 </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-False"/> 4146 4138 </td> 4147 4139 </tr> 4148 4140 </xsl:if> 4149 4141 <tr> 4150 <th> Description:</th>4142 <th><xsl:copy-of select="$bwStr-CuCa-Description"/></th> 4151 4143 <td> 4152 4144 <textarea name="calendar.description" cols="40" rows="4"> … … 4170 4162 </tr--> 4171 4163 <tr> 4172 <th> Display:</th>4164 <th><xsl:copy-of select="$bwStr-CuCa-Display"/></th> 4173 4165 <td> 4174 4166 <input type="checkbox" name="calendar.display" size="40"> … … 4176 4168 <xsl:attribute name="checked">checked</xsl:attribute> 4177 4169 </xsl:if> 4178 </input> display items in this collection4170 </input><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-DisplayItemsInCollection"/> 4179 4171 </td> 4180 4172 </tr> … … 4183 4175 <xsl:attribute name="class">disabled</xsl:attribute> 4184 4176 </xsl:if> 4185 <th> Disabled:</th>4177 <th><xsl:copy-of select="$bwStr-CuCa-Disabled"/></th> 4186 4178 <td> 4187 4179 <input type="hidden" name="calendar.disabled" size="40"> … … 4191 4183 <xsl:if test="disabled = 'true'"> 4192 4184 <span class="disabledNote"> 4193 This item is inaccessible and has been disabled. You may 4194 re-enable it to try again. 4185 <xsl:copy-of select="$bwStr-CuCa-ItemIsInaccessible"/> 4195 4186 </span> 4196 4187 </xsl:if> … … 4198 4189 </tr> 4199 4190 <tr> 4200 <th> Filter:</th>4191 <th><xsl:copy-of select="$bwStr-CuCa-Filter"/></th> 4201 4192 <td> 4202 4193 <input type="hidden" name="fexpr" value=""/> … … 4224 4215 4225 4216 <button type="button" onclick="toggleVisibility('filterCategories','visible')"> 4226 show/hide categories for filtering on output4217 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesFiltering"/> 4227 4218 </button> 4228 4219 … … 4246 4237 </tr> 4247 4238 <tr> 4248 <th> Categories:</th>4239 <th><xsl:copy-of select="$bwStr-CuCa-Categories"/></th> 4249 4240 <td> 4250 4241 <!-- show the selected categories --> … … 4264 4255 </ul> 4265 4256 <button type="button" onclick="toggleVisibility('calCategories','visible')"> 4266 show/hide categories for auto-tagging on input4257 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesAutoTagging"/> 4267 4258 </button> 4268 4259 <div id="calCategories" class="invisible"> … … 4286 4277 <xsl:if test="isSubscription = 'true'"> 4287 4278 <tr> 4288 <th> URL:</th>4279 <th><xsl:copy-of select="$bwStr-CuCa-URL"/></th> 4289 4280 <td> 4290 4281 <input name="aliasUri" value="" size="40"> … … 4295 4286 <xsl:if test="externalSub = 'true'"> 4296 4287 <tr> 4297 <th> Id (if required):</th>4288 <th><xsl:copy-of select="$bwStr-CuCa-ID"/></th> 4298 4289 <td> 4299 4290 <input name="remoteId" value="" size="40"/> … … 4301 4292 </tr> 4302 4293 <tr> 4303 <th> Password (if required):</th>4294 <th><xsl:copy-of select="$bwStr-CuCa-Password"/></th> 4304 4295 <td> 4305 4296 <input type="password" name="remotePw" value="" size="40"/> … … 4311 4302 4312 4303 <div id="sharingBox"> 4313 <h3> Current Access:</h3>4304 <h3><xsl:copy-of select="$bwStr-CuCa-CurrentAccess"/></h3> 4314 4305 <div id="bwCurrentAccessWidget"> </div> 4315 4306 <script type="text/javascript"> … … 4325 4316 <xsl:choose> 4326 4317 <xsl:when test="isSubscription='true'"> 4327 <input type="submit" name="delete" value=" Remove Subscription"/>4318 <input type="submit" name="delete" value="{$bwStr-CuCa-RemoveSubscription}"/> 4328 4319 </xsl:when> 4329 4320 <xsl:when test="calType = '0'"> 4330 <input type="submit" name="delete" value=" Delete Folder"/>4321 <input type="submit" name="delete" value="{$bwStr-CuCa-DeleteFolder}"/> 4331 4322 </xsl:when> 4332 4323 <xsl:otherwise> 4333 <input type="submit" name="delete" value=" Delete Calendar"/>4324 <input type="submit" name="delete" value="{$bwStr-CuCa-DeleteCalendar}"/> 4334 4325 </xsl:otherwise> 4335 4326 </xsl:choose> … … 4337 4328 <xsl:choose> 4338 4329 <xsl:when test="isSubscription='true'"> 4339 <input type="submit" name="updateCalendar" value=" Update Subscription"/>4330 <input type="submit" name="updateCalendar" value="{$bwStr-CuCa-UpdateSubscription}"/> 4340 4331 </xsl:when> 4341 4332 <xsl:when test="calType = '0'"> 4342 <input type="submit" name="updateCalendar" value=" Update Folder"/>4333 <input type="submit" name="updateCalendar" value="{$bwStr-CuCa-UpdateFolder}"/> 4343 4334 </xsl:when> 4344 4335 <xsl:otherwise> 4345 <input type="submit" name="updateCalendar" value=" Update Calendar"/>4336 <input type="submit" name="updateCalendar" value="{$bwStr-CuCa-UpdateCalendar}"/> 4346 4337 </xsl:otherwise> 4347 4338 </xsl:choose> 4348 <input type="submit" name="cancelled" value=" cancel"/>4339 <input type="submit" name="cancelled" value="{$bwStr-CuCa-Cancel}"/> 4349 4340 </div> 4350 4341 </form> … … 4371 4362 4372 4363 <xsl:template name="calendarList"> 4373 <h3> Manage Calendars & Folders</h3>4364 <h3><xsl:copy-of select="$bwStr-CaLi-ManageCalendarsAndFolders"/></h3> 4374 4365 <ul> 4375 4366 4376 <li>Select an item from the Public Tree on the left to modify 4377 a calendar or folder.</li> 4378 <li>Select the 4367 <li><xsl:copy-of select="$bwStr-CaLi-SelectItemFromPublicTree"/></li> 4368 <li><xsl:copy-of select="$bwStr-CaLi-SelectThe"/> 4379 4369 <img src="{$resourcesRoot}/resources/calAddIcon.gif" width="13" height="13" alt="true" border="0"/> 4380 icon to add a new calendar or folder to the tree.4370 <xsl:copy-of select="$bwStr-CaLi-IconToAdd"/> 4381 4371 <ul> 4382 <li> Folders may only contain calendars and subfolders.</li>4383 <li> Calendars may only contain events (and other calendar items).</li>4372 <li><xsl:copy-of select="$bwStr-CaLi-FoldersMayContain"/></li> 4373 <li><xsl:copy-of select="$bwStr-CaLi-CalendarsMayContain"/></li> 4384 4374 </ul> 4385 4375 </li> 4386 4376 <li> 4387 Retrieve a calendar or folder directly by its path using the form to the left.4377 <xsl:copy-of select="$bwStr-CaLi-RetrieveCalendar"/> 4388 4378 </li> 4389 4379 </ul> … … 4391 4381 4392 4382 <xsl:template name="calendarDescriptions"> 4393 <h2> Calendar Information</h2>4383 <h2><xsl:copy-of select="$bwStr-CaLD-CalendarInfo"/></h2> 4394 4384 <ul> 4395 <li>Select an item from the calendar tree on the left to view all information 4396 about that calendar or folder. The tree on the left represents the calendar 4397 heirarchy.</li> 4385 <li><xsl:copy-of select="$bwStr-CaLD-SelectItemFromCalendarTree"/></li> 4398 4386 </ul> 4399 4387 </xsl:template> 4400 4388 4401 4389 <xsl:template match="currentCalendar" mode="displayCalendar"> 4402 <h2> Calendar Information</h2>4390 <h2><xsl:copy-of select="$bwStr-CaLD-CalendarInfo"/></h2> 4403 4391 <table class="eventFormTable"> 4404 4392 <tr> 4405 <th> Name:</th>4393 <th><xsl:copy-of select="$bwStr-CaLD-Name"/></th> 4406 4394 <td> 4407 4395 <xsl:value-of select="name"/> … … 4409 4397 </tr> 4410 4398 <tr> 4411 <th> Path:</th>4399 <th><xsl:copy-of select="$bwStr-CaLD-Path"/></th> 4412 4400 <td> 4413 4401 <xsl:value-of select="path"/> … … 4415 4403 </tr> 4416 4404 <tr> 4417 <th> Summary:</th>4405 <th><xsl:copy-of select="$bwStr-CaLD-Summary"/></th> 4418 4406 <td> 4419 4407 <xsl:value-of select="summary"/> … … 4421 4409 </tr> 4422 4410 <tr> 4423 <th> Description:</th>4411 <th><xsl:copy-of select="$bwStr-CaLD-Description"/></th> 4424 4412 <td> 4425 4413 <xsl:value-of select="desc"/> … … 4432 4420 <xsl:choose> 4433 4421 <xsl:when test="isSubscription = 'true'"> 4434 <h3> Remove Subscription</h3>4422 <h3><xsl:copy-of select="$bwStr-CuCa-RemoveSubscription"/></h3> 4435 4423 <p> 4436 The following subscription will be removed. 4437 Continue? 4424 <xsl:copy-of select="$bwStr-CuCa-FollowingSubscriptionRemoved"/> 4438 4425 </p> 4439 4426 </xsl:when> 4440 4427 <xsl:when test="calType = '0'"> 4441 <h3> Delete Folder</h3>4428 <h3><xsl:copy-of select="$bwStr-CuCa-DeleteFolder"/></h3> 4442 4429 <p> 4443 The following folder <em>and all its contents</em> will be deleted. 4444 Continue? 4430 <xsl:copy-of select="$bwStr-CuCa-FollowingFolderDeleted"/> 4445 4431 </p> 4446 4432 </xsl:when> 4447 4433 <xsl:otherwise> 4448 <h3> Delete Calendar</h3>4434 <h3><xsl:copy-of select="$bwStr-CuCa-DeleteCalendar"/></h3> 4449 4435 <p> 4450 The following calendar will be deleted. Continue?4436 <xsl:copy-of select="$bwStr-CuCa-FollowingCalendarDeleted"/> 4451 4437 </p> 4452 4438 </xsl:otherwise> … … 4456 4442 <table class="eventFormTable"> 4457 4443 <tr> 4458 <th> Path:</th>4444 <th><xsl:copy-of select="$bwStr-CuCa-Path"/></th> 4459 4445 <td> 4460 4446 <xsl:value-of select="path"/> … … 4462 4448 </tr> 4463 4449 <tr> 4464 <th> Name:</th>4450 <th><xsl:copy-of select="$bwStr-CuCa-Name"/></th> 4465 4451 <td> 4466 4452 <xsl:value-of select="name"/> … … 4468 4454 </tr> 4469 4455 <tr> 4470 <th> Summary:</th>4456 <th><xsl:copy-of select="$bwStr-CuCa-Summary"/></th> 4471 4457 <td> 4472 4458 <xsl:value-of select="summary"/> … … 4474 4460 </tr> 4475 4461 <tr> 4476 <th> Description:</th>4462 <th><xsl:copy-of select="$bwStr-CuCa-Description"/></th> 4477 4463 <td> 4478 4464 <xsl:value-of select="desc"/> … … 4485 4471 <xsl:choose> 4486 4472 <xsl:when test="isSubscription = 'true'"> 4487 <input type="submit" name="delete" value=" Yes: Remove Subscription!"/>4473 <input type="submit" name="delete" value="{$bwStr-CuCa-YesRemoveSubscription}"/> 4488 4474 </xsl:when> 4489 4475 <xsl:when test="calType = '0'"> 4490 <input type="submit" name="delete" value=" Yes: Delete Folder!"/>4476 <input type="submit" name="delete" value="{$bwStr-CuCa-YesDeleteFolder}"/> 4491 4477 </xsl:when> 4492 4478 <xsl:otherwise> 4493 <input type="submit" name="delete" value=" Yes: Delete Calendar!"/>4479 <input type="submit" name="delete" value="{$bwStr-CuCa-YesDeleteCalendar}"/> 4494 4480 </xsl:otherwise> 4495 4481 </xsl:choose> 4496 4482 </div> 4497 <input type="submit" name="cancelled" value=" Cancel"/>4483 <input type="submit" name="cancelled" value="{$bwStr-CuCa-Cancel}"/> 4498 4484 </div> 4499 4485 </form> … … 4503 4489 <xsl:template name="selectCalForEvent"> 4504 4490 <div id="calTreeBlock"> 4505 <h2> Select a calendar</h2>4491 <h2><xsl:copy-of select="$bwStr-SCFE-SelectCal"/></h2> 4506 4492 <!--<form name="toggleCals" action="{$event-selectCalForEvent}" method="post"> 4507 4493 <xsl:choose> … … 4520 4506 </xsl:choose> 4521 4507 </form>--> 4522 <h4> Calendars</h4>4508 <h4><xsl:copy-of select="$bwStr-SCFE-Calendars"/></h4> 4523 4509 <ul class="calendarTree"> 4524 4510 <xsl:apply-templates select="/bedework/calendars/calendar" mode="selectCalForEventCalTree"/> … … 4532 4518 <xsl:variable name="itemClass"> 4533 4519 <xsl:choose> 4534 <xsl:when test="calType = '0'"> folder</xsl:when>4535 <xsl:otherwise> calendar</xsl:otherwise>4520 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Cals-Folder"/></xsl:when> 4521 <xsl:otherwise><xsl:copy-of select="$bwStr-Cals-Calendar"/></xsl:otherwise> 4536 4522 </xsl:choose> 4537 4523 </xsl:variable> … … 4577 4563 <tr> 4578 4564 <td class="calendarContent"> 4579 <h3> Move Calendar/Folder</h3>4565 <h3><xsl:copy-of select="$bwStr-CaMv-MoveCalendar"/></h3> 4580 4566 4581 4567 <table class="eventFormTable"> 4582 4568 <tr> 4583 <th> Current Path:</th>4569 <th><xsl:copy-of select="$bwStr-CaMv-CurrentPath"/></th> 4584 4570 <td> 4585 4571 <xsl:value-of select="/bedework/currentCalendar/path"/> … … 4587 4573 </tr> 4588 4574 <tr> 4589 <th> Name:</th>4575 <th><xsl:copy-of select="$bwStr-CaMv-Name"/></th> 4590 4576 <td> 4591 4577 <xsl:value-of select="/bedework/currentCalendar/name"/> … … 4593 4579 </tr> 4594 4580 <tr> 4595 <th> Mailing List ID:</th>4581 <th><xsl:copy-of select="$bwStr-CaMv-MailingListID"/></th> 4596 4582 <td> 4597 4583 <xsl:value-of select="/bedework/currentCalendar/mailListId"/> … … 4599 4585 </tr> 4600 4586 <tr> 4601 <th> Summary:</th>4587 <th><xsl:copy-of select="$bwStr-CaMv-Summary"/></th> 4602 4588 <td> 4603 4589 <xsl:value-of select="/bedework/currentCalendar/summary"/> … … 4605 4591 </tr> 4606 4592 <tr> 4607 <th> Description:</th>4593 <th><xsl:copy-of select="$bwStr-CaMv-Description"/></th> 4608 4594 <td> 4609 4595 <xsl:value-of select="/bedework/currentCalendar/desc"/> … … 4613 4599 </td> 4614 4600 <td class="bwCalsForMove"> 4615 <p> Select a new parent folder:</p>4601 <p><xsl:copy-of select="$bwStr-CaMv-SelectNewParentFolder"/></p> 4616 4602 <ul class="calendarTree"> 4617 4603 <xsl:apply-templates select="/bedework/calendars/calendar" mode="listForMove"/> … … 4631 4617 <p> 4632 4618 <input type="text" name="who" width="40"/> 4633 <span class="nowrap"><input type="radio" name="whoType" value="user" checked="checked"/> user</span>4634 <span class="nowrap"><input type="radio" name="whoType" value="group"/> group</span>4619 <span class="nowrap"><input type="radio" name="whoType" value="user" checked="checked"/><xsl:copy-of select="$bwStr-ScAF-User"/></span> 4620 <span class="nowrap"><input type="radio" name="whoType" value="group"/><xsl:copy-of select="$bwStr-ScAF-Group"/></span> 4635 4621 </p> 4636 4622 <p> 4637 <strong> or</strong>4638 <span class="nowrap"><input type="radio" name="whoType" value="owner"/> owner</span>4639 <span class="nowrap"><input type="radio" name="whoType" value="auth"/> authenticated users</span>4640 <span class="nowrap"><input type="radio" name="whoType" value="other"/> anyone</span>4623 <strong><xsl:copy-of select="$bwStr-ScAF-Or"/></strong> 4624 <span class="nowrap"><input type="radio" name="whoType" value="owner"/><xsl:copy-of select="$bwStr-ScAF-Owner"/></span> 4625 <span class="nowrap"><input type="radio" name="whoType" value="auth"/><xsl:copy-of select="$bwStr-ScAF-AuthenticatedUsers"/></span> 4626 <span class="nowrap"><input type="radio" name="whoType" value="other"/><xsl:copy-of select="$bwStr-ScAF-Anyone"/></span> 4641 4627 </p> 4642 4628 … … 4644 4630 <dl> 4645 4631 <dt> 4646 <input type="checkbox" name="howSetter" value="S" checked="checked" onchange="toggleScheduleHow(this.form,this)"/> all scheduling4632 <input type="checkbox" name="howSetter" value="S" checked="checked" onchange="toggleScheduleHow(this.form,this)"/><xsl:copy-of select="$bwStr-ScAF-AllScheduling"/> 4647 4633 </dt> 4648 4634 <dd> 4649 <input type="checkbox" name="howSetter" value="t" checked="checked" disabled="disabled"/> scheduling requests<br/>4650 <input type="checkbox" name="howSetter" value="y" checked="checked" disabled="disabled"/> scheduling replies<br/>4651 <input type="checkbox" name="howSetter" value="s" checked="checked" disabled="disabled"/> free-busy requests4635 <input type="checkbox" name="howSetter" value="t" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-SchedReqs"/><br/> 4636 <input type="checkbox" name="howSetter" value="y" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-SchedReplies"/><br/> 4637 <input type="checkbox" name="howSetter" value="s" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-FreeBusyReqs"/> 4652 4638 </dd> 4653 4639 </dl> 4654 4640 4655 <input type="submit" name="modPrefs" value=" Update"/>4656 <input type="submit" name="cancelled" value=" cancel"/>4641 <input type="submit" name="modPrefs" value="{$bwStr-ScAF-Update}"/> 4642 <input type="submit" name="cancelled" value="{$bwStr-ScAF-Cancel}"/> 4657 4643 </xsl:template> 4658 4644 … … 4664 4650 <xsl:param name="what"/> <!-- optional (for scheduling only) --> 4665 4651 <xsl:param name="calSuiteName"/> <!-- optional (for calendar suites only) --> 4666 <h3> Current Access:</h3>4652 <h3><xsl:copy-of select="$bwStr-ACLs-CurrentAccess"/></h3> 4667 4653 <table class="common scheduling"> 4668 4654 <tr> 4669 <th> Entry</th>4670 <th> Access</th>4671 <th> Inherited from</th>4655 <th><xsl:copy-of select="$bwStr-ACLs-Entry"/></th> 4656 <th><xsl:copy-of select="$bwStr-ACLs-Access"/></th> 4657 <th><xsl:copy-of select="$bwStr-ACLs-InheritedFrom"/></th> 4672 4658 <td></td> 4673 4659 </tr> … … 4693 4679 <xsl:variable name="whoType"> 4694 4680 <xsl:choose> 4695 <xsl:when test="contains($who,/bedework/syspars/userPrincipalRoot)"> user</xsl:when>4696 <xsl:when test="contains($who,/bedework/syspars/groupPrincipalRoot)"> group</xsl:when>4697 <xsl:when test="$who='authenticated'"> auth</xsl:when>4698 <xsl:when test="$who='unauthenticated'"> unauth</xsl:when>4699 <xsl:when test="$who='all'"> all</xsl:when>4700 <xsl:when test="invert/principal/property/owner"> other</xsl:when>4681 <xsl:when test="contains($who,/bedework/syspars/userPrincipalRoot)"><xsl:copy-of select="$bwStr-ACLs-User"/></xsl:when> 4682 <xsl:when test="contains($who,/bedework/syspars/groupPrincipalRoot)"><xsl:copy-of select="$bwStr-ACLs-Group"/></xsl:when> 4683 <xsl:when test="$who='authenticated'"><xsl:copy-of select="$bwStr-ACLs-Auth"/></xsl:when> 4684 <xsl:when test="$who='unauthenticated'"><xsl:copy-of select="$bwStr-ACLs-UnAuth"/></xsl:when> 4685 <xsl:when test="$who='all'"><xsl:copy-of select="$bwStr-ACLs-All"/></xsl:when> 4686 <xsl:when test="invert/principal/property/owner"><xsl:copy-of select="$bwStr-ACLs-Other"/></xsl:when> 4701 4687 <xsl:when test="principal/property"><xsl:value-of select="name(principal/property/*)"/></xsl:when> 4702 4688 <xsl:when test="invert/principal/property"><xsl:value-of select="name(invert/principal/property/*)"/></xsl:when> … … 4724 4710 <xsl:choose> 4725 4711 <xsl:when test="$whoType = 'other'"> 4726 anyone (other)4712 <xsl:copy-of select="$bwStr-ACLs-Anyone"/> 4727 4713 </xsl:when> 4728 4714 <xsl:when test="$shortWho != ''"> … … 4736 4722 <td class="acls"> 4737 4723 <xsl:if test="grant"> 4738 grant:4724 <xsl:copy-of select="$bwStr-ACLs-Grant"/> 4739 4725 <span class="grant"> 4740 4726 <xsl:for-each select="grant/privilege/*"> … … 4745 4731 </xsl:if> 4746 4732 <xsl:if test="deny"> 4747 deny:4733 <xsl:copy-of select="$bwStr-ACLs-Deny"/> 4748 4734 <span class="deny"> 4749 4735 <xsl:for-each select="deny/privilege/*"> … … 4760 4746 </xsl:when> 4761 4747 <xsl:otherwise> 4762 local4748 <xsl:copy-of select="$bwStr-ACLs-Local"/> 4763 4749 </xsl:otherwise> 4764 4750 </xsl:choose> … … 4801 4787 <tr> 4802 4788 <td class="cals"> 4803 <h3> Subscriptions</h3>4789 <h3><xsl:copy-of select="$bwStr-Subs-Subscriptions"/></h3> 4804 4790 <ul class="calendarTree"> 4805 4791 <xsl:apply-templates select="calendar" mode="listForUpdateSubscription"> … … 4829 4815 4830 4816 <xsl:template name="subscriptionIntro"> 4831 <h3> Managing Subscriptions</h3>4817 <h3><xsl:copy-of select="$bwStr-Subs-ManagingSubscriptions"/></h3> 4832 4818 <ul> 4833 4819 <li> 4834 Select an item from the tree on the left to modify a subscription.4820 <xsl:copy-of select="$bwStr-Subs-SelectAnItem"/> 4835 4821 </li> 4836 4822 <li> 4837 Select the4823 <xsl:copy-of select="$bwStr-Subs-SelectThe"/> 4838 4824 <img src="{$resourcesRoot}/resources/calAddIcon.gif" width="13" height="13" alt="true" border="0"/> 4839 icon to add a new subscription or folder to the tree.4825 <xsl:copy-of select="$bwStr-Subs-IconToAdd"/> 4840 4826 </li> 4841 4827 </ul> 4842 <ul> 4843 <li> 4844 <strong>Topical Areas:</strong> 4845 <ul> 4846 <li> 4847 A subscription marked as a "Topical Area" will be presented to event administrators when creating events. 4848 These are used for input (tagging) and output (if added to a view). 4849 </li> 4850 <li> 4851 A subscription not marked as a "Topical Area" can be used in Views, 4852 but will not appear when creating events. Such subscriptions are used for output only, 4853 e.g. an ical feed of holidays from an external source. 4854 </li> 4855 </ul> 4856 </li> 4857 </ul> 4828 <xsl:copy-of select="$bwStr-Subs-TopicalAreasNote"/> 4858 4829 </xsl:template> 4859 4830 … … 4870 4841 </xsl:choose> 4871 4842 </xsl:when> 4872 <xsl:when test="calType = '0'"> folder</xsl:when>4843 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Cals-Folder"/></xsl:when> 4873 4844 <xsl:otherwise>calendar</xsl:otherwise> 4874 4845 </xsl:choose> … … 4901 4872 <xsl:if test="calType = '0' and isSubscription='false'"> 4902 4873 <xsl:text> </xsl:text> 4903 <a href="{$subscriptions-initAdd}&calPath={$calPath}" title=" add a subscription">4904 <img src="{$resourcesRoot}/resources/calAddIcon.gif" width="13" height="13" alt=" add a subscription" border="0"/>4874 <a href="{$subscriptions-initAdd}&calPath={$calPath}" title="{$bwStr-Cals-AddSubscription}"> 4875 <img src="{$resourcesRoot}/resources/calAddIcon.gif" width="13" height="13" alt="{$bwStr-Cals-AddSubscription}" border="0"/> 4905 4876 </a> 4906 4877 </xsl:if> … … 4914 4885 4915 4886 <xsl:template match="currentCalendar" mode="addSubscription"> 4916 <h3> Add Subscription</h3>4917 <p class="note"> Note: Access may be set on a subscription after it is created.</p>4887 <h3><xsl:copy-of select="$bwStr-CuCa-AddSubscription"/></h3> 4888 <p class="note"><xsl:copy-of select="$bwStr-CuCa-AccessNote"/></p> 4918 4889 <form name="addCalForm" method="post" action="{$subscriptions-update}" onsubmit="setCatFilters(this);return setCalendarAlias(this);"> 4919 4890 <table class="common"> 4920 4891 <tr> 4921 <th> Name:</th>4892 <th><xsl:copy-of select="$bwStr-CuCa-Name"/></th> 4922 4893 <td> 4923 4894 <xsl:variable name="curCalName" select="name"/> … … 4926 4897 </tr> 4927 4898 <tr> 4928 <th> Summary:</th>4899 <th><xsl:copy-of select="$bwStr-CuCa-Summary"/></th> 4929 4900 <td> 4930 4901 <xsl:variable name="curCalSummary" select="summary"/> … … 4933 4904 </tr> 4934 4905 <tr> 4935 <th> Topical Area:</th>4936 <td> 4937 <input type="radio" name="calendar.isTopicalArea" value="true" checked="checked"/> true4938 <input type="radio" name="calendar.isTopicalArea" value="false"/> false4939 </td> 4940 </tr> 4941 <tr> 4942 <th> Description:</th>4906 <th><xsl:copy-of select="$bwStr-CuCa-TopicalArea"/></th> 4907 <td> 4908 <input type="radio" name="calendar.isTopicalArea" value="true" checked="checked"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-True"/> 4909 <input type="radio" name="calendar.isTopicalArea" value="false"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-False"/> 4910 </td> 4911 </tr> 4912 <tr> 4913 <th><xsl:copy-of select="$bwStr-CuCa-Description"/></th> 4943 4914 <td> 4944 4915 <textarea name="calendar.description" cols="30" rows="4"> … … 4969 4940 </tr--> 4970 4941 <tr> 4971 <th> Filter:</th>4942 <th><xsl:copy-of select="$bwStr-CuCa-Filter"/></th> 4972 4943 <td> 4973 4944 <input type="hidden" name="fexpr" value=""/> 4974 4945 <button type="button" onclick="toggleVisibility('filterCategories','visible')"> 4975 show/hide categories for filtering on output4946 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesFiltering"/> 4976 4947 </button> 4977 4948 <div id="filterCategories" class="invisible"> … … 4991 4962 </tr> 4992 4963 <tr> 4993 <th> Categories:</th>4964 <th><xsl:copy-of select="$bwStr-CuCa-Categories"/></th> 4994 4965 <td> 4995 4966 <button type="button" onclick="toggleVisibility('calCategories','visible')"> 4996 show/hide categories for auto-tagging on input4967 <xsl:copy-of select="$bwStr-CuCa-ShowHideCategoriesAutoTagging"/> 4997 4968 </button> 4998 4969 <div id="calCategories" class="invisible"> … … 5016 4987 </tr> 5017 4988 <tr> 5018 <th> Type:</th>4989 <th><xsl:copy-of select="$bwStr-CuCa-Type"/></th> 5019 4990 <td> 5020 4991 <!-- we will set the value of "calendarCollection" on submit. … … 5029 5000 <!-- subType is defaulted to public. It is changed when a subTypeSwitch is clicked. --> 5030 5001 <input type="hidden" value="public" name="subType" id="bwSubType"/> 5031 <input type="radio" name="subTypeSwitch" value="folder" onclick="changeClass('subscriptionTypePublic','invisible');changeClass('subscriptionTypeExternal','invisible');setField('bwType',this.value);"/> Folder5032 <input type="radio" name="subTypeSwitch" value="public" checked="checked" onclick="changeClass('subscriptionTypePublic','visible');changeClass('subscriptionTypeExternal','invisible');setField('bwSubType',this.value);"/> Public alias5033 <input type="radio" name="subTypeSwitch" value="external" onclick="changeClass('subscriptionTypePublic','invisible');changeClass('subscriptionTypeExternal','visible');setField('bwSubType',this.value);"/> URL5002 <input type="radio" name="subTypeSwitch" value="folder" onclick="changeClass('subscriptionTypePublic','invisible');changeClass('subscriptionTypeExternal','invisible');setField('bwType',this.value);"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-FOLDER"/> 5003 <input type="radio" name="subTypeSwitch" value="public" checked="checked" onclick="changeClass('subscriptionTypePublic','visible');changeClass('subscriptionTypeExternal','invisible');setField('bwSubType',this.value);"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-PublicAlias"/> 5004 <input type="radio" name="subTypeSwitch" value="external" onclick="changeClass('subscriptionTypePublic','invisible');changeClass('subscriptionTypeExternal','visible');setField('bwSubType',this.value);"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-CuCa-URL"/> 5034 5005 5035 5006 <div id="subscriptionTypePublic"> 5036 5007 <input type="hidden" value="" name="publicAliasHolder" id="publicAliasHolder"/> 5037 5008 <div id="bwPublicCalDisplay"> 5038 <button type="button" onclick="showPublicCalAliasTree();"> Select a public calendar or folder</button>5009 <button type="button" onclick="showPublicCalAliasTree();"><xsl:copy-of select="$bwStr-CuCa-SelectPublicCalOrFolder"/></button> 5039 5010 </div> 5040 5011 <ul id="publicSubscriptionTree" class="invisible"> … … 5046 5017 <table class="common"> 5047 5018 <tr> 5048 <th> URL to calendar:</th>5019 <th><xsl:copy-of select="$bwStr-CuCa-URLToCalendar"/></th> 5049 5020 <td> 5050 5021 <input type="text" name="aliasUriHolder" id="aliasUriHolder" value="" size="40"/> … … 5052 5023 </tr> 5053 5024 <tr> 5054 <th> ID (if required):</th>5025 <th><xsl:copy-of select="$bwStr-CuCa-ID"/></th> 5055 5026 <td> 5056 5027 <input type="text" name="remoteId" value="" size="40"/> … … 5058 5029 </tr> 5059 5030 <tr> 5060 <th> Password (if required):</th>5031 <th><xsl:copy-of select="$bwStr-CuCa-Password"/></th> 5061 5032 <td> 5062 5033 <input type="password" name="remotePw" value="" size="40"/> … … 5081 5052 5082 5053 <div class="submitButtons"> 5083 <input type="submit" name="addCalendar" value=" Add"/>5084 <input type="submit" name="cancelled" value=" cancel"/>5054 <input type="submit" name="addCalendar" value="{$bwStr-CuCa-Add}"/> 5055 <input type="submit" name="cancelled" value="{$bwStr-CuCa-Cancel}"/> 5085 5056 </div> 5086 5057 </form> … … 5093 5064 <xsl:attribute name="class"> 5094 5065 <xsl:choose> 5095 <xsl:when test="name='Trash'"> trash</xsl:when>5096 <xsl:when test="isSubscription = 'true'"> alias</xsl:when>5097 <xsl:when test="calType = '0'"> folder</xsl:when>5098 <xsl:otherwise> calendar</xsl:otherwise>5066 <xsl:when test="name='Trash'"><xsl:copy-of select="$bwStr-Cals-Trash"/></xsl:when> 5067 <xsl:when test="isSubscription = 'true'"><xsl:copy-of select="$bwStr-Cals-Alias"/></xsl:when> 5068 <xsl:when test="calType = '0'"><xsl:copy-of select="$bwStr-Cals-Folder"/></xsl:when> 5069 <xsl:otherwise><xsl:copy-of select="$bwStr-Cals-Calendar"/></xsl:otherwise> 5099 5070 </xsl:choose> 5100 5071 </xsl:attribute> … … 5123 5094 <xsl:choose> 5124 5095 <xsl:when test="isSubscription = 'true'"> 5125 <h3> Remove Subscription</h3>5096 <h3><xsl:copy-of select="$bwStr-CuCa-RemoveSubscription"/></h3> 5126 5097 <p> 5127 The following subscription will be removed. 5128 Continue? 5098 <xsl:copy-of select="$bwStr-CuCa-FollowingSubscriptionRemoved"/> 5129 5099 </p> 5130 5100 </xsl:when> 5131 5101 <xsl:when test="calType = '0'"> 5132 <h3> Delete Folder</h3>5102 <h3><xsl:copy-of select="$bwStr-CuCa-DeleteFolder"/></h3> 5133 5103 <p> 5134 The following folder <em>and all its contents</em> will be deleted. 5135 Continue? 5104 <xsl:copy-of select="$bwStr-CuCa-FollowingFolderDeleted"/> 5136 5105 </p> 5137 5106 </xsl:when> 5138 5107 <xsl:otherwise> 5139 <h3> Delete Calendar</h3>5108 <h3><xsl:copy-of select="$bwStr-CuCa-DeleteCalendar"/></h3> 5140 5109 <p> 5141 The following calendar will be deleted. Continue?5110 <xsl:copy-of select="$bwStr-CuCa-FollowingCalendarDeleted"/> 5142 5111 </p> 5143 5112 </xsl:otherwise> … … 5153 5122 </tr> 5154 5123 <tr> 5155 <th> Name:</th>5124 <th><xsl:copy-of select="$bwStr-CuCa-Name"/></th> 5156 5125 <td> 5157 5126 <xsl:value-of select="name"/> … … 5159 5128 </tr> 5160 5129 <tr> 5161 <th> Summary:</th>5130 <th><xsl:copy-of select="$bwStr-CuCa-Summary"/></th> 5162 5131 <td> 5163 5132 <xsl:value-of select="summary"/> … … 5165 5134 </tr> 5166 5135 <tr> 5167 <th> Description:</th>5136 <th><xsl:copy-of select="$bwStr-CuCa-Description"/></th> 5168 5137 <td> 5169 5138 <xsl:value-of select="desc"/> … … 5176 5145 <xsl:choose> 5177 5146 <xsl:when test="isSubscription = 'true'"> 5178 <input type="submit" name="delete" value=" Yes: Remove Subscription!"/>5147 <input type="submit" name="delete" value="{$bwStr-CuCa-YesRemoveSubscription}"/> 5179 5148 </xsl:when> 5180 5149 <xsl:when test="calType = '0'"> 5181 <input type="submit" name="delete" value=" Yes: Delete Folder!"/>5150 <input type="submit" name="delete" value="{$bwStr-CuCa-YesDeleteFolder}"/> 5182 5151 </xsl:when> 5183 5152 <xsl:otherwise> 5184 <input type="submit" name="delete" value=" Yes: Delete Calendar!"/>5153 <input type="submit" name="delete" value="{$bwStr-CuCa-YesDeleteCalendar}"/> 5185 5154 </xsl:otherwise> 5186 5155 </xsl:choose> 5187 5156 </div> 5188 <input type="submit" name="cancelled" value=" Cancel"/>5157 <input type="submit" name="cancelled" value="{$bwStr-CuCa-Cancel}"/> 5189 5158 </div> 5190 5159 </form> … … 5196 5165 <xsl:variable name="userPath">/user/<xsl:value-of select="/bedework/userInfo/user"/>/</xsl:variable> 5197 5166 5198 <h2> Manage Views</h2>5167 <h2><xsl:copy-of select="$bwStr-View-ManageViews"/></h2> 5199 5168 <p> 5200 Views are named aggregations of subscriptions used 5201 to display sets of events within a calendar suite. 5169 <xsl:copy-of select="$bwStr-View-ViewsAreNamedAggr"/> 5202 5170 </p> 5203 5171 5204 <h4> Add a new view</h4>5172 <h4><xsl:copy-of select="$bwStr-View-AddNewView"/></h4> 5205 5173 <form name="addView" action="{$view-addView}" method="post"> 5206 5174 <input type="text" name="name" size="60"/> … … 5208 5176 </form> 5209 5177 5210 <h4> Views</h4>5178 <h4><xsl:copy-of select="$bwStr-View-Views"/></h4> 5211 5179 <table id="commonListTable" class="viewsTable"> 5212 5180 <tr> 5213 <th> Name</th>5214 <th> Included subscriptions</th>5181 <th><xsl:copy-of select="$bwStr-View-Name"/></th> 5182 <th><xsl:copy-of select="$bwStr-View-IncludedSubscriptions"/></th> 5215 5183 </tr> 5216 5184 … … 5242 5210 <xsl:variable name="userPath">/user/<xsl:value-of select="/bedework/userInfo/user"/>/</xsl:variable> 5243 5211 5244 <h2> Update View</h2>5212 <h2><xsl:copy-of select="$bwStr-ModV-UpdateView"/></h2> 5245 5213 5246 5214 <ul class="note"> 5247 5215 <li> 5248 In some configurations, changes made here will not show up in the calendar suite until 5249 the cache is flushed (approx. 5 minutes) or you start a new session (e.g. clear your cookies). 5216 <xsl:copy-of select="$bwStr-ModV-InSomeConfigs"/> 5250 5217 </li> 5251 5218 <li> 5252 Deleting a view on a production system should be followed by a server restart to clear the cache for all users.5219 <xsl:copy-of select="$bwStr-ModV-DeletingAView"/> 5253 5220 </li> 5254 5221 <li> 5255 To see underlying subscriptions in a local folder, open the folder in the 5256 "<a href="{$subscriptions-fetch}" title="subscriptions to calendars">Manage Subscriptions</a>" tree 5257 (this will be improved in a later version...). 5222 <xsl:copy-of select="$bwStr-ModV-ToSeeUnderlying"/><xsl:text> </xsl:text> 5223 "<a href="{$subscriptions-fetch}" title="subscriptions to calendars"><xsl:copy-of select="$bwStr-ModV-ManageSubscriptions"/></a>"<xsl:text> </xsl:text><xsl:copy-of select="$bwStr-ModV-Tree"/> 5258 5224 </li> 5259 5225 <li> 5260 If you include a folder in a view, you do not need to 5261 include its children. 5226 <xsl:copy-of select="$bwStr-ModV-IfYouInclude"/> 5262 5227 </li> 5263 5228 </ul> … … 5269 5234 <tr> 5270 5235 <td class="subs"> 5271 <h3> Available subscriptions:</h3>5236 <h3><xsl:copy-of select="$bwStr-ModV-AvailableSubscriptions"/></h3> 5272 5237 5273 5238 <table class="subscriptionsListSubs"> … … 5302 5267 </td> 5303 5268 <td class="view"> 5304 <h3> Active subscriptions:</h3>5269 <h3><xsl:copy-of select="$bwStr-ModV-ActiveSubscriptions"/></h3> 5305 5270 <table class="subscriptionsListView"> 5306 5271 <xsl:for-each select="/bedework/currentView/path"> … … 5330 5295 <div class="right"> 5331 5296 <form name="deleteViewForm" action="{$view-fetchForUpdate}" method="post"> 5332 <input type="submit" name="deleteButton" value=" Delete View"/>5297 <input type="submit" name="deleteButton" value="{$bwStr-ModV-DeleteView}"/> 5333 5298 <input type="hidden" name="name" value="{$viewName}"/> 5334 5299 <input type="hidden" name="delete" value="yes"/> 5335 5300 </form> 5336 5301 </div> 5337 <input type="button" name="return" value=" Return to Views Listing" onclick="javascript:location.replace('{$view-fetch}')"/>5302 <input type="button" name="return" value="{$bwStr-ModV-DeleteView}" onclick="javascript:location.replace('{$view-fetch}')"/> 5338 5303 </div> 5339 5304 </xsl:template> 5340 5305 5341 5306 <xsl:template name="deleteViewConfirm"> 5342 <h2> Remove View?</h2>5307 <h2><xsl:copy-of select="$bwStr-DeVC-RemoveView"/></h2> 5343 5308 5344 5309 <p> 5345 The view <strong><xsl:value-of select="/bedework/currentView/name"/></strong>5346 will be removed.5310 <xsl:copy-of select="$bwStr-DeVC-TheView"/><xsl:text> </xsl:text><strong><xsl:value-of select="/bedework/currentView/name"/></strong><xsl:text> </xsl:text> 5311 <xsl:copy-of select="$bwStr-DeVC-WillBeRemoved"/> 5347 5312 </p> 5348 5313 <p class="note"> 5349 Be forewarned: if caching is 5350 enabled, removing views from a production system can cause the public 5351 interface to throw errors until the 5352 cache is flushed (a few minutes). 5314 <xsl:copy-of select="$bwStr-DeVC-BeForewarned"/> 5353 5315 </p> 5354 5316 5355 <p> Continue?</p>5317 <p><xsl:copy-of select="$bwStr-DeVC-Continue"/></p> 5356 5318 5357 5319 <form name="removeView" action="{$view-remove}" method="post"> … … 5359 5321 <xsl:attribute name="value"><xsl:value-of select="/bedework/currentView/name"/></xsl:attribute> 5360 5322 </input> 5361 <input type="submit" name="delete" value=" Yes: Remove View"/>5362 <input type="submit" name="cancelled" value=" No: Cancel"/>5323 <input type="submit" name="delete" value="{$bwStr-DeVC-Continue}"/> 5324 <input type="submit" name="cancelled" value="{$bwStr-DeVC-Continue}"/> 5363 5325 </form> 5364 5326 … … 5370 5332 change it without modifying includes.js --> 5371 5333 <form name="eventForm" method="post" action="{$event-upload}" id="standardForm" enctype="multipart/form-data"> 5372 <h2> Upload iCAL File</h2>5334 <h2><xsl:copy-of select="$bwStr-Upld-UploadICalFile"/></h2> 5373 5335 <table class="common2" cellspacing="0"> 5374 5336 <tr> 5375 5337 <th> 5376 Filename:5338 <xsl:copy-of select="$bwStr-Upld-Filename"/> 5377 5339 </th> 5378 5340 <td align="left"> … … 5382 5344 <tr> 5383 5345 <th> 5384 Into calendar:5346 <xsl:copy-of select="$bwStr-Upld-IntoCalendar"/> 5385 5347 </th> 5386 5348 <td align="left" class="padMeTop"> 5387 5349 <input type="hidden" name="newCalPath" value=""/> 5388 5350 <span id="bwEventCalDisplay"> 5389 < em>none selected</em>5351 <xsl:copy-of select="$bwStr-Upld-NoneSelected"/> 5390 5352 </span> 5391 5353 <xsl:text> </xsl:text> … … 5395 5357 <tr> 5396 5358 <th > 5397 Affects free/busy:5359 <xsl:copy-of select="$bwStr-Upld-AffectsFreeBusy"/> 5398 5360 </th> 5399 5361 <td align="left" class="padMeTop"> 5400 <input type="radio" value="" name="transparency" checked="checked"/> accept event's settings<br/>5401 <input type="radio" value="OPAQUE" name="transparency"/> yes <span class="note">(opaque: event status affects free/busy)</span><br/>5402 <input type="radio" value="TRANSPARENT" name="transparency"/> no <span class="note">(transparent: event status does not affect free/busy)</span><br/>5362 <input type="radio" value="" name="transparency" checked="checked"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-AcceptEventsSettings"/><br/> 5363 <input type="radio" value="OPAQUE" name="transparency"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-Yes"/><xsl:text> </xsl:text><span class="note"><xsl:copy-of select="$bwStr-Upld-Opaque"/></span><br/> 5364 <input type="radio" value="TRANSPARENT" name="transparency"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-No"/><xsl:text> </xsl:text><span class="note"><xsl:copy-of select="$bwStr-Upld-Transparent"/></span><br/> 5403 5365 </td> 5404 5366 </tr> 5405 5367 <tr> 5406 5368 <th> 5407 Status:5369 <xsl:copy-of select="$bwStr-Upld-Status"/> 5408 5370 </th> 5409 5371 <td align="left" class="padMeTop"> 5410 <input type="radio" value="" name="status" checked="checked"/> accept event's status<br/>5411 <input type="radio" value="CONFIRMED" name="status"/> confirmed<br/>5412 <input type="radio" value="TENTATIVE" name="status"/> tentative<br/>5413 <input type="radio" value="CANCELLED" name="status"/> canceled<br/>5372 <input type="radio" value="" name="status" checked="checked"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-AcceptEventsStatus"/><br/> 5373 <input type="radio" value="CONFIRMED" name="status"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-Confirmed"/><br/> 5374 <input type="radio" value="TENTATIVE" name="status"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-Tentative"/><br/> 5375 <input type="radio" value="CANCELLED" name="status"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-Upld-Canceled"/><br/> 5414 5376 </td> 5415 5377 </tr> 5416 5378 </table> 5417 5379 <div class="submitBox"> 5418 <input name="submit" type="submit" value=" Continue"/>5419 <input name="cancelled" type="submit" value=" Cancel"/>5380 <input name="submit" type="submit" value="{$bwStr-Upld-Continue}"/> 5381 <input name="cancelled" type="submit" value="{$bwStr-Upld-Cancel}"/> 5420 5382 </div> 5421 5383 </form> … … 5424 5386 <!--+++++++++++++++ System Parameters (preferences) ++++++++++++++++++++--> 5425 5387 <xsl:template name="modSyspars"> 5426 <h2> Manage System Preferences/Parameters</h2>5388 <h2><xsl:copy-of select="$bwStr-MdSP-ManageSysParams"/></h2> 5427 5389 <p> 5428 Do not change unless you know what you're doing.<br/> 5429 Changes to these parameters have wide impact on the system. 5390 <xsl:copy-of select="$bwStr-MdSP-DoNotChangeUnless"/> 5430 5391 </p> 5431 5392 <form name="systemParamsForm" action="{$system-update}" method="post"> 5432 5393 <table class="eventFormTable params"> 5433 5394 <tr> 5434 <th> System name:</th>5395 <th><xsl:copy-of select="$bwStr-MdSP-SystemName"/></th> 5435 5396 <td> 5436 5397 <xsl:variable name="sysname" select="/bedework/system/name"/> 5437 5398 <xsl:value-of select="$sysname"/> 5438 5399 <div class="desc"> 5439 Name for this system. Cannot be changed.5400 <xsl:copy-of select="$bwStr-MdSP-SystemNameCannotBeChanged"/> 5440 5401 </div> 5441 5402 </td> 5442 5403 </tr> 5443 5404 <tr> 5444 <th> Default timezone:</th>5405 <th><xsl:copy-of select="$bwStr-MdSP-DefaultTimezone"/></th> 5445 5406 <td> 5446 5407 <xsl:variable name="tzid" select="/bedework/system/tzid"/> 5447 5408 5448 5409 <select name="tzid"> 5449 <option value="-1"> select timezone...</option>5410 <option value="-1"><xsl:copy-of select="$bwStr-MdSP-SelectTimeZone"/></option> 5450 5411 <xsl:for-each select="/bedework/timezones/timezone"> 5451 5412 <option> … … 5458 5419 5459 5420 <div class="desc"> 5460 Default timezone id for date/time values. This should normally be your local timezone.5421 <xsl:copy-of select="$bwStr-MdSP-DefaultNormallyLocal"/> 5461 5422 </div> 5462 5423 </td> 5463 5424 </tr> 5464 5425 <tr> 5465 <th> Super Users:</th>5426 <th><xsl:copy-of select="$bwStr-MdSP-SuperUsers"/></th> 5466 5427 <td> 5467 5428 <xsl:variable name="rootUsers" select="/bedework/system/rootUsers"/> 5468 5429 <input value="{$rootUsers}" name="rootUsers" class="wide"/> 5469 5430 <div class="desc"> 5470 Comma separated list of super users. No spaces.5431 <xsl:copy-of select="$bwStr-MdSP-CommaSeparatedList"/> 5471 5432 </div> 5472 5433 </td> … … 5492 5453 </tr>--> 5493 5454 <tr> 5494 <th> System id:</th>5455 <th><xsl:copy-of select="$bwStr-MdSP-SystemID"/></th> 5495 5456 <td> 5496 5457 <xsl:variable name="systemid" select="/bedework/system/systemid"/> 5497 5458 <xsl:value-of select="$systemid"/> 5498 5459 <div class="desc"> 5499 System id used when building uids and identifying users. Should not be changed.5460 <xsl:copy-of select="$bwStr-MdSP-SystemIDNote"/> 5500 5461 </div> 5501 5462 </td> 5502 5463 </tr> 5503 5464 <tr> 5504 <th> Public Calendar Root:</th>5465 <th><xsl:copy-of select="$bwStr-MdSP-PubCalendarRoot"/></th> 5505 5466 <td> 5506 5467 <xsl:variable name="publicCalendarRoot" select="/bedework/system/publicCalendarRoot"/> 5507 5468 <xsl:value-of select="$publicCalendarRoot"/> 5508 5469 <div class="desc"> 5509 Name for public calendars root directory. Should not be changed.5470 <xsl:copy-of select="$bwStr-MdSP-PubCalendarRootNote"/> 5510 5471 </div> 5511 5472 </td> 5512 5473 </tr> 5513 5474 <tr> 5514 <th> User Calendar Root:</th>5475 <th><xsl:copy-of select="$bwStr-MdSP-UserCalendarRoot"/></th> 5515 5476 <td> 5516 5477 <xsl:variable name="userCalendarRoot" select="/bedework/system/userCalendarRoot"/> 5517 5478 <xsl:value-of select="$userCalendarRoot"/> 5518 5479 <div class="desc"> 5519 Name for user calendars root directory. Should not be changed.5480 <xsl:copy-of select="$bwStr-MdSP-UserCalendarRootNote"/> 5520 5481 </div> 5521 5482 </td> 5522 5483 </tr> 5523 5484 <tr> 5524 <th> User Calendar Default name:</th>5485 <th><xsl:copy-of select="$bwStr-MdSP-UserCalendarDefaultName"/></th> 5525 5486 <td> 5526 5487 <xsl:variable name="userDefaultCalendar" select="/bedework/system/userDefaultCalendar"/> 5527 5488 <input value="{$userDefaultCalendar}" name="userDefaultCalendar" /> 5528 5489 <div class="desc"> 5529 Default name for user calendar. Used when initialising user. Possibly can be changed.5490 <xsl:copy-of select="$bwStr-MdSP-UserCalendarDefaultNameNote"/> 5530 5491 </div> 5531 5492 </td> 5532 5493 </tr> 5533 5494 <tr> 5534 <th> Trash Calendar Default name:</th>5495 <th><xsl:copy-of select="$bwStr-MdSP-TrashCalendarDefaultName"/></th> 5535 5496 <td> 5536 5497 <xsl:variable name="defaultTrashCalendar" select="/bedework/system/defaultTrashCalendar"/> 5537 5498 <input value="{$defaultTrashCalendar}" name="defaultTrashCalendar" /> 5538 5499 <div class="desc"> 5539 Default name for user trash calendar. Used when initialising user. Possibly can be changed.5500 <xsl:copy-of select="$bwStr-MdSP-TrashCalendarDefaultNameNote"/> 5540 5501 </div> 5541 5502 </td> 5542 5503 </tr> 5543 5504 <tr> 5544 <th> User Inbox Default name:</th>5505 <th></th> 5545 5506 <td> 5546 5507 <xsl:variable name="userInbox" select="/bedework/system/userInbox"/> 5547 5508 <input value="{$userInbox}" name="userInbox" /> 5548 5509 <div class="desc"> 5549 Default name for user inbox. Used when initialising user. Possibly can be changed.5510 <xsl:copy-of select="$bwStr-MdSP-InboxNote"/> 5550 5511 </div> 5551 5512 </td> 5552 5513 </tr> 5553 5514 <tr> 5554 <th> User Outbox Default name:</th>5515 <th><xsl:copy-of select="$bwStr-MdSP-UserOutboxDefaultName"/></th> 5555 5516 <td> 5556 5517 <xsl:variable name="userOutbox" select="/bedework/system/userOutbox"/> 5557 5518 <input value="{$userOutbox}" name="userOutbox" /> 5558 5519 <div class="desc"> 5559 Default name for user outbox. Used when initialising user. Possibly can be changed.5520 <xsl:copy-of select="$bwStr-MdSP-UserOutboxDefaultNameNote"/> 5560 5521 </div> 5561 5522 </td> 5562 5523 </tr> 5563 5524 <tr> 5564 <th> User Deleted Calendar Default name:</th>5525 <th><xsl:copy-of select="$bwStr-MdSP-UserDeletedCalendarDefaultName"/></th> 5565 5526 <td> 5566 5527 <xsl:variable name="deletedCalendar" select="/bedework/system/deletedCalendar"/> 5567 5528 <input value="{$deletedCalendar}" name="deletedCalendar" /> 5568 5529 <div class="desc"> 5569 Default name for user calendar used to hold deleted items. Used when initialising user. Possibly can be changed.5530 <xsl:copy-of select="$bwStr-MdSP-UserDeletedCalendarDefaultNameNote"/> 5570 5531 </div> 5571 5532 </td> 5572 5533 </tr> 5573 5534 <tr> 5574 <th> User Busy Calendar Default name:</th>5535 <th><xsl:copy-of select="$bwStr-MdSP-UserBusyCalendarDefaultName"/></th> 5575 5536 <td> 5576 5537 <xsl:variable name="busyCalendar" select="/bedework/system/busyCalendar"/> 5577 5538 <input value="{$busyCalendar}" name="busyCalendar" /> 5578 5539 <div class="desc"> 5579 Default name for user busy time calendar. Used when initialising user. Possibly can be changed.5540 <xsl:copy-of select="$bwStr-MdSP-UserBusyCalendarDefaultNameNote"/> 5580 5541 </div> 5581 5542 </td> 5582 5543 </tr> 5583 5544 <tr> 5584 <th> Default user view name:</th>5545 <th><xsl:copy-of select="$bwStr-MdSP-DefaultUserViewName"/></th> 5585 5546 <td> 5586 5547 <xsl:variable name="defaultViewName" select="/bedework/system/defaultUserViewName"/> 5587 5548 <input value="{$defaultViewName}" name="defaultUserViewName" /> 5588 5549 <div class="desc"> 5589 Name used for default view created when a new user is added5550 <xsl:copy-of select="$bwStr-MdSP-DefaultUserViewNameNote"/> 5590 5551 </div> 5591 5552 </td> 5592 5553 </tr> 5593 5554 <tr> 5594 <th> Http connections per user:</th>5555 <th><xsl:copy-of select="$bwStr-MdSP-HTTPConnectionsPerUser"/></th> 5595 5556 <td> 5596 5557 <xsl:variable name="httpPerUser" select="/bedework/system/httpConnectionsPerUser"/> … … 5601 5562 </tr> 5602 5563 <tr> 5603 <th> Http connections per host:</th>5564 <th><xsl:copy-of select="$bwStr-MdSP-HTTPConnectionsPerHost"/></th> 5604 5565 <td> 5605 5566 <xsl:variable name="httpPerHost" select="/bedework/system/httpConnectionsPerHost"/> … … 5610 5571 </tr> 5611 5572 <tr> 5612 <th> Total http connections:</th>5573 <th><xsl:copy-of select="$bwStr-MdSP-TotalHTTPConnections"/></th> 5613 5574 <td> 5614 5575 <xsl:variable name="httpTotal" select="/bedework/system/httpConnections"/> … … 5619 5580 </tr> 5620 5581 <tr> 5621 <th> Maximum length of public event description:</th>5582 <th><xsl:copy-of select="$bwStr-MdSP-MaxLengthPubEventDesc"/></th> 5622 5583 <td> 5623 5584 <xsl:variable name="maxPublicDescriptionLength" select="/bedework/system/maxPublicDescriptionLength"/> … … 5628 5589 </tr> 5629 5590 <tr> 5630 <th> Maximum length of user event description:</th>5591 <th><xsl:copy-of select="$bwStr-MdSP-MaxLengthUserEventDesc"/></th> 5631 5592 <td> 5632 5593 <xsl:variable name="maxUserDescriptionLength" select="/bedework/system/maxUserDescriptionLength"/> … … 5637 5598 </tr> 5638 5599 <tr> 5639 <th> Maximum size of a user entity:</th>5600 <th><xsl:copy-of select="$bwStr-MdSP-MaxSizeUserEntity"/></th> 5640 5601 <td> 5641 5602 <xsl:variable name="maxUserEntitySize" select="/bedework/system/maxUserEntitySize"/> … … 5646 5607 </tr> 5647 5608 <tr> 5648 <th> Default user quota:</th>5609 <th><xsl:copy-of select="$bwStr-MdSP-DefaultUserQuota"/></th> 5649 5610 <td> 5650 5611 <xsl:variable name="defaultUserQuota" select="/bedework/system/defaultUserQuota"/> … … 5655 5616 </tr> 5656 5617 <tr> 5657 <th> Max recurring instances:</th>5618 <th><xsl:copy-of select="$bwStr-MdSP-MaxRecurringInstances"/></th> 5658 5619 <td> 5659 5620 <xsl:variable name="maxInstances" select="/bedework/system/maxInstances"/> 5660 5621 <input value="{$maxInstances}" name="maxInstances" /> 5661 5622 <div class="desc"> 5662 Used to limit recurring events to reasonable numbers of instances.5623 <xsl:copy-of select="$bwStr-MdSP-MaxRecurringInstancesNote"/> 5663 5624 </div> 5664 5625 </td> 5665 5626 </tr> 5666 5627 <tr> 5667 <th> Max recurring years:</th>5628 <th><xsl:copy-of select="$bwStr-MdSP-MaxRecurringYears"/></th> 5668 5629 <td> 5669 5630 <xsl:variable name="maxYears" select="/bedework/system/maxYears"/> 5670 5631 <input value="{$maxYears}" name="maxYears" /> 5671 5632 <div class="desc"> 5672 Used to limit recurring events to reasonable period of time.5633 <xsl:copy-of select="$bwStr-MdSP-MaxRecurringYearsNotes"/> 5673 5634 </div> 5674 5635 </td> 5675 5636 </tr> 5676 5637 <tr> 5677 <th> User authorisation class:</th>5638 <th><xsl:copy-of select="$bwStr-MdSP-UserAuthClass"/></th> 5678 5639 <td> 5679 5640 <xsl:variable name="userauthClass" select="/bedework/system/userauthClass"/> 5680 5641 <input value="{$userauthClass}" name="userauthClass" class="wide"/> 5681 5642 <div class="desc"> 5682 Class used to determine authorisation (not authentication) for 5683 administrative users. Should probably only be changed on rebuild. 5643 <xsl:copy-of select="$bwStr-MdSP-UserAuthClassNote"/> 5684 5644 </div> 5685 5645 </td> 5686 5646 </tr> 5687 5647 <tr> 5688 <th> Mailer class:</th>5648 <th><xsl:copy-of select="$bwStr-MdSP-MailerClass"/></th> 5689 5649 <td> 5690 5650 <xsl:variable name="mailerClass" select="/bedework/system/mailerClass"/> 5691 5651 <input value="{$mailerClass}" name="mailerClass" class="wide"/> 5692 5652 <div class="desc"> 5693 Class used to mail events. Should probably only be changed on rebuild.5653 <xsl:copy-of select="$bwStr-MdSP-MailerClassNote"/> 5694 5654 </div> 5695 5655 </td> 5696 5656 </tr> 5697 5657 <tr> 5698 <th> Admin groups class:</th>5658 <th><xsl:copy-of select="$bwStr-MdSP-AdminGroupsClass"/></th> 5699 5659 <td> 5700 5660 <xsl:variable name="admingroupsClass" select="/bedework/system/admingroupsClass"/> 5701 5661 <input value="{$admingroupsClass}" name="admingroupsClass" class="wide"/> 5702 5662 <div class="desc"> 5703 Class used to query and maintain groups for 5704 administrative users. Should probably only be changed on rebuild. 5663 <xsl:copy-of select="$bwStr-MdSP-AdminGroupsClassNote"/> 5705 5664 </div> 5706 5665 </td> 5707 5666 </tr> 5708 5667 <tr> 5709 <th> User groups class:</th>5668 <th><xsl:copy-of select="$bwStr-MdSP-UserGroupsClass"/></th> 5710 5669 <td> 5711 5670 <xsl:variable name="usergroupsClass" select="/bedework/system/usergroupsClass"/> 5712 5671 <input value="{$usergroupsClass}" name="usergroupsClass" class="wide"/> 5713 5672 <div class="desc"> 5714 Class used to query and maintain groups for 5715 non-administrative users. Should probably only be changed on rebuild. 5673 <xsl:copy-of select="$bwStr-MdSP-UserGroupsClassNote"/> 5716 5674 </div> 5717 5675 </td> 5718 5676 </tr> 5719 5677 <tr> 5720 <th> Directory browsing disallowed:</th>5678 <th><xsl:copy-of select="$bwStr-MdSP-DirBrowseDisallowd"/></th> 5721 5679 <td> 5722 5680 <xsl:variable name="directoryBrowsingDisallowed" select="/bedework/system/directoryBrowsingDisallowed"/> 5723 5681 <input value="{$directoryBrowsingDisallowed}" name="directoryBrowsingDisallowed" /> 5724 5682 <div class="desc"> 5725 True if the server hosting the xsl disallows directory browsing.5683 <xsl:copy-of select="$bwStr-MdSP-DirBrowseDisallowedNote"/> 5726 5684 </div> 5727 5685 </td> 5728 5686 </tr> 5729 5687 <tr> 5730 <th> Index root:</th>5688 <th><xsl:copy-of select="$bwStr-MdSP-IndexRoot"/></th> 5731 5689 <td> 5732 5690 <xsl:variable name="indexRoot" select="/bedework/system/indexRoot"/> 5733 5691 <input value="{$indexRoot}" name="indexRoot" class="wide"/> 5734 5692 <div class="desc"> 5735 Root for the event indexes. Should only be changed if the indexes are moved/copied5693 <xsl:copy-of select="$bwStr-MdSP-IndexRootNote"/> 5736 5694 </div> 5737 5695 </td> 5738 5696 </tr> 5739 5697 <tr> 5740 <th> Supported Locales:</th>5698 <th><xsl:copy-of select="$bwStr-MdSP-SupportedLocales"/></th> 5741 5699 <td> 5742 5700 <xsl:variable name="localeList" select="/bedework/system/localeList"/> 5743 5701 <input value="{$localeList}" name="localeList" class="wide"/> 5744 5702 <div class="desc"> 5745 List of supported locales. The format is a rigid, comma separated list of 2 letter language, underscore, 2 letter country. No spaces. Example: en_US,fr_CA5703 <xsl:copy-of select="$bwStr-MdSP-ListOfSupportedLocales"/> 5746 5704 </div> 5747 5705 </td> … … 5749 5707 </table> 5750 5708 <div class="submitBox"> 5751 <input type="submit" name="updateSystemParams" value=" Update"/>5752 <input type="submit" name="cancelled" value=" Cancel"/>5709 <input type="submit" name="updateSystemParams" value="{$bwStr-MdSP-Update}"/> 5710 <input type="submit" name="cancelled" value="{$bwStr-MdSP-Cancel}"/> 5753 5711 </div> 5754 5712 </form> … … 5757 5715 <!--+++++++++++++++ Calendar Suites (calsuite) ++++++++++++++++++++--> 5758 5716 <xsl:template match="calSuites" mode="calSuiteList"> 5759 <h2> Manage Calendar Suites</h2>5717 <h2><xsl:copy-of select="$bwStr-CalS-ManageCalendarSuites"/></h2> 5760 5718 5761 5719 <p> 5762 <input type="button" name="addSuite" value=" Add calendar suite" onclick="javascript:location.replace('{$calsuite-showAddForm}')"/>5763 <input type="button" name="switchGroup" value=" Switch group" onclick="javascript:location.replace('{$admingroup-switch}')"/>5720 <input type="button" name="addSuite" value="{$bwStr-CalS-AddCalendarSuite}" onclick="javascript:location.replace('{$calsuite-showAddForm}')"/> 5721 <input type="button" name="switchGroup" value="{$bwStr-CalS-SwitchGroup}" onclick="javascript:location.replace('{$admingroup-switch}')"/> 5764 5722 </p> 5765 5723 5766 5724 <table id="commonListTable"> 5767 5725 <tr> 5768 <th> Name</th>5769 <th> Associated Group</th>5726 <th><xsl:copy-of select="$bwStr-CalS-Name"/></th> 5727 <th><xsl:copy-of select="$bwStr-CalS-AssociatedGroup"/></th> 5770 5728 </tr> 5771 5729 <xsl:for-each select="calSuite"> … … 5788 5746 5789 5747 <xsl:template name="addCalSuite"> 5790 <h2> Add Calendar Suite</h2>5748 <h2><xsl:copy-of select="$bwStr-AdCS-AddCalSuite"/></h2> 5791 5749 <form name="calSuiteForm" action="{$calsuite-add}" method="post"> 5792 5750 <input type="hidden" name="calPath" value="/public" size="20"/> 5793 5751 <table class="eventFormTable"> 5794 5752 <tr> 5795 <th> Name:</th>5753 <th><xsl:copy-of select="$bwStr-AdCS-Name"/></th> 5796 5754 <td> 5797 5755 <input type="text" name="name" size="20"/> 5798 5756 </td> 5799 5757 <td> 5800 Name of your calendar suite5801 </td> 5802 </tr> 5803 <tr> 5804 <th> Group:</th>5758 <xsl:copy-of select="$bwStr-AdCS-NameCalSuite"/> 5759 </td> 5760 </tr> 5761 <tr> 5762 <th><xsl:copy-of select="$bwStr-AdCS-Group"/></th> 5805 5763 <td> 5806 5764 <input type="text" name="groupName" size="20"/> 5807 5765 </td> 5808 5766 <td> 5809 Name of admin group which contains event administrators and event owner to which preferences for the suite are attached5767 <xsl:copy-of select="$bwStr-AdCS-NameAdminGroup"/> 5810 5768 </td> 5811 5769 </tr> 5812 5770 </table> 5813 5771 <div class="submitBox"> 5814 <input type="submit" name="updateCalSuite" value=" Add"/>5815 <input type="submit" name="cancelled" value=" Cancel"/>5772 <input type="submit" name="updateCalSuite" value="{$bwStr-AdCS-Add}"/> 5773 <input type="submit" name="cancelled" value="{$bwStr-AdCS-Cancel}"/> 5816 5774 </div> 5817 5775 </form> … … 5819 5777 5820 5778 <xsl:template match="calSuite" name="modCalSuite"> 5821 <h2> Modify Calendar Suite</h2>5779 <h2><xsl:copy-of select="$bwStr-CalS-ModifyCalendarSuite"/></h2> 5822 5780 <xsl:variable name="calSuiteName" select="name"/> 5823 5781 <form name="calSuiteForm" action="{$calsuite-update}" method="post"> … … 5827 5785 <table class="eventFormTable"> 5828 5786 <tr> 5829 <th> Name:</th>5787 <th><xsl:copy-of select="$bwStr-CalS-NameColon"/></th> 5830 5788 <td> 5831 5789 <input name="name" value="{$calSuiteName}" size="20"/> 5832 5790 </td> 5833 5791 <td> 5834 Name of your calendar suite5835 </td> 5836 </tr> 5837 <tr> 5838 <th> Group:</th>5792 <xsl:copy-of select="$bwStr-CalS-NameOfCalendarSuite"/> 5793 </td> 5794 </tr> 5795 <tr> 5796 <th><xsl:copy-of select="$bwStr-CalS-Group"/></th> 5839 5797 <td> 5840 5798 <xsl:variable name="group" select="group"/> … … 5842 5800 </td> 5843 5801 <td> 5844 Name of admin group which contains event administrators and event owner to which preferences for the suite are attached5802 <xsl:copy-of select="$bwStr-CalS-NameOfAdminGroup"/> 5845 5803 </td> 5846 5804 </tr> … … 5848 5806 5849 5807 <div id="sharingBox"> 5850 <h3> Current Access:</h3>5808 <h3><xsl:copy-of select="$bwStr-CalS-CurrentAccess"/></h3> 5851 5809 <div id="bwCurrentAccessWidget"> </div> 5852 5810 <script type="text/javascript"> … … 5860 5818 <div class="submitBox"> 5861 5819 <div class="right"> 5862 <input type="submit" name="delete" value=" Delete Calendar Suite"/>5820 <input type="submit" name="delete" value="{$bwStr-CalS-DeleteCalendarSuite}"/> 5863 5821 </div> 5864 <input type="submit" name="updateCalSuite" value=" Update"/>5865 <input type="submit" name="cancelled" value=" Cancel"/>5822 <input type="submit" name="updateCalSuite" value="{$bwStr-CalS-Update}"/> 5823 <input type="submit" name="cancelled" value="{$bwStr-CalS-Cancel}"/> 5866 5824 </div> 5867 5825 </form> … … 5888 5846 5889 5847 <xsl:template name="calSuitePrefs"> 5890 <h2> Edit Calendar Suite Preferences</h2>5848 <h2><xsl:copy-of select="$bwStr-CSPf-EditCalSuitePrefs"/></h2> 5891 5849 <form name="userPrefsForm" method="post" action="{$calsuite-updatePrefs}" onsubmit="checkPrefCategories(this);"> 5892 5850 <table class="common2"> 5893 5851 <tr> 5894 5852 <th> 5895 Calendar Suite:5853 <xsl:copy-of select="$bwStr-CSPf-CalSuite"/> 5896 5854 </th> 5897 5855 <td> … … 5901 5859 <tr> 5902 5860 <th> 5903 Preferred view:5861 <xsl:copy-of select="$bwStr-CSPf-PreferredView"/> 5904 5862 </th> 5905 5863 <td> … … 5910 5868 <tr> 5911 5869 <th> 5912 Preferred view period:5870 <xsl:copy-of select="$bwStr-CSPf-PreferredViewPeriod"/> 5913 5871 </th> 5914 5872 <td> … … 5919 5877 <xsl:choose> 5920 5878 <xsl:when test="$preferredViewPeriod = 'dayView'"> 5921 <option value="dayView" selected="selected"> day</option>5879 <option value="dayView" selected="selected"><xsl:copy-of select="$bwStr-CSPf-Day"/></option> 5922 5880 </xsl:when> 5923 5881 <xsl:otherwise> 5924 <option value="dayView"> day</option>5882 <option value="dayView"><xsl:copy-of select="$bwStr-CSPf-Day"/></option> 5925 5883 </xsl:otherwise> 5926 5884 </xsl:choose> 5927 5885 <xsl:choose> 5928 5886 <xsl:when test="$preferredViewPeriod = 'todayView'"> 5929 <option value="todayView" selected="selected"> today</option>5887 <option value="todayView" selected="selected"><xsl:copy-of select="$bwStr-CSPf-Today"/></option> 5930 5888 </xsl:when> 5931 5889 <xsl:otherwise> 5932 <option value="todayView"> today</option>5890 <option value="todayView"><xsl:copy-of select="$bwStr-CSPf-Today"/></option> 5933 5891 </xsl:otherwise> 5934 5892 </xsl:choose> 5935 5893 <xsl:choose> 5936 5894 <xsl:when test="$preferredViewPeriod = 'weekView'"> 5937 <option value="weekView" selected="selected"> week</option>5895 <option value="weekView" selected="selected"><xsl:copy-of select="$bwStr-CSPf-Week"/></option> 5938 5896 </xsl:when> 5939 5897 <xsl:otherwise> 5940 <option value="weekView"> week</option>5898 <option value="weekView"><xsl:copy-of select="$bwStr-CSPf-Week"/></option> 5941 5899 </xsl:otherwise> 5942 5900 </xsl:choose> 5943 5901 <xsl:choose> 5944 5902 <xsl:when test="$preferredViewPeriod = 'monthView'"> 5945 <option value="monthView" selected="selected"> month</option>5903 <option value="monthView" selected="selected"><xsl:copy-of select="$bwStr-CSPf-Month"/></option> 5946 5904 </xsl:when> 5947 5905 <xsl:otherwise> 5948 <option value="monthView"> month</option>5906 <option value="monthView"><xsl:copy-of select="$bwStr-CSPf-Month"/></option> 5949 5907 </xsl:otherwise> 5950 5908 </xsl:choose> 5951 5909 <xsl:choose> 5952 5910 <xsl:when test="$preferredViewPeriod = 'yearView'"> 5953 <option value="yearView" selected="selected"> year</option>5911 <option value="yearView" selected="selected"><xsl:copy-of select="$bwStr-CSPf-Year"/></option> 5954 5912 </xsl:when> 5955 5913 <xsl:otherwise> 5956 <option value="yearView"> year</option>5914 <option value="yearView"><xsl:copy-of select="$bwStr-CSPf-Year"/></option> 5957 5915 </xsl:otherwise> 5958 5916 </xsl:choose> … … 5961 5919 </tr> 5962 5920 <tr> 5963 <th> Default Categories:</th>5921 <th><xsl:copy-of select="$bwStr-CSPf-DefaultCategories"/></th> 5964 5922 <td> 5965 5923 <!-- show the selected categories --> … … 5976 5934 </ul> 5977 5935 <a href="javascript:toggleVisibility('calCategories','visible')"> 5978 show/hide unused categories5936 <xsl:copy-of select="$bwStr-CSPf-ShowHideUnusedCategories"/> 5979 5937 </a> 5980 5938 <div id="calCategories" class="invisible"> … … 6019 5977 <br /> 6020 5978 6021 <input type="submit" name="modPrefs" value=" Update"/>6022 <input type="submit" name="cancelled" value=" Cancel"/>5979 <input type="submit" name="modPrefs" value="{$bwStr-CSPf-Update}"/> 5980 <input type="submit" name="cancelled" value="{$bwStr-CSPf-Cancel}"/> 6023 5981 </form> 6024 5982 </xsl:template> … … 6026 5984 <!--+++++++++++++++ Timezones ++++++++++++++++++++--> 6027 5985 <xsl:template name="uploadTimezones"> 6028 <h2> Manage Timezones</h2>5986 <h2><xsl:copy-of select="$bwStr-UpTZ-ManageTZ"/></h2> 6029 5987 6030 5988 <form name="peForm" method="post" action="{$timezones-upload}" enctype="multipart/form-data"> 6031 5989 <input type="file" name="uploadFile" size="40" value=""/> 6032 <input type="submit" name="doUpload" value=" Upload Timezones"/>6033 <input type="submit" name="cancelled" value=" Cancel"/>5990 <input type="submit" name="doUpload" value="{$bwStr-UpTZ-UploadTZ}"/> 5991 <input type="submit" name="cancelled" value="{$bwStr-UpTZ-Cancel}"/> 6034 5992 </form> 6035 5993 6036 5994 <p> 6037 <a href="{$timezones-fix}"> Fix Timezones</a> (recalculate UTC values)<br/>6038 < span class="note">Run this to make sure no UTC values have changed due6039 to this upload (e.g. DST changes).</span>5995 <a href="{$timezones-fix}"><xsl:copy-of select="$bwStr-UpTZ-FixTZ"/></a> 5996 <xsl:text> </xsl:text><xsl:copy-of select="$bwStr-UpTZ-RecalcUTC"/><br/> 5997 <span class="note"><xsl:copy-of select="$bwStr-UpTZ-FixTZNote"/></span> 6040 5998 </p> 6041 5999 … … 6044 6002 <!--+++++++++++++++ Authuser ++++++++++++++++++++--> 6045 6003 <xsl:template name="authUserList"> 6046 <h2> Modify Administrators</h2>6004 <h2><xsl:copy-of select="$bwStr-AuUL-ModifyAdministrators"/></h2> 6047 6005 6048 6006 <div id="authUserInputForms"> 6049 6007 <form name="getUserRolesForm" action="{$authuser-fetchForUpdate}" method="post"> 6050 Edit admin roles by userid:<input type="text" name="editAuthUserId" size="20"/>6051 <input type="submit" value=" go" name="submit"/>6008 <xsl:copy-of select="$bwStr-AuUL-EditAdminRoles"/><xsl:text> </xsl:text><input type="text" name="editAuthUserId" size="20"/> 6009 <input type="submit" value="{$bwStr-AuUL-Go}" name="submit"/> 6052 6010 </form> 6053 6011 </div> … … 6055 6013 <table id="commonListTable"> 6056 6014 <tr> 6057 <th> UserId</th>6058 <th> Roles</th>6015 <th><xsl:copy-of select="$bwStr-AuUL-UserID"/></th> 6016 <th><xsl:copy-of select="$bwStr-AuUL-Roles"/></th> 6059 6017 <th></th> 6060 6018 </tr> … … 6075 6033 <xsl:variable name="account" select="account"/> 6076 6034 <a href="{$authuser-fetchForUpdate}&editAuthUserId={$account}"> 6077 edit6035 <xsl:copy-of select="$bwStr-AuUL-Edit"/> 6078 6036 </a> 6079 6037 </td> … … 6084 6042 6085 6043 <xsl:template name="modAuthUser"> 6086 <h2> Update Administrator</h2>6044 <h2><xsl:copy-of select="$bwStr-MoAU-UpdateAdmin"/></h2> 6087 6045 <xsl:variable name="modAuthUserAction" select="/bedework/formElements/form/@action"/> 6088 6046 <form action="{$modAuthUserAction}" method="post"> … … 6090 6048 <tr> 6091 6049 <td class="fieldName"> 6092 Account:6050 <xsl:copy-of select="$bwStr-MoAU-Account"/> 6093 6051 </td> 6094 6052 <td> … … 6098 6056 <tr> 6099 6057 <td class="fieldName"> 6100 Public Events:6058 <xsl:copy-of select="$bwStr-MoAU-PublicEvents"/> 6101 6059 </td> 6102 6060 <td> … … 6152 6110 <br /> 6153 6111 6154 <input type="submit" name="modAuthUser" value=" Update"/>6155 <input type="submit" name="cancelled" value=" Cancel"/>6112 <input type="submit" name="modAuthUser" value="{$bwStr-MoAU-Update}"/> 6113 <input type="submit" name="cancelled" value="{$bwStr-MoAU-Cancel}"/> 6156 6114 </form> 6157 6115 </xsl:template> … … 6159 6117 <!--+++++++++++++++ User Prefs ++++++++++++++++++++--> 6160 6118 <xsl:template name="modPrefs"> 6161 <h2> Edit User Preferences</h2>6119 <h2><xsl:copy-of select="$bwStr-MoPr-EditUserPrefs"/></h2> 6162 6120 <form name="userPrefsForm" method="post" action="{$prefs-update}"> 6163 6121 <table id="eventFormTable"> 6164 6122 <tr> 6165 6123 <td class="fieldName"> 6166 User:6124 <xsl:copy-of select="$bwStr-MoPr-User"/> 6167 6125 </td> 6168 6126 <td> … … 6174 6132 <tr> 6175 6133 <td class="fieldName"> 6176 Preferred view:6134 <xsl:copy-of select="$bwStr-MoPr-PreferredView"/> 6177 6135 </td> 6178 6136 <td> … … 6183 6141 <tr> 6184 6142 <td class="fieldName"> 6185 Preferred view period:6143 <xsl:copy-of select="$bwStr-MoPr-PreferredViewPeriod"/> 6186 6144 </td> 6187 6145 <td> … … 6192 6150 <xsl:choose> 6193 6151 <xsl:when test="$preferredViewPeriod = 'dayView'"> 6194 <option value="dayView" selected="selected"> day</option>6152 <option value="dayView" selected="selected"><xsl:copy-of select="$bwStr-MoPr-Day"/></option> 6195 6153 </xsl:when> 6196 6154 <xsl:otherwise> 6197 <option value="dayView"> day</option>6155 <option value="dayView"><xsl:copy-of select="$bwStr-MoPr-Day"/></option> 6198 6156 </xsl:otherwise> 6199 6157 </xsl:choose> 6200 6158 <xsl:choose> 6201 6159 <xsl:when test="$preferredViewPeriod = 'todayView'"> 6202 <option value="todayView" selected="selected"> today</option>6160 <option value="todayView" selected="selected"><xsl:copy-of select="$bwStr-MoPr-Today"/></option> 6203 6161 </xsl:when> 6204 6162 <xsl:otherwise> 6205 <option value="todayView"> today</option>6163 <option value="todayView"><xsl:copy-of select="$bwStr-MoPr-Today"/></option> 6206 6164 </xsl:otherwise> 6207 6165 </xsl:choose> 6208 6166 <xsl:choose> 6209 6167 <xsl:when test="$preferredViewPeriod = 'weekView'"> 6210 <option value="weekView" selected="selected"> week</option>6168 <option value="weekView" selected="selected"><xsl:copy-of select="$bwStr-MoPr-Week"/></option> 6211 6169 </xsl:when> 6212 6170 <xsl:otherwise> 6213 <option value="weekView"> week</option>6171 <option value="weekView"><xsl:copy-of select="$bwStr-MoPr-Week"/></option> 6214 6172 </xsl:otherwise> 6215 6173 </xsl:choose> 6216 6174 <xsl:choose> 6217 6175 <xsl:when test="$preferredViewPeriod = 'monthView'"> 6218 <option value="monthView" selected="selected"> month</option>6176 <option value="monthView" selected="selected"><xsl:copy-of select="$bwStr-MoPr-Month"/></option> 6219 6177 </xsl:when> 6220 6178 <xsl:otherwise> 6221 <option value="monthView"> month</option>6179 <option value="monthView"><xsl:copy-of select="$bwStr-MoPr-Month"/></option> 6222 6180 </xsl:otherwise> 6223 6181 </xsl:choose> 6224 6182 <xsl:choose> 6225 6183 <xsl:when test="$preferredViewPeriod = 'yearView'"> 6226 <option value="yearView" selected="selected"> year</option>6184 <option value="yearView" selected="selected"><xsl:copy-of select="$bwStr-MoPr-Year"/></option> 6227 6185 </xsl:when> 6228 6186 <xsl:otherwise> 6229 <option value="yearView"> year</option>6187 <option value="yearView"><xsl:copy-of select="$bwStr-MoPr-Year"/></option> 6230 6188 </xsl:otherwise> 6231 6189 </xsl:choose> … … 6256 6214 <br /> 6257 6215 6258 <input type="submit" name="modPrefs" value=" Update"/>6259 <input type="submit" name="cancelled" value=" Cancel"/>6216 <input type="submit" name="modPrefs" value="{$bwStr-MoPr-Update}"/> 6217 <input type="submit" name="cancelled" value="{$bwStr-MoPr-Cancel}"/> 6260 6218 </form> 6261 6219 </xsl:template> … … 6263 6221 <!--+++++++++++++++ Admin Groups ++++++++++++++++++++--> 6264 6222 <xsl:template name="listAdminGroups"> 6265 <h2> Modify Groups</h2>6223 <h2><xsl:copy-of select="$bwStr-LsAG-ModifyGroups"/></h2> 6266 6224 <form name="adminGroupMembersForm" method="post" action="{$admingroup-initUpdate}"> 6267 6225 <xsl:choose> 6268 6226 <xsl:when test="/bedework/groups/showMembers='true'"> 6269 6227 <input type="radio" name="showAgMembers" value="false" onclick="document.adminGroupMembersForm.submit();"/> 6270 Hide members6228 <xsl:copy-of select="$bwStr-LsAG-HideMembers"/> 6271 6229 <input type="radio" name="showAgMembers" value="true" checked="checked" onclick="document.adminGroupMembersForm.submit();"/> 6272 Show members6230 <xsl:copy-of select="$bwStr-LsAG-ShowMembers"/> 6273 6231 </xsl:when> 6274 6232 <xsl:otherwise> 6275 6233 <input type="radio" name="showAgMembers" value="false" checked="checked" onclick="document.adminGroupMembersForm.submit();"/> 6276 Hide members6234 <xsl:copy-of select="$bwStr-LsAG-HideMembers"/> 6277 6235 <input type="radio" name="showAgMembers" value="true" onclick="document.adminGroupMembersForm.submit();"/> 6278 Show members6236 <xsl:copy-of select="$bwStr-LsAG-ShowMembers"/> 6279 6237 </xsl:otherwise> 6280 6238 </xsl:choose> 6281 6239 </form> 6282 6240 6283 <p>Select a group name to modify the group owner or description.<br/> 6284 Click "membership" to modify group membership.</p> 6241 <p><xsl:copy-of select="$bwStr-LsAG-SelectGroupName"/></p> 6285 6242 <p> 6286 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initAdd}')" value=" Add a new group"/>6243 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initAdd}')" value="{$bwStr-LsAG-AddNewGroup}"/> 6287 6244 </p> 6288 6245 <div class="notes"> 6289 6246 <p class="note"> 6290 *Highlighted rows indicate a group to which a Calendar Suite is attached.6247 <xsl:copy-of select="$bwStr-LsAG-HighlightedRowsNote"/> 6291 6248 </p> 6292 6249 </div> 6293 6250 <table id="commonListTable"> 6294 6251 <tr> 6295 <th> Name</th>6252 <th><xsl:copy-of select="$bwStr-LsAG-Name"/></th> 6296 6253 <xsl:if test="/bedework/groups/showMembers='true'"> 6297 <th> Members</th>6254 <th><xsl:copy-of select="$bwStr-LsAG-Members"/></th> 6298 6255 </xsl:if> 6299 <th> Manage<br/>Membership</th>6300 <th> Calendar Suite*</th>6301 <th> Description</th>6256 <th><xsl:copy-of select="$bwStr-LsAG-ManageMembership"/></th> 6257 <th><xsl:copy-of select="$bwStr-LsAG-CalendarSuite"/></th> 6258 <th><xsl:copy-of select="$bwStr-LsAG-Description"/></th> 6302 6259 </tr> 6303 6260 <xsl:for-each select="/bedework/groups/group"> … … 6322 6279 </xsl:if> 6323 6280 <td> 6324 <a href="{$admingroup-fetchForUpdateMembers}&adminGroupName={$groupName}"> membership</a>6281 <a href="{$admingroup-fetchForUpdateMembers}&adminGroupName={$groupName}"><xsl:copy-of select="$bwStr-LsAG-Membership"/></a> 6325 6282 </td> 6326 6283 <td> … … 6338 6295 </table> 6339 6296 <p> 6340 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initAdd}')" value=" Add a new group"/>6297 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initAdd}')" value="{$bwStr-LsAG-AddNewGroup}"/> 6341 6298 </p> 6342 6299 </xsl:template> 6343 6300 6344 6301 <xsl:template match="groups" mode="chooseGroup"> 6345 <h2> Choose Your Administrative Group</h2>6302 <h2><xsl:copy-of select="$bwStr-Grps-ChooseAdminGroup"/></h2> 6346 6303 6347 6304 <xsl:variable name="userInCalSuiteGroup"> … … 6355 6312 <xsl:if test="$userInCalSuiteGroup = 'true'"> 6356 6313 <p class="note"> 6357 *Highlighted rows indicate a group to which a Calendar Suite is attached. 6358 Select one of these groups to edit attributes of the associated calendar suite. 6314 <xsl:copy-of select="$bwStr-Grps-HighlightedRowsNote"/> 6359 6315 </p> 6360 6316 </xsl:if> 6361 6317 <xsl:if test="/bedework/userInfo/superUser = 'true'"> 6362 <p class="note">< strong>Superuser:</strong> to dissasociate yourself from all groups, log out and log back in.</p>6318 <p class="note"><xsl:copy-of select="$bwStr-Grps-Superuser"/></p> 6363 6319 </xsl:if> 6364 6320 </div> … … 6366 6322 <table id="commonListTable"> 6367 6323 <tr> 6368 <th> Name</th>6369 <th> Description</th>6324 <th><xsl:copy-of select="$bwStr-Grps-Name"/></th> 6325 <th><xsl:copy-of select="$bwStr-Grps-Description"/></th> 6370 6326 <xsl:if test="$userInCalSuiteGroup = 'true'"> 6371 <th> Calendar Suite*</th>6327 <th><xsl:copy-of select="$bwStr-Grps-CalendarSuite"/></th> 6372 6328 </xsl:if> 6373 6329 </tr> … … 6406 6362 <xsl:choose> 6407 6363 <xsl:when test="/bedework/creating = 'true'"> 6408 <h2> Add Group</h2>6364 <h2><xsl:copy-of select="$bwStr-MoAG-AddGroup"/></h2> 6409 6365 </xsl:when> 6410 6366 <xsl:otherwise> 6411 <h2> Modify Group</h2>6367 <h2><xsl:copy-of select="$bwStr-MoAG-ModifyGroup"/></h2> 6412 6368 </xsl:otherwise> 6413 6369 </xsl:choose> … … 6416 6372 <tr> 6417 6373 <td class="fieldName"> 6418 Name:6374 <xsl:copy-of select="$bwStr-MoAG-Name"/> 6419 6375 </td> 6420 6376 <td> … … 6431 6387 <tr> 6432 6388 <td class="fieldName"> 6433 Description:6389 <xsl:copy-of select="$bwStr-MoAG-Description"/> 6434 6390 </td> 6435 6391 <td> … … 6446 6402 <tr> 6447 6403 <td class="fieldName"> 6448 Group owner:6404 <xsl:copy-of select="$bwStr-MoAG-GroupOwner"/> 6449 6405 </td> 6450 6406 <td> … … 6454 6410 <tr> 6455 6411 <td class="fieldName"> 6456 Events owner:6412 <xsl:copy-of select="$bwStr-MoAG-EventsOwner"/> 6457 6413 </td> 6458 6414 <td> … … 6471 6427 <div class="right"> 6472 6428 <xsl:if test="/bedework/creating = 'false'"> 6473 <input type="submit" name="delete" value=" Delete"/>6429 <input type="submit" name="delete" value="{$bwStr-MoAG-Delete}"/> 6474 6430 </xsl:if> 6475 6431 </div> 6476 6432 <xsl:choose> 6477 6433 <xsl:when test="/bedework/creating = 'true'"> 6478 <input type="submit" name="updateAdminGroup" value=" Add Admin Group"/>6479 <input type="submit" name="cancelled" value=" Cancel"/>6434 <input type="submit" name="updateAdminGroup" value="{$bwStr-MoAG-AddAdminGroup}"/> 6435 <input type="submit" name="cancelled" value="{$bwStr-MoAG-Cancel}"/> 6480 6436 </xsl:when> 6481 6437 <xsl:otherwise> 6482 <input type="submit" name="updateAdminGroup" value=" Update Admin Group"/>6483 <input type="submit" name="cancelled" value=" Cancel"/>6438 <input type="submit" name="updateAdminGroup" value="{$bwStr-MoAG-UpdateAdminGroup}"/> 6439 <input type="submit" name="cancelled" value="{$bwStr-MoAG-Cancel}"/> 6484 6440 </xsl:otherwise> 6485 6441 </xsl:choose> … … 6489 6445 6490 6446 <xsl:template name="modAdminGroupMembers"> 6491 <h2>Update Group Membership</h2> 6492 <p>Enter a userid (for user or group) and click "add" to update group membership. 6493 Click the trash icon to remove a user from the group.</p> 6447 <h2><xsl:copy-of select="$bwStr-MAGM-UpdateGroupMembership"/></h2> 6448 <p><xsl:copy-of select="$bwStr-MAGM-EnterUserID"/></p> 6494 6449 6495 6450 <form name="adminGroupMembersForm" method="post" action="{$admingroup-updateMembers}"> 6496 <p> Add member:6451 <p><xsl:copy-of select="$bwStr-MAGM-AddMember"/> 6497 6452 <input type="text" name="updGroupMember" size="15"/> 6498 <input type="radio" value="user" name="kind" checked="checked"/> user6499 <input type="radio" value="group" name="kind"/> group6500 <input type="submit" name="addGroupMember" value=" Add"/>6453 <input type="radio" value="user" name="kind" checked="checked"/><xsl:copy-of select="$bwStr-MAGM-User"/> 6454 <input type="radio" value="group" name="kind"/><xsl:copy-of select="$bwStr-MAGM-Group"/> 6455 <input type="submit" name="addGroupMember" value="{$bwStr-MAGM-Add}"/> 6501 6456 </p> 6502 6457 </form> 6503 6458 <p> 6504 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initUpdate}')" value=" Return to Admin Group listing"/>6459 <input type="button" name="return" onclick="javascript:location.replace('{$admingroup-initUpdate}')" value="{$bwStr-MAGM-ReturnToAdminGroupLS}"/> 6505 6460 </p> 6506 6461 … … 6508 6463 <tr> 6509 6464 <td class="fieldName"> 6510 Name:6465 <xsl:copy-of select="$bwStr-MAGM-Name"/> 6511 6466 </td> 6512 6467 <td> … … 6516 6471 <tr> 6517 6472 <td class="fieldName"> 6518 Members:6473 <xsl:copy-of select="$bwStr-MAGM-Members"/> 6519 6474 </td> 6520 6475 <td> … … 6563 6518 </table> 6564 6519 <p> 6565 <img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/> user,6520 <img src="{$resourcesRoot}/resources/userIcon.gif" width="13" height="13" border="0" alt="user"/><xsl:text> </xsl:text><xsl:copy-of select="$bwStr-MAGM-User"/>, 6566 6521 <img src="{$resourcesRoot}/resources/groupIcon.gif" width="13" height="13" border="0" alt="group"/> 6567 6522 <xsl:text> </xsl:text> 6568 <strong> group</strong>6523 <strong><xsl:copy-of select="$bwStr-MAGM-Group"/></strong> 6569 6524 </p> 6570 6525 </xsl:template> 6571 6526 6572 6527 <xsl:template name="deleteAdminGroupConfirm"> 6573 <h2> Delete Admin Group?</h2>6574 <p> The following group will be deleted. Continue?</p>6528 <h2><xsl:copy-of select="$bwStr-DAGC-DeleteAdminGroup"/></h2> 6529 <p><xsl:copy-of select="$bwStr-DAGC-GroupWillBeDeleted"/></p> 6575 6530 <p> 6576 6531 <strong> … … 6580 6535 </p> 6581 6536 <form name="adminGroupDelete" method="post" action="{$admingroup-delete}"> 6582 <input type="submit" name="removeAdminGroupOK" value=" Yes: Delete!"/>6583 <input type="submit" name="cancelled" value=" No: Cancel"/>6537 <input type="submit" name="removeAdminGroupOK" value="{$bwStr-DAGC-YesDelete}"/> 6538 <input type="submit" name="cancelled" value="{$bwStr-DAGC-NoCancel}"/> 6584 6539 </form> 6585 6540 </xsl:template> … … 6587 6542 <!--+++++++++++++++ Filters ++++++++++++++++++++--> 6588 6543 <xsl:template name="addFilter"> 6589 <h2> Add a Named CalDAV Filter (<a href="http://bedework.org/trac/bedework/wiki/Bedework/DevDocs/Filters">examples</a>)</h2>6544 <h2><xsl:copy-of select="$bwStr-AdFi-AddNameCalDAVFilter"/><xsl:text> </xsl:text>(<a href="http://bedework.org/trac/bedework/wiki/Bedework/DevDocs/Filters"><xsl:copy-of select="$bwStr-AdFi-Examples"/></a>)</h2> 6590 6545 <form name="peForm" method="post" action="{$filter-add}"> 6591 6546 <table id="addFilterFormTable" class="eventFormTable"> 6592 6547 <tr> 6593 6548 <th> 6594 Name:6549 <xsl:copy-of select="$bwStr-AdFi-Name"/> 6595 6550 </th> 6596 6551 <td> … … 6600 6555 <tr> 6601 6556 <th> 6602 Description:6557 <xsl:copy-of select="$bwStr-AdFi-Description"/> 6603 6558 </th> 6604 6559 <td> … … 6608 6563 <tr> 6609 6564 <th> 6610 Filter Definition:6565 <xsl:copy-of select="$bwStr-AdFi-FilterDefinition"/> 6611 6566 </th> 6612 6567 <td> … … 6620 6575 </td> 6621 6576 <td> 6622 <input type="submit" name="add" value=" Add Filter"/>6623 <input type="submit" name="cancelled" value=" Cancel"/>6577 <input type="submit" name="add" value="{$bwStr-AdFi-AddFilter}"/> 6578 <input type="submit" name="cancelled" value="{$bwStr-AdFi-Cancel}"/> 6624 6579 </td> 6625 6580 </tr> … … 6627 6582 </form> 6628 6583 <xsl:if test="/bedework/filters/filter"> 6629 <h2> Current Filters</h2>6584 <h2><xsl:copy-of select="$bwStr-AdFi-CurrentFilters"/></h2> 6630 6585 <table id="filterTable"> 6631 6586 <tr> 6632 <th> Filter Name</th>6633 <th> Description/Definition</th>6634 <th> Delete</th>6587 <th><xsl:copy-of select="$bwStr-AdFi-FilterName"/></th> 6588 <th><xsl:copy-of select="$bwStr-AdFi-Description"/></th> 6589 <th><xsl:copy-of select="$bwStr-AdFi-Delete"/></th> 6635 6590 </tr> 6636 6591 <xsl:for-each select="/bedework/filters/filter"> … … 6641 6596 <xsl:if test="description != ''"><xsl:value-of select="description"/><br/></xsl:if> 6642 6597 <a href="javascript:toggleVisibility('bwfilter-{$filterName}','filterdef')"> 6643 show/hide filter definition6598 <xsl:copy-of select="$bwStr-AdFi-ShowHideFilterDef"/> 6644 6599 </a> 6645 6600 <div id="bwfilter-{$filterName}" class="invisible"> … … 6648 6603 </td> 6649 6604 <td> 6650 <a href="{$filter-delete}&name={$filterName}" title=" delete filter">6651 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt=" delete filter"/>6605 <a href="{$filter-delete}&name={$filterName}" title="{$bwStr-AdFi-DeleteFilter}"> 6606 <img src="{$resourcesRoot}/resources/trashIcon.gif" width="13" height="13" border="0" alt="{$bwStr-AdFi-DeleteFilter}"/> 6652 6607 </a> 6653 6608 </td> … … 6661 6616 6662 6617 <xsl:template match="sysStats" mode="showSysStats"> 6663 <h2> System Statistics</h2>6618 <h2><xsl:copy-of select="$bwStr-SysS-SystemStatistics"/></h2> 6664 6619 6665 6620 <p> 6666 Stats collection:6621 <xsl:copy-of select="$bwStr-SysS-StatsCollection"/> 6667 6622 </p> 6668 6623 <ul> 6669 6624 <li> 6670 <a href="{$stats-update}&enable=yes"> enable</a> |6671 <a href="{$stats-update}&disable=yes"> disable</a>6625 <a href="{$stats-update}&enable=yes"><xsl:copy-of select="$bwStr-SysS-Enable"/></a> | 6626 <a href="{$stats-update}&disable=yes"><xsl:copy-of select="$bwStr-SysS-Disable"/></a> 6672 6627 </li> 6673 6628 <li> 6674 <a href="{$stats-update}&fetch=yes"> fetch/refresh statistics</a>6629 <a href="{$stats-update}&fetch=yes"><xsl:copy-of select="$bwStr-SysS-FetchRefreshStats"/></a> 6675 6630 </li> 6676 6631 <li> 6677 <a href="{$stats-update}&dump=yes"> dump stats to log</a>6632 <a href="{$stats-update}&dump=yes"><xsl:copy-of select="$bwStr-SysS-DumpStatsToLog"/></a> 6678 6633 </li> 6679 6634 </ul> … … 6708 6663 <div id="searchFilter"> 6709 6664 <form name="searchForm" method="post" action="{$search}"> 6710 Search:6665 <xsl:copy-of select="$bwStr-Srch-Search"/>Search: 6711 6666 <input type="text" name="query" size="15"> 6712 6667 <xsl:attribute name="value"><xsl:value-of select="/bedework/searchResults/query"/></xsl:attribute> 6713 6668 </input> 6714 <input type="submit" name="submit" value=" go"/>6715 Limit:6669 <input type="submit" name="submit" value="{$bwStr-Srch-Go}"/> 6670 <xsl:copy-of select="$bwStr-Srch-Limit"/> 6716 6671 <xsl:choose> 6717 6672 <xsl:when test="/bedework/searchResults/searchLimits = 'beforeToday'"> 6718 <input type="radio" name="searchLimits" value="fromToday"/> today forward6719 <input type="radio" name="searchLimits" value="beforeToday" checked="checked"/> past dates6720 <input type="radio" name="searchLimits" value="none"/> all dates6673 <input type="radio" name="searchLimits" value="fromToday"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 6674 <input type="radio" name="searchLimits" value="beforeToday" checked="checked"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 6675 <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 6721 6676 </xsl:when> 6722 6677 <xsl:when test="/bedework/searchResults/searchLimits = 'none'"> 6723 <input type="radio" name="searchLimits" value="fromToday"/> today forward6724 <input type="radio" name="searchLimits" value="beforeToday"/> past dates6725 <input type="radio" name="searchLimits" value="none" checked="checked"/> all dates6678 <input type="radio" name="searchLimits" value="fromToday"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 6679 <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 6680 <input type="radio" name="searchLimits" value="none" checked="checked"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 6726 6681 </xsl:when> 6727 6682 <xsl:otherwise> 6728 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/> today forward6729 <input type="radio" name="searchLimits" value="beforeToday"/> past dates6730 <input type="radio" name="searchLimits" value="none"/> all dates6683 <input type="radio" name="searchLimits" value="fromToday" checked="checked"/><xsl:copy-of select="$bwStr-Srch-TodayForward"/> 6684 <input type="radio" name="searchLimits" value="beforeToday"/><xsl:copy-of select="$bwStr-Srch-PastDates"/> 6685 <input type="radio" name="searchLimits" value="none"/><xsl:copy-of select="$bwStr-Srch-AllDates"/> 6731 6686 </xsl:otherwise> 6732 6687 </xsl:choose> 6733 6688 </form> 6734 6689 </div> 6735 Search Result6690 <xsl:copy-of select="$bwStr-Srch-SearchResult"/> 6736 6691 </h2> 6737 6692 <table id="searchTable" cellpadding="0" cellspacing="0"> … … 6741 6696 <xsl:variable name="curPage" select="/bedework/searchResults/curPage"/> 6742 6697 <div id="searchPageForm"> 6743 page:6698 <xsl:copy-of select="$bwStr-Srch-Page"/> 6744 6699 <xsl:if test="/bedework/searchResults/curPage != 1"> 6745 6700 <xsl:variable name="prevPage" select="number($curPage) - 1"/> 6746 <<a href="{$search-next}&pageNum={$prevPage}"> prev</a>6701 <<a href="{$search-next}&pageNum={$prevPage}"><xsl:copy-of select="$bwStr-Srch-Prev"/></a> 6747 6702 </xsl:if> 6748 6703 <xsl:text> </xsl:text> … … 6761 6716 <xsl:when test="$curPage != /bedework/searchResults/numPages"> 6762 6717 <xsl:variable name="nextPage" select="number($curPage) + 1"/> 6763 <a href="{$search-next}&pageNum={$nextPage}"> next</a>>6718 <a href="{$search-next}&pageNum={$nextPage}"><xsl:copy-of select="$bwStr-Srch-Next"/></a>> 6764 6719 </xsl:when> 6765 6720 <xsl:otherwise> 6766 <span class="hidden"> next></span><!-- occupy the space to keep the navigation from moving around -->6721 <span class="hidden"><xsl:copy-of select="$bwStr-Srch-Next"/>></span><!-- occupy the space to keep the navigation from moving around --> 6767 6722 </xsl:otherwise> 6768 6723 </xsl:choose> … … 6770 6725 </xsl:if> 6771 6726 <xsl:value-of select="/bedework/searchResults/resultSize"/> 6772 result<xsl:if test="/bedework/searchResults/resultSize != 1">s</xsl:if> returned 6773 for <em><xsl:value-of select="/bedework/searchResults/query"/></em> 6727 <xsl:copy-of select="$bwStr-Srch-ResultReturnedFor"/><xsl:text> </xsl:text><em><xsl:value-of select="/bedework/searchResults/query"/></em> 6774 6728 </th> 6775 6729 </tr> … … 6777 6731 <tr class="fieldNames"> 6778 6732 <td> 6779 relevance6780 </td> 6781 <td> 6782 title6783 </td> 6784 <td> 6785 date & time6733 <xsl:copy-of select="$bwStr-Srch-Relevance"/> 6734 </td> 6735 <td> 6736 <xsl:copy-of select="$bwStr-Srch-Title"/> 6737 </td> 6738 <td> 6739 <xsl:copy-of select="$bwStr-Srch-DateAndTime"/> 6786 6740 </td> 6787 6741 <!-- <td> … … 6789 6743 </td>--> 6790 6744 <td> 6791 location6745 <xsl:copy-of select="$bwStr-Srch-Location"/> 6792 6746 </td> 6793 6747 </tr> … … 6807 6761 <a href="{$event-fetchForDisplay}&calPath={$calPath}&guid={$guid}&recurrenceId={$recurrenceId}"> 6808 6762 <xsl:value-of select="event/summary"/> 6809 <xsl:if test="event/summary = ''"><em> no title</em></xsl:if>6763 <xsl:if test="event/summary = ''"><em><xsl:copy-of select="$bwStr-Srch-NoTitle"/></em></xsl:if> 6810 6764 </a> 6811 6765 </td> … … 6873 6827 <xsl:template name="footer"> 6874 6828 <div id="footer"> 6875 <a href="http://www.bedework.org/"> Bedework Website</a> |6829 <a href="http://www.bedework.org/"><xsl:copy-of select="$bwStr-Foot-BedeworkWebsite"/></a> | 6876 6830 <!-- Enable the following two items when debugging skins only --> 6877 <a href="?noxslt=yes"> show XML</a> |6878 <a href="?refreshXslt=yes"> refresh XSLT</a>6831 <a href="?noxslt=yes"><xsl:copy-of select="$bwStr-Foot-ShowXML"/></a> | 6832 <a href="?refreshXslt=yes"><xsl:copy-of select="$bwStr-Foot-RefreshXSLT"/></a> 6879 6833 </div> 6880 6834 </xsl:template>
