[Doins-devel] Events in Calendar suggestion
Status: Beta
Brought to you by:
rbrown
|
From: Greg l. <the...@ea...> - 2000-05-29 02:50:14
|
Hi, looking at the part that adds to the calendar (calendar-adddate.inc) =
and it should have a maximums set for the text input. The red parts in =
the lines below is what I did. The first one is for the title of the =
event and I'm not sure what to make it except that if it is too long, =
the looks of the calendar can be all screwed up. The second part is for =
adding the time of day, again, you don't want someone screwing up the =
calendar. I made it 2 because it doesn't need to be any longer. The =
third part is for the optional minutes. I made it 3 because I figure if =
someone wants to add more than 999 minutes (which is almost half a day), =
they can just put days. I tried to figure out how to set a maximum on =
the body but couldn't. It's not as crucial as the others.
Anyway, just my 2 cents.
Greg
<td valign =3D top><font color =3D BLUE>Event Name</font></td>
<td valign =3D top><input type =3D text maxlength=3D20 name =3D =
"title" value =3D "<?php
echo $title; ?>"></td></tr>
echo "<input type =3D text maxlength=3D2 name =3D \"hour\" value =3D =
\"$hour\" size =3D 2>\n:";
echo "<input type =3D text maxlength=3D2 name =3D \"minute\" value =3D =
\"$minute\" size =3D 2>\n";
<td valign =3D top><font color =3D BLUE>Duration</td>
<td valign =3D top><input type =3D text maxlength=3D3 name =3D =
"duration" value =3D "<?php
echo $duration; ?>" size =3D 4> minutes <font color =3D =
RED>(optional)</font></td>
|