Extern einbinden!
This commit is contained in:
parent
68f4bf16a5
commit
9101dcef95
|
@ -2,7 +2,7 @@
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$avatar = false;
|
$avatar = false;
|
||||||
$url = '';
|
$url = '';
|
||||||
if($opening['AppUser']['avatar']){
|
if($opening['AppUser']['avatar']){
|
||||||
|
@ -53,9 +53,13 @@ if($opening['AppUser']['avatar']){
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
<?php if(empty($OPP_HIDE)){ ?>
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li<?=(!empty($OPP_NORMAL))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.opening"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id']));?></a></li>
|
<li<?=(!empty($OPP_NORMAL))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.opening"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id']));?></a></li>
|
||||||
<li<?=(!empty($OPP_OPENING))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.opening.titleinfo"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'extra'=>'openinginfo'));?></a></li>
|
<li<?=(!empty($OPP_OPENING))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.opening.titleinfo"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'extra'=>'openinginfo'));?></a></li>
|
||||||
<li<?=(!empty($OPP_COMPANY))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.company.titleinfo"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'extra'=>'companyinfo'));?></a></li>
|
<li<?=(!empty($OPP_COMPANY))?' class="active"':'';?>><?=$this->Html->link(__("dreamjob.company.titleinfo"),array('controller'=>'job','action'=>'openingGet','id'=>$opening['DreamjobJobOpening']['id'],'extra'=>'companyinfo'));?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<?php } ?>
|
||||||
|
<?php if(!empty($OPP_SHOW_EXTERN)){ ?>
|
||||||
|
<pre><iframe src="<?=$this->Html->url(array('controller'=>'extern','action'=>'button_opening','id'=>$opening['DreamjobJobOpening']['id']),true);?>" frameborder="0"></iframe></pre>
|
||||||
|
<?php } ?>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*/
|
*/
|
||||||
?>
|
?>
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<?=$this->element('job_opening_head');?>
|
<?=$this->element('job_opening_head',array('OPP_HIDE'=>true,'OPP_SHOW_EXTERN'=>true));?>
|
||||||
</div>
|
</div>
|
||||||
<div id="tab" class="box">
|
<div id="tab" class="box">
|
||||||
<!-- tab -->
|
<!-- tab -->
|
||||||
|
|
|
@ -22,6 +22,13 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<h3><?=__("dreamjob.settings");?></h3>
|
<h3><?=__("dreamjob.settings");?></h3>
|
||||||
|
<?php
|
||||||
|
if(!empty($COMPANY) and count($COMPANY)>0){
|
||||||
|
?>
|
||||||
|
<pre><iframe src="<?=$this->Html->url(array('controller'=>'extern','action'=>'button_company','id'=>$COMPANY['AppUser']['id']),true);?>" frameborder="0"></iframe></pre>
|
||||||
|
<?php
|
||||||
|
}
|
||||||
|
?>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->create(false,$default_Form);
|
echo $this->Form->create(false,$default_Form);
|
||||||
?>
|
?>
|
||||||
|
@ -29,11 +36,11 @@
|
||||||
<legend><?=__("dreamjob.account");?></legend>
|
<legend><?=__("dreamjob.account");?></legend>
|
||||||
<?php
|
<?php
|
||||||
echo $this->Form->input('User.mail',array('label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']),'disabled'));
|
echo $this->Form->input('User.mail',array('label'=>array('text'=>__("dreamjob.mail"),"class"=>$default_Form['inputDefaults']['label']['class']),'disabled'));
|
||||||
|
|
||||||
echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
echo $this->Form->input('User.password1',array('label'=>array('text'=>__("dreamjob.password"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
||||||
echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
echo $this->Form->input('User.password2',array('label'=>array('text'=>__("dreamjob.password2"),"class"=>$default_Form['inputDefaults']['label']['class']),'type'=>'password'));
|
||||||
|
|
||||||
if($WORKER){
|
if($WORKER){
|
||||||
?>
|
?>
|
||||||
<legend><?=__("dreamjob.worker");?></legend>
|
<legend><?=__("dreamjob.worker");?></legend>
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue