css
This commit is contained in:
parent
d80bd43823
commit
450ae190b5
|
@ -1,4 +1,7 @@
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
echo $this->Html->link(__('dreamjob.regisration.active.link'),array('controller' => 'registration', 'action' => 'active','code'=>$key,
|
$url = $this->Html->url(array('controller' => 'registration', 'action' => 'active','code'=>$key,
|
||||||
|
'?'=>array('mail'=>$data['User']['mail']),'full_base' => true) );
|
||||||
|
echo $this->Html->link($url,array('controller' => 'registration', 'action' => 'active','code'=>$key,
|
||||||
'?'=>array('mail'=>$data['User']['mail']),'full_base' => true) );
|
'?'=>array('mail'=>$data['User']['mail']),'full_base' => true) );
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -28,7 +28,15 @@ $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.$WORKER['AppUser']['avatar'],0,40,0,140,'','','','',300,'L');
|
|
||||||
|
$url=WWW_ROOT.DS.'img'.DS'icon_user.png';
|
||||||
|
if($WORKER['AppUser']['take_systemwide']){
|
||||||
|
if($WORKER['User']['avatar'])
|
||||||
|
$url = WWW_ROOT.DS.'uploads'.DS.$WORKER['User']['avatar'];
|
||||||
|
}else
|
||||||
|
if($profil['AppUser']['avatar'])
|
||||||
|
$url = WWW_ROOT.DS.'uploads'.DS.$WORKER['AppUser']['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.mappe'), 0,1,'L');
|
$tcpdf->Cell(0,0, __('dreamjob.application.mappe'), 0,1,'L');
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 20 KiB |
Loading…
Reference in New Issue