85 lines
6.1 KiB
Plaintext
85 lines
6.1 KiB
Plaintext
|
<?php
|
||
|
/*
|
||
|
*
|
||
|
*/
|
||
|
?>
|
||
|
<div class="box">
|
||
|
<div class="tabs-below">
|
||
|
<ul class="nav nav-tabs pull-right">
|
||
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
||
|
<?php
|
||
|
if(!empty($WORKER) and count($WORKER)>0){
|
||
|
?>
|
||
|
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||
|
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
||
|
<?php
|
||
|
}else{
|
||
|
?>
|
||
|
<li><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<h3><?=__("dreamjob.settings");?></h3>
|
||
|
<?php
|
||
|
echo $this->Form->create(false,$default_Form);
|
||
|
?>
|
||
|
<fieldset>
|
||
|
<legend><?=__("dreamjob.account");?></legend>
|
||
|
<?php
|
||
|
echo $this->Form->input('User.mail',array('label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']),'disabled'));
|
||
|
|
||
|
echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
||
|
echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
||
|
|
||
|
if($WORKER){
|
||
|
?>
|
||
|
<legend><?=__("dreamjob.worker");?></legend>
|
||
|
<?php
|
||
|
echo $this->Form->input('AppUser.mannerofaddress_id',array('label'=>array('text'=>__("dreamjob.mannerofaddress"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('AppUser.first_name',array('placeholder'=>__('dreamjob.first_name.placeholder'),'label'=>array('text'=>__("dreamjob.first_name"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('AppUser.last_name',array('placeholder'=>__('dreamjob.last_name.placeholder'),'label'=>array('text'=>__("dreamjob.last_name"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('AppUser.bday',array('label'=>array('text'=>__("dreamjob.bday"),"class"=>$default_Form['inputDefaults']['label']['class']),"style"=>'width:20%;display:inline-block;','dateFormat' => 'DMY',
|
||
|
'minYear' => date('Y') - 100,
|
||
|
'maxYear' => date('Y') - 14));
|
||
|
echo $this->Form->input('DreamjobWorker.iam',array('placeholder'=>__('dreamjob.iam.placeholder'),'label'=>array('text'=>__("dreamjob.iam"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobWorker.graducation_id',array('label'=>array('text'=>__("dreamjob.graducation"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobWorker.workexperience',array('placeholder'=>__('dreamjob.workexperience.placeholder'),'label'=>array('text'=>__("dreamjob.workexperience"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
?>
|
||
|
<div class="form-group">
|
||
|
<label class="col-sm-3 control-label"><?=__("dreamjob.searchhidden");?></label>
|
||
|
<div class="col-sm-9" style="text-align:left;">
|
||
|
<?=$this->Form->checkbox('DreamjobWorker.searchhidden',array("class"=>'form-control',"label"=>__("dreamjob.searchhidden")))?>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php
|
||
|
}elseif($COMPANY){
|
||
|
?>
|
||
|
<legend><?=__("dreamjob.company");?></legend>
|
||
|
<?php
|
||
|
echo $this->Form->input('AppUser.nickname',array('placeholder'=>__('dreamjob.nickname.placeholder'),'label'=>array('text'=>__("dreamjob.company.nickname"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobCompany.corporateform',array('placeholder'=>__('dreamjob.corporateform.placeholder'),'label'=>array('text'=>__("dreamjob.corporateform"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobCompany.owner',array('placeholder'=>__('dreamjob.owner.placeholder'),'label'=>array('text'=>__("dreamjob.owner"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobCompany.branch_id',array('label'=>array('text'=>__("dreamjob.branch"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobCompany.headcount',array('placeholder'=>__('dreamjob.headcount.placeholder'),'label'=>array('text'=>__("dreamjob.headcount"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
//echo $this->Form->input('DreamjobCompany.bank_details',array('placeholder'=>__('dreamjob.bank_details.placeholder'),'label'=>array('text'=>__("dreamjob.bank_details"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobCompany.website',array('placeholder'=>__('dreamjob.website.placeholder'),'label'=>array('text'=>__("dreamjob.website"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
}
|
||
|
?>
|
||
|
<legend><?=__("dreamjob.addresse");?></legend>
|
||
|
<?php
|
||
|
echo $this->Form->input('DreamjobUser.street',array('placeholder'=>__('dreamjob.street.placeholder'),'label'=>array('text'=>__("dreamjob.street"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobUser.city_id',array('label'=>array('text'=>__("dreamjob.city"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
echo $this->Form->input('DreamjobUser.postcode',array('placeholder'=>__('dreamjob.postcode.placeholder'),'label'=>array('text'=>__("dreamjob.postcode"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
if($WORKER)
|
||
|
echo $this->Form->input('DreamjobWorker.country',array('placeholder'=>__('dreamjob.country.placeholder'),'label'=>array('text'=>__("dreamjob.country"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||
|
?>
|
||
|
<div class="buttonrow">
|
||
|
<?=$this->Html->link(__('dreamjob.settings.delete'),array('controller'=>'user', 'action'=>'profil_delete'),array("class" => "btn btn-default"));?>
|
||
|
<?=$this->Form->button(__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
|
||
|
</div>
|
||
|
</fieldset>
|
||
|
<?php echo $this->Form->end(); ?>
|
||
|
</div>
|