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 root = true
[*] [*]
indent_style = tab indent_style = space
indent_size = 2
end_of_line = lf end_of_line = lf
insert_final_newline = true insert_final_newline = true
trim_trailing_whitespace = true trim_trailing_whitespace = true
charset = utf-8
[*.bat] [*.bat]
end_of_line = crlf end_of_line = crlf

3
.gitignore vendored
View File

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

View File

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