<?php /* Smarty version 2.6.11, created on 2015-04-19 13:09:12
         compiled from modules/Calendar/tpls/form.tpl */ ?>
<form id="CalendarEditView" name="CalendarEditView" method="POST">	
		
<input type="hidden" name="current_module" id="current_module" value="Meetings">
<input type="hidden" name="return_module" id="return_module" value = "Calendar">
<input type="hidden" name="record" id="record" value="">
<input type="hidden" name="full_form" value="">
<input type="hidden" name="user_invitees" id="user_invitees">
<input type="hidden" name="contact_invitees" id="contact_invitees">
<input type="hidden" name="lead_invitees" id="lead_invitees">
<input type="hidden" name="send_invites" id="send_invites">


<input type="hidden" name="edit_all_recurrences" id="edit_all_recurrences">
<input type="hidden" name="repeat_parent_id" id="repeat_parent_id">
<input type="hidden" name="repeat_type" id="repeat_type">
<input type="hidden" name="repeat_interval" id="repeat_interval">
<input type="hidden" name="repeat_count" id="repeat_count">
<input type="hidden" name="repeat_until" id="repeat_until">
<input type="hidden" name="repeat_dow" id="repeat_dow">


<div style="padding: 4px 0; font-size: 12px;">
	<?php echo '
	<input type="radio" id="radio_meeting" value="Meetings" onclick="CAL.change_activity_type(this.value);" checked="true"  name="appttype" tabindex="100"/>
	'; ?>

	<label for="radio_meeting"><?php echo $this->_tpl_vars['MOD']['LBL_CREATE_MEETING']; ?>
</label>
	<?php echo '
	<input type="radio" id="radio_call" value="Calls" onclick="CAL.change_activity_type(this.value);" name="appttype" tabindex="100"/>
	'; ?>

	<label for="radio_call"><?php echo $this->_tpl_vars['MOD']['LBL_CREATE_CALL']; ?>
</label>											
</div>

<div id="form_content">
	<input type="hidden" name="date_start" id="date_start" value="<?php echo $this->_tpl_vars['user_default_date_start']; ?>
">
	<input type="hidden" name="duration_hours" id="duration_hours">
	<input type="hidden" name="duration_minutes" id="duration_minutes">
</div>

</form>

<script type="text/javascript">
enableQS(false);
<?php echo '
function cal_isValidDuration(){ 
	form = document.getElementById(\'CalendarEditView\');
	if(typeof form.duration_hours == "undefined" || typeof form.duration_minutes == "undefined")
		return true;
	if(form.duration_hours.value + form.duration_minutes.value <= 0){
		alert(\'';  echo $this->_tpl_vars['MOD']['NOTICE_DURATION_TIME'];  echo '\'); 
		return false; 
	} 
	return true;
}
'; ?>

</script>
<script type="text/javascript" src="include/SugarFields/Fields/Datetimecombo/Datetimecombo.js"></script>