[imp] Wordwrap in 2.2.x again
Leif Olson
lolson@lynx.nisc.cc
Fri, 3 Aug 2001 15:47:47 -0500
Thanks, this worked great to fix my problems too.
I may have missed this discussion already, but is there any reason why this
wrap_message command was removed? Seems like a major step back to me.
Thanks,
Leif
----- Original Message -----
From: "Darius Matuliauskas" <darius@lnk.lt>
To: "imp" <imp@lists.horde.org>
Sent: Saturday, June 25, 2001 2:035 PM
Subject: [imp] Wordwrap in 2.2.x again
> Hi there,
>
> My until recently used 2.2.3 was using a wrap_message($tmsg) in
> /imp/message.php3 to wrap message text. The latest 2.2.6, however, is
> missing that.
>
> Could anybody explain to me the mechanism of wrapping a message text
> that still comes in <pre> tags in the latest versions? Why don't you any
> longer use wrap_message()? I guess there should even be a separate
> $default-> variable for setting wrap width, but... if you drop the 2.2.x
> branch... then whatever. :)
>
> There have been similar questions on this earlier, so for those who
couldn't
> find the manual solution:
> you may simply change the line 138 (imp2.2.6) of /imp/message.php3 from
>
> $tmsg = '<pre>' . $tmsg . '</pre>';
> to
> $tmsg = '<pre>' . wrap_message($tmsg) . '</pre>';
>
> It works for me as it used to in 2.2.3.
>
> Regards,
>
> Darius Matuliauskas
> LNK TV
> Vilnius, Lithuania
>
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org