[CMF-checkins] CVS: CMF - calendar.gif:1.1 calendar_day_view.dtml:1.1 event_edit.py:1.1 event_edit_form.dtml:1.1 event_icon.gif:1.1 event_info_tab.gif:1.1 event_view.dtml:1.1 event_view1a.dtml:1.1 space.gif:1.1
andrew@digicool.com
andrew@digicool.com
Wed, 30 May 2001 18:08:39 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCalendar/skins/calendar
In directory korak.digicool.com:/tmp/cvs-serv16384/skins/calendar
Added Files:
calendar.gif calendar_day_view.dtml event_edit.py
event_edit_form.dtml event_icon.gif event_info_tab.gif
event_view.dtml event_view1a.dtml space.gif
Log Message:
*CMFCalendar product (Events) 0.1a
--- Added File calendar.gif in package CMF ---
GIF89a
ʭѣHi\̘3'>x3N>>(5T
--- Added File calendar_day_view.dtml in package CMF ---
<dtml-var standard_html_header>
<SCRIPT language=javascript>
function NewWindow(url) {
var hWnd = window.open(url,'HelpWindow','menubar=no,toolbar=yes,scrollbars=yes,status=no,width=570,resizable=yes,resize=no,height=395,screenX=120,screenY=120');
}
</SCRIPT>
<STYLE>BODY {
FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica
}
TD {
FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica
}
TH {
FONT-SIZE: 10pt; FONT-FAMILY: arial,helvetica
}
BIG {
FONT-WEIGHT: bold; FONT-SIZE: 17px; FONT-FAMILY: Arial,Helvetica
}
A {
FONT-SIZE: 13px; FONT-FAMILY: Arial,Helvetica
}
SMALL {
FONT-SIZE: 2.75mm; FONT-FAMILY: Arial,Helvetica
}
.bttn {
BORDER-RIGHT: #9999cc 2px outset; BORDER-TOP: #9999cc 2px outset; BORDER-LEFT: #9999cc 2px outset; BORDER-BOTTOM: #9999cc 2px outset; BACKGROUND-COLOR: #cccccc
}
</STYLE>
<STYLE type=text/css>A.calendarlight:link {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendarlight:visited {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendarlight:active {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendarlight:hover {
COLOR: #dddddd; TEXT-DECORATION: none
}
A.calendardark:link {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendardark:visited {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendardark:active {
COLOR: #ffffff; TEXT-DECORATION: none
}
A.calendardark:hover {
COLOR: #dddddd; TEXT-DECORATION: none
}
#nav A:link {
COLOR: blue; TEXT-DECORATION: none
}
#nav A:visited {
COLOR: blue; TEXT-DECORATION: none
}
#nav A:active {
COLOR: blue; TEXT-DECORATION: none
}
#nav A:hover {
COLOR: #000000; TEXT-DECORATION: none
}
#nav TD {
PADDING-LEFT: 2px
}
</STYLE>
<FORM action="" method=post>
<TABLE cellSpacing=0 cellPadding=3 width="100%" border=0>
<TBODY>
<TR>
<TD width=20><IMG height=15 hspace=3 src="event_icon.gif"
width=16 border=0></TD>
<TD align=left width="91%">
<B><FONT style="FONT-SIZE: 9pt">Today</FONT>: <dtml-var ZopeTime></FONT>
</B></TD>
<TD noWrap align=right width="5%"><NOBR>
<FONT style="FONT-SIZE: 3.2mm">
<SELECT style="FONT-SIZE: 8pt" name=M>
<OPTION value=1>Jan
<OPTION value=2>Feb
<OPTION value=3>Mar<OPTION
value=4>Apr<OPTION value=5 selected>May<OPTION value=6>Jun<OPTION
value=7>Jul<OPTION value=8>Aug<OPTION value=9>Sep<OPTION
value=10>Oct<OPTION value=11>Nov<OPTION
value=12>Dec</OPTION></SELECT>
<SELECT style="FONT-SIZE: 8pt" name=D>
<OPTION value=1>1<OPTION value=2>2<OPTION value=3>3<OPTION
value=4>4<OPTION value=5>5<OPTION value=6>6<OPTION value=7>7<OPTION
value=8>8<OPTION value=9>9<OPTION value=10>10<OPTION value=11>11<OPTION
value=12>12<OPTION value=13>13<OPTION value=14>14<OPTION
value=15>15<OPTION value=16>16<OPTION value=17>17<OPTION
value=18>18<OPTION value=19>19<OPTION value=20>20<OPTION
value=21>21<OPTION value=22>22<OPTION value=23>23<OPTION
value=24>24<OPTION value=25 selected>25<OPTION value=26>26<OPTION
value=27>27<OPTION value=28>28<OPTION value=29>29<OPTION
value=30>30<OPTION value=31>31</OPTION></SELECT>
<SELECT style="FONT-SIZE: 8pt" name=Y>
<OPTION value=1996>1996<OPTION
value=1997>1997<OPTION value=1998>1998<OPTION value=1999>1999<OPTION
value=2000>2000<OPTION value=2001 selected>2001<OPTION
value=2002>2002<OPTION value=2003>2003<OPTION value=2004>2004<OPTION
value=2005>2005<OPTION value=2006>2006<OPTION value=2007>2007<OPTION
value=2008>2008<OPTION value=2009>2009<OPTION value=2010>2010<OPTION
value=2011>2011</OPTION>
</SELECT>
<INPUT style="FONT-SIZE: 3mm; FONT-FAMILY: arial,helvetica" type=submit value=">" name=jumptodate.x>
</FONT></NOBR>
</TD>
<TD width="2%"> </TD></TR>
<TR>
<TD colSpan=4>
</TD>
</TR>
</TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=1 width="100%" border=0>
<TBODY>
<TR>
<TD bgColor=#000000>
<TABLE cellSpacing=1 cellPadding=2 width="100%" border=0>
<TBODY>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>6:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>6:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>7:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>7:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>8:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>8:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>9:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>9:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>10:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>10:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><B>11:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#9bb1bf> <A class=calendarlight
href="&dtml-absolute_url;"><SMALL>11:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>12:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>12:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>1:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>1:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>2:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>2:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>3:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>3:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>4:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>4:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>5:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>5:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>6:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>6:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>7:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>7:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><B>8:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD></TR></TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699CC> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>8:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><B>9:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>9:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><B>10:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>10:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><B>11:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>11:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><B>12:00</B></A> </TD>
<TD bgColor=#eeeeee> </TD>
</TR>
<TR>
<TD vAlign=top noWrap align=right width="2%"
bgColor=#6699AA> <A class=calendardark
href="&dtml-absolute_url;"><SMALL>12:30</SMALL></A> </TD>
<TD bgColor=#dddddd> </TD>
</TR>
</TR></TBODY></TABLE>
</TD></TR></TBODY></TABLE></TD></TR></TBODY>
</TABLE></FORM>
<dtml-var standard_html_footer>
--- Added File event_edit.py in package CMF ---
## Script (Python) "event_edit"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=REQUEST, RESPONSE, title=None, description=None, event_type=None, effectiveDay=None, effectiveMo=None, effectiveYear=None, expirationDay=None, expirationMo=None, expirationYear=None, start_time=None, startAMPM=None, stop_time=None, stopAMPM=None, location=None, contact_name=None, contact_email=None, contact_phone=None, event_url=None
##title=
##
try:
context.edit(title=title
, description=description
, eventType=event_type
, effectiveDay=effectiveYear
, effectiveMo=effectiveMo
, effectiveYear=effectiveDay
, expirationDay=expirationYear
, expirationMo=expirationMo
, expirationYear=expirationDay
, start_time=start_time
, startAMPM=startAMPM
, stopAMPM=stopAMPM
, stop_time=stop_time
, location=location
, contact_name=contact_name
, contact_email=contact_email
, contact_phone=contact_phone
, event_url=event_url
)
except:
RESPONSE.redirect('%s/event_edit_form' % context.absolute_url()
+ '?portal_status_message=Oops!' )
else:
RESPONSE.redirect('%s/event_view' % context.absolute_url())
--- Added File event_edit_form.dtml in package CMF ---
<dtml-var standard_html_header>
<STYLE>
<!--
body,td,th { font-family:arial,helvetica; font-size:10pt }
BIG {FONT-FAMILY: Arial,Helvetica; font-size: 17px;font-weight:bold}
A {FONT-FAMILY: Arial,Helvetica; font-size: 13.5px;}
SMALL {FONT-FAMILY: Arial,Helvetica; font-size: 2.75mm;}
.bttn
{
BACKGROUND-COLOR: #cccccc;
BORDER-BOTTOM: #9999cc 2px outset;
BORDER-LEFT: #9999cc 2px outset;
BORDER-RIGHT: #9999cc 2px outset;
BORDER-TOP: #9999cc 2px outset
}
-->
</STYLE>
<style type="text/css" >
<!--
td.EventBackground { background: #DDDDDD }
td.EventHorizon { background: #818384 }
a.calendarlight:link { color: #FFFFFF; text-decoration: none }
a.calendarlight:visited { color: #FFFFFF; text-decoration: none }
a.calendarlight:active { color: #FFFFFF; text-decoration: none }
a.calendarlight:hover { color: #dddddd; text-decoration: none }
a.calendardark:link { color: #FFFFFF; text-decoration: none }
a.calendardark:visited { color: #FFFFFF; text-decoration: none }
a.calendardark:active { color: #FFFFFF; text-decoration: none }
a.calendardark:hover { color: #dddddd; text-decoration: none }
#nav a:link { color: blue; text-decoration: none }
#nav a:visited { color: blue; text-decoration: none }
#nav a:active { color: blue; text-decoration: none }
#nav a:hover { color: #000000; text-decoration: none }
#nav TD {PADDING-LEFT: 2px;}
-->
</style>
<FORM METHOD=POST ACTION="&dtml-absolute_url;/event_edit">
<center>
<table border=0 bordercolor=bronze width=100% height=100% >
<tr><td align=center valign=top >
<table border=0 bordercolor=grey width=100% height=100% cellspacing=0 cellpadding=0 >
<tr height=2% ><td colspan=5 >
<table border=0 cellpadding=0 cellspacing=0 >
<tr><td><image src="event_info_tab.gif" height=26 width=90 border=0></td><td>
<img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
</tr>
</table>
</td></tr>
<tr height=2% ><td Class="EventHorizon" width=15% colspan=4 > </td>
<td width=85% Class="EventHorizon" align=right nowrap >
<table border=0 cellpadding=6 cellspacing=0>
<tr><td align="Right" nowrap>
<nobr>
<INPUT TYPE="submit" VALUE="Save" style="font-size:9pt" >
<INPUT TYPE="reset" VALUE="Reset" style="font-size:9pt" >
</nobr>
</td></tr>
</table>
</td></tr>
<tr height=1>
<td colspan=5 bgcolor=#FFFFFF ><img src="space.gif" width=10 height=1 border=0></td>
</tr>
<tr height=96% ><td colspan=5 Class="EventBackground" valign=top>
<table border=0 cellpadding=5 width=100% cellspacing=3>
<tr><td Class="EventBackground">
<table border=0 width=100% >
<TR>
<th align=right NOWRAP>Event Name</th>
<TD NOWRAP><INPUT TYPE=text NAME="title" MAXLENGTH=100 size=35 VALUE="&dtml-Title;"></TD>
<th align=right NOWRAP>Contact Name</th>
<TD NOWRAP><INPUT TYPE=text NAME="contact_name" MAXLENGTH=100 size=35 VALUE="&dtml-contact_name;"></TD>
</TR>
<TR>
<th align=right>Location</th>
<TD NOWRAP><INPUT TYPE=text NAME="location" MAXLENGTH=100 size=35 VALUE="&dtml-location;" ></TD>
<th align=right NOWRAP>Contact Email</th>
<TD NOWRAP><INPUT TYPE=text NAME="contact_email" MAXLENGTH=100 size=35 VALUE="&dtml-contact_email;"></TD>
</TR>
<TR>
<th align=right>Event type</th>
<TD VALIGN=top>
<dtml-let contentSubject=Subject
allowedSubjects="portal_metadata.listAllowedSubjects( this() )">
<select name="event_type:list" multiple>
<dtml-in allowedSubjects>
<dtml-let item=sequence-item
sel="item in contentSubject and 'selected' or ''"
>
<option value="&dtml-sequence-item;"
&dtml-sel;> &dtml-sequence-item; </option>
</dtml-let>
</dtml-in>
</select>
</dtml-let>
</TD>
<th align=right NOWRAP>Contact Phone</th>
<TD NOWRAP><INPUT TYPE=text NAME="contact_phone" MAXLENGTH=100 size=35 VALUE="&dtml-contact_phone;"></TD>
</TR>
<tr>
<th align="right">Event URL</th>
<td colspan="3"><input type="text" name="event_url" size="55" MAXLENGTH="100" value="&dtml-event_url;"></td>
</tr>
<tr><td colspan=4 >
<table border=0 width=100% cellpadding=2 cellspacing=3 >
<tr>
<td colspan="4" >
<hr></font></td>
</tr>
<tr><th valign="middle" align=right>Start Date</th>
<dtml-with getEffectiveStrings mapping>
<td>
<select name="effectiveYear">
<dtml-in buildYears>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == year">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
<select name="effectiveMo">
<dtml-in buildMonths>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == month">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
<select name="effectiveDay">
<dtml-in buildDays>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == day">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
</td>
</dtml-with>
<th valign="middle" align="right"> Stop Date </th>
<dtml-with getExpirationStrings mapping>
<td>
<select name="expirationYear">
<dtml-in buildYears>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == year">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
<select name="expirationMo">
<dtml-in buildMonths>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == month">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
<select name="expirationDay">
<dtml-in buildDays>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == day">Selected</dtml-if>>
<dtml-var sequence-item></option>
</dtml-in>
</select>
</td>
</td>
</dtml-with>
</td>
</tr>
<TR>
<th valign="middle" align="right">Start Time</th>
<TD><select name="start_time" >
<dtml-let stTimeString="_.string.split(getStartTimeString())"
amSel="(_.len(stTimeString) == 2 and stTimeString[1] == 'am') and 'CHECKED' or ''"
pmSel="(_.len(stTimeString) == 2 and stTimeString[1] == 'pm') and 'CHECKED' or ''"
>
<dtml-in buildTimes>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == stTimeString[0]">
selected="selected"
</dtml-if>> <dtml-var sequence-item> </option>
</dtml-in>
</select>
<input type="radio" name="startAMPM" value="am" &dtml-amSel;> am
<input type="radio" name="startAMPM" value="pm" &dtml-pmSel;> pm
<input type="hidden" name="startAMPM:default" value="pm">
</dtml-let>
</TD>
<th valign="middle" align="right">Stop Time</th>
<td> <select name="stop_time">
<dtml-let stTimeString="_.string.split(getStopTimeString())"
amSel="(_.len(stTimeString) == 2 and stTimeString[1] == 'am') and 'CHECKED' or ''"
pmSel="(_.len(stTimeString) == 2 and stTimeString[1] == 'pm') and 'CHECKED' or ''"
>
<dtml-in buildTimes>
<option value="&dtml-sequence-item;"
<dtml-if expr="_['sequence-item'] == stTimeString[0]">
selected="selected"
</dtml-if>> <dtml-var sequence-item> </option>
</dtml-in>
</select>
<input type="radio" name="stopAMPM" value="am" &dtml-amSel;> am
<input type="radio" name="stopAMPM" value="pm" &dtml-pmSel;> pm
<input type="hidden" name="stopAMPM:default" value="pm">
</dtml-let>
</td>
</tr>
</table>
</td></tr>
<tr><td colspan=4 ><hr></td></tr>
<tr>
<th align=right valign=top >Description</th>
<TD colspan="3" VALIGN=top NOWRAP>
<TEXTAREA NAME="description" WRAP=virtual ROWS=6 COLS=55>&dtml-Description;</TEXTAREA>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</center>
</FORM>
<dtml-var standard_html_footer>
--- Added File event_icon.gif in package CMF ---
GIF89a
ʭѣHi\̘3'>x3N>>(5T
--- Added File event_info_tab.gif in package CMF ---
GIF89aZ
G6P`JZجv˽F(zn
42@G
u(R 2 TTa`Hа @\/L
<8@HGː3HK@
--- Added File event_view.dtml in package CMF ---
<dtml-var standard_html_header>
<STYLE>
<!--
body,td,th { font-family:arial,helvetica; font-size:10pt }
BIG {FONT-FAMILY: Arial,Helvetica; font-size: 17px;font-weight:bold}
A {FONT-FAMILY: Arial,Helvetica; font-size: 13.5px;}
SMALL {FONT-FAMILY: Arial,Helvetica; font-size: 2.75mm;}
.bttn
{
BACKGROUND-COLOR: #cccccc;
BORDER-BOTTOM: #9999cc 2px outset;
BORDER-LEFT: #9999cc 2px outset;
BORDER-RIGHT: #9999cc 2px outset;
BORDER-TOP: #9999cc 2px outset
}
-->
</STYLE>
<style type="text/css" >
<!--
td.EventBackground { background: #DDDDDD }
td.EventHorizon { background: #818384 }
a.calendarlight:link { color: #FFFFFF; text-decoration: none }
a.calendarlight:visited { color: #FFFFFF; text-decoration: none }
a.calendarlight:active { color: #FFFFFF; text-decoration: none }
a.calendarlight:hover { color: #dddddd; text-decoration: none }
a.calendardark:link { color: #FFFFFF; text-decoration: none }
a.calendardark:visited { color: #FFFFFF; text-decoration: none }
a.calendardark:active { color: #FFFFFF; text-decoration: none }
a.calendardark:hover { color: #dddddd; text-decoration: none }
#nav a:link { color: blue; text-decoration: none }
#nav a:visited { color: blue; text-decoration: none }
#nav a:active { color: blue; text-decoration: none }
#nav a:hover { color: #000000; text-decoration: none }
#nav TD {PADDING-LEFT: 2px;}
-->
</style>
<center>
<table border=0 bordercolor=bronze width=100% height=100% >
<tr><td align=center valign=top >
<table border=0 bordercolor=grey width=100% height=100% cellspacing=0 cellpadding=0 >
<tr height=2% ><td colspan=5 >
<table border=0 cellpadding=0 cellspacing=0 >
<tr><td><image src="event_info_tab.gif" height=26 width=90 border=0></td><td>
<img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
</tr></table>
</td></tr>
<tr height=2% ><td Class="EventHorizon" width=15% colspan=4 > </td>
<td width=85% Class="EventHorizon" align=right nowrap >
<table border=0 cellpadding=6 cellspacing=0>
<tr><td align="left" nowrap>
</td></tr>
</table>
</td></tr>
<tr height=1>
<td colspan=5 bgcolor=#FFFFFF ><img src="space.gif" width=10 height=1 border=0></td>
</tr>
<tr height=96% >
<td colspan=5 Class="EventBackground" valign=top>
<table border=0 cellpadding=5 width=100% cellspacing=3>
<tr>
<td Class="EventBackground">
<table border=0 width=100% >
<TR>
<th width="10%" align=left NOWRAP>Event Name</th>
<TD NOWRAP>&dtml-Title;</TD>
<th width="10%" align=left NOWRAP>Contact Name</th>
<TD NOWRAP>&dtml-contact_name;</TD>
</TR>
<TR>
<th width="10%" align=left NOWRAP>Location</th>
<TD NOWRAP>&dtml-location;</TD>
<th width="10%" align=left NOWRAP>Contact Email</th>
<TD NOWRAP><dtml-if contact_email><a href="mailto:&dtml-contact_email;">&dtml-contact_email;</a></dtml-if></TD>
</TR>
<TR>
<th width="10%" align=left NOWRAP>Event type</th>
<TD VALIGN=top NOWRAP><dtml-var expr="_.string.join(Subject(), ' ')"></TD>
<th width="10%" align=left NOWRAP>Contact Phone</th>
<TD NOWRAP>&dtml-contact_phone;</TD>
</TR>
<dtml-if event_url>
<tr>
<th align="left" width="10%" NOWRAP>Event URL</th>
<td colspan="3" NOWRAP><a href="&dtml-event_url;">&dtml-event_url;</a></td>
</tr>
</dtml-if>
<tr>
<td colspan="4" >
<hr>
</td>
</tr>
<tr><th valign="middle" align="left" width="10%" NOWRAP>Start Date</th>
<td>
<dtml-var effective fmt=Date>
</td>
<th valign="middle" align="left" width="10%" NOWRAP> Stop Date </th>
<td>
<dtml-var expires fmt=Date>
</td>
</td>
</td>
</tr>
<TR>
<th valign="Middle" align="left" width="10%" NOWRAP>Start Time</th>
<TD>
<dtml-var effective fmt=AMPMMinutes>
</TD>
<th valign="middle" align="left" width="10%" NOWRAP>Stop Time</th>
<td>
<dtml-var expires fmt=AMPMMinutes>
</td>
</tr>
<tr><td colspan=4><hr></td></tr>
<tr>
<th align=right valign=top >Description</th>
<TD VALIGN=top NOWRAP>&dtml-Description;</TEXTAREA>
</td></tr>
<tr><td height="30" colspan=4> </td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</center>
<dtml-var standard_html_footer>
--- Added File event_view1a.dtml in package CMF ---
<dtml-var standard_html_header>
<STYLE>
<!--
body,td,th { font-family:arial,helvetica; font-size:10pt }
BIG {FONT-FAMILY: Arial,Helvetica; font-size: 17px;font-weight:bold}
A {FONT-FAMILY: Arial,Helvetica; font-size: 13.5px;}
SMALL {FONT-FAMILY: Arial,Helvetica; font-size: 2.75mm;}
.bttn
{
BACKGROUND-COLOR: #cccccc;
BORDER-BOTTOM: #9999cc 2px outset;
BORDER-LEFT: #9999cc 2px outset;
BORDER-RIGHT: #9999cc 2px outset;
BORDER-TOP: #9999cc 2px outset
}
-->
</STYLE>
<style type="text/css" >
<!--
td.EventBackground { background: #DDDDDD }
td.EventHorizon { background: #6699CC }
a.calendarlight:link { color: #FFFFFF; text-decoration: none }
a.calendarlight:visited { color: #FFFFFF; text-decoration: none }
a.calendarlight:active { color: #FFFFFF; text-decoration: none }
a.calendarlight:hover { color: #dddddd; text-decoration: none }
a.calendardark:link { color: #FFFFFF; text-decoration: none }
a.calendardark:visited { color: #FFFFFF; text-decoration: none }
a.calendardark:active { color: #FFFFFF; text-decoration: none }
a.calendardark:hover { color: #dddddd; text-decoration: none }
#nav a:link { color: blue; text-decoration: none }
#nav a:visited { color: blue; text-decoration: none }
#nav a:active { color: blue; text-decoration: none }
#nav a:hover { color: #000000; text-decoration: none }
#nav TD {PADDING-LEFT: 2px;}
-->
</style>
<center>
<table border=0 bordercolor=bronze width=100% height=100% >
<tr><td align=left valign=top >
<table border=0 bordercolor=grey width=100% height=100% cellspacing=0 cellpadding=0 >
<tr height=2% ><td colspan=5 >
<table border=0 cellpadding=0 cellspacing=0 >
<tr><td><image src="event_info_tab.gif" height=26 width=90 border=0></td><td>
<img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
<td></td>
<td><img src="space.gif" width=5 height=1></td>
</tr></table>
</td></tr>
<tr height=2% ><td Class="EventHorizon" width=15% colspan=4 > </td>
<td width=85% Class="EventHorizon" align=right nowrap >
<table border=0 cellpadding=6 cellspacing=0>
<tr><td align="Right" nowrap>
<nobr>
</nobr>
</td></tr>
</table>
</td></tr>
<tr height=1>
<td colspan=5 bgcolor=#FFFFFF ><img src="space.gif" width=10 height=1 border=0></td>
</tr>
<tr height=96% >
<td align="left" colspan=5 Class="EventBackground" valign=top>
<table border=0 cellpadding=5 width=100% ><tr>
<td Class="EventBackground">
<table border=0 width=100% >
<TR><TD align=right>Event Name</TD>
<TD NOWRAP>&dtml-Title;</TD>
</TR>
<TR><TD align=right>Location</TD>
<TD NOWRAP>&dtml-location;</TD>
</TR>
<TR><TD align=right>Event type</TD>
<TD VALIGN=top><dtml-var expr="_.string.join(Subject(), ' ')"></TD>
</TR>
<tr><td colspan=2 >
<table border=0 width=100% cellpadding=2 cellspacing=3 >
<tr>
<td colspan="4" > </td>
</td>
<tr>
<td colspan="4" >
<hr></font></td>
</tr>
<tr><th valign="middle" align=right>Start Date</th>
<dtml-with getEffectiveStrings mapping>
<td>
<dtml-in buildYears>
<dtml-if expr="_['sequence-item'] == year"><dtml-var sequence-item></dtml-if>
</dtml-in>
<dtml-in buildMonths>
<dtml-if expr="_['sequence-item'] == month"><dtml-var sequence-item></dtml-if>
</dtml-in>
<dtml-in buildDays>
<dtml-if expr="_['sequence-item'] == day"><dtml-var sequence-item></dtml-if>
</dtml-in>
</td>
</dtml-with>
<th valign="middle" align="right"> Stop Date </th>
<dtml-with getExpirationStrings mapping>
<td>
<dtml-in buildYears>
<dtml-if expr="_['sequence-item'] == year"><dtml-var sequence-item></dtml-if>
</dtml-in>
<dtml-in buildMonths>
<dtml-if expr="_['sequence-item'] == month"><dtml-var sequence-item></dtml-if>
</dtml-in>
<dtml-in buildDays>
<dtml-if expr="_['sequence-item'] == day"><dtml-var sequence-item></dtml-if>
</dtml-in>
</td>
</td>
</dtml-with>
</td>
</tr>
<TR>
<th valign="middle" align="right">Start Time</th>
<TD>
<dtml-let stTimeString="_.string.split(getStartTimeString())">
<dtml-in buildTimes>
<dtml-if expr="_['sequence-item'] == stTimeString[0]">
<dtml-var sequence-item>
<dtml-var expr="stTimeString[1]">
</dtml-if>
</dtml-in>
</dtml-let>
</TD>
<th valign="middle" align="right">Stop Time</th>
<td>
<dtml-let stTimeString="_.string.split(getStopTimeString())"
>
<dtml-in buildTimes>
<dtml-if expr="_['sequence-item'] == stTimeString[0]">
<dtml-var sequence-item>
<dtml-var expr="stTimeString[1]">
</dtml-if>
</dtml-in>
</dtml-let>
</td>
</tr>
</table>
</td>
</tr>
<tr><td colspan=2 ><hr></td></tr>
<tr>
<TD align=right valign=top >Description</TD>
<TD VALIGN=top NOWRAP>
&dtml-Description;
</td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</center>
<dtml-var standard_html_footer>
--- Added File space.gif in package CMF ---
GIF89a