Переглянути джерело

Disable the show images stuff while reading html messages.

philippe_mingo 23 роки тому
батько
коміт
d8b2648471
1 змінених файлів з 4 додано та 1 видалено
  1. 4 1
      functions/mime.php

+ 4 - 1
functions/mime.php

@@ -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
     $j = strlen( $body );   // Legnth of the HTML
     $ret = '';              // Returned string
     $ret = '';              // Returned string
     $bgcolor = '#ffffff';   // Background style color (defaults to white)
     $bgcolor = '#ffffff';   // Background style color (defaults to white)