dreamjob/app/View/Elements/search_navbar.ctp

13 lines
1.2 KiB
PHP

<div class="tabs-below">
<ul class="nav nav-tabs">
<li<?php if(isset($SEARCH_opening)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.opening"),array('controller'=>'search','action'=>'opening'));?></li>
<li<?php if(isset($SEARCH_company)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.company"),array('controller'=>'search','action'=>'company'));?></li>
<?php if(!empty($WORKER)): ?>
<!--<li<?php if(isset($SEARCH_auto)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.auto"),array('controller'=>'search','action'=>'auto'));?></li>-->
<li<?php if(isset($SEARCH_education)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.education"),array('controller'=>'search','action'=>'education'));?></li>
<li<?php if(isset($SEARCH_academy)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.academy"),array('controller'=>'search','action'=>'academy'));?></li>
<li<?php if(isset($SEARCH_internship)){?> class="active"<?php } ?>><?=$this->Html->link(__("dreamjob.search.internship"),array('controller'=>'search','action'=>'internship'));?></li>
<?php endif; ?>
</ul>
</div>