From 40a0a79aa31aff1af97ee1859656794eef6506ea Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 8 Mar 2010 18:46:00 -0700 Subject: [PATCH] Better defaults --- imp/mailbox-mimp.php | 4 ++-- imp/message-mimp.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/imp/mailbox-mimp.php b/imp/mailbox-mimp.php index 96d8bd63e..323787567 100644 --- a/imp/mailbox-mimp.php +++ b/imp/mailbox-mimp.php @@ -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']]) diff --git a/imp/message-mimp.php b/imp/message-mimp.php index ed4dffed1..ee1807f07 100644 --- a/imp/message-mimp.php +++ b/imp/message-mimp.php @@ -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]"); } -- 2.11.0