{extends "../window.tpl"} {block js} {$smarty.block.parent} {/block} {block tabs} {windowTab id='flap1' label="{'tabArticle'|translate}"} {windowTab id='flapBlocks' label="{'tabTexts'|translate}"} {if findModule("articles_sections")} {windowTab id='flap3' label="{'tabCategorization'|translate}"} {/if} {if $body.data.id && findModule("photos")} {windowTab id='flapPhotos' label="{'tabPhotos'|translate}"} {/if} {if findModule("seo")} {windowTab id='flapSeo' label='flapSeo'|translate:'seo'} {/if} {if $body.acn == 'edit' && $body.data.id > 0} {windowTab id='flapProducts' label="{'tabProducts'|translate}"} {/if} {/block} {block tabsContent}

{'about_article'|translate} {'labelCountOfSeen'|translate}: {$body.data.seen}

{*
(Např. IDnes.cz)
*}
{if $body.articleURL}  {"editBlocek"|translate:"menulinks"} {/if}
{insert_calendar selector='#date' format='datetime'}
{insert_calendar selector='#date_created' format='datetime'}
{if !{find_right name="ART_ADMIT"}} {print_toggle name="figure" disabled=true} {else} {print_toggle name="figure"} {include "utils/translations.figure.tpl" figureData=$body.articleTranslationsFigure parentFigure=$body.data.figure} {/if}
{print_toggle value=$body.data.show_in_search name="show_in_search"}
{if !{find_right name="ART_ADMIT"}}
{'alertNotPermission'|translate}
{/if} {ifmodule ARTICLES_AUTHORS}
{print_select name="data[authors][]" var=$body.data.authors selected=$body.data.authors class="selecter selecter-up" param="data-type='articlesAuthors' data-preload='articlesAuthors' id='authors' multiple='multiple'"}
{/ifmodule} {ifmodule ARTICLES}
{print_select name="data[tags][]" var=$body.data.tags selected=$body.data.tags class="selecter selecter-up" param="data-type='articles_tags' id='tags' multiple='multiple'"}
{/ifmodule}
{block "custom-data"}{/block}

{'labelContent'|translate}

{include "utils/blocks.tpl" identifiers=$cfg.Blocks.identifiers blocks=$body.data.blocks photos=$body.data.photos acn=$body.acn editLink=$body.articleURL} {include "utils/blocksHistory.tpl"}

{'labelAddToSections'|translate}

{if $body.acn == "edit"}
{if {find_module name="articles_sections"}}
{include '[shared]tree.tpl'}
  • {menu data=$body.tree selected=$body.selected opened=$body.opened disabled=$body.disabled}
{/if}
{else}
{'addToSectionsNote'|translate}
{/if}
{if {find_module name="photos"}}
{if $body.acn == "edit"} {else}
{'saveToAddImg'|translate:'base'}
{/if}
{/if} {if findModule("seo")}
{include "window/articles.seo.tpl"}
{/if} {if $body.acn =="edit"}

{'labelArticleProducts'|translate}

{insert_autocomplete_form type='products' searchInput='[data-autocomplete-search="article_products"]' inputName='products' items=[]}
{/if} {/block}