{include file="common/head.tpl.html" html5=true} {calendar->init}
{help->link name="ticket_window" class="help-overview"} {if $protocol && $ticket_id}{menubutton->image_window query="op=common_glog&modul=`$smarty.const.MODULE_TICKETS`&oid=`$ticket_id`" icon="protocol" width=19 height=19 title=$lang.global_protocol w_width=$smarty.const.GLOG_WIN_WIDTH scroll=1 w_height=$smarty.const.GLOG_WIN_HEIGHT}{/if}
{$lang.global_internal_ticket_id}: {$ticket_id}
{if $return}{/if} {if !$read_permission}
{$lang.global_error_permissions}
{else} {include file=$ticket_template}
{if !$is_owner}
{$lang.global_error_permissions}
{else} {/if}
{/if} {if $open_notify}{/if} {if $edit}{html->input_hidden name="current_cid" id="current_cid" value=$contact_id}{/if}
{$calendar}
{cssbutton->link query="op=tickets_window&ticket_id=`$ticket_id`" string=$lang.global_refresh} {cssbutton->click script="ticket_win.$().search_open()" string=$lang.global_search}
{if $read_permission} {smartregister->custom_register registers=$custom_registers show=$custom_registers_show module_settings_id=$smarty.const.MODULE_TICKETS last_rg=$last_rg oid=$rg_oid hide_arrow=$hide_arrow} {/if} {smartregister->init obj_id="detailtab" user_option="tickets_smartreg"}
{include file="common/foot.tpl.html"}