<if="$timestuff['formtype'] != 'range'">
<tr>
	<td class='row1' style='text-align: right; width: 20%'>
		<!-- nothing -->
	</td>
	<td class='row2'>
		<input type='checkbox' name='set_times' {$timestuff['checked']} value='1' onclick="toggleview('time-settings')" /> &nbsp;<strong>{$this->ipsclass->lang['form_set_times']}</strong>
		<div id='time-settings' style='display:{$timestuff['divhide']};'>
			<table class='ipbtable' cellspacing='0' cellpadding='0'>
				<tr>
					<td class='row2'>
						 {$this->ipsclass->lang['form_tz']}
					</td>
					<td class='row2'>
						{$timezone}
					</td>
				</tr>
				<tr>
					<td class='row2' style='border-bottom: 0px'>
						{$this->ipsclass->lang['form_timestart']}
					</td>
					<td class='row2' style='border-bottom: 0px'>
						<input type='text' size='8' name='event_timestart' value='{$timestuff['timestart']}' />
					</td>
				</tr>
			</table>
		</div>
	</td>
</tr>
</if>
<tr>
	<td class='row1' style='text-align: right'>
		<strong>{$this->ipsclass->lang['form_whichcal']}</strong>
	</td>
	<td class='row2'>
		<select name='event_calendar_id'>{$dropdown}</select>
	</td>
</tr>
<tr>
	<td class='row1' style='text-align: right'>
		<strong>{$this->ipsclass->lang['calendar_event_type']}</strong>
	</td>
	<td class='row2'>
		<select name="e_type">
			<option value="public"$pub_select>{$this->ipsclass->lang['calendar_type_public']}</option>
			<option value="private"$priv_select>{$this->ipsclass->lang['calendar_type_private']}</option>
		</select>
	</td>
</tr>