[Bedework-commit] r414 - trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default

svnadmin at bedework.org svnadmin at bedework.org
Fri Apr 21 16:29:58 EDT 2006


Author: johnsa
Date: 2006-04-21 16:29:58 -0400 (Fri, 21 Apr 2006)
New Revision: 414

Modified:
   trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
Log:
temporary fix up to personal client calendar select box for add and edit events

Modified: trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl
===================================================================
--- trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl	2006-04-21 20:08:34 UTC (rev 413)
+++ trunk/calendar3/deployment/webuser/webapp/resources/demoskins/default/default/default.xsl	2006-04-21 20:29:58 UTC (rev 414)
@@ -1320,12 +1320,16 @@
           <td class="fieldval">
             <select name="calId">
               <option value="-1">
-                Select:
+                Default (or Select):
               </option>
               <!--<xsl:copy-of select="/bedework/formElements/form/calendar/select/*"/>-->
               <!-- The following calendar select box is temporary.  Should be
                    replaced with the xml from the line above. -->
-              <xsl:for-each select="/bedework/myCalendars//calendar[calendarCollection='true']">
+              <xsl:for-each select="/bedework/myCalendars//calendar[(calendarCollection='true') and
+                                             (name != 'Inbox') and
+                                             (name != 'Outbox') and
+                                             (name != 'Deleted') and
+                                             (name != 'Trash')]">
                 <xsl:variable name="id" select="id"/>
                 <option value="{$id}"><xsl:value-of select="name"/></option>
               </xsl:for-each>
@@ -1700,7 +1704,11 @@
               <!--<xsl:copy-of select="/bedework/formElements/form/calendar/select/*"/>-->
               <!-- The following calendar select box is temporary.  Should be
                    replaced with the xml from the line above. -->
-              <xsl:for-each select="/bedework/myCalendars//calendar[calendarCollection='true']">
+              <xsl:for-each select="/bedework/myCalendars//calendar[(calendarCollection='true') and
+                                             (name != 'Inbox') and
+                                             (name != 'Outbox') and
+                                             (name != 'Deleted') and
+                                             (name != 'Trash')]">
                 <xsl:variable name="id" select="id"/>
                 <xsl:choose>
                   <xsl:when test="id = /bedework/formElements/calendarId">



More information about the Bedework-commit mailing list