Don't display MIME type for parts in IMP/DIMP
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 16 Nov 2009 19:22:16 +0000 (12:22 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 16 Nov 2009 19:22:16 +0000 (12:22 -0700)
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
imp/message.php

index 4ee1378..e42b793 100644 (file)
@@ -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)) {
index c2a3f6b..e520a3e 100644 (file)
@@ -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'));