dreamjob/app/View/User/settings_isearch.ctp

59 lines
2.3 KiB
Plaintext
Raw Permalink Normal View History

2015-03-31 14:49:03 +02:00
<?php
/*
*
*/
?>
<div class="box">
<div class="tabs-below">
<ul class="nav nav-tabs pull-right">
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
<li class="active"><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
</ul>
</div>
<h3><?=__("dreamjob.settings.isearch");?></h3>
<?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>
<?=$this->Form->hidden("DreamjobISearch.$i.id");?>
<?=$this->Form->input("DreamjobISearch.$i.branch_id",array('empty' => __('dreamjob.form.chooseOne'),'required'=>false));?>
</td>
<td><?=$this->Form->input("DreamjobISearch.$i.job_id",array('empty' =>__('dreamjob.form.chooseOne'),'required'=>false));?></td>
<td><?=$this->Form->input("DreamjobISearch.$i.kindofjob_id",array('empty' => __('dreamjob.form.chooseOne'),'required'=>false));?></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'),'required'=>false));?></td>
<td><?=$this->Form->input('DreamjobISearch..job_id',array('empty' =>__('dreamjob.form.chooseOne'),'required'=>false));?></td>
<td><?=$this->Form->input('DreamjobISearch..kindofjob_id',array('empty' => __('dreamjob.form.chooseOne'),'required'=>false));?></td>
<td><a class="btn btn-default btn-del" ref="eventOff"><span class="glyphicon glyphicon-trash"></span></a></td>
</tr>
</tbody>
</table>
<div class="buttonrow">
<?=$this->Form->button('<span class="glyphicon glyphicon-floppy-disk"></span> '.__('dreamjob.save'),array('div' => false,'class'=>"btn btn-primary ",'type' => 'submit'));?>
</div>
<?php
echo $this->Form->end();
?>
</div>