From fdefc8c731c05d8a7db626e55fe41d7211488f98 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 27 Jan 2014 22:35:27 +0100 Subject: Formatage des nombres https://github.com/marienfressinaud/FreshRSS/pull/398 --- app/Controllers/indexController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/Controllers/indexController.php') diff --git a/app/Controllers/indexController.php b/app/Controllers/indexController.php index c49054a5c..70560b98b 100755 --- a/app/Controllers/indexController.php +++ b/app/Controllers/indexController.php @@ -66,11 +66,11 @@ class FreshRSS_index_Controller extends Minz_ActionController { // mise à jour des titres $this->view->rss_title = $this->view->currentName . ' | ' . Minz_View::title(); if ($this->view->nb_not_read > 0) { - Minz_View::appendTitle (' (' . $this->view->nb_not_read . ')'); + Minz_View::appendTitle (' (' . formatNumber($this->view->nb_not_read) . ')'); } Minz_View::prependTitle ( $this->view->currentName . - ($this->nb_not_read_cat > 0 ? ' (' . $this->nb_not_read_cat . ')' : '') . + ($this->nb_not_read_cat > 0 ? ' (' . formatNumber($this->nb_not_read_cat) . ')' : '') . ' · ' ); -- cgit v1.2.3