A free, self-hostable news aggregator…
Rewrite PHP opening tags (#7939)
Alexis Degrugillierc2009b50903e
diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtmlindex a5e973e1b..cc800c3fe 100644--- a/app/views/index/normal.phtml+++ b/app/views/index/normal.phtml@@ -61,26 +61,23 @@ $today = @strtotime('today');$this->entry->feed() ?? FreshRSS_Feed::default();if ($display_today && $this->entry->isDay(FreshRSS_Days::TODAY, $today)) {- ?><div class="day" id="day_today"><?php- echo _t('index.feed.received.today');- ?><span class="date"> — <?= timestamptodate(time(), false) ?></span><?php- ?><span class="name"><?= FreshRSS_Context::$name ?></span><?php- ?></div><?php+ ?><div class="day" id="day_today"><?= _t('index.feed.received.today') ?>+ <span class="date"> — <?= timestamptodate(time(), false) ?></span>+ <span class="name"><?= FreshRSS_Context::$name ?></span>+ </div><?php$display_today = false;}if ($display_yesterday && $this->entry->isDay(FreshRSS_Days::YESTERDAY, $today)) {- ?><div class="day" id="day_yesterday"><?php- echo _t('index.feed.received.yesterday');- ?><span class="date"> — <?= timestamptodate(time() - 86400, false) ?></span><?php- ?><span class="name"><?= FreshRSS_Context::$name ?></span><?php- ?></div><?php+ ?><div class="day" id="day_yesterday"><?= _t('index.feed.received.yesterday') ?>+ <span class="date"> — <?= timestamptodate(time() - 86400, false) ?></span>+ <span class="name"><?= FreshRSS_Context::$name ?></span>+ </div><?php$display_yesterday = false;}if ($display_others && $this->entry->isDay(FreshRSS_Days::BEFORE_YESTERDAY, $today)) {- ?><div class="day" id="day_before_yesterday"><?php- echo _t('index.feed.received.before_yesterday');- ?><span class="name"><?= FreshRSS_Context::$name ?></span><?php- ?></div><?php+ ?><div class="day" id="day_before_yesterday"><?= _t('index.feed.received.before_yesterday') ?>+ <span class="name"><?= FreshRSS_Context::$name ?></span>+ </div><?php$display_others = false;}?><div class="flux<?= !$this->entry->isRead() ? ' not_read' : ''