date, 0, 4); if (!isset($byYear[$y])) $byYear[$y] = array(); $byYear[$y][] = $album; } ?> renderPartial('//snippets/headerGallery'); ?>
i18n->name, array('albumsSection/album', 'link' => $item->link))?>
photoGalleryBehavior->getGalleryPhotoCount();
$videoCount = $item->videoGalleryBehavior->getGalleryPhotoCount();
echo Yii::t('site', '{n} фотографий|{n} фотографии|{n} фотографии|{n} фотографии', $photoCount), ', ';
echo Yii::t('site', '{n} видео|{n} видео|{n} видео|{n} видео', $videoCount)
?>
'rss-icon')); ?>
date, 'yyyy-MM-dd hh:mm:ss');
echo CHtml::link($item->i18n->name, array('news/view', 'link' => $item->link, 'node_id' => Node::idByDataId('newsRoot', $item->newsCategory->news_root_id)));
echo '
— ';
echo Yii::app()->getDateFormatter()->format('d MMMM yyyy', $timestamp);
?>