aboutsummaryrefslogtreecommitdiff
path: root/app/views/helpers/view/reader_view.phtml
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-05 19:11:43 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-05 19:11:43 +0200
commit65ab90d3c77085abe9eb259bd7780f648051d49d (patch)
tree44fef5098d9997906cc4a635d0d39c232387a3aa /app/views/helpers/view/reader_view.phtml
parentb5dee73ea0ab3cc24c4857ac102e9e78cf20ab92 (diff)
Coding style (views)
See https://github.com/marienfressinaud/FreshRSS/issues/655
Diffstat (limited to 'app/views/helpers/view/reader_view.phtml')
-rw-r--r--app/views/helpers/view/reader_view.phtml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/helpers/view/reader_view.phtml b/app/views/helpers/view/reader_view.phtml
index 368bf7fdc..894c71924 100644
--- a/app/views/helpers/view/reader_view.phtml
+++ b/app/views/helpers/view/reader_view.phtml
@@ -1,5 +1,5 @@
<?php
-$this->partial ('nav_menu');
+$this->partial('nav_menu');
if (!empty($this->entries)) {
$lazyload = $this->conf->lazyload;
@@ -9,17 +9,17 @@ if (!empty($this->entries)) {
<div id="stream" class="reader">
<?php foreach ($this->entries as $item) { ?>
- <div class="flux<?php echo !$item->isRead () ? ' not_read' : ''; ?><?php echo $item->isFavorite () ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id (); ?>">
+ <div class="flux<?php echo !$item->isRead() ? ' not_read' : ''; ?><?php echo $item->isFavorite() ? ' favorite' : ''; ?>" id="flux_<?php echo $item->id(); ?>">
<div class="flux_content">
<div class="content <?php echo $content_width; ?>">
<?php
- $feed = FreshRSS_CategoryDAO::findFeed($this->cat_aside, $item->feed ()); //We most likely already have the feed object in cache
- if (empty($feed)) $feed = $item->feed (true);
+ $feed = FreshRSS_CategoryDAO::findFeed($this->cat_aside, $item->feed()); //We most likely already have the feed object in cache
+ if (empty($feed)) $feed = $item->feed(true);
?>
- <a href="<?php echo $item->link (); ?>">
- <img class="favicon" src="<?php echo $feed->favicon (); ?>" alt="✇" /> <span><?php echo $feed->name(); ?></span>
+ <a href="<?php echo $item->link(); ?>">
+ <img class="favicon" src="<?php echo $feed->favicon(); ?>" alt="✇" /> <span><?php echo $feed->name(); ?></span>
</a>
- <h1 class="title"><?php echo $item->title (); ?></h1>
+ <h1 class="title"><?php echo $item->title(); ?></h1>
<div class="author"><?php
$author = $item->author();