40 lines
2.3 KiB
PHP
Executable File
40 lines
2.3 KiB
PHP
Executable File
<ul>
|
|
<?php if(!empty($COMPANY)): ?>
|
|
<li<?php if(isset($MENU_START)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.startpage'),array('controller'=>'home','action'=>'company'));?></li>
|
|
<li<?php if(isset($MENU_SEARCH)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.search'),array('controller'=>'search','action'=>'worker'));?></li>
|
|
<?php else: ?>
|
|
<li<?php if(isset($MENU_START)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.startpage'),array('controller'=>'home','action'=>'home'));?></li>
|
|
<li<?php if(isset($MENU_SEARCH)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.search'),array('controller'=>'search','action'=>'opening'));?></li>
|
|
<?php endif; /* ?>
|
|
<li<?php if(isset($MENU_SERVICE)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.service'),array('controller'=>'service','action'=>'index'));?></li>
|
|
<?php */ if(empty($COMPANY)): ?>
|
|
<li<?php if(isset($MENU_EXT_APP)){?> class="active"<?php } ?>><?=$this->Html->link(__('dreamjob.application.extern.to'),array('controller'=>'job','action'=>'applicationSendExtInfo'),array("data-toggle"=>"modal","data-target"=>"#popup","ref"=>"eventOff"));?></li>
|
|
<?php endif; ?>
|
|
<?php if(!empty($isLoggedin)){ ?>
|
|
<li><?=$this->Html->link(__('dreamjob.logout'),array('controller'=>'home','action'=>'logout'));?></li>
|
|
<?php } ?>
|
|
</ul>
|
|
<?php if(empty($isLoggedin)){ ?>
|
|
<div>
|
|
<?php
|
|
echo $this->Form->create(null, array('inputDefaults'=> array('div' => false,'label'=>false,
|
|
'style' => 'width:160px;margin-right:5px;float:left;',
|
|
'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";
|
|
|
|
echo $this->Form->button(__('dreamjob.login'),array('div' => false,'class'=>"btn btn-default",'type' => 'submit'));
|
|
echo $this->Form->end();
|
|
?>
|
|
<div style="font-size:10px;padding-left:165px;">
|
|
<?=$this->Html->link(__('dreamjob.password.forget'),array('controller'=>'registration','action'=>'password_reset'),array('style'=>'color:white;'));?>
|
|
</div>
|
|
</div>
|
|
<?php } ?>
|