50 lines
1.5 KiB
Plaintext
50 lines
1.5 KiB
Plaintext
|
<?php
|
||
|
/*
|
||
|
*
|
||
|
*/
|
||
|
?>
|
||
|
<div class="box">
|
||
|
<?php
|
||
|
echo $this->element('user_worker_header');
|
||
|
?>
|
||
|
</div>
|
||
|
<div id="tab" class="box">
|
||
|
<!-- tab -->
|
||
|
<div class="tabs-below">
|
||
|
<ul class="nav nav-tabs pull-right">
|
||
|
<li<?php if (empty($page)){?> class="active"<?php } ?>>
|
||
|
<?php
|
||
|
if(isset($id))
|
||
|
echo $this->Html->link(__("dreamjob.cv"),array('controller'=>'user','action'=>'profil','id'=> $id ),array('rel'=>"tab"));
|
||
|
else
|
||
|
echo $this->Html->link(__("dreamjob.cv"),array('controller'=>'user','action'=>'profil' ),array('rel'=>"tab"));
|
||
|
?>
|
||
|
</li>
|
||
|
<?php foreach($profil['DreamjobPageInh'] as $pag){ ?>
|
||
|
<li<?php if(isset($page['DreamjobPageInh']['id'])) if ($page['DreamjobPageInh']['id'] == $pag['id']){?> class="active"<?php } ?>>
|
||
|
<?php
|
||
|
if(isset($id))
|
||
|
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','id'=> $id,'page'=> $pag['id'] ),array('rel'=>"tab"));
|
||
|
else
|
||
|
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','page'=> $pag['id'] ),array('rel'=>"tab"));
|
||
|
?>
|
||
|
<?php }?>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<?php
|
||
|
if(!empty($edit)){
|
||
|
?>
|
||
|
Bearbeiten.
|
||
|
<?php
|
||
|
}
|
||
|
if(!empty($page)){
|
||
|
echo $this->element('user_page');
|
||
|
}else{
|
||
|
?>
|
||
|
<h3><?=__("dreamjob.cv");?></h3>
|
||
|
<?php
|
||
|
}
|
||
|
?>
|
||
|
<!-- /tab -->
|
||
|
</div>
|