Better defaults
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Mar 2010 01:46:00 +0000 (18:46 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Mar 2010 03:12:53 +0000 (20:12 -0700)
imp/mailbox-mimp.php
imp/message-mimp.php

index 96d8bd6..3237875 100644 (file)
@@ -136,7 +136,7 @@ while (list(,$ob) = each($mbox_info['overview'])) {
 
     /* Format the from header. */
     $getfrom = $imp_ui->getFrom($ob['envelope']);
-    $msg['from'] = Horde_String::truncate($getfrom['from'], 20);
+    $msg['from'] = Horde_String::truncate($getfrom['from'], 50);
 
     /* Get flag information. */
     $flag_parse = $injector->getInstance('IMP_Imap_Flags')->parse(array(
@@ -153,7 +153,7 @@ while (list(,$ob) = each($mbox_info['overview'])) {
         }
     }
 
-    $msg['subject'] = Horde_String::truncate($msg['subject'], 30);
+    $msg['subject'] = Horde_String::truncate($msg['subject'], 50);
 
     /* Thread display. */
     $msg['thread'] = empty($threadtree[$ob['uid']])
index ed4dffe..ee1807f 100644 (file)
@@ -184,7 +184,7 @@ foreach (array('to', 'cc', 'bcc') as $val) {
 /* Process the subject now. */
 if (($subject = $mime_headers->getValue('subject'))) {
     /* Filter the subject text, if requested. */
-    $subject = Horde_String::truncate(IMP::filterText($subject), 30);
+    $subject = Horde_String::truncate(IMP::filterText($subject), 50);
 } else {
     $subject = _("[No Subject]");
 }