This commit is contained in:
Martin Müller 2015-02-28 01:59:47 +01:00
parent 2d6e06b55d
commit f44d3b148a
3 changed files with 16 additions and 10 deletions

View File

@ -4,10 +4,12 @@
root = true
[*]
indent_style = tab
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[*.bat]
end_of_line = crlf

3
.gitignore vendored
View File

@ -30,4 +30,7 @@ upload-produktiv.sh
Icon?
ehthumbs.db
Thumbs.db
# IDE generated files #
#######################
/nbproject/

View File

@ -4,9 +4,9 @@ App::uses('AppController', 'Controller');
class ExternController extends AppController {
public $uses = array('DreamjobJobOpening','DreamjobCompany');
public $components = array('MiconwareSession');
public function button_company() {
$this->MiconwareSession->init($this);
$this->MiconwareSession->initWeb($this);
@ -29,13 +29,14 @@ class ExternController extends AppController {
}
public function button_opening_extern() {
$this->MiconwareSession->init($this);
$this->MiconwareSession->initWeb($this);/*
$this->request->data['DreamjobUser']['mail'] = $this->request->query('mail');
$this->request->data['AppUser']['nickname'] = $this->request->query('company');
$this->request->data['DreamjobUser']['street'] = $this->request->query('street');
$this->request->data['DreamjobUser']['postcode'] = $this->request->query('postcode');
$this->request->data['DreamjobListCity']['name'] = $this->request->query('city');*/
$this->set("content",array());
$this->MiconwareSession->initWeb($this);
$this->set("content",array(
"mail"=>$this->request->query('mail'),
"company"=>$this->request->query('company'),
"street"=>$this->request->query('street'),
"postcode"=>$this->request->query('postcode'),
"city"=>$this->request->query('city'),
));
$this->layout = 'extern_mini';
$this->render('/Extern/button_opening_extern');
}