Pass HTML viewing to View Printable
[squirrelmail.git] / src / printer_friendly_main.php
index d1cfe9bad5e922630ab69e0a4b01209f4cae975e..a2842efe4f3295aee7981fa06dc4f8b1203d780d 100644 (file)
@@ -28,6 +28,7 @@ if ( ! sqgetGlobalVar('mailbox',$mailbox,SQ_GET) ||
 } else {
     $passed_id= (int) $passed_id;
     $view_unsafe_images = (bool) $_GET['view_unsafe_images'];
+    sqgetGlobalVar('show_html_default', $show_html_default, SQ_FORM);
 /* end globals */
     displayHtmlHeader( _("Printer Friendly"), '', false, true );
     echo '<frameset rows="60, *">' . "\n";
@@ -37,9 +38,10 @@ if ( ! sqgetGlobalVar('mailbox',$mailbox,SQ_GET) ||
         . urlencode($passed_ent_id) . '&amp;mailbox=' . urlencode($mailbox)
         . '&amp;passed_id=' . $passed_id
         . '&amp;view_unsafe_images='.$view_unsafe_images
+        . '&amp;show_html_default='.$show_html_default
         . '" name="bottom_frame" frameborder="0" />' . "\n";
     echo "</frameset>\n";
 }
 
 ?>
-</html>
\ No newline at end of file
+</html>