[dev] imp previews

Marko Djukic mdjukic at horde.org
Sun Feb 15 09:24:46 PST 2004


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


@@ -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(' ', ' ',
$msg['preview']));
+        }
     }


it makes the non-tooltip previews run off endlessly to the right.



--
Marko Djukic
Horde Project (http://horde.org)


More information about the dev mailing list