From: jervfors Date: Thu, 15 Jun 2006 16:35:26 +0000 (+0000) Subject: Using IEC standard prefixes. X-Git-Url: https://vcs.fsf.org/?p=squirrelmail.git;a=commitdiff_plain;h=5296610919f9cd9f115ef5f9760260e8b83839b3 Using IEC standard prefixes. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11209 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- diff --git a/functions/strings.php b/functions/strings.php index b95ff592..626d022b 100644 --- a/functions/strings.php +++ b/functions/strings.php @@ -706,11 +706,11 @@ function OneTimePadCreate ($length=100) { */ function show_readable_size($bytes) { $bytes /= 1024; - $type = 'k'; + $type = 'KiB'; if ($bytes / 1024 > 1) { $bytes /= 1024; - $type = 'M'; + $type = 'MiB'; } if ($bytes < 10) { @@ -1291,4 +1291,4 @@ function sq_trim_value ( &$value ) { $value = trim($value); } -?> +?> \ No newline at end of file