root/trunk/deployment/feeder/webapp/resources/demoskins/MainCampus/default/default/globals.xsl

Revision 2843 (checked in by bleibson, 3 years ago)

o add Jasig licensing info to header of source files
o in some cases, remove RPI copyright info.

Line 
1 <!--
2     Licensed to Jasig under one or more contributor license
3     agreements. See the NOTICE file distributed with this work
4     for additional information regarding copyright ownership.
5     Jasig licenses this file to you under the Apache License,
6     Version 2.0 (the "License"); you may not use this file
7     except in compliance with the License. You may obtain a
8     copy of the License at:
9    
10     http://www.apache.org/licenses/LICENSE-2.0
11    
12     Unless required by applicable law or agreed to in writing,
13     software distributed under the License is distributed on
14     an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15     KIND, either express or implied. See the License for the
16     specific language governing permissions and limitations
17     under the License.
18 -->
19 <xsl:stylesheet
20   version="1.0"
21   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22   xmlns="http://www.w3.org/1999/xhtml">
23
24   <!-- DEFINE GLOBAL INCLUDES -->
25   <xsl:include href="../../../bedework-common/default/default/errors.xsl" />
26   <xsl:include href="../../../bedework-common/default/default/messages.xsl" />
27   <xsl:include href="../../../bedework-common/default/default/util.xsl" />
28
29
30   <!-- ======================= -->
31   <!-- DEFINE GLOBAL CONSTANTS -->
32   <!-- ======================= -->
33
34   <!-- URL of the XSL template directory for this calendar suite -->
35   <xsl:variable name="appRoot" select="/bedework/approot" />
36
37   <!-- Location of the web cache -->
38   <xsl:variable name="bwCacheHostUrl">/webcache</xsl:variable>
39
40   <!-- Location of resources -->
41   <xsl:variable name="resourcesRoot" select="concat(/bedework/browserResourceRoot,'/default/default/theme')"/>
42
43   <!-- Properly encoded prefixes to the application actions; use these to build
44     urls; allows the application to be used without cookies or within a portal.
45     These urls are rewritten in header.jsp and simply passed through for use
46     here. Every url includes a query string (either ?b=de or a real query
47     string) so that all links constructed in this stylesheet may begin the
48     query string with an ampersand. -->
49   <xsl:variable name="setup" select="/bedework/urlPrefixes/setup" />
50   <xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection" />
51   <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars" />
52   <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod" />
53   <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents" />
54   <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView" />
55   <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef" />
56   <xsl:variable name="export" select="/bedework/urlPrefixes/misc/export" />
57   <xsl:variable name="search" select="/bedework/urlPrefixes/search/search" />
58   <xsl:variable name="search-next" select="/bedework/urlPrefixes/search/next" />
59   <xsl:variable name="calendar-fetchForExport" select="/bedework/urlPrefixes/calendar/fetchForExport" />
60   <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" />
61   <xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" />
62
63   <!-- URL of the web application - includes web context -->
64   <xsl:variable name="urlPrefix" select="/bedework/urlprefix" />
65
66   <!-- Other generally useful global variables -->
67   <xsl:variable name="publicCal">/cal</xsl:variable>
68   <xsl:variable name="privateCal">/ucal</xsl:variable>
69   <xsl:variable name="feeder">/feeder</xsl:variable>
70   <xsl:variable name="prevdate" select="/bedework/previousdate" />
71   <xsl:variable name="nextdate" select="/bedework/nextdate" />
72   <xsl:variable name="curdate" select="/bedework/currentdate/date" />
73  
74
75 </xsl:stylesheet>
Note: See TracBrowser for help on using the browser.