{if $smarty.request.action=='edit'}
{#REQUEST_EDIT2#}
{#REQUEST_CONDITION_EDIT#}
{#REQUEST_EDIT_TIP#}
{else}
{#REQUEST_NEW#}
{#REQUEST_NEW_TIP#}
{/if} {if $errors} {/if} {if !check_permission('request_php')} {/if} {if $smarty.request.Id == ''} {assign var=iframe value='no'} {/if} {if $smarty.request.action == 'new' && $smarty.request.rubric_id == ''} {assign var=dis value='disabled'} {/if} {if $smarty.request.action=='new' && $smarty.request.rubric_id==''} {/if}
{#REQUEST_HEADER_SELF#}
{#REQUEST_NAME2#}
[?] {#REQUEST_ALIAS#}:
 
{#REQUEST_CACHE#} {#REQUEST_CACHE_ELEMENTS#} request_cache_elements}checked="checked"{/if}/>
{#REQUEST_SELECT_RUBRIK#}
{#REQUEST_DESCRIPTION#}
{#REQUEST_INTERNAL_INFO#}
{#REQUEST_CONDITION#} {if $iframe == 'no'} {/if} {if $iframe != 'no'} {#REQUEST_BUTTON_COND#} {/if}
{#REQUEST_HEADER_NAME#} {#REQUEST_HEADER_PARAMETR#} {#REQUEST_HEADER_NAME#} {#REQUEST_HEADER_PARAMETR#}
{#REQUEST_HIDE_CURRENT#} request_hide_current}checked="checked"{/if}/> {#REQUEST_ONLY_OWNER#} request_only_owner}checked="checked"{/if}/>
{#REQUEST_SORT_BY_NAT#} {#REQUEST_SORT_BY#}
{#REQUEST_ASC_DESC#} {#REQUEST_DOC_PER_PAGE#}
{#REQUEST_PAGINATION#}
{#REQUEST_SHOW_NAVI#} request_show_pagination=='1'} checked="checked"{/if} /> {#REQUEST_NAVI_TPL#}
{#REQUEST_COUNT_ITEMS#} request_count_items == '1'} checked="checked"{/if} /> {#REQUEST_USE_QUERY#} request_use_query == '1'} checked="checked"{/if} />
{#REQUEST_OTHER#}
{#REQUEST_USE_LANG#} request_lang == '1'} checked="checked"{/if} />
{#REQUEST_SHOW_STAT#} request_show_statistic == '1'} checked="checked"{/if} /> {#REQUEST_SHOW_SQL#} request_show_sql == '1'} checked="checked"{/if} />
{#REQUEST_HEADER_EXTERNAL#}
{#REQUEST_EXTERNAL#} request_external == '1'} checked="checked"{/if} /> {#REQUEST_ONLY_AJAX#} request_ajax == '1'} checked="checked"{/if} />
{if $smarty.request.action=='edit'} {else} {/if} {#REQUEST_OR#} {if $smarty.request.action=='edit'} {else} {/if} {#REQUEST_CANCEL#}
{include file="$codemirror_connect"} {include file="$codemirror_editor" conn_id="" textarea_id='request_template_main' ctrls='$("#RequestTpl").ajaxSubmit(sett_options);' height=480} {include file="$codemirror_editor" conn_id="2" textarea_id='request_template_item' ctrls='$("#RequestTpl").ajaxSubmit(sett_options);' height=440} {literal} {/literal} {if $smarty.request.action !='new' && $smarty.request.rubric_id !=''} {/if}