Changeset 3431
- Timestamp:
- 12/05/11 15:48:02
- Files:
-
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/de_DE/strings.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/strings.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/bedework.xsl (modified) (2 diffs)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/bwTheme.css (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/javascript/bedework.js (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/leftColumn.xsl (modified) (1 diff)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/subscriptions.xsl (added)
- trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/de_DE/strings.xsl
r3188 r3431 96 96 <xsl:variable name="bwStr-LCol-JsMessage">Bitte aktivieren Javascript in ihrem Browser um den interaktiven Kalender anschauen zu können.</xsl:variable> 97 97 <xsl:variable name="bwStr-LCol-CalendarViews">Kalender Ansicht</xsl:variable> 98 <xsl:variable name="bwStr-LCol-Calendars">Kalender</xsl:variable> 98 99 <xsl:variable name="bwStr-LCol-FilterOnCalendars">FILTER AUF KALENDER:</xsl:variable> 99 100 <xsl:variable name="bwStr-LCol-ViewAllCalendars">Ansicht aller Kalender</xsl:variable> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/default/strings.xsl
r3188 r3431 96 96 <xsl:variable name="bwStr-LCol-JsMessage">To view the interactive calendar, please enable Javascript on your browser.</xsl:variable> 97 97 <xsl:variable name="bwStr-LCol-CalendarViews">Calendar Views</xsl:variable> 98 <xsl:variable name="bwStr-LCol-Calendars">Calendars</xsl:variable> 98 99 <xsl:variable name="bwStr-LCol-FilterOnCalendars">FILTER ON CALENDARS:</xsl:variable> 99 100 <xsl:variable name="bwStr-LCol-ViewAllCalendars">View All Calendars</xsl:variable> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/es_ES/strings.xsl
r3188 r3431 96 96 <xsl:variable name="bwStr-LCol-JsMessage">Para ver la agenda interactiva, active Javascript en su navegador.</xsl:variable> 97 97 <xsl:variable name="bwStr-LCol-CalendarViews">Vistas de Agenda</xsl:variable> 98 <xsl:variable name="bwStr-LCol-Calendars">Agendas</xsl:variable> 98 99 <xsl:variable name="bwStr-LCol-FilterOnCalendars">FILTRAR AGENDAS:</xsl:variable> 99 100 <xsl:variable name="bwStr-LCol-ViewAllCalendars">Ver Todas las Agendas</xsl:variable> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/bedework.xsl
r2837 r3431 58 58 <xsl:include href="leftColumn.xsl" /> 59 59 <xsl:include href="views.xsl" /> 60 <xsl:include href="subscriptions.xsl" /> 60 61 <xsl:include href="featuredEvents.xsl"/> 61 62 <xsl:include href="navigation.xsl" /> … … 93 94 <div id="contentSection"> 94 95 95 <!-- LEFT COLUMN: calendar widget, views, and links -->96 <!-- LEFT COLUMN: calendar widget, views, subscriptions, and links --> 96 97 <xsl:call-template name="leftColumn" /> 97 98 trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/bwTheme.css
r3427 r3431 430 430 color: #DDB500; 431 431 } 432 #subsTree { 433 margin: 1em 0 0 1em; 434 } 435 #subsTree ul li li { 436 margin: 0 0 0 2em; 437 } 432 438 ul.sideLinksExpand { 433 439 font-size: 1em; trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/javascript/bedework.js
r2850 r3431 56 56 linkWindow.focus(); 57 57 } 58 // Using the subscriptions tree for navigation (as defined in themeSettings.xsl). 59 // Get them and load them onto the page. 60 function loadSubscriptions(containerId) { 61 $.getJSON('/feeder/calendar/fetchPublicCalendars.do?skinName=widget-json-cals', function(data) { 62 var subsTree = '<ul>' + buildSubsTree(data.bwCals.calendars) + '</ul>'; 63 $(containerId).html(subsTree); 64 }); 65 } 66 function buildSubsTree(calObj) { 67 var subsTreeHtml = ""; 68 $.each(calObj,function(i) { 69 if (this.calType < 2) { // show only calendars and folders 70 subsTreeHtml += "<li>" + this.name; 71 if(this.children != undefined) { 72 subsTreeHtml += "<ul>"; 73 subsTreeHtml += buildSubsTree(this.children); 74 subsTreeHtml += "</ul>"; 75 } 76 subsTreeHtml += "</li>"; 77 } 78 }); 79 80 return(subsTreeHtml); 81 } 58 82 59 83 // topLink is defined in themeSettings.xsl trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/leftColumn.xsl
r2837 r3431 26 26 <xsl:call-template name="jsDateSelectionCal" /> 27 27 <div class="clear"> </div> 28 <xsl:call-template name="viewList" /> 28 <xsl:if test="$useViewsNav = 'true'"> 29 <xsl:call-template name="viewList" /> 30 </xsl:if> 31 <xsl:if test="$useSubscriptionsNav = 'true'"> 32 <xsl:call-template name="subscriptionsTree" /> 33 </xsl:if> 29 34 <xsl:call-template name="displaySideBar" /> 30 35 </div> trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl
r3188 r3431 45 45 46 46 47 48 <!-- VIEWS and SUBSCRIPTIONS NAVIGATION TREES --> 49 <!-- In this theme, you can use the calendar suite's views, 50 its underlying calendar subscriptions, or both to construct the left navigation menu. 51 If both are used, you'll see both menus in the left menu bar. 52 Typically, you'll want to use one or the other. --> 53 54 <!-- VIEWS LISTING --> 55 <!-- "Views" provide an abstraction layer of arbitrary named collections of 56 subscriptions but (currently) has no hierarchy. View are maintained in the 57 "Calendar Suite" tab of the admin web client. --> 58 <xsl:variable name="useViewsNav">false</xsl:variable> 59 60 <!-- SUBSCRIPTIONS LISTING --> 61 <!-- "Subscriptions" provide the full hierarchy of calendars within a calendar suite. 62 These are presented with an explorer-like navigation paradigm. This listing 63 is managed in the "Calendar Suite" tab of the admin web client. By deafault, 64 the top level subscriptions will be shown with all folders closed. Generating 65 the subscriptions listing requires a second request to the server (an ajax call). --> 66 <xsl:variable name="useSubscriptionsNav">true</xsl:variable> 67 68 69 70 47 71 48 72
