You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.3 KiB
42 lines
1.3 KiB
<?php $this->partial ('nav_menu'); ?> |
|
|
|
<div id="stream" class="global"> |
|
<?php |
|
foreach ($this->cat_aside as $cat) { |
|
$feeds = $cat->feeds (); |
|
$catNotRead = $cat->nbNotRead (); |
|
if (!empty ($feeds)) { |
|
?> |
|
<div class="category"> |
|
<div class="cat_header"> |
|
<a href="<?php echo _url ('index', 'index', 'get', 'c_' . $cat->id (), 'output', 'normal'); ?>"> |
|
<?php echo htmlspecialchars($cat->name(), ENT_NOQUOTES, 'UTF-8'); ?><?php echo $catNotRead > 0 ? ' (' . $catNotRead . ')' : ''; ?> |
|
</a> |
|
</div> |
|
|
|
<ul class="feeds"> |
|
<?php foreach ($feeds as $feed) { ?> |
|
<?php $not_read = $feed->nbNotRead (); ?> |
|
<li class="item"> |
|
<img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="✇" /> |
|
|
|
<a href="<?php echo _url ('index', 'index', 'get', 'f_' . $feed->id (), 'output', 'normal'); ?>"> |
|
<?php echo $not_read > 0 ? '<b>' : ''; ?> |
|
<?php echo htmlspecialchars($feed->name(), ENT_NOQUOTES, 'UTF-8'); ?> |
|
<?php echo $not_read > 0 ? ' (' . $not_read . ')' : ''; ?> |
|
<?php echo $not_read > 0 ? '</b>' : ''; ?> |
|
</a> |
|
</li> |
|
<?php } ?> |
|
</ul> |
|
</div> |
|
<?php |
|
} |
|
} |
|
?> |
|
</div> |
|
|
|
<div id="overlay"></div> |
|
<div id="panel"<?php echo $this->conf->displayPosts () === 'no' ? ' class="hide_posts"' : ''; ?>> |
|
<a class="close" href="#"><i class="icon i_close"></i></a> |
|
</div>
|