diff options
| author | Christian Weiske <cweiske@cweiske.de> | 2016-11-11 21:26:34 +0100 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2016-11-11 21:27:02 +0100 |
| commit | f2b3557f358efc5b6363b1f8e4b0c30e93945feb (patch) | |
| tree | 0e6201db8753e4ee60f41022d84065c37bef2252 /www/status.php | |
| parent | cb577b3170e2d6e5c44aa29c37ab5d9751a66636 (diff) | |
| download | phinde-f2b3557f358efc5b6363b1f8e4b0c30e93945feb.tar.gz phinde-f2b3557f358efc5b6363b1f8e4b0c30e93945feb.zip | |
format document number on status page
Diffstat (limited to 'www/status.php')
| -rw-r--r-- | www/status.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/www/status.php b/www/status.php index 08e2a0d..4118c9c 100644 --- a/www/status.php +++ b/www/status.php @@ -19,7 +19,10 @@ function human_filesize($bytes, $decimals = 2) . ' ' . @$size[$factor]; } -$esStatus['size_human'] = human_filesize($esStatus['size']); +$esStatus['size_human'] = human_filesize($esStatus['size']); +$esStatus['documents_human'] = number_format( + $esStatus['documents'], 0, '.', ' ' +); render( 'status', |
