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

Revision 2509 (checked in by johnsa, 4 years ago)

public client: restructuring of themes directory

Line 
1 <xsl:stylesheet
2   version="1.0"
3   xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4   xmlns="http://www.w3.org/1999/xhtml">
5
6   <!-- DEFINE GLOBAL INCLUDES -->
7   <xsl:include href="../../../bedework-common/default/default/errors.xsl" />
8   <xsl:include href="../../../bedework-common/default/default/messages.xsl" />
9   <xsl:include href="../../../bedework-common/default/default/util.xsl" />
10
11
12   <!-- ======================= -->
13   <!-- DEFINE GLOBAL CONSTANTS -->
14   <!-- ======================= -->
15
16   <!-- URL of the XSL template directory for this calendar suite -->
17   <xsl:variable name="appRoot" select="/bedework/approot" />
18
19   <!-- Properly encoded prefixes to the application actions; use these to build
20     urls; allows the application to be used without cookies or within a portal.
21     These urls are rewritten in header.jsp and simply passed through for use
22     here. Every url includes a query string (either ?b=de or a real query
23     string) so that all links constructed in this stylesheet may begin the
24     query string with an ampersand. -->
25   <xsl:variable name="setup" select="/bedework/urlPrefixes/setup" />
26   <xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection" />
27   <xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars" />
28   <xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod" />
29   <xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents" />
30   <xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView" />
31   <xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef" />
32   <xsl:variable name="export" select="/bedework/urlPrefixes/misc/export" />
33   <xsl:variable name="search" select="/bedework/urlPrefixes/search/search" />
34   <xsl:variable name="search-next" select="/bedework/urlPrefixes/search/next" />
35   <xsl:variable name="calendar-fetchForExport" select="/bedework/urlPrefixes/calendar/fetchForExport" />
36   <xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" />
37   <xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" />
38
39   <!-- a check this ... needed? -->
40   <xsl:variable name="allGroupsAppVar">&amp;setappvar=group(all)</xsl:variable>
41
42   <!-- URL of the web application - includes web context -->
43   <xsl:variable name="urlPrefix" select="/bedework/urlprefix" />
44
45   <!-- Other generally useful global variables -->
46   <xsl:variable name="privateCal">/ucal</xsl:variable>
47   <xsl:variable name="feederPrefix">/feeder</xsl:variable>
48   <xsl:variable name="prevdate" select="/bedework/previousdate" />
49   <xsl:variable name="nextdate" select="/bedework/nextdate" />
50   <xsl:variable name="curdate" select="/bedework/currentdate/date" />
51
52 </xsl:stylesheet>
Note: See TracBrowser for help on using the browser.