From d9aae20003eb670b7bf86708016473969088066a Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Sat, 20 Aug 2011 05:07:58 +0200 Subject: more valid HTML, alt attributes, refactored pagenavi etc. --- lib/template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/template.php') diff --git a/lib/template.php b/lib/template.php index bb225bdd82f..79c9dc4bf11 100644 --- a/lib/template.php +++ b/lib/template.php @@ -70,8 +70,8 @@ function human_file_size( $bytes ){ function simple_file_size($bytes) { $mbytes = round($bytes/(1024*1024),1); if($bytes == 0) { return '0'; } - else if($mbytes < 0.1) { return '< 0.1'; } - else if($mbytes > 1000) { return '> 1000'; } + else if($mbytes < 0.1) { return '< 0.1'; } + else if($mbytes > 1000) { return '> 1000'; } else { return number_format($mbytes, 1); } } -- cgit v1.2.3