From: Michael M Slusarz Date: Tue, 9 Mar 2010 01:46:00 +0000 (-0700) Subject: Better defaults X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=40a0a79aa31aff1af97ee1859656794eef6506ea;p=horde.git Better defaults --- 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]"); }