{include file="common/head.tpl.html" contextmenu=true html5=true} {calendar->init}
{if $write_access && !$in_edit} {menubutton->sub name="save_close" string=$lang.global_saveclose} {else} {cssbutton->dummy string=$lang.global_saveclose} {/if} {if $write_access && !$in_edit} {menubutton->sub name="save" string=$lang.global_save} {else} {cssbutton->dummy string=$lang.global_save} {/if} {if $delete_access && !$in_edit} {menubutton->sub name="del" string=$lang.global_delete script="if (!confirm('`$lang.todo_asktask`')) return false"} {else} {cssbutton->dummy string=$lang.global_delete} {/if} {if $write_access && !$in_edit} {cssbutton->image script="window_open('`$SELF`?op=todo_windowserie&todoid=`$todoid`', `$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=todo_windowprint&todoid=$todoid" icon="print2" width=24 height=22 title=$lang.global_print w_width=800 scroll=1 w_height=600} {help->button name="todo_new"}
{if $smarty.const.PROJECTS || $smarty.const.TICKETS || $smarty.const.ORDERS}
{$lang.todo_serie_title}
{$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} {if $ttid} {/if}
{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}
{$lang.todoedit_start}:
{calendar->input name="start_date" value=$start_date onfocus="auto_date(true)"} {controls->combo_time name="start_time" width="60px" selected=$start_time}
{$lang.todo_matureto}:
{calendar->input name="stop_date" value=$stop_date} {controls->combo_time name="stop_time" width="60px" selected=$stop_time}
{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.todo_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=152 }
  {if $todo_timer} {/if}
{$lang.todoedit_planned}: h
{$lang.todoedit_achieved}: h
{$lang.global_timer}:
00:00:00
 
{$lang.todoedit_confirmation}:
{$lang.global_status}:
{$lang.global_done}:
 
{$lang.global_obligingness}:
{$lang.global_priority}:
{if $show_userbody} {else} {/if}
{$lang.global_notes}:
{html->area name="body" id="body" rows="3" cols="100" wrap="virtual" value=$body class="dynamic-div-content choose-select line-height"}
{$lang.todoedit_own_notes}:
{html->area name="userbody" id="userbody" rows="3" cols="100" wrap="virtual" value=$userbody class="dynamic-div-content choose-select line-height"}
{if $write_access && !$in_edit} {html->area name="body" id="body" rows="10" cols="10" wrap="virtual" value=$body class="dynamic-div-content choose-select line-height"} {else} {html->area name="body" id="body" rows="10" cols="10" wrap="virtual" value=$body readonly="true" class="dynamic-div-content choose-select line-height"} {/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" data=$data_userselection write_access=$write_access str_all="`$lang.global_all`" str_onlysel="`$lang.sfilter_only_sel`" str_onlydesel="`$lang.sfilter_only_desel`" ondepchange="ajax.exec('user', 'ajax_set_user_option', 'todo_last_department', this.value);" onuserclick="set_usercombo(this.value, this.checked);" onallclick="set_usercombo_all(this.id, this.checked);"} {html->input_hidden name="userids_hidden" value=$userids_hidden}
{if $show_status || $show_times}
{if $show_status}{register->dyn string=$lang.global_status onclick="show_div('status', 1)" rg="1"}{/if} {if $show_times}{register->dyn string=$lang.global_tenses onclick="show_div('times', 2)" rg="2"}{/if} {register->dyn string=$lang.global_documents_new onclick="show_div('recentdocs', 3)" rg="3"}
{html->fileupload modul=$upload_module oid=$upload_oid droparea="document.body" relpath=$relpath onuploaded="rd.refresh('$upload_module', $upload_oid);"} {docs->open modul="todo" id=$todoid html_id=$docbtn}
{else}
{$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="todo" id=$todoid html_id=$docbtn}
{/if}
{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 !$write_access} {/if}
{include file="common/foot.tpl.html"}