This commit is contained in:
parent
bab1913c2e
commit
dd0baed569
|
@ -97,7 +97,6 @@
|
||||||
Router::connect('/search/academy', array('controller' => 'search', 'action' => 'academy'));
|
Router::connect('/search/academy', array('controller' => 'search', 'action' => 'academy'));
|
||||||
Router::connect('/search/internship', array('controller' => 'search', 'action' => 'internship'));
|
Router::connect('/search/internship', array('controller' => 'search', 'action' => 'internship'));
|
||||||
|
|
||||||
Router::connect('/test/', array('controller' => 'user', 'action' => 'test'));
|
|
||||||
|
|
||||||
Router::parseExtensions('pdf');
|
Router::parseExtensions('pdf');
|
||||||
Router::connect('/application/:id.pdf', array('controller' => 'pdf', 'action' => 'applicationGetPdf'),array("id" => "[0-9]+"));
|
Router::connect('/application/:id.pdf', array('controller' => 'pdf', 'action' => 'applicationGetPdf'),array("id" => "[0-9]+"));
|
||||||
|
|
|
@ -122,6 +122,9 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','page'=> $pag['id'] ),array('rel'=>"tab"));
|
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','page'=> $pag['id'] ),array('rel'=>"tab"));
|
||||||
?>
|
?>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
<?php if(isset($COMPANY) and $COMPANY['AppUser']['id']==$profil['AppUser']['id']){ ?>
|
||||||
|
<li><?=$this->Html->link('<span class="glyphicon glyphicon-plus"></span>'.__('dreamjob.pages.company.new'),array('controller'=>'user','action'=>'settings_pageInh'),array('escape'=>false));?></li>
|
||||||
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
|
@ -34,6 +34,9 @@ if(( !empty($COMPANY) and is_array($COMPANY) and count($COMPANY) > 0 and ($COMPA
|
||||||
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','page'=> $pag['id'] ),array('rel'=>"tab"));
|
echo $this->Html->link($pag['title'],array('controller'=>'user','action'=>'profil','page'=> $pag['id'] ),array('rel'=>"tab"));
|
||||||
?>
|
?>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
<?php if(isset($WORKER) and $WORKER['AppUser']['id']==$profil['AppUser']['id']){ ?>
|
||||||
|
<li><?=$this->Html->link('<span class="glyphicon glyphicon-plus"></span>'.__('dreamjob.pages.new'),array('controller'=>'user','action'=>'settings_pageInh'),array('escape'=>false));?></li>
|
||||||
|
<?php } ?>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue