Fix: Page code into PDF

This commit is contained in:
Laurent Destailleur 2011-02-20 15:23:22 +00:00
parent 96e05a0363
commit cb6f960b42

View File

@ -66,8 +66,8 @@ class CommActionRapport
$this->marge_haute=10; $this->marge_haute=10;
$this->marge_basse=10; $this->marge_basse=10;
$this->title=$langs->trans("ActionsReport").' '.$this->year."-".$this->month; $this->title=$langs->transnoentitiesnoconv("ActionsReport").' '.$this->year."-".$this->month;
$this->subject=$langs->trans("ActionsReport").' '.$this->year."-".$this->month; $this->subject=$langs->transnoentitiesnoconv("ActionsReport").' '.$this->year."-".$this->month;
} }
/** /**
@ -257,7 +257,7 @@ class CommActionRapport
// Show title // Show title
$pdf->SetFont('','B',10); $pdf->SetFont('','B',10);
$pdf->SetXY($this->marge_gauche, $this->marge_haute); $pdf->SetXY($this->marge_gauche, $this->marge_haute);
$pdf->MultiCell(80, 1, $this->title, 0, 'L', 0); $pdf->MultiCell(120, 1, $outputlangs->convToOutputCharset($this->title), 0, 'L', 0);
$pdf->SetXY($this->page_largeur-$this->marge_droite-40, $this->marge_haute); $pdf->SetXY($this->page_largeur-$this->marge_droite-40, $this->marge_haute);
$pdf->MultiCell(40, 1, $pagenb.'/{nb}', 0, 'R', 0); $pdf->MultiCell(40, 1, $pagenb.'/{nb}', 0, 'R', 0);