| 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 |
<!--==== ACCESS CONTROL TEMPLATES ====--> |
|---|
| 25 |
|
|---|
| 26 |
<xsl:template name="schedulingAccessForm"> |
|---|
| 27 |
<xsl:param name="what"/> |
|---|
| 28 |
<input type="hidden" name="what"> |
|---|
| 29 |
<xsl:attribute name="value"><xsl:value-of select="$what"/></xsl:attribute> |
|---|
| 30 |
</input> |
|---|
| 31 |
<p> |
|---|
| 32 |
<input type="text" name="who" size="40"/> |
|---|
| 33 |
<span class="nowrap"><input type="radio" name="whoType" value="user" checked="checked"/><xsl:copy-of select="$bwStr-ScAF-User"/></span> |
|---|
| 34 |
<span class="nowrap"><input type="radio" name="whoType" value="group"/><xsl:copy-of select="$bwStr-ScAF-Group"/></span> |
|---|
| 35 |
</p> |
|---|
| 36 |
<p> |
|---|
| 37 |
<strong>or</strong> |
|---|
| 38 |
<span class="nowrap"><input type="radio" name="whoType" value="owner"/><xsl:copy-of select="$bwStr-ScAF-Owner"/></span> |
|---|
| 39 |
<span class="nowrap"><input type="radio" name="whoType" value="auth"/><xsl:copy-of select="$bwStr-ScAF-Authenticated"/></span> |
|---|
| 40 |
<span class="nowrap"><input type="radio" name="whoType" value="unauth"/><xsl:copy-of select="$bwStr-ScAF-UnAuthenticated"/></span> |
|---|
| 41 |
<span class="nowrap"><input type="radio" name="whoType" value="all"/><xsl:copy-of select="$bwStr-ScAF-All"/></span> |
|---|
| 42 |
</p> |
|---|
| 43 |
|
|---|
| 44 |
<input type="hidden" name="how" value="S"/> |
|---|
| 45 |
<dl> |
|---|
| 46 |
<dt> |
|---|
| 47 |
<input type="checkbox" name="howSetter" value="S" checked="checked" onchange="toggleScheduleHow(this.form,this)"/><xsl:copy-of select="$bwStr-ScAF-AllScheduling"/> |
|---|
| 48 |
</dt> |
|---|
| 49 |
<dd> |
|---|
| 50 |
<input type="checkbox" name="howSetter" value="t" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-SchedulingReqs"/><br/> |
|---|
| 51 |
<input type="checkbox" name="howSetter" value="y" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-SchedulingReplies"/><br/> |
|---|
| 52 |
<input type="checkbox" name="howSetter" value="s" checked="checked" disabled="disabled"/><xsl:copy-of select="$bwStr-ScAF-FreeBusyReqs"/> |
|---|
| 53 |
</dd> |
|---|
| 54 |
</dl> |
|---|
| 55 |
|
|---|
| 56 |
<input type="submit" name="modPrefs" value="{$bwStr-ScAF-Update}"/> |
|---|
| 57 |
</xsl:template> |
|---|
| 58 |
|
|---|
| 59 |
|
|---|
| 60 |
</xsl:stylesheet> |
|---|