{if $smarty.request.action=='edit'}
{#REQUEST_EDIT2#}
{#REQUEST_CONDITION_EDIT#}
{#REQUEST_EDIT_TIP#}
{else}
{#REQUEST_NEW#}
{#REQUEST_NEW_TIP#}
{/if}
{#MAIN_PAGE#}
{#REQUEST_ALL#}
{if $smarty.request.action=='edit'}
{#REQUEST_EDIT2#}
{else}
{#REQUEST_NEW#}
{/if}
{$smarty.request.request_title_new|stripslashes|default:$row->request_title|escape}
{if $errors}
{foreach from=$errors item=e}
{assign var=message value=$e} • {$message}
{/foreach}
{/if} {if !check_permission('request_php')}
{#REQUEST_REPORT_ERR_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==''}
{#REQUEST_PLEASE_SELECT#}
{/if}
{#REQUEST_SETTINGS#}
{#REQUEST_TEMPLATE_QUERY#}
{#REQUEST_TEMPLATE_ITEMS#}
{#REQUEST_HEADER_SELF#}
{#REQUEST_NAME2#}
[?]
{#REQUEST_ALIAS#}:
{#REQUEST_CACHE#}
{#REQUEST_CACHE_ELEMENTS#}
request_cache_elements}checked="checked"{/if}/>
{#REQUEST_SELECT_RUBRIK#}
{if $smarty.request.action=='new' && $smarty.request.rubric_id==''}
{#REQUEST_PLEASE_SELECT#}
{/if} {foreach from=$rubrics item=rubric}
Id} selected="selected"{/if}>{$rubric->rubric_title|escape}
{/foreach}
{#REQUEST_DESCRIPTION#}
{#REQUEST_INTERNAL_INFO#}
{if $smarty.request.action=='new' && $smarty.request.request_description !=''}{$smarty.request.request_description|escape}{else}{$row->request_description|escape}{/if}
{#REQUEST_CONDITION#}
{if $iframe == 'no'}
{#REQUEST_ACTION_AFTER#}
{/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#}
{foreach from=$fields_list item=field_group} {if $groups_count > 1}
{/if} {foreach from=$field_group.fields item=field}
request_order_by_nat == $field.Id}selected{/if}>{$field.rubric_field_title|escape}
{/foreach} {if $groups_count > 1}
{/if} {/foreach}
{#REQUEST_SORT_BY#}
request_order_by=='Id'} selected="selected"{/if}>Id
request_order_by=='document_position'} selected="selected"{/if}>{#REQUEST_BY_POSITION#}
request_order_by=='document_published'} selected="selected"{/if}>{#REQUEST_BY_DATE#}
request_order_by=='document_changed'} selected="selected"{/if}>{#REQUEST_BY_DATECHANGE#}
request_order_by=='document_title'} selected="selected"{/if}>{#REQUEST_BY_NAME#}
request_order_by=='document_author_id'} selected="selected"{/if}>{#REQUEST_BY_EDIT#}
request_order_by=='document_count_print'} selected="selected"{/if}>{#REQUEST_BY_PRINTED#}
request_order_by=='document_count_view'} selected="selected"{/if}>{#REQUEST_BY_VIEWS#}
request_order_by=='document_parent'} selected="selected"{/if}>{#REQUEST_BY_PARENT#}
request_order_by=='RAND()'} selected="selected"{/if}>{#REQUEST_BY_RAND#}
{#REQUEST_ASC_DESC#}
request_asc_desc=='DESC'} selected="selected"{/if}>{#REQUEST_DESC#}
request_asc_desc=='ASC'} selected="selected"{/if}>{#REQUEST_ASC#}
{#REQUEST_DOC_PER_PAGE#}
request_items_per_page==all} selected="selected"{/if}>{#REQUEST_DOC_PER_PAGE_ALL#}
{section name=items loop=300 step=1 start=0}
request_items_per_page==$smarty.section.items.index+1} selected="selected"{/if}>{$smarty.section.items.index+1}
{/section}
{#REQUEST_PAGINATION#}
{#REQUEST_SHOW_NAVI#}
request_show_pagination=='1'} checked="checked"{/if} />
{#REQUEST_NAVI_TPL#}
{foreach from=$paginations item=pagination}
request_pagination == $pagination->id} selected="selected"{/if}>{$pagination->pagination_name|escape}
{/foreach}
{#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} />
[tag:content]
{$row->request_template_main|escape|default:''}
{#MAIN_CODEMIRROR_HELP#}
[tag:pages]
[tag:pages:curent]
[tag:pages:total]
[tag:pagetitle]
[tag:doctotal]
[tag:doconpage]
[tag:doc:XXX]
[tag:docid]
[tag:docdate]
[tag:doctime]
[tag:date:X]
[tag:docauthor]
[tag:langfile:XXX]
[tag:path]
[tag:mediapath]
[tag:if_empty][/tag:if_empty]
[tag:if_notempty][/tag:if_notempty]
[tag:lang:XX][/tag:lang]
HTML Tags
|
OL
|
UL
|
LI
|
P
|
B
|
I
|
H1
|
H2
|
H3
|
H4
|
H5
|
DIV
|
A
|
IMG
|
SPAN
|
PRE
|
BR
|
TAB
|
{#REQUEST_CONDITION_IF#}
|
[tag:if_first]
|
[tag:if_not_first]
|
[tag:if_last]
|
[tag:if_not_last]
|
[tag:if_every:XXX]
|
[tag:if_not_every:XXX]
|
{#REQUEST_SAMPLE#}
|
[tag:rfld:ID][XXX]
|
[tag:if_notempty:rfld:XXX][XXX]
|
[tag:if_empty:rfld:XXX][XXX]
|
[tag:if:else]
|
[tag:/if]
|
{#REQUEST_SAMPLE#}
|
{$row->request_template_item|escape|default:''}
{#MAIN_CODEMIRROR_HELP#}
[tag:docid]
[tag:docitemnum]
[tag:doctitle]
[tag:doc:XXX]
[tag:link]
[tag:docdate]
[tag:doctime]
[tag:date:X]
[tag:docauthor]
[tag:docauthoravatar:XXX]
[tag:docviews]
[tag:doccomments]
[tag:path]
[tag:mediapath]
[tag:X000x000:[tag:rfld:XXX][XXX]]
[tag:langfile:XXX]
[tag:lang:XX][/tag:lang]
HTML Tags
|
OL
|
UL
|
LI
|
P
|
B
|
I
|
H1
|
H2
|
H3
|
H4
|
H5
|
DIV
|
A
|
IMG
|
SPAN
|
PRE
|
BR
|
TAB
|
{#REQUEST_ID#}
{#REQUEST_FIELD_NAME#}
{#REQUEST_RUBRIK_FIELD#}
{#REQUEST_RUBRIK_FIELD#}
{#RUBRIK_FIELD_ALIAS#}
{#REQUEST_FIELD_TYPE#}
{foreach from=$fields_list item=field_group} {if $groups_count > 1}
{if $field_group.group_title}{$field_group.group_title}{else}{#REQUEST_FIELD_G_UNKNOW#}{/if}
{/if} {foreach from=$field_group.fields item=field}
{$field.Id}
{$field.rubric_field_title}
[tag:rfld:{$field.Id}][0]
{if $field.rubric_field_alias}
[tag:rfld:{$field.rubric_field_alias}][0]
{/if}
{if $field.rubric_field_alias}
{$field.rubric_field_alias}
{/if}
{section name=field_name loop=$field_array} {if $field.rubric_field_type == $field_array[field_name].id}{$field_array[field_name].name}{/if} {/section}
{/foreach} {/foreach}
{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}