Location: PHPKode > projects > O - OpenSource GroupWare > osgw/calendar/themes/eclipse/create_event.html
<script type="text/javascript">
	
	function change_display(formData)
	{
		var st = document.getElementById('share_groups_cell').style;
		var ut = document.getElementById('share_users_cell').style;
		if(formData.enable_sharing.checked)
		{
			st.display = 'block';
			ut.display = 'block';
		} else {
			
			st.display = 'none';
			ut.display = 'none';
		}
	}
</script>
<br>
<form action="{FORM_LINK}" method="post">
<input type="hidden" name="event_id" value="{EVENT_ID}">
<table cellspacing="0" border="0" align="center">
<tr>
	<td class="input_header">{SUBJECT_TEXT}:</td>
	<td colspan='2'><input type="text" name="event_subject" value="{EVENT_SUBJECT}" size="50"></td>
</tr>
<tr>
	<td class="input_header">{LOCATION_TEXT}:</td>
	<td colspan='2'><input type="text" name="location" value="{EVENT_LOCATION}" size="50"></td>
</tr>
<tr>
	<td class="input_header">{CATEGORY_TEXT}:</td>
	<td colspan='2'>{EVENT_CATEGORY}</td>
<td class="input_header" style="width:150px">
	<input type="checkbox" name="enable_sharing" value="share" onClick="change_display(this.form)" {SHARE_ENABLED}>
	{SHARING}</td>
</tr>
<tr>
	<td class="input_header" valign="top">{DESCRIPTION_TEXT}:</td>
	<td colspan='2'>
	<textarea cols="75" rows="17" name="description">{EVENT_DESCRIPTION}</textarea>
	</td>
	<td style="vertical-align:top">
	<table><tr></tr>
	<tr>
		<td class="input type=" style="vertical-align:top;{DISPLAY}" id="share_groups_cell">{SHARE_SELECT}</td>
	<td class="input type=" style="vertical-align:top;{DISPLAY}" id="share_users_cell">{USER_SELECT}</td>
	</tr>
	</table>
</tr>
<tr>
<td class="input_header">&nbsp;</td><td width="200" class="input_header">{DATE}</td><td class="input_header">{TIME}</td>
</tr>
<tr>
<td class="input_header">{START_TEXT}:</td>
<td>{EVENT_START_DATE}

</td>
<td>	<input type="text" name="start_hour" value="{START_HOUR}" size="2" maxlength="2"> :
	<input type="text" name="start_min" value="{START_MINUTES}" size="2" maxlength="2">
	{START_MD}

</td>
</tr>
<tr>
<td class="input_header">{END_TEXT}:</td>
<td>{EVENT_END_DATE}</td>
<td>
		<input type="text" name="end_hour" value="{END_HOUR}" size="2" maxlength="2"> :
	<input type="text" name="end_min" value="{END_MINUTES}" size="2" maxlength="2">
	{END_MD}
</td>
</tr>
<tr>
<td class="input_header">{ALL_DAY}</td>
<td><input type="checkbox" name="all_day" value="1" {ALL_DAY_CHECKED}>FIXME</td>

</tr>
</table>
<br />
<table width="75%" align="center">
<tr>
<td class="input_header" width="150">{RECURRING_EVENT}</td>
</tr>
<tr>
<td class="input_header">{RECURRENCE}:</td>
<td class="light">{RECURRENCE_TYPE}</td>
</tr>
<tr>

<td class="input_header" valign="top">{END_TEXT}:</td>
<td class="light">
	<input type="radio" name="recure_end" value="0" {CHECKED_NEVER}>{NEVER} <br />
	<input type="radio" name="recure_end" value="1" {CHECKED_ON}> {ON} {RECURE_END_DATE}<br />
	<input type="radio" name="recure_end" value="2" {CHECKED_AFTER}>{AFTER_OCCUR}<br />
</td>

</tr>
<tr>
	<td class="input_header">{FREQUENCY}:</td>
	<td class="light"><input type="text" size="2" name="recure_freq" value="{RECURRING_FREQUENCY}">
</tr>
<tr>
	<td class="input_header">{WEEKLY_TEXT}:</td>
	<td class="light">{WEEKLY_CHECKBOXES}</td>
</tr>
<tr>
	<td class="input_header">{MONTHLY_TEXT}:</td>
	<td class="light">
		<input type="radio" name="recure_monthly_type" value="0" {CHECKED_MONTHLY_0}>{ON_ABOVE_DAY_TEXT}
			<br>
		<input type="radio" name="recure_monthly_type" value="1" {CHECKED_MONTHLY_1}>{ON_ABOVE_WEEKDAY_TEXT}
	</td>
</tr>
<tr>
	<td class="input_header">{ANNUALLY_TEXT}:</td>
	<td class="light">{ON_ABOVE_DATE_TEXT}</td>
</tr>
</table>

<input type="submit" name="create_event" value="{ADD_EVENT_TEXT}" class="button1">
</form>
Return current item: O - OpenSource GroupWare