[CMF-checkins] CVS: CMF - event_edit_form.dtml:1.2 event_view.dtml:1.2
andrew@digicool.com
andrew@digicool.com
Fri, 8 Jun 2001 11:22:42 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCalendar/skins/calendar
In directory korak.digicool.com:/tmp/cvs-serv19544/skins/calendar
Modified Files:
event_edit_form.dtml event_view.dtml
Log Message:
*Due to overloading the DC expiration_date and effective_date
attributes, events were unviewable to anonymous and members of a
portal.
--Added start_date and end_date attributes to Event.py
--Added start and end methods to Event.py
--Fixed dtml methods to use the new methods and attributes
--- Updated File event_edit_form.dtml in package CMF --
--- event_edit_form.dtml 2001/05/30 22:08:37 1.1
+++ event_edit_form.dtml 2001/06/08 15:22:41 1.2
@@ -154,7 +154,7 @@
<hr></font></td>
</tr>
<tr><th valign="middle" align=right>Start Date</th>
-<dtml-with getEffectiveStrings mapping>
+<dtml-with getStartStrings mapping>
<td>
<select name="effectiveYear">
<dtml-in buildYears>
@@ -183,7 +183,7 @@
</dtml-with>
<th valign="middle" align="right"> Stop Date </th>
- <dtml-with getExpirationStrings mapping>
+ <dtml-with getEndStrings mapping>
<td>
<select name="expirationYear">
<dtml-in buildYears>
--- Updated File event_view.dtml in package CMF --
--- event_view.dtml 2001/05/30 22:08:37 1.1
+++ event_view.dtml 2001/06/08 15:22:41 1.2
@@ -134,12 +134,12 @@
</tr>
<tr><th valign="middle" align="left" width="10%" NOWRAP>Start Date</th>
<td>
- <dtml-var effective fmt=Date>
+ <dtml-var start fmt=Date>
</td>
<th valign="middle" align="left" width="10%" NOWRAP> Stop Date </th>
<td>
- <dtml-var expires fmt=Date>
+ <dtml-var end fmt=Date>
</td>
</td>
@@ -148,11 +148,11 @@
<TR>
<th valign="Middle" align="left" width="10%" NOWRAP>Start Time</th>
<TD>
- <dtml-var effective fmt=AMPMMinutes>
+ <dtml-var start fmt=AMPMMinutes>
</TD>
<th valign="middle" align="left" width="10%" NOWRAP>Stop Time</th>
<td>
- <dtml-var expires fmt=AMPMMinutes>
+ <dtml-var end fmt=AMPMMinutes>
</td>
</tr>
<tr><td colspan=4><hr></td></tr>