summaryrefslogtreecommitdiffstats
path: root/lib/template.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-20 05:07:58 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-20 05:07:58 +0200
commitd9aae20003eb670b7bf86708016473969088066a (patch)
treee51450959802c1d32ecbcdeb0036efdc0842c2d1 /lib/template.php
parentc2f0fe51c427374e918b72c28c521df27e614cae (diff)
downloadnextcloud-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.php4
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 '&lt; 0.1'; }
+ else if($mbytes > 1000) { return '&gt; 1000'; }
else { return number_format($mbytes, 1); }
}