From 5296610919f9cd9f115ef5f9760260e8b83839b3 Mon Sep 17 00:00:00 2001 From: jervfors Date: Thu, 15 Jun 2006 16:35:26 +0000 Subject: [PATCH] Using IEC standard prefixes. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@11209 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/strings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.25.1