summaryrefslogtreecommitdiffstats
path: root/custom/views/default/index.tpl.php
diff options
context:
space:
mode:
Diffstat (limited to 'custom/views/default/index.tpl.php')
-rw-r--r--custom/views/default/index.tpl.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/custom/views/default/index.tpl.php b/custom/views/default/index.tpl.php
index c33ffa5..b3fa1e0 100644
--- a/custom/views/default/index.tpl.php
+++ b/custom/views/default/index.tpl.php
@@ -32,7 +32,7 @@ header('Content-type: text/html; charset=UTF-8');
<p class="article-content"><?=_g('No news, good news.')?></p>
</div>
<?php else : ?>
- <?php foreach ($items as $item): ?>
+ <?php foreach ($items as $item) : ?>
<?php
$arParsedUrl = parse_url($item->get_feed()->getWebsite());
$host = 'from-' . preg_replace('/[^a-zA-Z0-9]/i', '-', $arParsedUrl['host']);
@@ -60,7 +60,9 @@ header('Content-type: text/html; charset=UTF-8');
<?php echo $item->get_content(); ?>
</div>
</div>
- <?php if (++$count == $limit) { break; } ?>
+ <?php if (++$count == $limit) {
+ break;
+ } ?>
<?php endforeach; ?>
<?php endif; ?>
</div>