From c2009b50903e9d74c05833b20ee555cdc413ea0f Mon Sep 17 00:00:00 2001 From: Alexis Degrugillier Date: Wed, 10 Sep 2025 15:53:08 -0400 Subject: Rewrite PHP opening tags (#7939) This allows to remove the use of `echo` and be consistent through out the file. Some empty PHP tags where removed as well. --- app/views/index/normal.phtml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/app/views/index/normal.phtml b/app/views/index/normal.phtml index 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)) { - ?>
+ + +
entry->isDay(FreshRSS_Days::YESTERDAY, $today)) { - ?>
+ + +
entry->isDay(FreshRSS_Days::BEFORE_YESTERDAY, $today)) { - ?>
+ +