Index: src/include/lib/Garradin/Fichiers.php ================================================================== --- src/include/lib/Garradin/Fichiers.php +++ src/include/lib/Garradin/Fichiers.php @@ -591,11 +591,11 @@ return $skriv->parseError('/!\ Tag fichier : ' . $e->getMessage()); } $out = ''; return $out; } /** Index: src/include/lib/Garradin/Utils.php ================================================================== --- src/include/lib/Garradin/Utils.php +++ src/include/lib/Garradin/Utils.php @@ -594,13 +594,13 @@ } } static public function format_bytes($size) { if ($size > (1024 * 1024)) - return round($size / 1024 / 1024, 2) . ' Mo'; + return str_replace('.', ',', round($size / 1024 / 1024, 2)) . ' Mo'; elseif ($size > 1024) - return round($size / 1024, 2) . ' Ko'; + return str_replace('.', ',', round($size / 1024, 2)) . ' Ko'; else return $size . ' o'; } static public function deleteRecursive($path, $delete_target = false) Index: src/templates/admin/wiki/_fichiers.tpl ================================================================== --- src/templates/admin/wiki/_fichiers.tpl +++ src/templates/admin/wiki/_fichiers.tpl @@ -65,11 +65,11 @@
{$file.nom|escape} | -{$file.type|escape} | +{if $file.type}{$file.type|escape}{/if} |
---|