company
This commit is contained in:
parent
0acbe405a0
commit
76ff64ab97
|
@ -15,11 +15,15 @@ if($profil['AppUser']['take_systemwide']){
|
|||
<div class="tabs-below">
|
||||
<ul class="nav nav-tabs pull-right">
|
||||
<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
|
||||
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>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -7,11 +7,15 @@
|
|||
<div class="tabs-below">
|
||||
<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.pages"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||
<?php
|
||||
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>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -33,11 +33,15 @@ if($profil['AppUser']['take_systemwide']){
|
|||
<div class="tabs-below">
|
||||
<ul class="nav nav-tabs pull-right">
|
||||
<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
|
||||
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>
|
||||
<?php
|
||||
}else{
|
||||
?>
|
||||
<li class="active"><?=$this->Html->link(__("dreamjob.settings.pages.company"),array('controller'=>'user','action'=>'settings_pageInh'));?></li>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
@ -45,9 +49,9 @@ if($profil['AppUser']['take_systemwide']){
|
|||
</div>
|
||||
|
||||
<?php if(!empty($WORKER) and count($WORKER)>0){ ?>
|
||||
<h1><?=__("dreamjob.settings.pages.company");?></h1>
|
||||
<?php }else{ ?>
|
||||
<h1><?=__("dreamjob.settings.pages");?></h1>
|
||||
<?php }else{ ?>
|
||||
<h1><?=__("dreamjob.settings.pages.company");?></h1>
|
||||
<?php } ?>
|
||||
|
||||
<ul class="nav nav-pills">
|
||||
|
@ -60,7 +64,12 @@ if($profil['AppUser']['take_systemwide']){
|
|||
</li>
|
||||
<?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>
|
||||
</ul>
|
||||
<legend></legend>
|
||||
|
@ -72,7 +81,11 @@ if($profil['AppUser']['take_systemwide']){
|
|||
?>
|
||||
<fieldset>
|
||||
<?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>
|
||||
<legend><?=__('dreamjob.pages.types');?></legend>
|
||||
|
|
Loading…
Reference in New Issue