dreamjob/app/View/Elements/barleft.ctp

87 lines
2.4 KiB
Plaintext
Raw Normal View History

2014-02-18 12:10:29 +01:00
<?php
/*
*
*/
if($isLoggedin){
?>
<style type="text/css">
<!--
2014-05-01 14:11:15 +02:00
#narbar{
2014-05-11 09:25:06 +02:00
min-width:1192px;
2014-05-01 14:11:15 +02:00
}
2014-02-18 12:10:29 +01:00
.bar #barleft {
position:relative;
right:-50px;
}
.column-center{
padding-left:50px;
2014-05-11 09:25:06 +02:00
width:1192px;
2014-02-18 12:10:29 +01:00
}
-->
</style>
<ul class="list-unstyled">
2014-05-11 10:06:52 +02:00
<li<?php if(isset($MENU_PROFIL)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-profil.png'),array('controller'=>'user','action'=>'profil'),array('title'=>__('dreamjob.my.profil'),'escape'=>false)); ?></li>
2014-02-19 00:02:17 +01:00
<?php if(!empty($COMPANY)){ ?>
2014-05-11 10:06:52 +02:00
<li<?php if(isset($MENU_OPENING)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-job.png'),array('controller'=>'job','action'=>'openingList'),array('title'=>__('dreamjob.my.opening'),'escape'=>false)); ?></li>
2014-02-19 00:02:17 +01:00
<?php }elseif(!empty($WORKER)){ ?>
2014-05-11 10:06:52 +02:00
<li<?php if(isset($MENU_APPLICATION)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-job.png'),array('controller'=>'job','action'=>'applicationList'),array('title'=>__('dreamjob.my.application'),'escape'=>false)); ?></li>
<li<?php if(isset($MENU_FAVORITY)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-favority.png'),array('controller'=>'job','action'=>'favorite'),array('title'=>__('dreamjob.my.favority'),'escape'=>false)); ?></li>
2014-02-19 00:02:17 +01:00
<?php } ?>
2014-05-11 10:06:52 +02:00
<li<?php if(isset($MENU_SETTINGS)){?> class="active"<?php } ?>><?=$this->Html->link($this->Html->image('bar-settings.png'),array('controller'=>'user','action'=>'settings_account'),array('title'=>__('dreamjob.my.settings'),'escape'=>false)); ?></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">
<!--
2014-05-01 14:11:15 +02:00
#narbar{
2014-05-11 09:25:06 +02:00
min-width:1252px;
2014-05-01 14:11:15 +02:00
}
2014-03-10 23:53:06 +01:00
.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;
2014-05-11 09:25:06 +02:00
width:1252px;
2014-03-10 23:53:06 +01:00
}
-->
</style>
<?php
2014-05-02 19:10:28 +02:00
echo $this->Html->link(__('dreamjob.company.startpage'),array('controller'=>'home', 'action'=>'company'),array("class" => "btn btn-primary"));
}elseif(!empty($MENU_START_company)){
?>
<style type="text/css">
<!--
#narbar{
2014-05-11 09:25:06 +02:00
min-width:1252px;
2014-05-02 19:10:28 +02:00
}
.bar #barleft {
width:140px;
position:relative;
right:-120px;
}
.bar #barleft .btn{
width:140px;
overflow:hidden;
}
.column-center{
padding-left:130px;
2014-05-11 09:25:06 +02:00
width:1252px;
2014-05-02 19:10:28 +02:00
}
-->
</style>
<?php
echo $this->Html->link(__('dreamjob.startpage'),array('controller'=>'home', 'action'=>'home'),array("class" => "btn btn-primary"));
2014-02-18 12:10:29 +01:00
}
?>