diff options
| author | 2014-10-05 19:11:43 +0200 | |
|---|---|---|
| committer | 2014-10-05 19:11:43 +0200 | |
| commit | 65ab90d3c77085abe9eb259bd7780f648051d49d (patch) | |
| tree | 44fef5098d9997906cc4a635d0d39c232387a3aa /app/views/helpers/view/reader_view.phtml | |
| parent | b5dee73ea0ab3cc24c4857ac102e9e78cf20ab92 (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.phtml | 14 |
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(); |
