= $this->getHtml('News', 'News'); ?>
|
| = $this->getHtml('Type', 'News'); ?>
| = $this->getHtml('Title', 'News'); ?>
|
$news) : ++$count;
$url = UriFactory::build('{/base}/news/article?{?}&id=' . $news->id);
$color = 'darkred';
if ($news->type === NewsType::ARTICLE) { $color = 'green'; }
elseif ($news->type === NewsType::HEADLINE) { $color = 'purple'; }
elseif ($news->type === NewsType::LINK) { $color = 'yellow'; }
?>
|
isFeatured) : ?>
|
= $this->getHtml('TYPE' . $news->type, 'News'); ?>
|
= $this->printHtml($news->title); ?>
|
| = $this->getHtml('Empty', '0', '0'); ?>
|