浏览代码

Printable version should not use theme colors but fixed black-text-on-white-background.

Thijs Kinkhorst 22 年之前
父节点
当前提交
fd8e5d04b2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/printer_friendly_bottom.php

+ 1 - 1
src/printer_friendly_bottom.php

@@ -113,7 +113,7 @@ $subject = decodeHeader($subject);
 /* --start browser output-- */
 /* --start browser output-- */
 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
 displayHtmlHeader( _("Printer Friendly"), '', FALSE );
 
 
-echo "<body text=\"$color[8]\" bgcolor=\"$color[4]\" link=\"$color[7]\" vlink=\"$color[7]\" alink=\"$color[7]\">\n" .
+echo '<body text="#000000" bgcolor="#FFFFFF" link="#000000" vlink="#000000" alink="#000000">'."\n" .
      /* headers (we use table because translations are not all the same width) */
      /* headers (we use table because translations are not all the same width) */
      html_tag( 'table', '', 'center', '', 'cellspacing="0" cellpadding="0" border="0" width="100%"' ) .
      html_tag( 'table', '', 'center', '', 'cellspacing="0" cellpadding="0" border="0" width="100%"' ) .
      html_tag( 'tr',
      html_tag( 'tr',