mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-05-19 09:18:18 +03:00
fix photoset
This commit is contained in:
parent
cde7a18350
commit
3783d8d1b0
|
@ -7,10 +7,9 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
|
||||
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
||||
{if $oMainPhoto}
|
||||
<div class="topic-photo-preview" id="photoset-main-preview-{$oTopic->getId()}" onclick="window.location='{$oTopic->getUrl()}#photoset'">
|
||||
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
||||
|
||||
<div class="topic-photo-count" id="photoset-photo-count-{$oTopic->getId()}">{$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}</div>
|
||||
|
||||
{if $oMainPhoto->getDescription()}
|
||||
|
@ -19,6 +18,7 @@
|
|||
|
||||
<img src="{$oMainPhoto->getWebPath(500)}" alt="image" id="photoset-main-image-{$oTopic->getId()}" />
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
||||
{assign var=iPhotosCount value=$oTopic->getPhotosetCount()}
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
||||
{if $oMainPhoto}
|
||||
<div class="topic-photo-preview" id="photoset-main-preview-{$oTopic->getId()}" onclick="window.location='{$oTopic->getUrl()}#photoset'">
|
||||
{assign var=oMainPhoto value=$oTopic->getPhotosetMainPhoto()}
|
||||
|
||||
<div class="topic-photo-count" id="photoset-photo-count-{$oTopic->getId()}">{$oTopic->getPhotosetCount()} {$aLang.topic_photoset_photos}</div>
|
||||
|
||||
{if $oMainPhoto->getDescription()}
|
||||
|
@ -19,7 +19,7 @@
|
|||
|
||||
<img src="{$oMainPhoto->getWebPath(500)}" alt="image" id="photoset-main-image-{$oTopic->getId()}" />
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
|
||||
{assign var=iPhotosCount value=$oTopic->getPhotosetCount()}
|
||||
<div class="topic-content text">
|
||||
|
|
Loading…
Reference in a new issue