Location: PHPKode > projects > O - OpenSource GroupWare > osgw/calendar/themes/eclipse/view_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'>{EVENT_SUBJECT}</td>
</tr>
<tr>
	<td class="input_header">{LOCATION_TEXT}:</td>
	<td colspan='2'><{EVENT_LOCATION}</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" style="vertical-align:top">{DESCRIPTION_TEXT}:</td>
	<td colspan='2' style="height:300px;width:500px;vertical-align:top;border:1px solid black">{EVENT_DESCRIPTION}</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">{START_TEXT}:</td>
<td>{START_DATE}</td>
</tr>
<tr>
<td class="input_header">{END_TEXT}:</td>

<td>{END_DATE}</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">{RECURE_END_DATE}</td>

</tr>
<tr>
	<td class="input_header">{FREQUENCY}:</td>
	<td class="light">{RECURRING_FREQUENCY}</td>
</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="view_event" value="{VIEW_EVENT_TEXT}" class="button1">
</form>
Return current item: O - OpenSource GroupWare