From 63031fb6c1b3dc31d2d9cc1d0e7148c827656922 Mon Sep 17 00:00:00 2001 From: Paul 'flowerysong' Arthur Date: Fri, 15 Oct 2010 19:16:42 +0000 Subject: Use a function to format bytes -> human-readable sizes. Also bump catalog build memory profiling logging to level 5; fixes FS#141. --- templates/show_song.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/show_song.inc.php') diff --git a/templates/show_song.inc.php b/templates/show_song.inc.php index ab9dd9b7..48ee9471 100644 --- a/templates/show_song.inc.php +++ b/templates/show_song.inc.php @@ -53,7 +53,7 @@ $button_flip_state_id = 'button_flip_state_' . $song->id; $songprops[gettext_noop('Catalog Number')] = scrub_out($song->catalog_number); $songprops[gettext_noop('Bitrate')] = scrub_out($song->f_bitrate); if (Access::check('interface','75')) { - $songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size . "MB"; + $songprops[gettext_noop('Filename')] = scrub_out($song->file) . " " . $song->f_size; } if ($song->update_time) { $songprops[gettext_noop('Last Updated')] = date("d/m/Y H:i",$song->update_time); -- cgit