diff --git a/lib/pdflib.php b/lib/pdflib.php index 024f5dcc9014235bf6336cf4e355831da9eb0e5e..2c3b828ca108753a59c749fe2582ccfada957ce9 100644 --- a/lib/pdflib.php +++ b/lib/pdflib.php @@ -305,7 +305,7 @@ class PdfGenerator $themeLib = TikiLib::lib('theme'); $themecss=$themeLib->get_theme_path($prefs['theme'], '', $prefs['theme'] . '.css'); $stylesheet1 = file_get_contents('themes/base_files/css/tiki_base.css'); // external css - $mpdf->WriteHTML($stylesheet,1); + $stylesheet2 = file_get_contents($themecss).'@page,body.print* {background:#fff;color:#000;} p,.print{color:#000;} .editplugin{display:none;visibility:hidden}'; // external css $stylesheet3 = file_get_contents('vendor/fortawesome/font-awesome/css/font-awesome.min.css'); // external css $mpdf->WriteHTML(''.$html."");