diff options
| author | 2014-08-19 21:55:49 +0200 | |
|---|---|---|
| committer | 2014-08-19 21:55:49 +0200 | |
| commit | ea99ac1259083ff0a9eb6131d777454b54045626 (patch) | |
| tree | 761d91117b24e695c9dfa3c407a0072afb4481f8 /app/views | |
| parent | 557e3723309301ede8afad3e0433a94317efc869 (diff) | |
Syntax 581
#581
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/stats/repartition.phtml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/stats/repartition.phtml b/app/views/stats/repartition.phtml index 3dc319731..1f920a7ae 100644 --- a/app/views/stats/repartition.phtml +++ b/app/views/stats/repartition.phtml @@ -6,16 +6,16 @@ <h1><?php echo _t('stats_repartition'); ?></h1> <select id="feed_select"> - <option data-url="<?php echo _url ('stats', 'repartition')?>"></option> + <option data-url="<?php echo _url('stats', 'repartition')?>"></option> <?php foreach ($this->categories as $category) { - $feeds = $category->feeds (); - if (!empty ($feeds)) { + $feeds = $category->feeds(); + if (!empty($feeds)) { echo '<optgroup label=', $category->name(), '>'; foreach ($feeds as $feed) { if ($this->feed && $feed->id() == $this->feed->id()){ - echo '<option value ="', $feed->id(), '" selected data-url="', _url ('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>'; + echo '<option value ="', $feed->id(), '" selected data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>'; } else { - echo '<option value ="', $feed->id(), '" data-url="', _url ('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>'; + echo '<option value ="', $feed->id(), '" data-url="', _url('stats', 'repartition', 'id', $feed->id()), '">', $feed->name(), '</option>'; } } echo '</optgroup>'; |
