$listed++; $ind++; if ($ind === (int) $itemsOnLine || $listed === $existentsItems) { echo '</div>'; $ind = 0; } } } else { echo $this->tr('noAlbum'); } ?> <?php if ($this->conf->showCollectionTags) { ?> <div class="tagsAlbum"> <div class="tags"> <?php echo CHtml::label($this->tr('tagsLabel'), false, array('class' => 'tagsLabel')) . ': '; ?> <?php echo $this->conf->combinedAlbumsTags ? Collect::combineAlbumsTagOfCollection() : $this->collection->tags; ?> </div> </div> <?php } ?> </div> <?php $this->endCache(); }