aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/index/normal/entry_header.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-01 18:12:21 +0200
committerGravatar GitHub <noreply@github.com> 2019-10-01 18:12:21 +0200
commit37b52b7361d3ac15273ca19a0b96ef74299e759e (patch)
tree23ab272309a6e1ddc23bdd52ef4db130b11c6287 /app/views/helpers/index/normal/entry_header.phtml
parent7ae4e9f159c9f0678d767dd29baa6cec8f0b04d8 (diff)
Trim whitespace (#2544)
Diffstat (limited to 'app/views/helpers/index/normal/entry_header.phtml')
-rw-r--r--app/views/helpers/index/normal/entry_header.phtml29
1 files changed, 14 insertions, 15 deletions
diff --git a/app/views/helpers/index/normal/entry_header.phtml b/app/views/helpers/index/normal/entry_header.phtml
index 7873b16e4..82c209bb2 100644
--- a/app/views/helpers/index/normal/entry_header.phtml
+++ b/app/views/helpers/index/normal/entry_header.phtml
@@ -28,21 +28,20 @@
}
}
?><li class="item website"><a href="<?php echo _url('index', 'index', 'get', 'f_' . $this->feed->id()); ?>"><img class="favicon" src="<?php echo $this->feed->favicon(); ?>" alt="✇" /> <span><?php echo $this->feed->name(); ?></span></a></li>
- <li class="item title"><a target="_blank" rel="noreferrer" href="<?php echo $this->entry->link(); ?>"><?php echo $this->entry->title(); ?></a><?php
- if ($topline_display_authors) {
- ?><div class="item author">
- <?php
- $authors = $this->entry->authors();
- if (is_array($authors)):
- $first = true;
- foreach ($authors as $author):
- echo $first ? $author : ', ' . $author;
- $first = false;
- endforeach;
- endif;
- ?></div><?php
- }
- ?></li>
+ <li class="item title"><a target="_blank" rel="noreferrer" href="<?php echo $this->entry->link(); ?>"><?php echo $this->entry->title(); ?></a><?php
+ if ($topline_display_authors):
+ ?><div class="item author"><?php
+ $authors = $this->entry->authors();
+ if (is_array($authors)) {
+ $first = true;
+ foreach ($authors as $author) {
+ echo $first ? $author : ', ' . $author;
+ $first = false;
+ }
+ }
+ ?></div><?php
+ endif;
+ ?></li>
<?php if ($topline_date) { ?><li class="item date"><?php echo $this->entry->date(); ?> </li><?php } ?>
<?php if ($topline_link) { ?><li class="item link"><a target="_blank" rel="noreferrer" href="<?php echo $this->entry->link(); ?>"><?php echo _i('link'); ?></a></li><?php } ?>
</ul>