{if $smarty.request.action=='edit'}
{#DOC_EDIT_DOCUMENT#} ID: {$smarty.request.Id}
{foreach from=$smarty.session.accept_langs key=lang_id item=lang} {if $document->lang_pack[$lang_id]>''} {$lang_id} {else} {$lang_id} {/if} {/foreach}
{elseif $smarty.request.action=='copy'}
{#DOC_COPY_DOCUMENT#}
{else}
{#DOC_ADD_DOCUMENT#}
{foreach from=$smarty.session.accept_langs key=lang_id item=lang} {if $document->lang_pack[$lang_id]>''} {$lang_id} {else} {$lang_id} {/if} {/foreach}
{/if}
{if ($smarty.request.Id == 1 || $smarty.request.Id == $PAGE_NOT_FOUND_ID) && $smarty.request.action != 'new' && $smarty.request.action != 'copy'} {assign var=dis value = 'disabled'} {/if}
{#DOC_NAME#} [?]
{#DOC_META_KEYWORDS#} [?]
{#DOC_META_DESCRIPTION#} [?]
{#DOC_INDEX_TYPE#}
{#DOC_SITEMAP_FREQ#} [?] {#DOC_SITEMAP_PRIORITY#} [?]
{#DOC_MAIN_CONTENT#}
{if $document->fields} {foreach from=$document->fields item=document_field_group} {if $document->count_groups > 1} {/if} {foreach from=$document_field_group.fields item=field} {/foreach} {/foreach} {else} {/if}
{if $document_field_group.group_title}{$document_field_group.group_title}{else}{#DOC_FIELD_G_UNKNOW#}{/if}
{$field.Id} {$field.rubric_field_title|escape} {if $field.rubric_field_description}
{$field.rubric_field_description} {/if}
{$field.result}
  • {#DOC_MAIN_NOCONTENT#}
{if $smarty.request.action == 'edit'}
 
{elseif $smarty.request.action == 'copy'}   {else}   {/if}
{#DOC_REVISSION#}
{if $document->canDelRev == 1} {else} {/if} {if $document_rev} {foreach from=$document_rev item=doc_rev} {if $document->canDelRev == 1} {/if} {/foreach} {else} {/if}
{#DOC_REVISSION_DATA#} {#DOC_REVISSION_USER#} {#DOC_ACTIONS#}
{$doc_rev->doc_revision|date_format:$TIME_FORMAT|pretty_date} {$doc_rev->user_id}
  • {#DOC_REVISSION_NO_ITEMS#}