{** * Топик фотосет * * @styles css/topic.css *} {extends file='topics/topic_base.tpl'} {* Preview Image *} {block name='topic_header_after'} {$oMainPhoto = $oTopic->getPhotosetMainPhoto()} {if $oMainPhoto}
{$oTopic->getPhotosetCount()}
{if $oMainPhoto->getDescription()}
{$oMainPhoto->getDescription()}
{/if} Topic preview
{/if} {/block} {* Content *} {block name='topic_content_text'} {if $bTopicList} {$oTopic->getTextShort()} {if $oTopic->getTextShort() != $oTopic->getText()} {$iPhotosCount = $oTopic->getPhotosetCount()}
{if $oTopic->getCutText()} {$oTopic->getCutText()} {else} {$aLang.topic_photoset_show_all|ls_lang:"COUNT%%`$iPhotosCount`"} → {/if} {/if} {else} {$oTopic->getText()} {/if} {/block} {* Photoset *} {block name='topic_content_after'} {if ! $bTopicList}

{$oTopic->getPhotosetCount()} {$oTopic->getPhotosetCount()|declension:$aLang.topic_photoset_count_images}

{if count($aPhotos) < $oTopic->getPhotosetCount()} {$aLang.topic_photoset_show_more} ↓ {/if}
{/if} {/block}