From 6074d54adc71712548c84ea2dffec8f11b63cfaa Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 16 Nov 2009 12:22:16 -0700 Subject: [PATCH] Don't display MIME type for parts in IMP/DIMP The MIME type is still available from hovering over the icon. And the icon should provide sufficient information to determine the part type. And for the vast majority of users, the MIME type information is either unuseful or irrelevant. --- imp/lib/Views/ShowMessage.php | 2 +- imp/message.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/imp/lib/Views/ShowMessage.php b/imp/lib/Views/ShowMessage.php index 4ee13785d..e42b7931b 100644 --- a/imp/lib/Views/ShowMessage.php +++ b/imp/lib/Views/ShowMessage.php @@ -247,7 +247,7 @@ class IMP_Views_ShowMessage IMP_Contents::SUMMARY_DOWNLOAD | IMP_Contents::SUMMARY_DOWNLOAD_ZIP; - $part_info = $part_info_display = array('icon', 'description', 'type', 'size', 'download', 'download_zip'); + $part_info = $part_info_display = array('icon', 'description', 'size', 'download', 'download_zip'); /* Do MDN processing now. */ if ($imp_ui->MDNCheck($mailbox, $uid, $mime_headers)) { diff --git a/imp/message.php b/imp/message.php index c2a3f6b18..e520a3e8c 100644 --- a/imp/message.php +++ b/imp/message.php @@ -564,7 +564,7 @@ foreach ($all_list_headers as $head => $val) { } /* Determine the fields that will appear in the MIME info entries. */ -$part_info = $part_info_display = array('icon', 'description', 'type', 'size'); +$part_info = $part_info_display = array('icon', 'description', 'size'); $part_info_action = array('download', 'download_zip', 'img_save', 'strip'); $show_parts = Horde_Util::getFormData('show_parts', $prefs->getValue('parts_display')); -- 2.11.0