css
This commit is contained in:
parent
0ef556778c
commit
121830f5ae
|
@ -27,7 +27,16 @@ $tcpdf->AddPage();
|
||||||
$tcpdf->SetY(35);
|
$tcpdf->SetY(35);
|
||||||
$tcpdf->SetTextColor(0, 0, 0);
|
$tcpdf->SetTextColor(0, 0, 0);
|
||||||
$tcpdf->SetFont($tcpdf->font);
|
$tcpdf->SetFont($tcpdf->font);
|
||||||
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$application['AppUserWorker']['avatar'],0,40,0,140,'','','','',300,'L');
|
|
||||||
|
$url=WWW_ROOT.DS.'img'.DS.'icon_user.png';
|
||||||
|
if($application['AppUserWorker']['take_systemwide']){
|
||||||
|
if($application['WorkerUser']['avatar'])
|
||||||
|
$url = WWW_ROOT.DS.'uploads'.DS.$application['WorkerUser']['avatar'];
|
||||||
|
}else
|
||||||
|
if($profil['AppUserWorker']['avatar'])
|
||||||
|
$url = WWW_ROOT.DS.'uploads'.DS.$application['AppUserWorker']['avatar'];
|
||||||
|
|
||||||
|
$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, __('dreamjob.application'), 0,1,'L');
|
||||||
|
|
|
@ -29,7 +29,7 @@ $tcpdf->SetY(35);
|
||||||
$tcpdf->SetTextColor(0, 0, 0);
|
$tcpdf->SetTextColor(0, 0, 0);
|
||||||
$tcpdf->SetFont($tcpdf->font);
|
$tcpdf->SetFont($tcpdf->font);
|
||||||
|
|
||||||
$url=WWW_ROOT.DS.'img'.DS'icon_user.png';
|
$url=WWW_ROOT.DS.'img'.DS.'icon_user.png';
|
||||||
if($WORKER['AppUser']['take_systemwide']){
|
if($WORKER['AppUser']['take_systemwide']){
|
||||||
if($WORKER['User']['avatar'])
|
if($WORKER['User']['avatar'])
|
||||||
$url = WWW_ROOT.DS.'uploads'.DS.$WORKER['User']['avatar'];
|
$url = WWW_ROOT.DS.'uploads'.DS.$WORKER['User']['avatar'];
|
||||||
|
|
Loading…
Reference in New Issue