| 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 |
<!-- LOCALE SETTINGS --> |
|---|
| 25 |
<!-- A place for javascript strings and locale specific javascript overrides --> |
|---|
| 26 |
|
|---|
| 27 |
<!-- Set up the datepicker defaults --> |
|---|
| 28 |
<!-- For futher configuration, see http://docs.jquery.com/UI/Datepicker --> |
|---|
| 29 |
<xsl:template name="jqueryDatepickerDefaults"> |
|---|
| 30 |
|
|---|
| 31 |
<!-- pull in the localization strings and defaults. --> |
|---|
| 32 |
<script type="text/javascript" src="/bedework-common/javascript/jquery/lang-datepicker/jquery.ui.datepicker-es.js"> </script> |
|---|
| 33 |
|
|---|
| 34 |
<!-- Bedework datepicker defaults. You can include further overrides to regionalization here. --> |
|---|
| 35 |
<script type="text/javascript"> |
|---|
| 36 |
<xsl:comment> |
|---|
| 37 |
$.datepicker.setDefaults({ |
|---|
| 38 |
constrainInput: true, |
|---|
| 39 |
dateFormat: "yy-mm-dd", |
|---|
| 40 |
showOn: "both", |
|---|
| 41 |
buttonImage: "<xsl:value-of select='$resourcesRoot'/>/resources/calIcon.gif", |
|---|
| 42 |
buttonImageOnly: true, |
|---|
| 43 |
gotoCurrent: true, |
|---|
| 44 |
duration: "" |
|---|
| 45 |
}); |
|---|
| 46 |
</xsl:comment> |
|---|
| 47 |
</script> |
|---|
| 48 |
|
|---|
| 49 |
</xsl:template> |
|---|
| 50 |
|
|---|
| 51 |
<!-- Declare the JavaScript event strings. --> |
|---|
| 52 |
<!-- These are for display and can be translated. --> |
|---|
| 53 |
<xsl:template name="bedeworkEventJsStrings"> |
|---|
| 54 |
<script type="text/javascript"> |
|---|
| 55 |
// recurrence strings |
|---|
| 56 |
var bwRecurChangeWarning = "WARNING: changing your recurrence rules\nwill destroy all existing recurrence overrides\nand exceptions when you save the event.\n\nContinue?"; |
|---|
| 57 |
</script> |
|---|
| 58 |
</xsl:template> |
|---|
| 59 |
|
|---|
| 60 |
<!-- Declare the access control strings. --> |
|---|
| 61 |
<xsl:template name="bedeworkAccessStrings"> |
|---|
| 62 |
<!-- The default JavaScript strings are found in resources/javascript/bedework/bedeworkAccess.js which |
|---|
| 63 |
gets deployed to the /bedework-common/ libraries during the build. Overrides are found in |
|---|
| 64 |
resources/javascript/bedework/lang/ and are included here. --> |
|---|
| 65 |
<script type="text/javascript" src="/bedework-common/javascript/bedework/lang/bwAccessStrings-es_ES.js"> </script> |
|---|
| 66 |
|
|---|
| 67 |
<!-- The XSL access strings are found in resources/xsl/lang and are referenced in default/globals.xsl --> |
|---|
| 68 |
</xsl:template> |
|---|
| 69 |
|
|---|
| 70 |
</xsl:stylesheet> |
|---|