| 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 |
<!-- Properly encoded prefixes to the application actions; use these to build |
|---|
| 38 |
urls; allows the application to be used without cookies or within a portal. |
|---|
| 39 |
These urls are rewritten in header.jsp and simply passed through for use |
|---|
| 40 |
here. Every url includes a query string (either ?b=de or a real query |
|---|
| 41 |
string) so that all links constructed in this stylesheet may begin the |
|---|
| 42 |
query string with an ampersand. --> |
|---|
| 43 |
<xsl:variable name="setup" select="/bedework/urlPrefixes/setup" /> |
|---|
| 44 |
<xsl:variable name="setSelection" select="/bedework/urlPrefixes/main/setSelection" /> |
|---|
| 45 |
<xsl:variable name="fetchPublicCalendars" select="/bedework/urlPrefixes/calendar/fetchPublicCalendars" /> |
|---|
| 46 |
<xsl:variable name="setViewPeriod" select="/bedework/urlPrefixes/main/setViewPeriod" /> |
|---|
| 47 |
<xsl:variable name="listEvents" select="/bedework/urlPrefixes/main/listEvents" /> |
|---|
| 48 |
<xsl:variable name="eventView" select="/bedework/urlPrefixes/event/eventView" /> |
|---|
| 49 |
<xsl:variable name="addEventRef" select="/bedework/urlPrefixes/event/addEventRef" /> |
|---|
| 50 |
<xsl:variable name="export" select="/bedework/urlPrefixes/misc/export" /> |
|---|
| 51 |
<xsl:variable name="search" select="/bedework/urlPrefixes/search/search" /> |
|---|
| 52 |
<xsl:variable name="search-next" select="/bedework/urlPrefixes/search/next" /> |
|---|
| 53 |
<xsl:variable name="calendar-fetchForExport" select="/bedework/urlPrefixes/calendar/fetchForExport" /> |
|---|
| 54 |
<xsl:variable name="mailEvent" select="/bedework/urlPrefixes/mail/mailEvent" /> |
|---|
| 55 |
<xsl:variable name="stats" select="/bedework/urlPrefixes/stats/stats" /> |
|---|
| 56 |
<xsl:variable name="showPage" select="/bedework/urlPrefixes/misc/showPage" /> |
|---|
| 57 |
|
|---|
| 58 |
<!-- URL of the web application - includes web context --> |
|---|
| 59 |
<xsl:variable name="urlPrefix" select="/bedework/urlprefix" /> |
|---|
| 60 |
|
|---|
| 61 |
<!-- Other generally useful global variables --> |
|---|
| 62 |
<xsl:variable name="privateCal">/ucal</xsl:variable> |
|---|
| 63 |
<xsl:variable name="feeder">/feeder</xsl:variable> |
|---|
| 64 |
<xsl:variable name="prevdate" select="/bedework/previousdate" /> |
|---|
| 65 |
<xsl:variable name="nextdate" select="/bedework/nextdate" /> |
|---|
| 66 |
<xsl:variable name="curdate" select="/bedework/currentdate/date" /> |
|---|
| 67 |
|
|---|
| 68 |
</xsl:stylesheet> |
|---|