This commit is contained in:
Martin Müller 2014-04-30 00:34:09 +02:00
parent 04f4d08272
commit 63217d0696
3 changed files with 3 additions and 2 deletions

View File

@ -18,6 +18,7 @@ class XTCPDF extends TCPDF{
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo-lang.png',0,15,64,15,'','','','',300,'R');
else
$this->Image(WWW_ROOT.DS.'img'.DS.'pdf-logo.png',0,10,20,20,'','','','',300,'R');
$this->SetMargins(10, 10, 10, true);
}
function Footer(){

View File

@ -57,7 +57,7 @@ $tcpdf->SetAutoPageBreak( true, 20);
$tcpdf->writeHTML('<br/><br/><h1>'.$application['DreamjobJobApplication']['subject'].'</h1><br/>'.$application['DreamjobJobApplication']['text']);
//Lebenslauf
$tcpdf->SetAutoPageBreak( true, 35);
$tcpdf->SetAutoPageBreak( true, 20);
$tcpdf->title=__('dreamjob.cv');
$tcpdf->AddPage();
$tcpdf->SetY(35);

View File

@ -39,7 +39,7 @@ $tcpdf->Cell(0,0, $WORKER['DreamjobUser']['street'], 0,1,'R');
$tcpdf->Cell(0,0, $WORKER['DreamjobUser']['postcode'].' '.$WORKER['DreamjobListCity']['name'], 0,1,'R');
//Lebenslauf
$tcpdf->SetAutoPageBreak( true,50);
$tcpdf->SetAutoPageBreak( true,20);
$tcpdf->title=__('dreamjob.cv');
$tcpdf->AddPage();
$tcpdf->SetY(35);