company
This commit is contained in:
parent
0acbe405a0
commit
76ff64ab97
|
@ -15,11 +15,15 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
<div class="tabs-below">
|
<div class="tabs-below">
|
||||||
<ul class="nav nav-tabs pull-right">
|
<ul class="nav nav-tabs pull-right">
|
||||||
<li class="active"><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($WORKER) and count($WORKER)>0){
|
if(!empty($WORKER) and count($WORKER)>0){
|
||||||
?>
|
?>
|
||||||
|
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
||||||
|
<?php
|
||||||
|
}else{
|
||||||
|
?>
|
||||||
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -7,11 +7,15 @@
|
||||||
<div class="tabs-below">
|
<div class="tabs-below">
|
||||||
<ul class="nav nav-tabs pull-right">
|
<ul class="nav nav-tabs pull-right">
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($WORKER) and count($WORKER)>0){
|
if(!empty($WORKER) and count($WORKER)>0){
|
||||||
?>
|
?>
|
||||||
|
<li><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
||||||
|
<?php
|
||||||
|
}else{
|
||||||
|
?>
|
||||||
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -33,11 +33,15 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
<div class="tabs-below">
|
<div class="tabs-below">
|
||||||
<ul class="nav nav-tabs pull-right">
|
<ul class="nav nav-tabs pull-right">
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
<li><?=$this->Html->link(__("dreamjob.settings"),array('controller'=>'user','action'=>'settings_account'));?></li>
|
||||||
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
|
||||||
<?php
|
<?php
|
||||||
if(!empty($WORKER) and count($WORKER)>0){
|
if(!empty($WORKER) and count($WORKER)>0){
|
||||||
?>
|
?>
|
||||||
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
<li><?=$this->Html->link(__("dreamjob.settings.isearch"),array('controller'=>'user','action'=>'settings_isearch'));?></li>
|
||||||
|
<?php
|
||||||
|
}else{
|
||||||
|
?>
|
||||||
|
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
@ -45,9 +49,9 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if(!empty($WORKER) and count($WORKER)>0){ ?>
|
<?php if(!empty($WORKER) and count($WORKER)>0){ ?>
|
||||||
<h1><?=__("dreamjob.settings.pages.company");?></h1>
|
|
||||||
<?php }else{ ?>
|
|
||||||
<h1><?=__("dreamjob.settings.pages");?></h1>
|
<h1><?=__("dreamjob.settings.pages");?></h1>
|
||||||
|
<?php }else{ ?>
|
||||||
|
<h1><?=__("dreamjob.settings.pages.company");?></h1>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
|
||||||
<ul class="nav nav-pills">
|
<ul class="nav nav-pills">
|
||||||
|
@ -60,7 +64,12 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
</li>
|
</li>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
<li<?php if(empty($page)){?> class="active"<?php } ?>>
|
<li<?php if(empty($page)){?> class="active"<?php } ?>>
|
||||||
<?php echo $this->Html->link('<span class="glyphicon glyphicon-plus"></span> '.__('dreamjob.page.new'),array('controller'=>'user','action'=>'settings_pageInh'),array('escape'=>false));
|
<?php
|
||||||
|
if(!empty($WORKER) and count($WORKER)>0){
|
||||||
|
$lng = __('dreamjob.pages.new');
|
||||||
|
else
|
||||||
|
$lng = __('dreamjob.pages.company.new');
|
||||||
|
echo $this->Html->link('<span class="glyphicon glyphicon-plus"></span> '.$lng,array('controller'=>'user','action'=>'settings_pageInh'),array('escape'=>false));
|
||||||
?></li>
|
?></li>
|
||||||
</ul>
|
</ul>
|
||||||
<legend></legend>
|
<legend></legend>
|
||||||
|
@ -72,7 +81,11 @@ if($profil['AppUser']['take_systemwide']){
|
||||||
?>
|
?>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('DreamjobPageInh.title',array('placeholder'=>__('dreamjob.pages.title.placeholder'),'label'=>array('text'=>__("dreamjob.page.title"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
if(!empty($WORKER) and count($WORKER)>0){
|
||||||
|
$lng = __('dreamjob.pages.title.placeholder');
|
||||||
|
else
|
||||||
|
$lng = __('dreamjob.pages.company.title.placeholder');
|
||||||
|
echo $this->Form->input('DreamjobPageInh.title',array('placeholder'=>$lng,'label'=>array('text'=>__("dreamjob.page.title"),"class"=>$default_Form['inputDefaults']['label']['class'])));
|
||||||
?>
|
?>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<legend><?=__('dreamjob.pages.types');?></legend>
|
<legend><?=__('dreamjob.pages.types');?></legend>
|
||||||
|
|
Loading…
Reference in New Issue