2 /*********************************************************************************
3 * SugarCRM Community Edition is a customer relationship management program developed by
4 * SugarCRM, Inc. Copyright (C) 2004-2012 SugarCRM Inc.
6 * This program is free software; you can redistribute it and/or modify it under
7 * the terms of the GNU Affero General Public License version 3 as published by the
8 * Free Software Foundation with the addition of the following permission added
9 * to Section 15 as permitted in Section 7(a): FOR ANY PART OF THE COVERED WORK
10 * IN WHICH THE COPYRIGHT IS OWNED BY SUGARCRM, SUGARCRM DISCLAIMS THE WARRANTY
11 * OF NON INFRINGEMENT OF THIRD PARTY RIGHTS.
13 * This program is distributed in the hope that it will be useful, but WITHOUT
14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 * FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
18 * You should have received a copy of the GNU Affero General Public License along with
19 * this program; if not, see http://www.gnu.org/licenses or write to the Free
20 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
23 * You can contact SugarCRM, Inc. headquarters at 10050 North Wolfe Road,
24 * SW2-130, Cupertino, CA 95014, USA. or at email address contact@sugarcrm.com.
26 * The interactive user interfaces in modified source and object code versions
27 * of this program must display Appropriate Legal Notices, as required under
28 * Section 5 of the GNU Affero General Public License version 3.
30 * In accordance with Section 7(b) of the GNU Affero General Public License version 3,
31 * these Appropriate Legal Notices must retain the display of the "Powered by
32 * SugarCRM" logo. If the display of the logo is not reasonably feasible for
33 * technical reasons, the Appropriate Legal Notices must display the words
34 * "Powered by SugarCRM".
35 ********************************************************************************/
38 <form id="CalendarEditView" name="CalendarEditView" method="POST">
40 <input type="hidden" name="current_module" id="current_module" value="Meetings">
41 <input type="hidden" name="record" id="record" value="">
42 <input type="hidden" name="full_form" value="">
43 <input type="hidden" name="user_invitees" id="user_invitees">
44 <input type="hidden" name="contact_invitees" id="contact_invitees">
45 <input type="hidden" name="lead_invitees" id="lead_invitees">
46 <input type="hidden" name="send_invites" id="send_invites">
49 <input type="hidden" name="edit_all_recurrences" id="edit_all_recurrences">
50 <input type="hidden" name="repeat_parent_id" id="repeat_parent_id">
51 <input type="hidden" name="repeat_type" id="repeat_type">
52 <input type="hidden" name="repeat_interval" id="repeat_interval">
53 <input type="hidden" name="repeat_count" id="repeat_count">
54 <input type="hidden" name="repeat_until" id="repeat_until">
55 <input type="hidden" name="repeat_dow" id="repeat_dow">
58 <div style="padding: 4px 0; font-size: 12px;">
60 <input type="radio" id="radio_meeting" value="Meetings" onclick="CAL.change_activity_type(this.value);" checked="true" name="appttype" tabindex="100"/>
62 <label for="radio_meeting">{$MOD.LBL_CREATE_MEETING}</label>
64 <input type="radio" id="radio_call" value="Calls" onclick="CAL.change_activity_type(this.value);" name="appttype" tabindex="100"/>
66 <label for="radio_call">{$MOD.LBL_CREATE_CALL}</label>
69 <div id="form_content">
70 <input type="hidden" name="date_start" id="date_start" value="{$user_default_date_start}">
71 <input type="hidden" name="duration_hours" id="duration_hours">
72 <input type="hidden" name="duration_minutes" id="duration_minutes">
77 <script type="text/javascript">
80 function cal_isValidDuration(){
81 form = document.getElementById('CalendarEditView');
82 if(typeof form.duration_hours == "undefined" || typeof form.duration_minutes == "undefined")
84 if(form.duration_hours.value + form.duration_minutes.value <= 0){
85 alert('{/literal}{$MOD.NOTICE_DURATION_TIME}{literal}');
92 <script type="text/javascript" src="include/SugarFields/Fields/Datetimecombo/Datetimecombo.js"></script>