This commit is contained in:
Martin Müller 2014-04-22 22:34:12 +02:00
parent 50df1ab161
commit 7e0541e02d
1 changed files with 8 additions and 4 deletions

View File

@ -28,7 +28,7 @@ $tcpdf->Cell(0,0, $application['DreamjobUserWorker']['street'], 0,1,'R');
$tcpdf->Cell(0,0, $application['DreamjobUserWorker']['postcode'].' '.$application['DreamjobWorkerListCity']['name'], 0,1,'R');
//Anschreiben
$tcpdf->title='Anschreiben';
$tcpdf->title=__('dreamjob.application.why');
$tcpdf->AddPage();
$tcpdf->SetY(35);
$tcpdf->SetTextColor(0, 0, 0);
@ -49,8 +49,12 @@ $tcpdf->SetFont($tcpdf->font);
$tcpdf->writeHTMLCell(0,175,10,95, $application['DreamjobJobApplication']['text'], $dev,0,false,true,'L');
//Lebenslauf
//Anschreiben
$tcpdf->title=__('dreamjob.cv');
$tcpdf->AddPage();
$tcpdf->SetY(35);
$tcpdf->SetTextColor(0, 0, 0);
$tcpdf->SetFont($tcpdf->font);
//Anhang
@ -71,7 +75,7 @@ foreach($application['Page'] as $page){
if($page['id'] == $pg['page_ptr_id'])
$pageType=$pg;
}
$tcpdf->writeHTMLCell(0,35,10,235, $pageType['text'], $dev,0,false,true,'L');
$tcpdf->writeHTMLCell(0,235,10,35, $pageType['text'], $dev,0,false,true,'L');
}else{
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$pageType['image'],0,35,0,235,'','','','',300,'C');
}