|
|
@@ -38,6 +38,9 @@ if (!empty($this->entries)) {
|
|
|
?>
|
|
|
|
|
|
<div id="stream" class="normal<?php echo $hidePosts ? ' hide_posts' : ''; ?>"><?php
|
|
|
+ ?><div id="new-article">
|
|
|
+ <a href="./"><?php echo Minz_Translate::t ('new_article'); ?></a>
|
|
|
+ </div><?php
|
|
|
foreach ($this->entries as $item) {
|
|
|
if ($display_today && $item->isDay (FreshRSS_Days::TODAY, $this->today)) {
|
|
|
?><div class="day" id="day_today"><?php
|
|
|
@@ -62,14 +65,6 @@ if (!empty($this->entries)) {
|
|
|
?></div><?php
|
|
|
$display_others = false;
|
|
|
}
|
|
|
-
|
|
|
- if ($this->entries[0]->id () === $item->id ()) {
|
|
|
- ?><div id="new-article">
|
|
|
- <a href="<?php echo _url(); ?>"><?php
|
|
|
- echo Minz_Translate::t ('new_article');
|
|
|
- ?></a></div><?php
|
|
|
- }
|
|
|
-
|
|
|
?><div class="flux<?php echo !$item->isRead () ? ' not_read' : ''; ?><?php echo $item->isFavorite () ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id (); ?>">
|
|
|
<ul class="horizontal-list flux_header"><?php
|
|
|
if ($this->loginOk) {
|