summaryrefslogtreecommitdiff
path: root/app/views/stats
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-30 19:31:32 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2014-10-30 19:31:32 +0100
commit036240ab01999c8eff1b9b3a98a7313cf43f5836 (patch)
tree10adb38f50ca5ad2c64c1bb4170c3b1a14f63c58 /app/views/stats
parentee5bbe48269a2fd5bc9c175fdb1e5a92a2c04502 (diff)
Fix coding style formatNumber and formatBytes
Diffstat (limited to 'app/views/stats')
-rw-r--r--app/views/stats/index.phtml20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/stats/index.phtml b/app/views/stats/index.phtml
index ba4258b71..c75810850 100644
--- a/app/views/stats/index.phtml
+++ b/app/views/stats/index.phtml
@@ -18,23 +18,23 @@
<tbody>
<tr>
<th><?php echo _t('status_total'); ?></th>
- <td class="numeric"><?php echo formatNumber($this->repartition['main_stream']['total']); ?></td>
- <td class="numeric"><?php echo formatNumber($this->repartition['all_feeds']['total']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['main_stream']['total']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['all_feeds']['total']); ?></td>
</tr>
<tr>
<th><?php echo _t('status_read'); ?></th>
- <td class="numeric"><?php echo formatNumber($this->repartition['main_stream']['read']); ?></td>
- <td class="numeric"><?php echo formatNumber($this->repartition['all_feeds']['read']); ?></td>
+ <td class="numeric"><?php echo FreshRSS_Context::$conf($this->repartition['main_stream']['read']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['all_feeds']['read']); ?></td>
</tr>
<tr>
<th><?php echo _t('status_unread'); ?></th>
- <td class="numeric"><?php echo formatNumber($this->repartition['main_stream']['unread']); ?></td>
- <td class="numeric"><?php echo formatNumber($this->repartition['all_feeds']['unread']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['main_stream']['unread']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['all_feeds']['unread']); ?></td>
</tr>
<tr>
<th><?php echo _t('status_favorites'); ?></th>
- <td class="numeric"><?php echo formatNumber($this->repartition['main_stream']['favorite']); ?></td>
- <td class="numeric"><?php echo formatNumber($this->repartition['all_feeds']['favorite']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['main_stream']['favorite']); ?></td>
+ <td class="numeric"><?php echo format_number($this->repartition['all_feeds']['favorite']); ?></td>
</tr>
</tbody>
</table>
@@ -56,8 +56,8 @@
<tr>
<td><a href="<?php echo _url('stats', 'repartition', 'id', $feed['id']); ?>"><?php echo $feed['name']; ?></a></td>
<td><?php echo $feed['category']; ?></td>
- <td class="numeric"><?php echo formatNumber($feed['count']); ?></td>
- <td class="numeric"><?php echo formatNumber($feed['count'] / $this->repartition['all_feeds']['total'] * 100, 1);?></td>
+ <td class="numeric"><?php echo format_number($feed['count']); ?></td>
+ <td class="numeric"><?php echo format_number($feed['count'] / $this->repartition['all_feeds']['total'] * 100, 1);?></td>
</tr>
<?php endforeach;?>
</tbody>