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 02e69fc..278e567 100644 (file)
@@ -836,8 +836,11 @@ function encodeHeader ($string) {
 */
 function MagicHTML( $body, $id ) {
 
 */
 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)
     $j = strlen( $body );   // Legnth of the HTML
     $ret = '';              // Returned string
     $bgcolor = '#ffffff';   // Background style color (defaults to white)