{include file="common/head.tpl.html" html5=true} {calendar->init}
{if $write_access && !$in_edit} {cssbutton->click name="save_close" string=$lang.global_saveclose script="save_date(1);"} {else} {cssbutton->dummy string=$lang.global_saveclose} {/if} {if $write_access && !$in_edit} {cssbutton->click name="save" string=$lang.global_save script="save_date(0);"} {else} {cssbutton->dummy string=$lang.global_save} {/if} {if $delete_access && !$in_edit} {cssbutton->click string=$lang.global_delete script="delete_date()"} {else} {cssbutton->dummy string=$lang.global_delete} {/if} {if $write_access && !$in_edit && ($item == 'serie' || !$item) && !$serie_p} {cssbutton->image script="window_open('`$SELF`?op=common_serieswindow&serie_id=`$app_id`&modul=`$smarty.const.MODULE_APPOINTMENTS`&sel_date=`$sel_date`', `$smarty.const.DATES_SERIES_WIN_WIDTH`, `$smarty.const.DATES_SERIES_WIN_HEIGHT`, 'auto', 'normal')" string="`$lang.termine_serietyp`..." icon_left="serie"} {else} {cssbutton->image disabled="disabled" string="`$lang.termine_serietyp`..." icon_left="serie"} {/if} {menubutton->menu items=$extramenu string=$lang.navigate_extras title=$lang.navigate_extras} {menubutton->image_window query="op=dates_windowprint&app_id=`$app_id`" icon="print2" width=24 height=22 title=$lang.global_print w_width=800 scroll=1 w_height=600} {help->button name="date_new"}
{if $smarty.const.PROJECTS || $smarty.const.TICKETS || $smarty.const.ORDERS}
{$lang.termineserie_appointseries}
{$lang.global_subject}:
{if $external} {else} {/if}
{if $external} {$selection_label}: {else}
{if $show_selection} {controls->select_single_button name="btn_toggle" width="70" height="22" options=$selection_options label=$selection_label value=$selection_value onchange="self.set_label(self.get_text());ticket_select.toggle()"} {else} {$selection_label} {/if}
{/if}
{$text_project}
{else} {/if} {if $smarty.const.PROJECTS || $smarty.const.TICKETS || $smarty.const.ORDERS} {else} {/if}
{$lang.optionen_list_categories}:
{$lang.optionen_list_categories}:
{controls->select_multiple name="category" value=$category list="taskcategories" listlabel=$lang.optionen_list_taskcategories width="100%" listsorttype=2 value_attribute='text'}
{if !$external} {else} {/if}
{$lang.global_contacts}:
{if $create_contact_permission} {cssbutton->window_resizeable string="`$lang.global_new`..." w_width=$smarty.const.CONTACT_WIN_WIDTH w_height=$smarty.const.CONTACT_WIN_HEIGHT query="op=contacts_index&rg=1&new=true&return_action=date_selection"} {else} {cssbutton->dummy string="`$lang.global_new`..."} {/if} {html->checkbox id="externnotify" name="externnotify" value="1" selected=$externnotify output=$lang.global_invite}
{$lang.global_city}:
{controls->combo name="city" options=$cities selected=$city title=$lang.termine_city width="100%" obligatory=$citynotreq} {menubutton->image_sub name="dellist" script="ajax.exec('dates', 'ajax_del_cities');return false;" icon="trash1" width=21 height=19 title=$lang.termine_dellist}
{$lang.global_caption}:
{controls->select_caption name="caption" value=$caption text=$captionval listsorttype=2}
{$lang.termine_startsat}:
{if !$write_ressources} {calendar->input name="start_date" value=$start_date onfocus="auto_date(true)" locked="true"} {else} {calendar->input name="start_date" value=$start_date onfocus="exec_auto_date();$('start_date_old').value=this.value;"} {/if} {if $day} {controls->combo_time name="start_time" width="70px" selected=$start_time onchange="set_stoptime();" readonly="true"} {else} {if !$write_ressources} {controls->combo_time name="start_time" width="70px" selected=$start_time onchange="set_stoptime();" readonly="true"} {else} {controls->combo_time name="start_time" id="start_time" width="70px" selected=$start_time onchange="set_stoptime();"} {/if} {/if} {if !$write_ressources}   {else} {cssbutton->image id="day" script="day_click(this)" icon_left="day-full" width=25 height=26 title=$lang.kontakteterm_fulltime} {/if} {html->input_hidden name="day" id="day1" value=$day} {if !$write_ressources} {else} {/if}
{$lang.termine_endsat}:
{if !$write_ressources} {calendar->input name="stop_date" value=$stop_date locked="true"} {else} {calendar->input name="stop_date" value=$stop_date} {/if} {if $day} {controls->combo_time name="stop_time" width="70px" selected=$stop_time readonly="true"} {else} {if !$write_ressources} {controls->combo_time name="stop_time" width="70px" selected=$stop_time readonly="true"} {else} {controls->combo_time name="stop_time" width="70px" selected=$stop_time} {/if} {/if}
{if $rem}{assign var="readonly" value="0"}{else}{assign var="readonly" value="1"}{/if} {controls->select_single name="remember" values="5,300,600,900,1800,3600,7200,10800,14400,18000,21600,25200,28800,32400,36000,39600,43200,86400,172800,259200,345600,432000,518400,604800,1209600,1814400,2592000,5184000,7776000,10368000,12960000,15552000,23328000,31104000,46656000,62208000" output="`$lang.date_punctual`, 5 `$lang.date_times[1]`, 10 `$lang.date_times[1]`, 15 `$lang.date_times[1]`, 30 `$lang.date_times[1]`, 1 `$lang.date_times[2]`, 2 `$lang.date_times[3]`,3 `$lang.date_times[3]`, 4 `$lang.date_times[3]`, 5 `$lang.date_times[3]`, 6 `$lang.date_times[3]`, 7 `$lang.date_times[3]`, 8 `$lang.date_times[3]`, 9 `$lang.date_times[3]`, 10 `$lang.date_times[3]`, 11 `$lang.date_times[3]`, 12 `$lang.date_times[3]`, 1 `$lang.date_times[4]`, 2 `$lang.date_times[5]`, 3 `$lang.date_times[5]`, 4 `$lang.date_times[5]`, 5 `$lang.date_times[5]`, 6 `$lang.date_times[5]`, 1 `$lang.date_times[6]`, 2 `$lang.date_times[7]`, 3 `$lang.date_times[7]`, 1 `$lang.date_times[8]`, 2 `$lang.date_times[9]`, 3 `$lang.date_times[9]`, 4 `$lang.date_times[9]`, 5 `$lang.date_times[9]`,6 `$lang.date_times[9]`, 9 `$lang.date_times[9]`, 12 `$lang.date_times[9]`, 18 `$lang.date_times[9]`, 24 `$lang.date_times[9]`" value=$remember readonly=$readonly width=162 }
 
{$lang.todoedit_confirmation}: {controls->select_single name="confirmed" value=$confirmed values="0, 1, 2" output="`$lang.todoedit_confirmation_none`, `$lang.todoedit_confirmation_accepted`, `$lang.todoedit_confirmation_rejected`" width=100}
{$lang.global_status}: {controls->select_single id="stat" name="status" options=$appstatus value=$status width=100}
  {if $chiefsec && $new_appointment} {/if}
{$lang.global_obligingness}:
{$lang.global_notes}:
{if $write_access && !$in_edit} {html->area id="body" name="body" rows="10" cols="10" wrap="virtual" value=$body class="dynamic-div-content choose-select line-height"} {else} {html->area id="body" name="body" rows="10" cols="10" wrap="virtual" value=$body readonly="true" class="dynamic-div-content choose-select line-height"} {/if}
{if $access_ressources && $smarty.const.RESOURCES}
{$lang.global_ressources}:
{$lang.global_costcenter}:
{/if}
{$lang.global_responsible_group}: {html->checkbox name="notify" id="notify" value="1" selected=$notify output=$lang.global_notification_send}
{controls->select_users name="userid" parentid="td_userselection" str_all="`$lang.global_all`" data=$data_userselection ondepchange="ajax.exec('user', 'ajax_set_user_option', 'dates_last_department', this.value);" width=160 write_access=$write_access str_onlysel="`$lang.sfilter_only_sel`" str_onlydesel="`$lang.sfilter_only_desel`"} {html->input_hidden id="userids_hidden" value=$userids_hidden}
{cssbutton->link string="`$lang.termine_chk_available` ..." style="width:100%" link="javascript:chk_available();"}
{$lang.global_documents_new}: {html->fileupload modul=$upload_module oid=$upload_oid droparea="document.getElementById('recent_uploads')" relpath=$relpath onuploaded="rd.refresh('$upload_module', $upload_oid);"} {docs->open modul="dates" id=$app_id html_id=$docbtn}
{if $write_access && isset($acl)} {else} {/if}
{$lang.contact_input}:
{$lang.global_lastmodifi}:
{$created}
{$changed}
{$lang.projekt_accessrights}:
{$lang.contact_input}: {$created}
{$lang.global_lastmodifi}: {$changed}
{if $access_ressources && $smarty.const.RESOURCES} {controls->select_ressources check_para="1" name="ressources" parentid="td_ressourceselection" data=$data_ressourceselection ontypechange="ajax.exec('user', 'ajax_set_user_option', 'dates_last_ressourcetype', this.value);" width="160px" height="198px" write_access=$write_ressources} {/if} {include file="common/foot.tpl.html"} {if $confirm_task && !$in_edit} {/if}