Changeset 1052
- Timestamp:
- 10/26/06 15:42:55
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/deployment/webadmin/webapp/resources/default/default/default.xsl
r1051 r1052 614 614 <tr> 615 615 <td class="fieldName"> 616 Calendar **:616 Calendar:** 617 617 </td> 618 618 <td> … … 896 896 <tr> 897 897 <td class="fieldName"> 898 Location **:898 Location:** 899 899 </td> 900 900 <td> … … 955 955 <tr> 956 956 <td class="fieldName"> 957 Contact **:957 Contact:** 958 958 </td> 959 959 <td> … … 980 980 <tr> 981 981 <td class="fieldName"> 982 Categories **:982 Categories:** 983 983 </td> 984 984 <td> … … 994 994 <input type="checkbox" name="categoryKey"> 995 995 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> 996 <xsl:attribute name="id">pref-<xsl:value-of select="keyword"/></xsl:attribute> 997 <xsl:attribute name="onchange">setCatChBx('pref-<xsl:value-of select="keyword"/>','all-<xsl:value-of select="keyword"/>')</xsl:attribute> 996 998 <xsl:if test="keyword = /bedeworkadmin/formElements/form/categories/current//category/keyword"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 997 999 <xsl:value-of select="keyword"/> … … 1003 1005 <input type="checkbox" name="categoryKey"> 1004 1006 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> 1007 <xsl:attribute name="id">pref-<xsl:value-of select="keyword"/></xsl:attribute> 1008 <xsl:attribute name="onchange">setCatChBx('pref-<xsl:value-of select="keyword"/>','all-<xsl:value-of select="keyword"/>')</xsl:attribute> 1005 1009 <xsl:if test="keyword = /bedeworkadmin/formElements/form/categories/current//category/keyword"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 1006 1010 <xsl:value-of select="keyword"/> … … 1028 1032 <input type="checkbox" name="categoryKey"> 1029 1033 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> 1034 <xsl:attribute name="id">all-<xsl:value-of select="keyword"/></xsl:attribute> 1035 <xsl:attribute name="onchange">setCatChBx('all-<xsl:value-of select="keyword"/>','pref-<xsl:value-of select="keyword"/>')</xsl:attribute> 1030 1036 <xsl:if test="keyword = /bedeworkadmin/formElements/form/categories/current//category/keyword"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 1031 1037 <xsl:value-of select="keyword"/> … … 1037 1043 <input type="checkbox" name="categoryKey"> 1038 1044 <xsl:attribute name="value"><xsl:value-of select="keyword"/></xsl:attribute> 1045 <xsl:attribute name="id">all-<xsl:value-of select="keyword"/></xsl:attribute> 1046 <xsl:attribute name="onchange">setCatChBx('all-<xsl:value-of select="keyword"/>','pref-<xsl:value-of select="keyword"/>')</xsl:attribute> 1039 1047 <xsl:if test="keyword = /bedeworkadmin/formElements/form/categories/current//category/keyword"><xsl:attribute name="checked">checked</xsl:attribute></xsl:if> 1040 1048 <xsl:value-of select="keyword"/> trunk/deployment/webadmin/webapp/resources/resources/includes.js
r1032 r1052 99 99 window.close(); 100 100 } 101 102 // checkboxes for all categories and preferred categories are on the page 103 // simultaneously. The use can toggle between which is shown and which is 104 // hidden. When a checkbox from one collection is changed, the corresponding 105 // checkbox should be changed in the other set if it exists. 106 function setCatChBx(thiscat,othercat) { 107 thisCatCheckBox = document.getElementById(thiscat); 108 if (document.getElementById(othercat)) { 109 otherCatCheckBox = document.getElementById(othercat); 110 otherCatCheckBox.checked = thisCatCheckBox.checked; 111 } 112 }
