dreamjob/app/View/Elements/barleft.ctp

57 lines
1.6 KiB
Plaintext
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/*
*
*/
if($isLoggedin){
?>
<style type="text/css">
<!--
.bar #barleft {
position:relative;
right:-50px;
}
.column-center{
padding-left:50px;
2014-03-01 11:17:23 +01:00
width:1010px;
2014-02-18 12:10:29 +01:00
}
-->
</style>
<ul class="list-unstyled">
<li<?php if(isset($MENU_PROFIL)){?> class="active"<?php } ?>><?=$this->Html->image('bar-profil.png',array('url'=>array('controller'=>'user','action'=>'profil'))); ?></li>
2014-02-19 00:02:17 +01:00
<?php if(!empty($COMPANY)){ ?>
2014-03-02 11:35:22 +01:00
<li<?php if(isset($MENU_OPENING)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'openingList'))); ?></li>
2014-02-19 00:02:17 +01:00
<?php }elseif(!empty($WORKER)){ ?>
2014-03-02 11:35:22 +01:00
<li<?php if(isset($MENU_APPLICATION)){?> class="active"<?php } ?>><?=$this->Html->image('bar-job.png',array('url'=>array('controller'=>'job','action'=>'applicationList'))); ?></li>
2014-03-15 13:56:26 +01:00
<li<?php if(isset($MENU_FAVORITY)){?> class="active"<?php } ?>><?=$this->Html->image('bar-favority.png',array('url'=>array('controller'=>'job','action'=>'favorite'))); ?></li>
2014-02-19 00:02:17 +01:00
<?php } ?>
<li<?php if(isset($MENU_SETTINGS)){?> class="active"<?php } ?>><?=$this->Html->image('bar-settings.png',array('url'=>array('controller'=>'user','action'=>'settings_account'))); ?></li>
2014-02-18 12:10:29 +01:00
</ul>
2014-03-10 23:53:06 +01:00
<?php
2014-03-15 01:52:07 +01:00
}elseif(!empty($MENU_START)){
2014-03-10 23:53:06 +01:00
?>
<style type="text/css">
<!--
.bar #barleft {
2014-04-01 20:58:36 +02:00
width:140px;
2014-03-10 23:53:06 +01:00
position:relative;
2014-04-01 20:58:36 +02:00
right:-120px;
}
.bar #barleft .btn{
width:140px;
overflow:hidden;
2014-03-10 23:53:06 +01:00
}
.column-center{
padding-left:130px;
width:1090px;
}
-->
</style>
<?php
echo $this->Html->link(__('dreamjob.company.to'),array('controller'=>'home', 'action'=>'home'),array("class" => "btn btn-primary"));
2014-02-18 12:10:29 +01:00
}
?>