Extern einbinden!
This commit is contained in:
parent
68f4bf16a5
commit
9101dcef95
|
@ -53,9 +53,13 @@ if($opening['AppUser']['avatar']){
|
|||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<?php if(empty($OPP_HIDE)){ ?>
|
||||
<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_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>
|
||||
</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">
|
||||
<?=$this->element('job_opening_head');?>
|
||||
<?=$this->element('job_opening_head',array('OPP_HIDE'=>true,'OPP_SHOW_EXTERN'=>true));?>
|
||||
</div>
|
||||
<div id="tab" class="box">
|
||||
<!-- tab -->
|
||||
|
|
|
@ -22,6 +22,13 @@
|
|||
</ul>
|
||||
</div>
|
||||
<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
|
||||
echo $this->Form->create(false,$default_Form);
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue