Disable the show images stuff while reading html messages.
authorphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Jan 2002 09:46:47 +0000 (09:46 +0000)
committerphilippe_mingo <philippe_mingo@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 17 Jan 2002 09:46:47 +0000 (09:46 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2147 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/mime.php

index 02e69fc5294e6a4e121d84e0b287471c0da1b481..278e5673f202a9a255e47322b19c8b16a1da5d16 100644 (file)
@@ -836,8 +836,11 @@ function encodeHeader ($string) {
 */
 function MagicHTML( $body, $id ) {
 
-    global $message, $PHP_SELF, $HTTP_SERVER_VARS;
+    global $message, $PHP_SELF, $HTTP_SERVER_VARS, 
+           $attachment_common_show_images;
 
+    $attachment_common_show_images =
+                     FALSE; // Don't display attached images in HTML mode
     $j = strlen( $body );   // Legnth of the HTML
     $ret = '';              // Returned string
     $bgcolor = '#ffffff';   // Background style color (defaults to white)