mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Use HTML for the logo instead of pdf->image; scales much nicer
This commit is contained in:
@@ -1090,8 +1090,12 @@ if (isset($_POST["export_client_pdf"])) {
|
|||||||
// Cover page section (for main content, not the TOC)
|
// Cover page section (for main content, not the TOC)
|
||||||
$html .= '<div class="cover">';
|
$html .= '<div class="cover">';
|
||||||
if (!empty($company_logo)) {
|
if (!empty($company_logo)) {
|
||||||
$pdf->Image('../uploads/settings/' . $company_logo, '', '', 35, 35, '', '', 'L', false, 300, '', false, false, 1, false, false, false);
|
//$pdf->Image('../uploads/settings/' . $company_logo, '', '', 35, 35, '', '', 'L', false, 300, '', false, false, 1, false, false, false);
|
||||||
|
$html .= '<div style="text-align:right;">
|
||||||
|
<img src="' . realpath('../uploads/settings/' . $company_logo) . '" width="120">
|
||||||
|
</div>';
|
||||||
}
|
}
|
||||||
|
|
||||||
$html .= "
|
$html .= "
|
||||||
<h1>IT Documentation</h1>
|
<h1>IT Documentation</h1>
|
||||||
<h2>$client_name</h2>
|
<h2>$client_name</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user