From: Michael M Slusarz Date: Tue, 4 Aug 2009 07:13:39 +0000 (-0600) Subject: Truncate subject display in thread view - this information already exists elsewhere... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=c1ffbbea5d18bf414e110cb13a11851c024e8b7e;p=horde.git Truncate subject display in thread view - this information already exists elsewhere on the page --- diff --git a/imp/thread.php b/imp/thread.php index 5bb9caa25..870f75346 100644 --- a/imp/thread.php +++ b/imp/thread.php @@ -130,7 +130,7 @@ foreach ($loop_array as $mbox => $idxlist) { $curr_msg['link'] .= ' | ' . Horde::widget(Horde_Util::addParameter(IMP::generateIMPUrl('mailbox.php', $mbox), array('start' => $imp_mailbox->getArrayIndex($idx))), sprintf(_("Back to %s"), $page_label), 'widget', '', '', sprintf(_("Bac_k to %s"), $page_label)); $curr_tree['class'] = (++$rowct % 2) ? 'text' : 'item0'; - $curr_tree['subject'] = (($mode == 'thread') ? $threadtree[$idx] : null) . ' ' . Horde::link('#i' . $idx) . $subject_header . ' (' . $addr . ')'; + $curr_tree['subject'] = (($mode == 'thread') ? $threadtree[$idx] : null) . ' ' . Horde::link('#i' . $idx) . Horde_String::truncate($subject_header, 60) . ' (' . $addr . ')'; $msgs[] = $curr_msg; $tree[] = $curr_tree;