This commit is contained in:
sman%netscape.com 1998-10-29 01:53:46 +00:00
Родитель 88c7e6fa7e
Коммит 959b561e1b
2 изменённых файлов: 38 добавлений и 9 удалений

Просмотреть файл

@ -48,6 +48,8 @@ foreach $val (@parms)
$v =~ s/%27/'/g;
$v =~ s/%29/)/g;
$v =~ s/%2C/,/g;
$v =~ s/%3D/=/g;
$v =~ s/%3B/;/g;
$vals{$p} = $v;
}
@ -231,7 +233,7 @@ sub mail_the_message {
printf(S "--%s\n",$boundary);
printf(S "Content-Type:text/calendar; method=REQUEST; component=VEVENT; charset=US-ASCII\n");
printf(S "Content-Transfer-Encoding: 7bit\n");
printf(S "Content-Disposition: inline; filename=\"event.ics\"\n");
# printf(S "Content-Disposition: inline; filename=\"event.ics\"\n");
printf(S "\n");
printf(S "BEGIN:VCALENDAR\n");
printf(S "METHOD:REQUEST\n");
@ -263,6 +265,8 @@ sub mail_the_message {
printf(S "UID:%s.%s-%s.%s\n",$h, $dm, $d, "$$" );
printf(S "SEQUENCE:0\n");
printf(S "LOCATION:%s\n",$vals{'LOCATION'});
printf(S "RRULE:%s\n",$vals{'RRULE'}) if ('' ne $vals{'RRULE'}) ;
printf(S "EXDATE:%s\n",$vals{'EXDATE'}) if ('' ne $vals{'RRULE'}) ;
printf(S "STATUS:CONFIRMED\n");
printf(S "END:VEVENT\n");
printf(S "END:VCALENDAR\n");

Просмотреть файл

@ -5,10 +5,11 @@
</HEAD>
<BODY>
<H1>
Make A Meeting Request</H1>
&nbsp;
<BR>&nbsp;<FORM ACTION="http://seasnake/cgi-bin/sm/meeting.cgi" METHOD=GET>
<CENTER>
<H1>Make An IMIP Meeting Request</H1>
</CENTER>
<FORM ACTION="http://seasnake/cgi-bin/sm/meeting.cgi" METHOD=GET>
<TABLE>
<TR>
<TH ALIGN=RIGHT>Organizer:&nbsp;</TH>
@ -52,8 +53,8 @@ you're sending the request to, but not always. Example:
Start time:
</th>
<td>
<INPUT TYPE="TEXT" NAME="DTSTART" VALUE="19980522T070000Z" SIZE="20">
<font size=-1>example: <tt>19980522T070000Z</tt></font>
<INPUT TYPE="TEXT" NAME="DTSTART" VALUE="19981103T180000Z" SIZE="20">
<font size=-1>example: <tt>19981006T180000Z</tt></font>
</td>
</tr>
<tr>
@ -61,17 +62,41 @@ Start time:
End time:
</th>
<td>
<INPUT TYPE="TEXT" NAME="DTEND" VALUE="19980523T070000Z" SIZE="20">
<font size=-1>example: <tt>19980523T070000Z</tt></font>
<INPUT TYPE="TEXT" NAME="DTEND" VALUE="19981103T190000Z" SIZE="20">
<font size=-1>example: <tt>19980523T1006T190000Z</tt></font>
</td>
</tr>
<tr>
<th align="right">
Location:
</th>
<td>
<INPUT TYPE="TEXT" NAME="LOCATION" VALUE="Cheetos" SIZE="20">
</td>
</tr>
<tr>
<th>RRULE:</th>
<td>
<input type="TEXT" NAME="RRULE" value="" SIZE=20>
<font size=-1>example:COUNT=10;FREQ=WEEKLY</font>
</td>
</tr>
<tr>
<th>EXDATE:</th>
<td>
<input type="TEXT" NAME="EXDATE" value="" SIZE=20>
<font size=-1>example:19981103T190000Z</font>
</td>
</tr>
<tr>
<th align=right valign=top>Description:</th>
<td>
<textarea name="DESCRIPTION" rows=6 cols=60></textarea>
</tr>
</TABLE>
<center>
<input type=submit name=btnSendRequest value="Send Meeting Request">
</center>
</FORM>
</BODY>
</HTML>