This commit is contained in:
Martin Müller 2014-05-01 12:42:51 +02:00
parent 74b04c39cd
commit 7b17300a3c
2 changed files with 2 additions and 1 deletions

View File

@ -265,6 +265,7 @@ class UserController extends AppController {
$result = false; $result = false;
if($company){ if($company){
$profil['AppUser']['nickname'] = $this->request->data['AppUser']['nickname'];
$profil['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform']; $profil['DreamjobCompany']['corporateform'] = $this->request->data['DreamjobCompany']['corporateform'];
$profil['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner']; $profil['DreamjobCompany']['owner'] = $this->request->data['DreamjobCompany']['owner'];
$profil['DreamjobCompany']['branch_id'] = $this->request->data['DreamjobCompany']['branch_id']; $profil['DreamjobCompany']['branch_id'] = $this->request->data['DreamjobCompany']['branch_id'];

View File

@ -85,7 +85,7 @@ if($profil['AppUser']['take_systemwide']){
?> ?>
<div class="buttonrow"> <div class="buttonrow">
<?=$this->Html->link(__('dreamjob.settings.delete'),array('controller'=>'user', 'action'=>'profil_delete'),array("class" => "btn btn-default"));?> <?=$this->Html->link(__('dreamjob.settings.delete'),array('controller'=>'user', 'action'=>'profil_delete'),array("class" => "btn btn-default"));?>
<?=$this->Form->button(__('dreamjob.settings.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?> <?=$this->Form->button(__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div> </div>
</fieldset> </fieldset>
<?php echo $this->Form->end(); ?> <?php echo $this->Form->end(); ?>