diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-08-20 05:07:58 +0200 |
commit | d9aae20003eb670b7bf86708016473969088066a (patch) | |
tree | e51450959802c1d32ecbcdeb0036efdc0842c2d1 /lib/template.php | |
parent | c2f0fe51c427374e918b72c28c521df27e614cae (diff) | |
download | nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.tar.gz nextcloud-server-d9aae20003eb670b7bf86708016473969088066a.zip |
more valid HTML, alt attributes, refactored pagenavi etc.
Diffstat (limited to 'lib/template.php')
-rw-r--r-- | lib/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |