From 5106a9be2f89a816f8da9595dff34b7d12e4f549 Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Thu, 17 Jan 2002 09:46:47 +0000 Subject: [PATCH] Disable the show images stuff while reading html messages. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2147 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- functions/mime.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/functions/mime.php b/functions/mime.php index 02e69fc5..278e5673 100644 --- a/functions/mime.php +++ b/functions/mime.php @@ -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) -- 2.25.1