2014-02-18 12:10:29 +01:00
|
|
|
<ul>
|
2014-05-06 13:52:25 +02:00
|
|
|
<?php if(!empty($COMPANY)): ?>
|
2014-05-11 15:47:32 +02:00
|
|
|
<li<?php if(isset($MENU_START)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.startpage'),array('controller'=>'home','action'=>'company'));?></li>
|
2014-09-15 18:10:35 +02:00
|
|
|
<li<?php if(isset($MENU_SEARCH)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.search'),array('controller'=>'search','action'=>'worker'));?></li>
|
2014-05-06 13:52:25 +02:00
|
|
|
<?php else: ?>
|
2014-05-11 15:47:32 +02:00
|
|
|
<li<?php if(isset($MENU_START)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.startpage'),array('controller'=>'home','action'=>'home'));?></li>
|
2014-09-15 18:10:35 +02:00
|
|
|
<li<?php if(isset($MENU_SEARCH)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.search'),array('controller'=>'search','action'=>'opening'));?></li>
|
2014-04-16 18:24:34 +02:00
|
|
|
<?php endif; ?>
|
2014-05-15 19:38:25 +02:00
|
|
|
<li<?php if(isset($MENU_SERVICE)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.service'),array('controller'=>'service','action'=>'index'));?></li>
|
2014-09-15 18:10:35 +02:00
|
|
|
<?php if(!empty($WORKER)): ?>
|
|
|
|
<li<?php if(isset($MENU_EXT_APP)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExt'));?></li>
|
|
|
|
<?php endif; ?>
|
2014-05-06 13:45:52 +02:00
|
|
|
<?php if(!empty($isLoggedin)){ ?>
|
|
|
|
<li><?=$this->Html->link(__('dreamjob.logout'),array('controller'=>'home','action'=>'logout'));?></li>
|
|
|
|
<?php } ?>
|
2014-02-18 12:10:29 +01:00
|
|
|
</ul>
|
2014-05-06 13:45:52 +02:00
|
|
|
<?php if(empty($isLoggedin)){ ?>
|
2014-02-18 12:10:29 +01:00
|
|
|
<div>
|
|
|
|
<?php
|
|
|
|
echo $this->Form->create(null, array('inputDefaults'=> array('div' => false,'label'=>false,
|
2014-05-01 14:04:07 +02:00
|
|
|
'style' => 'width:160px;margin-right:5px;float:left;',
|
2014-02-18 12:10:29 +01:00
|
|
|
'class' => 'form-control'),
|
|
|
|
'back'=>'true',
|
|
|
|
'url'=> array('controller'=>'home','action'=>'login')
|
|
|
|
// 'url' => array('controller' => 'recipes', 'action' => 'add')
|
|
|
|
));
|
|
|
|
echo $this->Form->input('User.mail',array('placeholder'=>__('dreamjob.mail')));
|
|
|
|
echo "\n";
|
|
|
|
echo $this->Form->input('User.password',array('placeholder'=>__('dreamjob.password')));
|
|
|
|
echo "\n";
|
2014-06-16 00:38:44 +02:00
|
|
|
|
2014-02-18 12:10:29 +01:00
|
|
|
echo $this->Form->button(__('dreamjob.login'),array('div' => false,'class'=>"btn btn-default",'type' => 'submit'));
|
|
|
|
echo $this->Form->end();
|
|
|
|
?>
|
2014-06-16 00:38:44 +02:00
|
|
|
<div style="font-size:10px;padding-left:165px;">
|
|
|
|
<?=$this->Html->link(__('dreamjob.password.forget'),array('controller'=>'registration','action'=>'password_reset'),array('style'=>'color:white;'));?>
|
2014-02-18 12:10:29 +01:00
|
|
|
</div>
|
2014-06-16 00:38:44 +02:00
|
|
|
</div>
|
|
|
|
<?php } ?>
|