tape:js ie cache

This commit is contained in:
Martin Müller 2014-05-25 11:30:01 +02:00
parent 600fefb1f0
commit 1419cf24de
7 changed files with 29 additions and 19 deletions

View File

@ -58,10 +58,10 @@ class DreamjobJobMsg extends AppModel {
if ($result) {
$app = $this->DreamjobJobApplication->find('first', array('conditions' => array('DreamjobJobApplication.id' => $result["DreamjobJobMsg"]["application_id"])));
if ($this->fromcompany)
$result = self::sendMail($app['WorkerUser']['mail'], $this->application_id, array('User' => $app['WorkerUser'], 'AppUser' => $app['AppUserWorker']),true);
if ($result["DreamjobJobMsg"]['fromcompany'])
$result = self::sendMail($app['WorkerUser']['mail'], $result["DreamjobJobMsg"]['application_id'], array('User' => $app['WorkerUser'], 'AppUser' => $app['AppUserWorker']),true);
else
$result = self::sendMail($app['User']['mail'], $this->application_id, array('DreamjobCompany' => $app['DreamjobCompany']));
$result = self::sendMail($app['User']['mail'], $result["DreamjobJobMsg"]['application_id'], array('DreamjobCompany' => $app['DreamjobCompany']));
}
if ($result) {
$dataSource->commit();

View File

@ -1,4 +1,4 @@
Sehr geehrter <?=$data['DreamjobCompany']['owner'];?>!<br/><br/>
Sehr geehrte/r <?=$data['DreamjobCompany']['owner'];?>!<br/><br/>
Sie haben eine Nachricht von einem Bewerber erhalten<br/><br/>
Sehe diese unter folgendem Link ein:<br/>
<?=$this->Html->link('Link',array('controller'=>'job','action'=>'applicationGet','id'=>$id,'ages'=>'ages','full_base' => true));?>

View File

@ -1,9 +1,12 @@
Sehr geehrter <?=$data['DreamjobCompany']['owner'];?>!
Sehr geehrte/r <?=$data['DreamjobCompany']['owner'];?>!
Sie haben eine Nachricht von einem Bewerber erhalten.
Sehe diese unter folgendem Link ein:
<?=$this->Html->url(array('controller'=>'job','action'=>'applicationGet','id'=>$id,'ages'=>'ages'),true);?>
<?php
$url = $this->Html->url(array('controller'=>'job','action'=>'applicationGet','id'=>$id,'ages'=>'ages','full_base' => true) );
echo $this->Html->link($url, $url);
?>
---
Bei Fragen wenden Sie sich gerne an unser Team:

View File

@ -3,7 +3,10 @@ Hallo <?=$data['AppUser']['first_name']." ".$data['AppUser']['last_name'];?>!
Du hast eine Nachricht von einem Unternehmen erhalten.
Sehe diese unter folgendem Link ein:
<?=$this->Html->url(array('controller'=>'job','action'=>'applicationGet','id'=>$id,'ages'=>'ages'),true);?>
<?php
$url = $this->Html->url(array('controller'=>'job','action'=>'applicationGet','id'=>$id,'ages'=>'ages','full_base' => true) );
echo $this->Html->link($url, $url);
?>
---
Bei Fragen wenden Sie sich gerne an unser Team:

View File

@ -88,7 +88,8 @@ foreach($application['Page'] as $page){
if($page['id'] == $pg['page_ptr_id'])
$pageType=$pg;
}
$tcpdf->writeHTMLCell(0,235,10,35, $pageType['text'], $dev,0,false,true,'L');
//$tcpdf->writeHTMLCell(0,235,10,35, $pageType['text'], $dev,0,false,true,'L');
$tcpdf->writeHTML($pageType['text']);
}else{
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$pageType['image'],0,35,0,235,'','','','',300,'C');
}

View File

@ -71,7 +71,8 @@ foreach($WORKER['DreamjobPageInh'] as $page){
if($page['id'] == $pg['DreamjobPageInh']['id'])
$pageType=$pg;
}
$tcpdf->writeHTMLCell(0,235,10,35, $pageType['DreamjobPageText']['text'], $dev,0,false,true,'L');
//$tcpdf->writeHTMLCell(0,235,10,35, $pageType['DreamjobPageText']['text'], $dev,0,false,true,'L');
$tcpdf->writeHTML($pageType['DreamjobPageText']['text']);
}else{
$tcpdf->Image(WWW_ROOT.DS.'uploads'.DS.$pageType['DreamjobPageImage']['image'],0,35,0,235,'','','','',300,'C');
}

View File

@ -32,6 +32,7 @@ var global_load = null;
function stopLoad(e) {
if (!e)
e = window.event;
if (e){
if (e.preventDefault)
e.preventDefault();
if (e.stopPropagation) {
@ -40,6 +41,7 @@ var global_load = null;
e.cancelBubble = true;
}
}
}
function event(where) {
/* Hotfix Ticket: 215*/
$(where + ' img').each(function() {