2014-03-15 13:56:26 +01:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
$avatar = false;
|
|
|
|
if($profil['AppUser']['take_systemwide']){
|
|
|
|
if($profil['User']['avatar'])
|
|
|
|
$avatar = true;
|
|
|
|
}else{
|
|
|
|
if($profil['AppUser']['avatar'])
|
|
|
|
$avatar = true;
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<div class="box">
|
|
|
|
<div class="tabs-below">
|
|
|
|
<ul class="nav nav-tabs pull-right">
|
2014-03-18 09:34:04 +01:00
|
|
|
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
2014-03-26 09:15:43 +01:00
|
|
|
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
2014-03-18 09:34:04 +01:00
|
|
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
2014-03-15 13:56:26 +01:00
|
|
|
</ul>
|
|
|
|
</div>
|
2014-03-18 09:34:04 +01:00
|
|
|
<h1><?=__("dreamjob.settings.isearch");?></h1>
|
2014-03-28 16:22:19 +01:00
|
|
|
<?php
|
|
|
|
echo $this->Form->create("DreamjobISearch",$default_hForm);
|
|
|
|
?>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><?=__('dreamjob.branch');?></th>
|
|
|
|
<th><?=__('dreamjob.job');?></th>
|
|
|
|
<th><?=__('dreamjob.kindofjob');?></th>
|
|
|
|
<th><?=__('dreamjob.options');?></th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php
|
|
|
|
foreach($this->data['DreamjobISearch'] as $i => $egal) {
|
|
|
|
?>
|
|
|
|
<tr data="set">
|
|
|
|
<td>
|
2014-04-01 20:58:36 +02:00
|
|
|
<?=$this->Form->hidden("DreamjobISearch.$i.id");?>
|
2014-03-28 16:22:19 +01:00
|
|
|
<?=$this->Form->input("DreamjobISearch.$i.branch_id",array('empty' => __('dreamjob.form.chooseOne')));?>
|
|
|
|
</td>
|
|
|
|
<td><?=$this->Form->input("DreamjobISearch.$i.job_id",array('empty' =>__('dreamjob.form.chooseOne')));?></td>
|
|
|
|
<td><?=$this->Form->input("DreamjobISearch.$i.kindofjob_id",array('empty' => __('dreamjob.form.chooseOne')));?></td>
|
|
|
|
<td><a class="btn btn-default btn-del rmEvnt" ref="eventOff"><span class="glyphicon glyphicon-trash"></span></a></td>
|
|
|
|
</tr>
|
|
|
|
<?php
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<tr class="new">
|
|
|
|
<td><?=$this->Form->input('DreamjobISearch..branch_id',array('empty' => __('dreamjob.form.chooseOne')));?></td>
|
|
|
|
<td><?=$this->Form->input('DreamjobISearch..job_id',array('empty' =>__('dreamjob.form.chooseOne')));?></td>
|
|
|
|
<td><?=$this->Form->input('DreamjobISearch..kindofjob_id',array('empty' => __('dreamjob.form.chooseOne')));?></td>
|
|
|
|
<td><a class="btn btn-default btn-del" ref="eventOff"><span class="glyphicon glyphicon-trash"></span></a></td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2014-03-15 13:56:26 +01:00
|
|
|
</div>
|