pdf: underline
This commit is contained in:
parent
79a7ef1e11
commit
70251ae5f7
|
@ -2,7 +2,6 @@
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if(empty($toPDF)){
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<h3>
|
<h3>
|
||||||
|
@ -17,11 +16,9 @@ if($edit){
|
||||||
</h3>
|
</h3>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
}
|
|
||||||
$inCat= -1;
|
$inCat= -1;
|
||||||
?>
|
?>
|
||||||
<div nobr="true">
|
<h4><?=$cvp0['DreamjobListCvCategory']['name'];?></h4>
|
||||||
<h4><?=$cvp0['DreamjobListCvCategory']['name'];?></h4>
|
|
||||||
<table class="cv">
|
<table class="cv">
|
||||||
<tr>
|
<tr>
|
||||||
<td><?=__("dreamjob.bday");?></td>
|
<td><?=__("dreamjob.bday");?></td>
|
||||||
|
@ -57,8 +54,6 @@ if($edit){
|
||||||
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
|
if($cvp0['DreamjobListCvCategory']['id'] != $cvc['DreamjobListCvCategory']['id']){
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
<div nobr="true">
|
|
||||||
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
|
<h4><?=$cvc['DreamjobListCvCategory']['name'];?></h4>
|
||||||
<table class="cv">
|
<table class="cv">
|
||||||
<?php
|
<?php
|
||||||
|
@ -123,4 +118,3 @@ if($edit){
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
|
||||||
|
|
|
@ -32,7 +32,9 @@
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<?=$this->Html->image('logo.png',array('url'=>array('controller'=>'home','action'=>'home'))); ?>
|
<?=$this->Html->image('logo.png',array('url'=>array('controller'=>'home','action'=>'home'))); ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php /*
|
||||||
<div id="logo_right"><?=$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?></div>
|
<div id="logo_right"><?=$this->Html->image('mobil.png',array("url"=>array('controller'=>'home','action'=>'home')));?></div>
|
||||||
|
*/ ?>
|
||||||
</div>
|
</div>
|
||||||
<div id="navbar">
|
<div id="navbar">
|
||||||
<!-- navbar -->
|
<!-- navbar -->
|
||||||
|
|
|
@ -3,16 +3,10 @@ App::import('Vendor','tcpdf/xtcpdf');
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
header("Content-type: application/pdf");
|
header("Content-type: application/pdf");
|
||||||
|
|
||||||
$cvinhalt = $this->element('user_worker_cv',array('toPDF'=>true,'profil'=>array('User'=>$application['WorkerUser']
|
$cvinhalt = $this->element('user_worker_cv_pdf',array('profil'=>array('User'=>$application['WorkerUser']
|
||||||
,'AppUser'=>$application['AppUserWorker'],'DreamjobWorker'=>$application['DreamjobWorker'],'DreamjobListGraducation'=>$application['WorkerGraducation'],'DreamjobListCity'=>$application['DreamjobWorkerListCity'])));
|
,'AppUser'=>$application['AppUserWorker'],'DreamjobWorker'=>$application['DreamjobWorker'],'DreamjobListGraducation'=>$application['WorkerGraducation'],'DreamjobListCity'=>$application['DreamjobWorkerListCity'])));
|
||||||
|
|
||||||
$cvinhalt .= '<style>span{font-style:italic;font-size:10px;}h1,h2,h3,h4,h5{
|
|
||||||
border-bottom:1px solid grey;
|
|
||||||
margin-bottom:3px;
|
|
||||||
width:100%;
|
|
||||||
}</style>';
|
|
||||||
|
|
||||||
|
|
||||||
$dev = 0;
|
$dev = 0;
|
||||||
$tcpdf = new XTCPDF();
|
$tcpdf = new XTCPDF();
|
||||||
$tcpdf->SetMargins(25,35,25,20);
|
$tcpdf->SetMargins(25,35,25,20);
|
||||||
|
@ -38,10 +32,10 @@ if($application['AppUserWorker']['take_systemwide']){
|
||||||
|
|
||||||
$tcpdf->Image($url,0,40,0,140,'','','','',300,'L');
|
$tcpdf->Image($url,0,40,0,140,'','','','',300,'L');
|
||||||
$tcpdf->SetY(185);
|
$tcpdf->SetY(185);
|
||||||
$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize+4);
|
//$tcpdf->SetFont($tcpdf->font,'B',$tcpdf->fontsize+4);
|
||||||
$tcpdf->Cell(0,0, __('dreamjob.application'), 0,1,'L');
|
//$tcpdf->Cell(0,0, , 0,1,'L');
|
||||||
$tcpdf->SetFont($tcpdf->font,'',$tcpdf->fontsize);
|
//$tcpdf->SetFont($tcpdf->font,'',$tcpdf->fontsize);
|
||||||
$tcpdf->writeHTML(__('dreamjob.application.for').' '.$application['DreamjobJobOpening']['title']);
|
$tcpdf->writeHTML('<h1>'.__('dreamjob.application').'</h1>'.__('dreamjob.application.for').' '.$application['DreamjobJobOpening']['title']);
|
||||||
|
|
||||||
$tcpdf->SetY(255);
|
$tcpdf->SetY(255);
|
||||||
$tcpdf->Cell(0,0, $application['Mannerofaddress']['name'].' '.$application['AppUserWorker']['first_name'].' '.$application['AppUserWorker']['last_name'], 0,1,'R');
|
$tcpdf->Cell(0,0, $application['Mannerofaddress']['name'].' '.$application['AppUserWorker']['first_name'].' '.$application['AppUserWorker']['last_name'], 0,1,'R');
|
||||||
|
@ -64,7 +58,7 @@ $tcpdf->Cell(0,0, $application['AppUser']['nickname'], 0,1,'L');
|
||||||
$tcpdf->Cell(0,0, $application['DreamjobUser']['street'], 0,1,'L');
|
$tcpdf->Cell(0,0, $application['DreamjobUser']['street'], 0,1,'L');
|
||||||
$tcpdf->Cell(0,0, $application['DreamjobUser']['postcode'].' '.$application['DreamjobListCity']['name'], 0,1,'L');
|
$tcpdf->Cell(0,0, $application['DreamjobUser']['postcode'].' '.$application['DreamjobListCity']['name'], 0,1,'L');
|
||||||
|
|
||||||
$tcpdf->writeHTML('<br/><br/><h1>'.$application['DreamjobJobApplication']['subject'].'</h1><br/>'.$application['DreamjobJobApplication']['text']);
|
$tcpdf->writeHTML('<br/><h2>'.$application['DreamjobJobApplication']['subject'].'</h2><br/>'.$application['DreamjobJobApplication']['text']);
|
||||||
|
|
||||||
//Lebenslauf
|
//Lebenslauf
|
||||||
$tcpdf->title=__('dreamjob.cv');
|
$tcpdf->title=__('dreamjob.cv');
|
||||||
|
|
|
@ -5,13 +5,7 @@ ob_end_clean();
|
||||||
header("Content-type: application/pdf");
|
header("Content-type: application/pdf");
|
||||||
|
|
||||||
|
|
||||||
$cvinhalt = $this->element('user_worker_cv',array('toPDF'=>true,'profil'=>$WORKER));
|
$cvinhalt = $this->element('user_worker_cv_pdf',array('profil'=>$WORKER));
|
||||||
$cvinhalt .= '<style>span{font-style:italic;font-size:10px;}h1,h2,h3,h4,h5{
|
|
||||||
border-bottom:1px solid grey;
|
|
||||||
padding:0px;
|
|
||||||
width:100%;
|
|
||||||
}
|
|
||||||
</style>';
|
|
||||||
|
|
||||||
$dev = 0;
|
$dev = 0;
|
||||||
$tcpdf = new XTCPDF();
|
$tcpdf = new XTCPDF();
|
||||||
|
|
Loading…
Reference in New Issue