pageName)?>
date, 'yyyy-MM-dd');
echo Yii::app()->getDateFormatter()->format('d MMMM yyyy', $timestamp);
echo ' ', Yii::t('site', 'Рубрика'), ': ';
echo CHtml::link($publication->newsCategory->i18n->name, array('news/publications', 'link' => $publication->newsCategory->link))
?>
i18n->content ?>
Понравилась статья?
renderPartial('//snippets/likes', array(
'url' => Yii::app()->getBaseUrl(true).Yii::app()->request->getUrl(),
));
?>
renderPartial('//snippets/sidebarContacts');?>
renderPartial('_photofact', array('galleryIds' => array($category->photofact_gallery_id)));
} else {
/** @var $cats NewsCategory[] */
$cats = NewsCategory::model()->findAll();
$galleryIds = array();
foreach($cats as $cat){
if(isset($cat->photofact_gallery_id))
$galleryIds[]=$cat->photofact_gallery_id;
}
$this->renderPartial('_photofact', array('galleryIds' => $galleryIds));
}
?>
renderPartial('_newsFooter');?>