diff options
author | Julien Moumné <julien@piwik.org> | 2013-04-23 11:12:44 +0400 |
---|---|---|
committer | Julien Moumné <julien@piwik.org> | 2013-04-23 11:19:04 +0400 |
commit | e2a02e8d4de61022f9d75d10fdabaec23ed15d53 (patch) | |
tree | c66ca3eda36d6b38cb187b76b80f4d025af821a3 /core/ReportRenderer/Pdf.php | |
parent | 84dfea289f2b5b3aecbd9efca597d83f827366f3 (diff) |
fix #3896
Diffstat (limited to 'core/ReportRenderer/Pdf.php')
-rw-r--r-- | core/ReportRenderer/Pdf.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/core/ReportRenderer/Pdf.php b/core/ReportRenderer/Pdf.php index 23d24ab18f..d14b736507 100644 --- a/core/ReportRenderer/Pdf.php +++ b/core/ReportRenderer/Pdf.php @@ -142,14 +142,14 @@ class Piwik_ReportRenderer_Pdf extends Piwik_ReportRenderer return $this->TCPDF->Output(null, 'S'); } - public function renderFrontPage($websiteName, $prettyDate, $description, $reportMetadata) + public function renderFrontPage($reportTitle, $prettyDate, $description, $reportMetadata) { - $websiteTitle = $this->formatText($websiteName); + $reportTitle = $this->formatText($reportTitle); $dateRange = $this->formatText(Piwik_Translate('General_DateRange') . " " . $prettyDate); //Setup Footer font and data $this->TCPDF->SetFooterFont(array($this->reportFont, $this->reportFontStyle, $this->reportSimpleFontSize)); - $this->TCPDF->SetFooterContent($websiteTitle . " | " . $dateRange . " | "); + $this->TCPDF->SetFooterContent($reportTitle . " | " . $dateRange . " | "); $this->TCPDF->setPrintHeader(false); // $this->SetMargins($left = , $top, $right=-1, $keepmargins=true) @@ -163,7 +163,7 @@ class Piwik_ReportRenderer_Pdf extends Piwik_ReportRenderer $this->TCPDF->SetFont($this->reportFont, '', $this->reportHeaderFontSize + 5); $this->TCPDF->SetTextColor($this->headerTextColor[0], $this->headerTextColor[1], $this->headerTextColor[2]); - $this->TCPDF->Cell(40, 210, $websiteTitle); + $this->TCPDF->Cell(40, 210, $reportTitle); $this->TCPDF->Ln(8 * 4); $this->TCPDF->SetFont($this->reportFont, '', $this->reportHeaderFontSize); |