[dev] imp previews

Michael M Slusarz slusarz at bigworm.colorado.edu
Wed Feb 18 12:29:36 PST 2004


Quoting Marko Djukic <mdjukic at horde.org>:

> what's the purpose of this addition to mailbox.php v2.562->2.563:

It is the code to generate tolltips that used to be in Mailbox.php (where it
didn't belong).

> @@ -702,6 +702,9 @@ foreach ($mailboxOverview as $msgIndex =
>      /* Show message preview? */
>      if ($show_preview) {
>          $msg['preview'] = $message['preview'];
> +        if (!$preview_tooltip) {
> +            $msg['preview'] = nl2br(str_replace(' ', '&nbsp;',
> $msg['preview']));
> +        }
>      }

It looks like I condensed a bit too much.  Try what I just committed to CVS.

michael

______________________________________________
Michael Slusarz [slusarz at bigworm.colorado.edu]
The University of Colorado at Boulder


More information about the dev mailing list