root/trunk/deployment/webpublic/webapp/resources/demoskins/SoEDepartmental/default/default/globals.xsl

Revision 3289 (checked in by johnsa, 2 years ago)

simplify relative references to bedework-common and other services by removing localhost:8080 and making paths server-relative (carried up from Bedework 3.7)

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/util.xsl" />
26  
27   <!-- include the common language string libraries -->
28   <xsl:include href="/bedework-common/default/default/errors.xsl" />
29   <xsl:include href="/bedework-common/default/default/messages.xsl" />
30
31
32   <!-- ======================= -->
33   <!-- DEFINE GLOBAL CONSTANTS -->
34   <!-- ======================= -->
35
36   <!-- URL of the XSL template directory for this calendar suite -->
37   <xsl:variable name="appRoot" select="/bedework/approot" />
38
39   <!-- Properly encoded prefixes to the application actions; use these to build
40     urls; allows the application to be used without cookies or within a portal.
41     These urls are rewritten in header.jsp and simply passed through for use
42     here. Every url includes a query string (either ?b=de or a real query
43     string) so that all links constructed in this stylesheet may begin the
44     query string with an ampersand. -->
45   <xsl:variable name="setup" select="/bedework/urlPrefixes/setup" />
46   <xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection" />
47   <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars" />
48   <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod" />
49   <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents" />
50   <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView" />
51   <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef" />
52   <xsl:variable name="export" select="/bedework/urlPrefixes/misc/export" />
53   <xsl:variable name="search" select="/bedework/urlPrefixes/search/search" />
54   <xsl:variable name="search-next" select="/bedework/urlPrefixes/search/next" />
55   <xsl:variable name="calendar-fetchForExport" select="/bedework/urlPrefixes/calendar/fetchForExport" />
56   <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" />
57   <xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" />
58   <xsl:variable name="showPage" select="/bedework/urlPrefixes/misc/showPage" />
59
60   <!-- URL of the web application - includes web context -->
61   <xsl:variable name="urlPrefix" select="/bedework/urlprefix" />
62
63   <!-- Other generally useful global variables -->
64   <xsl:variable name="privateCal">/ucal</xsl:variable>
65   <xsl:variable name="feeder">/feeder</xsl:variable>
66   <xsl:variable name="prevdate" select="/bedework/previousdate" />
67   <xsl:variable name="nextdate" select="/bedework/nextdate" />
68   <xsl:variable name="curdate" select="/bedework/currentdate/date" />
69
70 </xsl:stylesheet>
Note: See TracBrowser for help on using the browser.